API use and log error

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
User avatar
marco
Posts: 88
Joined: 03 Dec 2015 19:50

API use and log error

Post by marco »

Hi dear,
I'm using a

Raspberry 4
Razberry 500 v2
Zway v3.0.4

Performing curl calls to set the temperature on Qubino thermostats, eg.

Code: Select all

curl -u user:pwd "http://zway_ip:zway_port/ZAutomation/api/v1/devices/ZWayVDev_zway_81-0-67-1/command/exact?level=24"
everything seems to be ok and request is done correctly so the cli give me the answer

Code: Select all

{"data":null,"code":200,"message":"200 OK","error":null}
And the thermostat is correctly set at the required temperature.

Redirecting the output on

Code: Select all

&> /dev/null
everything as expected.

zway log tells me this:

Code: Select all

[2024-11-13 07:58:55.250] [I] [zway] Node 81:0 CC ThermostatMode: Thermostat Mode 1 is not supported by device (modemask 0x9)
[2024-11-13 07:58:55.251] [I] [core] Notification: error (module): Error during perform command execution: Error: Invalid argument
[2024-11-13 07:58:55.258] [I] [core] Error: Invalid argument
    at Error (native)
    at t_vDev.(anonymous function).self.controller.devices.create.handler (automation/modules/ZWave/index.js:5758:62)
    at _.extend.performCommand (automation/classes/VirtualDevice.js:316:25)
    at ZAutomationAPIWebRequest._.extend.performVDevCommandFunc (automation/ZAutomationAPIProvider.js:442:51)
    at ZAutomationAPIWebRequest.handlerFunc (automation/ZAutomationAPIProvider.js:4241:31)
    at ZAutomationAPIWebRequest.ZAutomationWebRequest.handleRequest (automation/WebserverRequestRouter.js:263:35)
    at automation/WebserverRequestRouter.js:32:29
    at WebServer.document_root (automation/Webserver.js:36:11)
I double-checked, and ZWayVDev_zway_81-0-67-1, of course, exists.

This happens for all 13 thermostats I manage and seems to cause a temporary failure in server communication with UI
Catturaeeee.PNG
Catturaeeee.PNG (16.77 KiB) Viewed 1614 times
The log indications seem not useful. In index.js, at the suggested line, everything seems to be OK.

I also find regular situations in the other suggested files

At the moment I cannot update because the updater is unable to load the Firmware Update page
Catturaeeeeeee.PNG
Catturaeeeeeee.PNG (13.03 KiB) Viewed 1614 times
and I would prefer to be on site which is where I'm not.

Can anyone give me directions?
Marco
seattleneil
Posts: 196
Joined: 02 Mar 2020 22:41

Re: API use and log error

Post by seattleneil »

Please update Z-Way to the newest version (4.1.4) and see if that fixes the problem. The version you are using (3.0.4) is almost 4 years old.

You can update Z-Way remotely from the command line. Run:

Code: Select all

PKG=z-way-4.1.4_armhf.deb && wget -O /tmp/$PKG https://storage.z-wave.me/z-way-server/$PKG && sudo dpkg -i /tmp/$PKG
helendam
Posts: 2
Joined: 19 Apr 2023 05:27

Re: API use and log error

Post by helendam »

seattleneil wrote:
14 Nov 2024 19:57
Please update Z-Way to the newest version (4.1.4) and see if that fixes the problem. The version you are using (3.0.4) is almost 4 years old.
Geometry Dash
You can update Z-Way remotely from the command line. Run:

Code: Select all

PKG=z-way-4.1.4_armhf.deb && wget -O /tmp/$PKG https://storage.z-wave.me/z-way-server/$PKG && sudo dpkg -i /tmp/$PKG
thanks
pucksimply
Posts: 1
Joined: 11 Sep 2023 07:07

Re: API use and log error

Post by pucksimply »

seattleneil wrote:
14 Nov 2024 19:57
Please update Z-Way to the newest version (4.1.4) and see if that fixes the problem. The version you are using (3.0.4) is almost 4 years old.

You can update Z-Way remotely from the command line. Run:

Code: Select all

PKG=z-way-4.1.4_armhf.deb && wget -O /tmp/$PKG https://storage.z-wave.me/z-way-server/$PKG && sudo dpkg -i /tmp/$PKG
Great suggestion. Thank you!
Post Reply