Hi,
I have been using the MQTT plugin (not mcsMQTT) and sometimes it just stops working and publishing topics. Not being able to figure out why I wrote my own plugin using registerEventCB and then in HSEvent looking for my devices and then on change opening a connection to the broker and publishing the topic.
Whilst that all seems very simple, and I do get a stream of device value changes, because that's what I asked for, Virtual device changes seem to sometimes generate a HSEvent and sometimes nothing at all. I guess this is the same behaviour I'm seeing with the original MQTT plug-in.
So, first question; is this a known issue, and if so what's the work-around?
I have been using the MQTT plugin (not mcsMQTT) and sometimes it just stops working and publishing topics. Not being able to figure out why I wrote my own plugin using registerEventCB and then in HSEvent looking for my devices and then on change opening a connection to the broker and publishing the topic.
Whilst that all seems very simple, and I do get a stream of device value changes, because that's what I asked for, Virtual device changes seem to sometimes generate a HSEvent and sometimes nothing at all. I guess this is the same behaviour I'm seeing with the original MQTT plug-in.
So, first question; is this a known issue, and if so what's the work-around?
Comment