MSchauben Posted April 7, 2022 Posted April 7, 2022 Installed new Polisy, migrated from 994, purchased and added WeatherBit to Polyglot Configured settings under details While it does show WeatherBit under node servers in the ISY, not all nodes are created: and no nodes show up under the Network folders. Here is what I see in the logs when trying to start the Node: 4/7/2022, 17:51:11 [pg3] debug: MQTT Results: [frontend/isy/admin] :: {"getNodeServers":[{"id":"8b6d7971-aa12-4fb5-95ae-27bf82fad8ec","uuid":"00:0d:b9:59:41:c4","token":"UqydsMs*K8UTiNGq","name":"WeatherBit","nsid":"5eb66567-6a98-49e9-bd3c-b954d24ee26a","expires":0,"nickname":null,"profileNum":1,"timeAdded":1649360696349,"timeStarted":0,"timeModified":1649368142007,"version":"2.0.4","branch":"","url":"http://pg3store.isy.io/v2/node servers/production/udi-weatherbit-poly.zip","home":"/var/polyglot/pg3/ns/00:0d:b9:59:41:c4_1","log":"logs/debug.log","logLevel":"DEBUG","logLevelList":"[{\"id\":4,\"name\":\"Debug\",\"value\":\"DEBUG\",\"level\":10},{\"id\":3,\"name\":\"Info\",\"value\":\"INFO\",\"level\":20},{\"id\":2,\"name\":\"Warning\",\"value\":\"WARNING\",\"level\":30},{\"id\":1,\"name\":\"Error\",\"value\":\"ERROR\",\"level\":40},{\"id\":0,\"name\":\"Critical\",\"value\":\"CRITICAL\",\"level\":50}]","enabled":1,"connected":0,"devMode":0,"type":"python3","executable":"weatherbit.py","shortPoll":300,"longPoll":600,"nsInfoPoll":0,"discover":0,"oauth":0,"status_node":null,"status_driver":null,"orderId":null,"store":"Production","dbVersion":1,"nodeCount":0,"notices":{}}]} 4/7/2022, 17:51:11 [pg3] debug: [MESSAGE_PUBLISHED] Client pg3_client has published message on udi/pg3/frontend/clients/5ef411d7-f5f7-414a-9ad2-46b9c257016a to broker pg3_broker 4/7/2022, 17:51:17 [pg3] debug: [MESSAGE_PUBLISHED] Client pg3frontend_q5P4t has published message on udi/pg3/frontend/ns/admin to broker pg3_broker 4/7/2022, 17:51:17 [pg3] debug: [MESSAGE_PUBLISHED] Client pg3frontend_q5P4t has published message on udi/pg3/frontend/ns/admin to broker pg3_broker 4/7/2022, 17:51:17 [pg3] debug: MQTT Results: [frontend/ns/admin] :: {"getNs":{"id":"8b6d7971-aa12-4fb5-95ae-27bf82fad8ec","uuid":"00:0d:b9:59:41:c4","token":"UqydsMs*K8UTiNGq","name":"WeatherBit","nsid":"5eb66567-6a98-49e9-bd3c-b954d24ee26a","expires":0,"nickname":null,"profileNum":1,"timeAdded":1649360696349,"timeStarted":0,"timeModified":1649368142007,"version":"2.0.4","branch":"","url":"http://pg3store.isy.io/v2/node servers/production/udi-weatherbit-poly.zip","home":"/var/polyglot/pg3/ns/00:0d:b9:59:41:c4_1","log":"logs/debug.log","logLevel":"DEBUG","logLevelList":"[{\"id\":4,\"name\":\"Debug\",\"value\":\"DEBUG\",\"level\":10},{\"id\":3,\"name\":\"Info\",\"value\":\"INFO\",\"level\":20},{\"id\":2,\"name\":\"Warning\",\"value\":\"WARNING\",\"level\":30},{\"id\":1,\"name\":\"Error\",\"value\":\"ERROR\",\"level\":40},{\"id\":0,\"name\":\"Critical\",\"value\":\"CRITICAL\",\"level\":50}]","enabled":1,"connected":0,"devMode":0,"type":"python3","executable":"weatherbit.py","shortPoll":300,"longPoll":600,"nsInfoPoll":0,"discover":0,"oauth":0,"status_node":null,"status_driver":null,"orderId":null,"store":"Production","dbVersion":1,"notices":{},"nodes":[]}} 4/7/2022, 17:51:17 [pg3] debug: [MESSAGE_PUBLISHED] Client pg3_client has published message on udi/pg3/frontend/clients/5ef411d7-f5f7-414a-9ad2-46b9c257016a to broker pg3_broker 4/7/2022, 17:51:17 [pg3] info: [00:0d:b9:59:41:c4_1] Retrieved customparams 4/7/2022, 17:51:17 [pg3] info: [00:0d:b9:59:41:c4_1] Retrieved customtypeddata 4/7/2022, 17:51:17 [pg3] info: [00:0d:b9:59:41:c4_1] Retrieved oauth 4/7/2022, 17:51:17 [pg3] debug: MQTT Results: [frontend/ns/admin] :: {"getCustom":[{"id":"fd09a849-fcfa-4377-a605-f91549b6c598","uuid":"00:0d:b9:59:41:c4","profileNum":1,"key":"customparams","value":"{\"APIkey\":\"714a6cxxxxxxxxxxxxxxx357d0\",\"Location\":\"lat=26.2367&lon=-80.2872\",\"Units\":\"imperial\",\"Forecast Days\":\"3\",\"Elevation\":\"0\",\"Plant Type\":0.23}","dbVersion":1},{"id":"722c75bf-4970-4346-854e-8e1f0d8e3aa0","uuid":"00:0d:b9:59:41:c4","profileNum":1,"key":"customtypeddata","value":"{}","dbVersion":1},{"id":"ed6faeee-623a-4f7c-9807-63ee4385e95e","uuid":"00:0d:b9:59:41:c4","profileNum":1,"key":"oauth","value":"","dbVersion":1}]} 4/7/2022, 17:51:17 [pg3] debug: [MESSAGE_PUBLISHED] Client pg3_client has published message on udi/pg3/frontend/clients/5ef411d7-f5f7-414a-9ad2-46b9c257016a to broker pg3_broker 4/7/2022, 17:51:19 [pg3] debug: [MESSAGE_PUBLISHED] Client pg3frontend_q5P4t has published message on udi/pg3/frontend/ns/admin to broker pg3_broker 4/7/2022, 17:51:19 [pg3] info: startNs:: WeatherBit 4/7/2022, 17:51:19 [pg3] info: startNs:: WeatherBit is valid 4/7/2022, 17:51:19 [pg3] info: startNs:: WeatherBit finished update check 4/7/2022, 17:51:19 [pg3] info: [WeatherBit(1)] :: Starting Node server - Version 2.0.4 4/7/2022, 17:51:19 [pg3] info: startNs:: WeatherBit updating database (enabled, timestarted) 4/7/2022, 17:51:19 [pg3] debug: [MESSAGE_PUBLISHED] Client pg3_client has published message on udi/pg3/frontend/clients/5ef411d7-f5f7-414a-9ad2-46b9c257016a to broker pg3_broker 4/7/2022, 17:51:19 [pg3] debug: [MESSAGE_PUBLISHED] Client pg3_client has published message on udi/pg3/frontend/clients/5ef411d7-f5f7-414a-9ad2-46b9c257016a to broker pg3_broker 4/7/2022, 17:51:20 [pg3] info: startNs:: WeatherBit starting polls 4/7/2022, 17:51:20 [pg3] info: Starting Node server Info timer 0 4/7/2022, 17:51:20 [pg3] debug: MQTT Results: [frontend/ns/admin] :: {"startNs":{"success":true}} 4/7/2022, 17:51:20 [pg3] debug: [MESSAGE_PUBLISHED] Client pg3_client has published message on udi/pg3/frontend/clients/5ef411d7-f5f7-414a-9ad2-46b9c257016a to broker pg3_broker 4/7/2022, 17:51:22 [pg3] error: [WeatherBit(1)] :: STDERR: Traceback (most recent call last): File "./weatherbit.py", line 8, in <module> import udi_interface File "/var/polyglot/.local/lib/python3.8/site-packages/udi_interface/__init__.py", line 4, in <module> from .udi_interface import unload_interface, get_network_interface File "/var/polyglot/.local/lib/python3.8/site-packages/udi_interface/udi_interface.py", line 36, in <module> from .interface import Interface File "/var/polyglot/.local/lib/python3.8/site-packages/udi_interface/interface.py", line 27, in <module> from .isy import ISY, ILOGGER File "/var/polyglot/.local/lib/python3.8/site-packages/udi_interface/isy.py", line 4, in <module> import pyisy as PYISY File "/var/polyglot/.local/lib/python3.8/site-packages/pyisy/__init__.py", line 26, in <module> from .isy import ISY File "/var/polyglot/.local/lib/python3.8/site-packages/pyisy/isy.py", line 24, in <module> from .nodes import Nodes File "/var/polyglot/.local/lib/python3.8/site-packages/pyisy/nodes/__init__.py", line 53, in <module> from .group import Group File "/var/polyglot/.local/lib/python3.8/site-packages/pyisy/nodes/group.py", line 2, in <module> from ..constants import ( ImportError: cannot import name 'FAMILY_GENERIC' from 'pyisy.constants' (/var/polyglot/.local/lib/python3.8/site-packages/pyisy/constants.py) 4/7/2022, 17:51:22 [pg3] debug: [WeatherBit(1)] :: Exit cause code: 1 - signal: null 4/7/2022, 17:51:22 [pg3] debug: [MESSAGE_PUBLISHED] Client pg3_client has published message on udi/pg3/frontend/clients/5ef411d7-f5f7-414a-9ad2-46b9c257016a to broker pg3_broker 4/7/2022, 17:51:26 [pg3] debug: [MESSAGE_PUBLISHED] Client pg3frontend_q5P4t has published message on udi/pg3/frontend/ns/admin to broker pg3_broker 4/7/2022, 17:51:26 [pg3] info: startNs:: WeatherBit 4/7/2022, 17:51:26 [pg3] info: startNs:: WeatherBit is valid 4/7/2022, 17:51:26 [pg3] info: startNs:: WeatherBit finished update check 4/7/2022, 17:51:26 [pg3] info: [WeatherBit(1)] :: Starting Node server - Version 2.0.4 4/7/2022, 17:51:26 [pg3] info: startNs:: WeatherBit updating database (enabled, timestarted) 4/7/2022, 17:51:27 [pg3] debug: [MESSAGE_PUBLISHED] Client pg3_client has published message on udi/pg3/frontend/clients/5ef411d7-f5f7-414a-9ad2-46b9c257016a to broker pg3_broker 4/7/2022, 17:51:27 [pg3] debug: [MESSAGE_PUBLISHED] Client pg3_client has published message on udi/pg3/frontend/clients/5ef411d7-f5f7-414a-9ad2-46b9c257016a to broker pg3_broker 4/7/2022, 17:51:28 [pg3] info: startNs:: WeatherBit starting polls 4/7/2022, 17:51:28 [pg3] info: Starting Node server Info timer 0 4/7/2022, 17:51:28 [pg3] debug: MQTT Results: [frontend/ns/admin] :: {"startNs":{"success":true}} 4/7/2022, 17:51:28 [pg3] debug: [MESSAGE_PUBLISHED] Client pg3_client has published message on udi/pg3/frontend/clients/5ef411d7-f5f7-414a-9ad2-46b9c257016a to broker pg3_broker 4/7/2022, 17:51:29 [pg3] error: [WeatherBit(1)] :: STDERR: Traceback (most recent call last): File "./weatherbit.py", line 8, in <module> import udi_interface File "/var/polyglot/.local/lib/python3.8/site-packages/udi_interface/__init__.py", line 4, in <module> from .udi_interface import unload_interface, get_network_interface File "/var/polyglot/.local/lib/python3.8/site-packages/udi_interface/udi_interface.py", line 36, in <module> from .interface import Interface File "/var/polyglot/.local/lib/python3.8/site-packages/udi_interface/interface.py", line 27, in <module> from .isy import ISY, ILOGGER File "/var/polyglot/.local/lib/python3.8/site-packages/udi_interface/isy.py", line 4, in <module> import pyisy as PYISY File "/var/polyglot/.local/lib/python3.8/site-packages/pyisy/__init__.py", line 26, in <module> from .isy import ISY File "/var/polyglot/.local/lib/python3.8/site-packages/pyisy/isy.py", line 24, in <module> from .nodes import Nodes File "/var/polyglot/.local/lib/python3.8/site-packages/pyisy/nodes/__init__.py", line 53, in <module> from .group import Group File "/var/polyglot/.local/lib/python3.8/site-packages/pyisy/nodes/group.py", line 2, in <module> from ..constants import ( ImportError: cannot import name 'FAMILY_GENERIC' from 'pyisy.constants' (/var/polyglot/.local/lib/python3.8/site-packages/pyisy/constants.py) Hope this all helps you identify the issue.
bpwwer Posted April 8, 2022 Posted April 8, 2022 One of the node server dependencies (PyISY) just releases a new version that is broken. I just pushed out a new version of the node server that will try to roll back to the previous version of PyISY. If you refresh the store, it should show up (version 2.0.5). If you restart the node server it will automatically update to this version. 1
Recommended Posts