Hi everyone,
We are thrilled to announce the rollout of Ledger, Logic’s new companion feature. It’s in beta right now so you can explore it in your Sandbox for non-production usage.
What is Ledger?
Ledger allows you to store and retrieve structured data in the cloud. The data can be scoped to one device, an entire product, or your whole account.
How do I use Ledger?
It can currently be used from the Console, API, and Logic Functions.
Check out the getting started documentation.
Can I use Ledger from a device?
We’re planning to roll out cloud-to-edge synchronization of Ledgers in an upcoming Device OS release.
In the meantime, use Logic to bridge the gap! Publish an event from a device and create a Logic Function that runs when an event is received. In that Logic Function, write to or read from your Ledger. Remember to create the Ledger on the Console first before attempting to write to it.
Uses
- Aggregate signal over time
- Set the target state of a device even when it’s offline
- Build a hierarchy of configuration (read from the device Ledger first, and if doesn’t exist, read from the product Ledger)
- General purpose memory for Logic Functions
Try it out and let us know what you think! If you have any questions or feedback, please post them in this thread.