Timeout from command - not receiving response from PLM

For owners of the Raspberry Pi that want ZigBee/INSTEON/X10 Home Automation capabilities

Moderator: Justin

jayseaman
Posts: 22
Joined: Mon Apr 18, 2016 7:25 am

Timeout from command - not receiving response from PLM

Postby jayseaman » Sat Aug 05, 2017 6:10 am

I have been using the PI gateway for a long time. Recently the zbp server stops receiving communications from the Insteon PLM. I have a number of Wizards which still execute. The zbp server sends the time-based commands to the PLM and lights go on and off at the proper times, however the zbp is not receiving any status messages. Also as a result the UI is not functional. Obtaining status of any device on the UI times out.

If I restart the service from the command line, I can use the UI for a short period of time and then this behavior resumes.

Here's a snippet from the zbp.log right after a zbpserver restart. From the UI I am getting the status of a few modules, and we see TX/RX pairs.

At 8:44 I try again to get some module status and we see TX only, no RX. this continues until I either reboot the PI or restart the server.

I have rebooted the PI and rebooted the PLM, reloaded and updated the SW on the PI, tried other USB ports on the PI.

Suggestions?

zbplog.zip
Log File snippet
(1.12 KiB) Downloaded 102 times

Dhawal
Posts: 260
Joined: Wed Nov 09, 2011 2:18 pm

Re: Timeout from command - not receiving response from PLM

Postby Dhawal » Thu Aug 10, 2017 1:14 pm

We are checking it and will get back to you, Thanks.
Regards,
Dhawal
dhawal.d@smartenit.com
(949) 429-3303

Justin
Moderator
Posts: 146
Joined: Thu Oct 29, 2009 3:34 pm

Re: Timeout from command - not receiving response from PLM

Postby Justin » Thu Aug 10, 2017 2:46 pm

Hello Jay,

I'm sorry to hear that you are having these challenges.

Which version of ZBPServer does your gateway have?

Have you upgraded your ZBPServer recently, just to ensure this isn't a bug we've already addressed? If not, in SSH...assuming you have a new enough version to take this command, run the upgrade with the following command: zbp-upgrade

Thanks much

jayseaman
Posts: 22
Joined: Mon Apr 18, 2016 7:25 am

Re: Timeout from command - not receiving response from PLM

Postby jayseaman » Fri Aug 11, 2017 7:22 am

I ran the update command, which generated a raft of syntax errors, but according to the log file completed successfully. All of my areas were deleted. The log file is repeating an error about

Error creating old area 'Exterior' remotely, trying to migrate it later. Err: "Remote operation was disabled and the current platform does not have local storage"

for all of the areas I had previously. I'll try to recreate those areas manually and see if that goes away.

I'll report back later on how the communication issue is or is not resolved.

Thanks

jayseaman
Posts: 22
Joined: Mon Apr 18, 2016 7:25 am

Re: Timeout from command - not receiving response from PLM

Postby jayseaman » Sun Aug 13, 2017 5:26 pm

The upgrade was not successful. I lost connectivity from the ssh session and I don't have a physical console. I was unable to re-establish an ssh connection after the upgrade.

All of my areas were lost. I was able to create 3 new areas, but I was not able to add any devices to those areas. The UI acted as if it was adding devices - when I selected them, the "devices added to area" dialog displayed, but the device count always remained 0, and those devices were never again displayed in that area. After adding 2 areas, I was unable to add any more. Without a ssh session, I was unable to review the log file.

I removed the power and rebooted the pi. I was still receiving errors in the log about the device not being registered and retrying in 20 seconds.

I removed the zbpserver package and reinstalled from scratch. I was still unable to add areas, and the SD card became corrupted.

