2018 Jan 22, 03:35 PM
(2018 Jan 18, 07:00 AM)dmonty Wrote: Gerard: do you have a repository where your MQTT code resides or is it just local?
The mqtt code is in my local repo but has to be intensively tested. This might take a while. Also I'm thinking of combining the existing mqtt plugins in a new one so that no more "inter-plugin" communication is required. At the moment the code will completely discard the client object and when the broker is available again the client is created again. After that the subscriptions have to be made again. Al of this works fine as long as the broker downtime is at least a minute (heartbeat interval). What I don't like is the handling (or lack of) of short disruptions. So I might rewrite the whole stuff to make it more stable and neat.
About extending the mqtt and sip functionality as you, I also have some ideas, especially Mysensors integration, but also know Dan is redesigning sip. Before start coding maybe the future of sip has to be written down first.
The small heartbeat implementation can be found on Github
Not sure if Dan likes of dislikes it, if the first is true he can copy the changes of I can create a pull request.
--Gerard