Trigger SerialAPI Soft reset

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
Spacerat
Posts: 76
Joined: 26 Dec 2015 21:03

Trigger SerialAPI Soft reset

Post by Spacerat »

Hello,

After a few days my Z-Wave network seems to freeze and does not respond anymore. Then I log into the expert UI and trigger a Serial API soft reset on the controler page (then the network is fine again).

Now i want to do an automation (within my home assistant server) to check if Z-Way is still working as expected, else trigger soft reset.
I found out that this maybe the right call:
http://<raspberrypi>:8083/JS/Run/zway.SerialAPISoftReset()

But I get a "Not logged in" message. How do i pass Username & PW in this call?
lanbrown
Posts: 373
Joined: 01 Jun 2021 08:06

Re: Trigger SerialAPI Soft reset

Post by lanbrown »

Before heading down that route, are you running the latest firmware for the Razberry board? On the Razberry 7 line, there have been issues related to bugs from Silicon Labs in the SDK. The latest release seems to have resolved many of the issues for most people.
Spacerat
Posts: 76
Joined: 26 Dec 2015 21:03

Re: Trigger SerialAPI Soft reset

Post by Spacerat »

Hardware
Vendor: RaZberry by Z-Wave.Me
Vendors Product ID: 1025 / 257
Z-Wave Chip: ZW0700
Firmware
Library Type: Static Controller
SDK Version: 7.20.00
Serial API Version: 07.40

Z-Way: 4.1.3

As far as i know is this the latest version of the software and controller.
Spacerat
Posts: 76
Joined: 26 Dec 2015 21:03

Re: Trigger SerialAPI Soft reset

Post by Spacerat »

Is this the right approach?

POST request to http://<raspberrypi IP>:8083/JS/Run/zway.SerialAPISoftReset()
Header: ZWAYSession = <permanent token> (created on user admin page)
lanbrown
Posts: 373
Joined: 01 Jun 2021 08:06

Re: Trigger SerialAPI Soft reset

Post by lanbrown »

Spacerat wrote:
25 Jul 2024 16:11

As far as i know is this the latest version of the software and controller.
It is not:
Library Type: Static Controller
SDK Version: 7.21.00
Serial API Version: 07.42

That update on the Razberry fixed issues for many people. The soft reset was and is a workaround for the bugs in the SDK from Silicon Labs. I would update the firmware on the Razberry and then reassess the issues you have.
Spacerat
Posts: 76
Joined: 26 Dec 2015 21:03

Re: Trigger SerialAPI Soft reset

Post by Spacerat »

OK, how can i get the update? If i try i get this:
Image
Attachments
Update_failure.jpg
Update_failure.jpg (141.94 KiB) Viewed 10456 times
lanbrown
Posts: 373
Joined: 01 Jun 2021 08:06

Re: Trigger SerialAPI Soft reset

Post by lanbrown »

Check the other thread topic that was right below or above your thread:
https://forum.z-wave.me/viewtopic.php?f=3419&t=36079
User avatar
PoltoS
Posts: 7649
Joined: 26 Jan 2011 19:36

Re: Trigger SerialAPI Soft reset

Post by PoltoS »

The upgrade was fixed. Please retry
Post Reply