I am now reverting to a backup at the old version in order to at least run the wizards and have lights turn on and off :(

Jay

jayseaman
Posts: 22
Joined: Mon Apr 18, 2016 7:25 am

Re: Timeout from command - not receiving response from PLM

Postby jayseaman » Thu Aug 24, 2017 1:54 pm

I am still having problems with this.

I started with a new SD, formatted, installed a new copy of Raspbian Jesse 07052017, and installed zbpserver from scratch.

I received errors in the log file

Aug 24 16:46:41 raspberrypi ZBPServer[4458]: MQTTClient:: gateway registered, id: 598dbaf33bd8242a7c1a8443 accountId:
Aug 24 16:46:41 raspberrypi ZBPServer[4458]: MQTTClient:: this device is not associated to an account yet, checking again in 20secs

I logged into the app.smartenit.com portal and recreated my gateway with the proper IP and and MAC address, but still receive this error.

I tried to copy my old data.db into the /etc/zbp directory to restore all of my devices. The devices are visible in the All Devices area, but all other areas are generating this error:

Aug 24 16:46:53 raspberrypi ZBPServer[4458]: AreasMgmt:: Trying to migrate old areas
Aug 24 16:46:53 raspberrypi ZBPServer[4458]: AreasMgmt:: Not all areas have been started its migration process
Aug 24 16:46:53 raspberrypi ZBPServer[4458]: AreasMgmt:: Error creating old area 'Exterior' remotely, trying to migrate it later. Err: "Remote operation was disabled and the current platform does not have local storage"

Lastly, all inquiry commands are still failing:

Aug 24 16:51:59 raspberrypi ZBPServer[4458]: sSerialCtrl::CtrlId: 0 [TX] 02 62 24 5E 7A 0F 19 01
Aug 24 16:51:59 raspberrypi ZBPServer[4458]: sSerialCtrl::CtrlId: 0 [TX] 02 62 20 92 B6 0F 19 00
Aug 24 16:51:59 raspberrypi ZBPServer[4458]: sSerialCtrl::CtrlId: 0 [TX] 02 62 24 CE E2 0F 19 00
Aug 24 16:51:59 raspberrypi ZBPServer[4458]: sSerialCtrl::CtrlId: 0 [TX] 02 62 22 C6 F7 0F 19 00
Aug 24 16:51:59 raspberrypi ZBPServer[4458]: sSerialCtrl::CtrlId: 0 [TX] 02 62 24 2D D9 0F 19 01
Aug 24 16:51:59 raspberrypi ZBPServer[4458]: sSerialCtrl::CtrlId: 0 [TX] 02 62 20 96 90 0F 19 00
Aug 24 16:51:59 raspberrypi ZBPServer[4458]: sSerialCtrl::CtrlId: 0 [TX] 02 62 21 3D EC 0F 19 00
Aug 24 16:52:00 raspberrypi ZBPServer[4458]: sSerialCtrl::CtrlId: 0 [TX] 02 62 22 C9 00 0F 19 00
Aug 24 16:52:00 raspberrypi ZBPServer[4458]: sSerialCtrl::CtrlId: 0 [TX] 02 62 23 B1 51 0F 19 00
Aug 24 16:52:00 raspberrypi ZBPServer[4458]: sSerialCtrl::CtrlId: 0 [TX] 02 62 22 BA 64 0F 19 00
Aug 24 16:52:00 raspberrypi ZBPServer[4458]: sSerialCtrl::CtrlId: 0 [TX] 02 62 21 3C 16 0F 19 00
Aug 24 16:52:00 raspberrypi ZBPServer[4458]: sSerialCtrl::CtrlId: 0 [TX] 02 62 21 3F 0B 0F 19 00
Aug 24 16:52:00 raspberrypi ZBPServer[4458]: sSerialCtrl::CtrlId: 0 [TX] 02 62 24 5E 39 0F 19 01
Aug 24 16:52:00 raspberrypi ZBPServer[4458]: sSerialCtrl::CtrlId: 0 [TX] 02 62 24 2F 58 0F 19 01
Aug 24 16:52:00 raspberrypi ZBPServer[4458]: sSerialCtrl::CtrlId: 0 [TX] 02 62 21 3F 56 0F 19 00
commands are sent but no replies are ever received.

FYI I tried to install this on the latest Raspbian Stretch but was unable to run the server - nothing at all in the log file after installation although the service appears to be running.

Dhawal
Posts: 260
Joined: Wed Nov 09, 2011 2:18 pm

Re: Timeout from command - not receiving response from PLM

Postby Dhawal » Wed Dec 06, 2017 2:33 pm

Hi Jay,

For some reason I'm just seeing this now. Are you still having issues? Feel free to contact me at dhawal.d@smartenit.com

Sorry for such a delay :shock:
Regards,
Dhawal
dhawal.d@smartenit.com
(949) 429-3303


Return to “Raspberry Pi”

Who is online

Users browsing this forum: No registered users and 1 guest