BME-nodeservers / docs

Documentation for my node servers
Other
0 stars 0 forks source link

AmbientWeather Parsing Error on MAC Address #13

Closed lhmathys closed 5 months ago

lhmathys commented 6 months ago

I have the correct API key entered and the plugin is connecting, but since my MAC address has zeros in it the commands are not getting sent correctly. I have only one node showing in the plugin.

The error is:

2024-05-09 20:39:24,962 Thread-49 udi_interface ERROR station:Query: Parsing failed: 'e986a35768'

I also see this in the debug.log:

2024-05-10 09:40:47,860 MQTT udi_interface.interface ERROR interface:_message: Invalid command received in message from PG3: 'message' {"addnode":[{"address":"e986a35768","name":"THUNDERCATS HO!","nodeDefId":"station","primaryNode":"e986a35768","drivers":[{"driver":"ST","value":1,"uom":2}],"hint":[0,0,0,0],"private":null,"rename":false}]}

The mac address in the "address" key value pair only has 10 digits because the zeros are being truncated. Is there something I can do to fix this?

lhmathys commented 5 months ago

Not an issue - the problem was the station name.