web server gui - popups

6 years 11 months ago #338 by gasper
Hello,

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.

Please Log in or Create an account to join the conversation.

6 years 11 months ago #340 by EasyIoT
Replied by EasyIoT on topic web server gui - popups

gasper wrote: Hello,

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.

Please Log in or Create an account to join the conversation.

6 years 11 months ago #341 by gasper
Replied by gasper on topic web server gui - popups
Hello,

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:)

Please Log in or Create an account to join the conversation.

6 years 11 months ago #405 by Xavier
Replied by Xavier on topic web server gui - popups
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?

Please Log in or Create an account to join the conversation.

6 years 11 months ago - 6 years 11 months ago #479 by Dennis
Replied by Dennis on topic web server gui - popups
Hello,

I just registered to be able to second that!

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

Please Log in or Create an account to join the conversation.

6 years 11 months ago #488 by Xavier
Replied by Xavier on topic web server gui - popups

Dennis wrote: am using the ESP8266 driver, if this matters.

Of course, as I understood, Win version only works with ESP8266 driver. ;)

Please Log in or Create an account to join the conversation.

Time to create page: 0.635 seconds

Forum latest

  • No posts to display.