hart2hart Posted January 17, 2023 Posted January 17, 2023 @Goose66 I got my message that MyQ heartbeat was lost. I restarted it and got the following error. Thanks 2023-01-17 12:26:55,788 MainThread udi_interface INFO polylogger:set_basic_config: set_basic_config: enable=True level=30 2023-01-17 12:26:58,412 MainThread udi_interface INFO __init__:<module>: UDI Python Interface for Polyglot version 3 3.0.47 Starting... 2023-01-17 12:26:58,599 MainThread udi_interface.interface INFO interface:__init__: Initialization received from Polyglot V3 3.1.16 [ISY: 5.0.16C, Slot: 4] 2023-01-17 12:26:58,601 MainThread udi_interface.interface INFO interface:__init__: Connect: Network Interface: {'addr': '192.168.1.108', 'netmask': '255.255.255.0', 'broadcast': '192.168.1.255'} 2023-01-17 12:26:58,602 MainThread udi_interface INFO myqns:run: Starting MyQ node server... 2023-01-17 12:26:58,604 Interface udi_interface.interface INFO interface:_startMqtt: Connecting to MQTT... localhost:1888 2023-01-17 12:26:58,610 MainThread udi_interface.interface ERROR interface:_get_server_data: get_server_data: failed to read file server.json: [Errno 2] No such file or directory: 'server.json' Traceback (most recent call last): File "/var/polyglot/.local/lib/python3.9/site-packages/udi_interface/interface.py", line 480, in _get_server_data with open(Interface.SERVER_JSON_FILE_NAME) as data: FileNotFoundError: [Errno 2] No such file or directory: 'server.json' 2023-01-17 12:26:58,617 MainThread udi_interface.interface WARNING interface:send: MQTT Send waiting on connection :: {'config': {'version': '3.1.21'}} 2023-01-17 12:26:58,654 MQTT udi_interface.interface INFO interface:_connect: MQTT Connected with result code 0 (Success)
Goose66 Posted January 17, 2023 Posted January 17, 2023 (edited) Is the node server running? I was under the impression that we've decided that server.json files were no longer necessary (or even deprecated) and I have been removing them from my node servers. Despite this fact, several subsequent versions of the PG3 have all continued to log a missing server.json file as an ERROR. But the node server runs just fine. The WARNING regarding "MQTT Send waiting on connection" now appears on the first MQTT message sent from the node server to PG3 in all (at least my) node servers and isn't a problem. I think something was changed to make the connection to MQTT wait for the first send (probably for simplifying reconnects). Edited January 17, 2023 by Goose66
Recommended Posts