Cached Vitals
CSIGildea opened this issue · comments
Create an AWS IoT Rule and DynamoDB to cache the last vitals per plant, with plantID being used as a primary key.
Usage:
- Prevents need to publish and subscribe to MQTT to get specific plant vitals.
Trade-off:
- Vitals aren't real time but within last time automation is ran (expected to be <30 mins).
This is now implemented.
See iotea_last_vitals dynamodb, the most recent vitals published messages from boards is stored there.