
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, for example, the device's status on the different things, such as power, signal and last_update.
Dashboard
This requires us to briefly open our Dashboard page. We would like to be able to see the status of, for example, water status, if there is power, signal strength and last_update. Here you can decide for yourself what you want – a dashboard is not a necessity, but it is now a nice thing to have from time to time.
- 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 giving it a name. 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 be able to see a log in your Dashboard, it is the third last icon - then you just choose which log you would like to display.
Flow
At this point, logs are not a necessity, the same with Send SMS – this is what is often used but may not be necessary in your case. You can read more about the different notes and see what suits you best.
- Inside the flow, open Devices and pull the device “IN” out.
- We need a Not Gate, Pulse, Toggle and an “OUT” from Devices
- “IN 1"must be drawn to our Not Gate, then we must draw Not Gate to Pulse also further to Toggle(on) and finally into buzzer.
- Go back to Not Gate and pull an extra string to the LED on “OUT”.
- Pull one Write To Log out and disconnect "IN 1″ up to it. Choose your log and write what should be written.
- Pull 2 “Send SMS” notes out, read more about the node here. One node must be connected “IN 1” and the other one should be connected to our Not Gate. The one who is set to "IN 1"is for when the water is too high and the one that is set to our Not Gate is if the water is OK again.
- Make another extra Write To Log and throw it on our Not Gate.
Then your flow should be up and running.
Read more about Flows and Nodes here
Additional
The float will always be “true” if the water is okay. If the water is not okay then it will go to false. This may be different if you do not use floats from us, because the wires may have opposite colors or other colors. The blue wire always goes to 12V+ and the black wire goes to IN1
