
Device Setup
If you are here, we expect you have already created an account and connected your device. If you have not done this, you can click the guide or on register
If you need to name various outputs from your device, you can do so by clicking on the device under devices.
Log
Personally, I like to see logs so I can go back in the data and possibly make an overview of the year and see when and how often an incident occurs. To make a log, we need to go under logs and thus create a new one at the bottom of the button and name it.
You can create all the logs you need if you want to do some SoC (Seperation of Concern). For example, you might want to log when the water is too high in a log so that it is for itself. This way we can create a log for example. the device's status on the different things, such as power, signal and last_update.
Dashboard
- Press edit up top on the right.
- Click on the number 2 icon on the right side. This should give you a “My Widget”
- Then click on the gear wheel – then give your widget a name, for example “Power”.
- Choose a Variable If you don't have a variable, you can simply create one by clicking “Create New” and naming it. I would advise creating a “system” for how you create names if you are going to use it for something bigger or expect a lot of variables.
- When done, press the cross at the top of the column on the right.
- Then Saw top right corner.
If you would like to see a log in your Dashboard, it is the third last icon - then you just choose which log you would like to display. Read more about Dashboard here
Flow
- Inside the flow, open Devices and pull the device “IN” out.
- We need a Format Number, Previous Value, Greater than, Less than node.
- Temp must be dragged into format and format further to Input 1 and to Current.
- Then we take a Is Equal, OR Gate and 2 Delay notes.
- Subtract Output from Previous Value into Input 1 on Is Equal, Output from Format Number should go into Input 2 on the same node. Then Output from Greater and Lesser the notes into our OR Gate. Then drag Equal and our Gate into Delay the node – You can read more about our Delay node here.
- Delay we pull the node into a Pulse node and then into a OR Gate and further to a log. On the log node we can create a variable e.g.
{temp}
whereby you can drag a value to the node so that it is written to the log.