Page 1 of 1

Trigger SerialAPI Soft reset

Posted: 23 Jul 2024 15:13
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?

Re: Trigger SerialAPI Soft reset

Posted: 23 Jul 2024 20:39
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.

Re: Trigger SerialAPI Soft reset

Posted: 25 Jul 2024 16:11
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.

Re: Trigger SerialAPI Soft reset

Posted: 25 Jul 2024 16:36
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)

Re: Trigger SerialAPI Soft reset

Posted: 25 Jul 2024 23:27
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.

Re: Trigger SerialAPI Soft reset

Posted: 26 Jul 2024 08:46
by Spacerat
OK, how can i get the update? If i try i get this:
Image

Re: Trigger SerialAPI Soft reset

Posted: 26 Jul 2024 18:06
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

Re: Trigger SerialAPI Soft reset

Posted: 07 Aug 2024 15:24
by PoltoS
The upgrade was fixed. Please retry