Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

HoneywellHome NS not running on PG3x?

Featured Replies

Posted

I upgraded my Polisy from PG3 to PG3x last night and everything migrated successfully (after an arbitrary number of reboots) and is running except HoneywellHome node server. The node server appears to be running with an increasing "Uptime," but the Current Status is "Disconnected." The log file is from yesterday and shows the node server running properly all day and the graceful shutdown last night when the upgrade was started. Stopping and re-starting the node server does not produce a new log file or change the Current Status from "Disconnected." Whenever I restart the node server, I get the following in the PG3(x) log file:

9/29/2023, 05:56:31 [pg3] info: startNs:: Starting HoneywellHome
9/29/2023, 05:56:31 [pg3] info: call_udx: Making request to socket with url /rest/pg3.start.ns
9/29/2023, 05:56:31 [pg3] info: startNs:: HoneywellHome starting polls
9/29/2023, 05:56:31 [pg3] info: Starting HoneywellHome Info timer 0
9/29/2023, 05:56:31 [pg3] info: startNs:: HoneywellHome updating database (enabled, timestarted)
9/29/2023, 05:56:31 [pg3] info: startNs:: HoneywellHome started.

There is nothing else in the PG3(x) indicating any problems with the HoneywellHome node server. The IoX Admin Console shows all blank entries.

Is there any known incompatibility of this node server with PG3x? Anybody else running HoneywellHome on PG3x?

Solved by Goose66

Go to solution

If the node server log file isn't being updated, then the node server is most likely not running. 

With PG3x, there's no quick/easy way to determine why since you don't have access to any output until it starts writing to the log file.   My first guess would be that it doesn't list all the modules that it really requires in the requirements.txt file and thus fails at the import stage.

What I would do is edit the rc.d file for that node server (/usr/local/etc/rc.d/<uuid>_<slot>) and add a -S to the command_args.  That tells it to write output to the /var/log/messages file when starting.  Then attempt to start the node server using sudo service <uuid_slot> onestart  and check the /var/log/messages file to see what's failing.

I believe that this is another of the node servers that I ported to PG3 for UDI.  

  • 2 weeks later...
  • Author
On 9/29/2023 at 1:23 PM, bpwwer said:

Then attempt to start the node server using sudo service <uuid_slot> onestart  and check the /var/log/messages file to see what's failing.

No messages in /var/log/messages. This is what I get when I try to start it:

[admin@polisy /var/log]$ sudo service 000db953da90_4 onestart
Starting NS000db953da90_4.                   
su: unknown login: 000db953da90_4 
/usr/local/etc/rc.d/000db953da90_4: WARNING: failed to start NS000db953da90_4                                                                                                                                

 

Guest
This topic is now closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.