1. Create a table
In your product’s Studio, open Monitor → Database and create a schema with areadings table (e.g. a temperature column). See Database.
2. Store a reading
Real hardware — insert from firmware:getDatabaseData(productId, "readings", 20), or show it on the
dashboard with a Table or Chart widget bound to the table.
No hardware? The Database API and the dashboard Database Form
widget can write records too.
3. Add a rule
Now automate a reaction. As a user of the product, open the app’s Rules tab and build an if / then:Operate command you’ve used
since Lesson 1, now fired automatically.
Readings landing in the
readings table, and a rule that acts on them.Next: publish & onboard
Ship it to users.

