Read Parameter from Battery Device

Posted on
Sun Jun 24, 2018 9:50 am
autolog offline
Posts: 3991
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Read Parameter from Battery Device

Using the Z-Wave menu item Modify Configuration Parameter doesn't work for a battery device that is asleep, which is fairly obvious. :wink:

I was wondering if it is possible using the Send Raw -Wave command to read a parameter from a battery device by setting the Send mode to Wait for Awake Notification?

I want to read the 1 byte value of parameter 1 from a device that is in a difficult to get to position.

Likewise, is it possible to set the value of a parameter using the Send Raw -Wave command?

Posted on
Sun Jun 24, 2018 11:50 am
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Read Parameter from Battery Device

This will request Param 1:
Code: Select all
0x70 0x04 0x01

This will set Param 1:
Code: Select all
0x70 0x03 0x01 0xaa 0xbb

Size aa =
01 for 1 byte,
02 for 2 bytes,
04 for 4 bytes

Value bb = Signed value:
01 = 1
02 = 2
...
7E = 126
7F = 127
80 = -128
81 = -127
...
FE = -2
FF = -1

If you need to watch debug for the reply (not sure how it logs) then look for:
Code: Select all
0x70 0x05 0x01 0xaa 0xbb

You don't need anything else; the UI or python command will wrap the rest of the command structure for you.

Peter

Posted on
Sun Jun 24, 2018 12:05 pm
autolog offline
Posts: 3991
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Read Parameter from Battery Device

Hi Peter,
Thanks , I will give it a try. :)

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 9 guests