im a new user of easyiot and after a few days of strugling to add a new dht22 over mysensors driver i finnaly make it. Question now is, I cant find a way to disable constant popups of sensor pushing new data. For testing purposes my sensors sends data every 5 seconds.
im a new user of easyiot and after a few days of strugling to add a new dht22 over mysensors driver i finnaly make it. Question now is, I cant find a way to disable constant popups of sensor pushing new data. For testing purposes my sensors sends data every 5 seconds.
Thanks for the help.
Hello gasper.
EasyIoT server is event based. That mean, if event occur it updates UI interface and writes data in DB if log is enabled. So use events carefully. Measuring temperature every 5 sec usually make's no sense, because you do not need so many samples. If you are using MySensor protocol, just put sketch in sleep for N minutes and then send new measure. Use gw.sleep(SLEEP_TIME); SLEEP_TIME is in ms.
i know it makes no sense that's why i said that i just want to see how it works and populate a database a little bit. Will be aware of functionality in the future:)
I second that!
Popups are fun, but conter productive when you just want to monitor your data remotely, on a small screen, with low bandwith and a lot of sensors activity. As it's only a monitoring parameter, maybe you could attach a control switch on a per user basis. What U think?
I just discovered easyIoT and am very impressed, but presently I have just a single relay node running, and as soon as I switch this node for the first time, the popup keeps popping up every few seconds, telling me the switch is either "ON" or "OFF", which would be ok for a one time message just after switching. But it is not a one-time message, it is annoying as hell.
Am using the windows build (in lack of a spare raspberry pi ATM).
If I could turn off these popups, either per-user or per-node, I'd be a happy camper.
edit - just discovered that I can trigger the behavior of the repeatedly appearing popup: when I switch ON a relay that before was ON already, the popup starts re-appearing every 5 seconds or so. If I then switch OFF, the re-appearing does not happen any more, I get just one single popup (which I suppose is the normal behavior). And vice-versa: if it is OFF already and I switch it OFF a second time, the popup starts re-appearing, and I can stop it by switching ON again..
Seems to me like there are "if (x > 1) then x = 1" and "if (x < 0) then x= 0" statements missing somewhere?
edit2 - am using the ESP8266 driver, if this matters.
regards
Last edit: 9 years 9 months ago by Dennis. Reason: added info