codmpm / node-red-contrib-loxone

Connect the Loxone Miniserver to node-red via the Websocket API
MIT License
74 stars 24 forks source link

Node online sends a lot of messages on disconnect #72

Open maxweissboeck opened 2 years ago

maxweissboeck commented 2 years ago

If Miniserver gets disconnected, eg. by saving a new config file to Miniserver, the online node sends a lot of messages with value false.

Ideally the not connected message in Node Red shold be sent only once if disconnetc happens. That would be the same behavior as for the connect message, this connect message is only sent once per connect.

Can easily be reproduced on MS Gen 2 by saving config to the Miniserver, happens not always bot often enough.