Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
mqtt plugin question
#14
(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
Reply


Messages In This Thread
mqtt plugin question - by astrogerard - 2017 May 21, 07:26 PM
RE: mqtt plugin question - by dan - 2017 May 21, 09:25 PM
RE: mqtt plugin question - by astrogerard - 2017 May 22, 11:23 AM
RE: mqtt plugin question - by dan - 2017 May 22, 08:24 PM
RE: mqtt plugin question - by astrogerard - 2018 Jan 04, 07:59 PM
RE: mqtt plugin question - by dmonty - 2018 Jan 11, 08:01 AM
RE: mqtt plugin question - by dan - 2018 Jan 05, 02:03 AM
RE: mqtt plugin question - by astrogerard - 2018 Jan 05, 08:50 AM
RE: mqtt plugin question - by astrogerard - 2018 Jan 17, 07:13 PM
RE: mqtt plugin question - by dan - 2018 Jan 18, 02:51 AM
RE: mqtt plugin question - by dmonty - 2018 Jan 18, 07:00 AM
RE: mqtt plugin question - by astrogerard - 2018 Jan 22, 03:35 PM
RE: mqtt plugin question - by dmonty - 2018 Jan 18, 08:44 AM
RE: mqtt plugin question - by dan - 2018 Jan 18, 05:24 PM
RE: mqtt plugin question - by dan - 2018 Jan 23, 03:35 PM

Forum Jump:


Users browsing this thread: 8 Guest(s)