Panda88 Posted October 2, 2023 Posted October 2, 2023 Hi A new and updated version of the server is live now. Release note: 0.9.63 - Fixed bug with system going offline not showing. Added Smoke detector Added Siren (usable as a controllable 12V supply) Updated sensors to allow config of DON/DOF behavior. Changed use model for delays in switches, outlets (incl multi) and manipulators. Now allows programing both ON and OFF delay in 1 operation (using new drop down) - the delay settings now prepare the delay - not executing it. The main reason for this is to allow a programmed sequence of both on and off (or vice versa) - e.g. to power cycle the internet connection - or ensure a valve turns off even if internet goes down in-between 2 programming operations. (Note, yolink API changed behavior of delay so the delay will now be reset (removed) if a new command if issued after the programming of a delay)
drprm1 Posted October 2, 2023 Posted October 2, 2023 Tried to update and now it shows “disconnected”. When I hit start it tells me that the nodeserver is already running…. Log file is empty. Can’t get it to show anything.
Panda88 Posted October 2, 2023 Author Posted October 2, 2023 (edited) does the main log show something - Maybe try to power cycle your Polisy/eisy What procedure did you use - I have been using replace existing (click half way up when installing the updated node Edited October 2, 2023 by Panda88
drprm1 Posted October 3, 2023 Posted October 3, 2023 (edited) Power cycled eisy with no change. Not sure what procedures used. Think I just updated from purchased ns store then installed?? Later on I purchased and installed again just to try. Can’t get log to show anything… When I hit “stop” there is a message and progress bar showing it stops. When I hit start there is no message or progress bar…If I hit start again it just says “ns already running” If I hit “restart” there is no messages or progress bars. About to delete and reinstall but rather not. Edited October 3, 2023 by drprm1
Panda88 Posted October 3, 2023 Author Posted October 3, 2023 Did you try to click download log? I find the gui sometmes do not show the log, but it is there if you download it Did you click reinstall here? button when upgrading?
drprm1 Posted October 3, 2023 Posted October 3, 2023 Never reinstalled, pretty sure just updated…. Tried to download log and I get a red pop up message saying “Error, file not found………”
Panda88 Posted October 3, 2023 Author Posted October 3, 2023 (edited) try to go to store - and install again - click the reinstall here button That way you do not need to reinstall Edited October 3, 2023 by Panda88
drprm1 Posted October 3, 2023 Posted October 3, 2023 (edited) Reinstalled to same slot. No changes Still showing disconnected. When hit Start still says it’s already running. still no log Edited October 3, 2023 by drprm1
Panda88 Posted October 3, 2023 Author Posted October 3, 2023 did you check the main polisy log (not the individual node log) - to see if there is any info? I have no idea what is happening - it seems to be PG3 - related - maybe bob can help
drprm1 Posted October 3, 2023 Posted October 3, 2023 (edited) I don’t see anything in the Polyglot log. PG3 related? Started with this update so would think problem lies there? Would like to hear if this happened on anyone else’s PG Edited October 3, 2023 by drprm1
Panda88 Posted October 3, 2023 Author Posted October 3, 2023 Correct, but it is PG3 handling the update - There have been some changes lately but it is very difficult to test as developer as you have different privileges 1
landolfi Posted October 3, 2023 Posted October 3, 2023 I tried Reinstall Here, Stop/Start, and Restart. Version still shows 0.8.99 and Disconnected.
landolfi Posted October 3, 2023 Posted October 3, 2023 (edited) Does this help? It's from the PG3 log. 10/2/2023, 18:43:30 [pg3] info: startNs:: YoLink 10/2/2023, 18:43:30 [pg3] info: startNs:: YoLink is valid 10/2/2023, 18:43:30 [pg3] info: checkLicense:: YoLink Valid perpetual license found. 10/2/2023, 18:43:30 [pg3] info: startNs:: YoLink finished update check 10/2/2023, 18:43:30 [pg3] info: Received commands on topic udi/pg3/frontend/system/admin: getStoreEntry 10/2/2023, 18:43:30 [pg3] info: IoX Request: [Try: 1] [00:0d:b9:5d:9b:24] :: - http://127.0.0.1:8080/rest/nodes/n002_8b4c010004a629 10/2/2023, 18:43:30 [pg3] info: IoX Response: [Try: 1] [00:0d:b9:5d:9b:24] :: [200] :: 14.191932ms - http://127.0.0.1:8080/rest/nodes/n002_8b4c010004a629 10/2/2023, 18:43:30 [pg3] info: Getting Node Server store entry for nsid 78312440-23ea-4ed6-9361-9cdc2d5e7c6b from store Production 10/2/2023, 18:43:30 [pg3] info: IoX Request: [Try: 1] [00:0d:b9:5d:9b:24] :: - http://127.0.0.1:8080/rest/nodes/n002_8b4c01000560b0 10/2/2023, 18:43:30 [pg3] info: IoX Response: [Try: 1] [00:0d:b9:5d:9b:24] :: [200] :: 12.402224ms - http://127.0.0.1:8080/rest/nodes/n002_8b4c01000560b0 10/2/2023, 18:43:30 [pg3] info: IoX Request: [Try: 1] [00:0d:b9:5d:9b:24] :: - http://127.0.0.1:8080/rest/nodes/n002_8b4c010005ad2c 10/2/2023, 18:43:30 [pg3] error: IoX Response: [Try: 1] [00:0d:b9:5d:9b:24] :: [404 - OK] :: 10.028043ms - http://127.0.0.1:8080/rest/nodes/n002_8b4c010005ad2c 10/2/2023, 18:43:30 [pg3] error: [00:0d:b9:5d:9b:24_2] getNode failed :: TypeError: Cannot read properties of undefined (reading 'data') 10/2/2023, 18:43:30 [pg3] info: IoX Request: [Try: 1] [00:0d:b9:5d:9b:24] :: - http://127.0.0.1:8080/rest/nodes/n002_8b4c010005dea5 10/2/2023, 18:43:30 [pg3] info: IoX Response: [Try: 1] [00:0d:b9:5d:9b:24] :: [200] :: 11.314377ms - http://127.0.0.1:8080/rest/nodes/n002_8b4c010005dea5 10/2/2023, 18:43:30 [pg3] info: IoX Request: [Try: 1] [00:0d:b9:5d:9b:24] :: - http://127.0.0.1:8080/rest/nodes/n002_8b4c0100060595 10/2/2023, 18:43:30 [pg3] error: IoX Response: [Try: 1] [00:0d:b9:5d:9b:24] :: [404 - OK] :: 10.395288ms - http://127.0.0.1:8080/rest/nodes/n002_8b4c0100060595 10/2/2023, 18:43:30 [pg3] error: [00:0d:b9:5d:9b:24_2] getNode failed :: TypeError: Cannot read properties of undefined (reading 'data') 10/2/2023, 18:43:31 [pg3] info: IoX Request: [Try: 1] [00:0d:b9:5d:9b:24] :: - http://127.0.0.1:8080/rest/nodes/n002_8b4c020002abcf 10/2/2023, 18:43:31 [pg3] info: IoX Response: [Try: 1] [00:0d:b9:5d:9b:24] :: [200] :: 11.807533ms - http://127.0.0.1:8080/rest/nodes/n002_8b4c020002abcf 10/2/2023, 18:43:31 [pg3] info: IoX Request: [Try: 1] [00:0d:b9:5d:9b:24] :: - http://127.0.0.1:8080/rest/nodes/n002_8b4c020002abd0 10/2/2023, 18:43:31 [pg3] info: IoX Response: [Try: 1] [00:0d:b9:5d:9b:24] :: [200] :: 11.193565ms - http://127.0.0.1:8080/rest/nodes/n002_8b4c020002abd0 10/2/2023, 18:43:31 [pg3] info: IoX Request: [Try: 1] [00:0d:b9:5d:9b:24] :: - http://127.0.0.1:8080/rest/nodes/n002_8b4c020002b231 10/2/2023, 18:43:31 [pg3] info: IoX Response: [Try: 1] [00:0d:b9:5d:9b:24] :: [200] :: 11.177191ms - http://127.0.0.1:8080/rest/nodes/n002_8b4c020002b231 10/2/2023, 18:43:31 [pg3] info: IoX Request: [Try: 1] [00:0d:b9:5d:9b:24] :: - http://127.0.0.1:8080/rest/nodes/n002_8b4c020002f11b 10/2/2023, 18:43:31 [pg3] info: IoX Response: [Try: 1] [00:0d:b9:5d:9b:24] :: [200] :: 11.447724ms - http://127.0.0.1:8080/rest/nodes/n002_8b4c020002f11b 10/2/2023, 18:43:31 [pg3] info: IoX Request: [Try: 1] [00:0d:b9:5d:9b:24] :: - http://127.0.0.1:8080/rest/nodes/n002_8b4c0200031535 10/2/2023, 18:43:31 [pg3] info: IoX Response: [Try: 1] [00:0d:b9:5d:9b:24] :: [200] :: 11.242035ms - http://127.0.0.1:8080/rest/nodes/n002_8b4c0200031535 10/2/2023, 18:43:31 [pg3] info: IoX Request: [Try: 1] [00:0d:b9:5d:9b:24] :: - http://127.0.0.1:8080/rest/nodes/n002_setup 10/2/2023, 18:43:31 [pg3] info: IoX Response: [Try: 1] [00:0d:b9:5d:9b:24] :: [200] :: 10.842269ms - http://127.0.0.1:8080/rest/nodes/n002_setup 10/2/2023, 18:43:31 [pg3] info: startNs:: Starting YoLink 10/2/2023, 18:43:31 [pg3] info: call_udx: Making request to socket with url /rest/pg3.start.ns 10/2/2023, 18:43:31 [pg3] info: startNs:: YoLink starting polls 10/2/2023, 18:43:31 [pg3] info: Starting YoLink Info timer 0 10/2/2023, 18:43:31 [pg3] info: startNs:: YoLink updating database (enabled, timestarted) 10/2/2023, 18:43:31 [pg3] info: startNs:: YoLink started. 10/2/2023, 18:43:31 [pg3] info: Received commands on topic udi/pg3/frontend/system/admin: getStoreEntry 10/2/2023, 18:43:31 [pg3] info: Getting Node Server store entry for nsid 78312440-23ea-4ed6-9361-9cdc2d5e7c6b from store Production 10/2/2023, 18:43:33 [pg3] info: Received commands on topic udi/pg3/frontend/ns/admin: startLogging 10/2/2023, 18:43:33 [pg3] info: Is client running? /var/polyglot/pg3/ns/000db95d9b24_2/logs/debug.log does not exist. 10/2/2023, 18:43:40 [pg3] info: Received commands on topic udi/pg3/frontend/ns/admin: setLogLevel 10/2/2023, 18:43:40 [pg3] info: Received commands on topic udi/pg3/frontend/system/admin: getStoreEntry 10/2/2023, 18:43:40 [pg3] info: Getting Node Server store entry for nsid 78312440-23ea-4ed6-9361-9cdc2d5e7c6b from store Production 10/2/2023, 18:43:41 [pg3] error: downloadLog: Error: File not found: /var/polyglot/pg3/ns/000db95d9b24_2/logs/debug.log at Object.addLocalFile (/var/polyglot/node_modules/adm-zip/adm-zip.js:258:23) at /var/polyglot/node_modules/@universaldevices/pg3x/lib/routes/log.js:94:16 at async /var/polyglot/node_modules/@universaldevices/pg3x/lib/services/https.js:48:9 10/2/2023, 18:43:46 [pg3] info: Received commands on topic udi/pg3/ns/command/00:0d:b9:5d:9b:24_ Edited October 3, 2023 by landolfi
landolfi Posted October 3, 2023 Posted October 3, 2023 I rebooted and did Reinstall Here. Now the Yolink NS shows as 0.9.63 but still disconnected, and Start results in "Node Server Start: Already running".
Panda88 Posted October 3, 2023 Author Posted October 3, 2023 It is likely and issue for Bob - I sent him a message already
DennisC Posted October 3, 2023 Posted October 3, 2023 Are you on PG3 or PG3x? If you are on PG3, which is no longer being developed, I think the only recovery path is to upgrade to PG3x. https://wiki.universal-devices.com/index.php?title=Polisy:User_Guide#Upgrading_to_PG3x
drprm1 Posted October 3, 2023 Posted October 3, 2023 (edited) on PG3x Edited October 3, 2023 by drprm1
DennisC Posted October 3, 2023 Posted October 3, 2023 Maybe try power cycling and if needed reinstall node server after the restart?
drprm1 Posted October 3, 2023 Posted October 3, 2023 Have power cycled a few times. As stated earlier that reinstalling would be next and that I'd rather not. (i know not a giant task) but Panda88 said I shouldn't have to.
mjrush Posted October 3, 2023 Posted October 3, 2023 I'm having the same problem. eisy, PG3x 3.2.8. The installed version is 0.9.63, status is disconnected. Tried Update Packages, reboot, power cycle, reinstall, stop, start. The YoLink nodes show in PG3x but not in the AC.
Panda88 Posted October 3, 2023 Author Posted October 3, 2023 @bpwwer Bob, do you have any idea what may be happening. Works fine on both my setups (PG3 and PG3x)
sjenkins Posted October 3, 2023 Posted October 3, 2023 (edited) Same problem PG3x 3.2.8 , Yo-Link at 0.9.63, twice reinstall, reboot of EISY, many restart or stop/start, also did a 'Add all nodes' in the admin. Status still disconnected. Did the update work for anybody (except the author)? BTW: : during frustrating times I do want to say how much I appreciate this node server and your efforts....this too shall pass. Edited October 3, 2023 by sjenkins
JeffR Posted October 3, 2023 Posted October 3, 2023 Same problem as the others and EISY is current on everything. Yo-Link did upgrade to 0.9.63, but is disconnected. I agree Yo-Link and this Node server are great to have.
Panda88 Posted October 3, 2023 Author Posted October 3, 2023 Does anyone get a log file from the node server - please enable debug and try to start it -
mjrush Posted October 3, 2023 Posted October 3, 2023 I'm not very familiar with logs. I did Log, selected Debug, Start. Then I tried to download the Log Package. I received a red popup with file not found. I tried some other Log options and never did get a log window.
Recommended Posts