Made auto-reconnect more robust and added emitting "disconnected" to keep listeners up to date

Merged
#37 · Created  · Last updated

Merged pull request

Merged in Stefaan/knx.js (pull request #37)

3436ec6·Author: ·Closed by: ·2019-02-03

Description

Hi,

I am using your nice knx.js library in my own node-red plugin and added some small improvements to your knx.js code.

Basically, I just make it retry reconnecting for ever (by using the state machine).

I also made it emit a “disconnected” event so that listeners are informed of disconnections.

Please review and accept if you think it is ok.

Cheers,

Stefaan

0 attachments

0 comments

Loading commits...