Go Back   HomeSeer Message Board > 3rd Party Plug-Ins/Scripts > Plug-ins by Author > Click Here for List of Author Forums > MCS Plug-Ins and Scripts > mcsMQTT (3P)

mcsMQTT (3P) Discussion of mcsMQTT plug-in

Thread Tools Display Modes
Old Today, 12:01 AM
Michael McSharry's Avatar
Michael McSharry Michael McSharry is offline
Join Date: Jul 2001
Location: North Bend, WA, USA
Posts: 13,285
I have been looking at the disconnect/reconnect. I have a positive way of detecting a lost connection but still working to reestablish one. Likely a timing problem so I expect to resolve it soon.

I also put the three segments on a tabbed page. This looks much cleaner. Some other features added as well. I will upload after I get the reconnect working.
Reply With Quote
Old Today, 10:49 AM
mwolter mwolter is online now
Seer Deluxe
Join Date: Feb 2017
Location: San Diego
Posts: 164
Sounds like you’re on the right track!

Had couple ideas to build off this... how about having the PI generate a Root and a few child status devices? These devices could then be used in HS events as status triggers/conditions.

The PI root device could show the connection status with the broker. It could also have Enable and Disable buttons to force connection/disconnection to the broker. I could then easily set an event to alert me when the PI lost connection with the broker.

There could be four child devices. The first pair of devices are for the last received MQTT message and the second pair is the last sent MQTT message. In each pair the first device is the full topic and the second device is the payload.

These devices could then be easily used in other plugins or events to trigger actions based upon any received topic. It could also be an easy to use ‘status’ window to see what messages are being sent and received for testing purposes.

Not to be greedy but since you’re adding tabs, what about adding a debug log tab that has a log of all sent and received topics and payloads. Would be handy to have a place to go to see a log of the MQTT messages sent and received. Something that can be filtered would be handy.
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Excessive Log Entries tome10 HS3 / HS3PRO Discussion 2 November 4th, 2017 06:06 PM
Excessive CPU usage pete@malibubeach.com VWS 13 April 10th, 2017 11:38 AM
Excessive logging Pnord HS3 / HS3PRO Discussion 2 November 30th, 2016 08:31 AM
Excessive Logging tome10 HS3 / HS3PRO Discussion 7 October 12th, 2016 02:54 PM
Isssues with excessive CPU use donstephens Personal Computers 38 September 3rd, 2016 01:28 PM

All times are GMT -4. The time now is 03:40 PM.

Copyright HomeSeer Technologies, LLC