You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My code may have a bit of addition debugging since I am the author of the module and I found the issue.
Here is a sample of the error message from misterhouse
07/27/15 01:06:48 PM *** mqtt read_mqtt_msg: decode_string: insufficient data at /usr/local/share/perl/5.20.2/Net/MQTT/Message/Publish.pm line 36. ( sub _parse_remaining() )
at /home/njc/dev/HA/git/misterhouse.add_mqtt_support/bin/mh line 31.
main::__ANON__("decode_string: insufficient data at /usr/local/share/perl/5.2"...) called at /usr/share/perl/5.20/Carp.pm line 166
Carp::croak("decode_string: insufficient data") called at /usr/local/share/perl/5.20.2/Net/MQTT/Constants.pm line 121
Net::MQTT::Constants::decode_string(":01 GMT -->\x{a}\x{d}\x{a}<myId>http://alerts.weather.gov/cap/nj.atom", SCALAR(0x4551ef8)) called at /usr/local/share/perl/5.20.2/Net/MQTT/Message/Publish.pm line 36
The issue is that the sysread of the MQTT socket returns more than 1 MQTT message. The check for data will need to be rewritten to properly handle this (and probably also other problems such as handle the asyncronous nature of MQTT's other messages).
The text was updated successfully, but these errors were encountered:
I don't recall, I haven't used that code since it was last updated. I've switched to Node-Red and MQTT (and various gateway software for things like ZigBee and ZWave).
Sorry
My code may have a bit of addition debugging since I am the author of the module and I found the issue.
Here is a sample of the error message from misterhouse
The issue is that the sysread of the MQTT socket returns more than 1 MQTT message. The check for data will need to be rewritten to properly handle this (and probably also other problems such as handle the asyncronous nature of MQTT's other messages).
The text was updated successfully, but these errors were encountered: