[XTension] ESPresence Support - 9.5.1
james at sentman.com
james at sentman.com
Fri Apr 7 13:06:33 EDT 2023
I’m running this on several machines around here now and haven’t seen that, but the error message is likely that one or more of them are not returning a distance key in the json data and so the processing is dropping out at that point and scanning no more of the data. So that short circuits the update process and makes nothing else work.
I can protect against that and possibly set an error in the unit that is not sending the full data dictionary, or just ignore it if it doesn’t mean anything worth while. This will be in the release that I’m not going to get out today because I’m writing a thousand support emails to the list ;)
But it will be there soon, watch for the release notification probably tomorrow.
> On Mar 30, 2023, at 5:48 PM, Shane <lists at sodell.com> wrote:
>
> Just a quick note on the ESPresence support. I’ve been running it for the past few days with one ESP32 connected to my MQTT broker to test with and it works fine for a bit and then starts flooding my log every second with:
>
> MQTT Interface: client thread stopped with message: 'distance'
>
> At this point, none of the ESPresence units are updating when this occurs. Restarting the interface doesn’t help, nor does restarting the ESP32, or XTension itself. The only thing that works is deleting all the “MQTT Interface” units that were auto-created and then restarting the interface to populate them again. (But then the cycle will inevitably start again at some point).
>
> I forget if you had any more detailed debug logging available anywhere for me to provide you with more info.
Thanks,
James
James Sentman http://www.PlanetaryGear.org http://MacHomeAutomation.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://machomeautomation.com/pipermail/xtensionlist_machomeautomation.com/attachments/20230407/491fcd34/attachment.htm>
More information about the XtensionList
mailing list