# Zwave - set configuration parameter - how does it work?

so I have this multi sensor;

Now all I have in the HASS configuration is this, right?

So for No 5; operation mode… how do I set… Bit4, for example?

Another one; No: 20, the default is 30… but 30 what?
If you then look at 13, the default is 12… 12 what? Valid values to 0 to 127.

What I am trying to work out is when does the temp sensor report? It seems to report rarely but I wanted to understand how it reported (maybe it reports only every 2 hours, or when the temp has changed by X amount or something), I don’t know)… etc.

Any help appreciated.

THanks

You can calculate the corresponding number:

https://www.rapidtables.com/convert/number/binary-to-decimal.html

Bit 0 set (“0000001”) would mean 1
Bit 0 and 2 set (“0000101”) would mean 5

Bit 1 is the outer most right number.

I will admit, I am not following.

How do you set bit3 to 1 (celsuis) for example.

Remember the value needs to be ‘a byte between 0 and 255’

By default all bits are 0 per manual > “00000000”. This results in integer 0;

If you set bit 3 to 1 => “00001000”. This results in integer 8. Bit 3 is the 4th digit from right as it starts counting at 0. You enter “8” in the configuration.

You simple take the “00000000” and change the respective digit to 1. Bit 0 is first digit from right Bit 3 is fourth digit from right.

Thanks for the noob level explanation @abalakov , really appreciated.

Now for the second half of my post:

Looking at parameter 8 and 9: “8 seconds per tick, default tick is 3 (24 seconds)” and “8 seconds per tick, default tick is 4 (32 seconds)”

With parameter 30 you set the tick time for parameter 10, 11, 12 and 13. Default tick time is 30 seonds.

Parameter 13: => 12 x 30 seconds = 360 seconds or 6 minutes or 10 times per hour

I finally got back to this today, works great. Thank you for your explanations.

ok, so… Looks like I was wrong, it doesn’t work at all but that is not due to your explanations… They are great.

I make the config change, the log says:

``````2019-06-22 13:42:38.320 Info, Node087, Value::Set - COMMAND_CLASS_CONFIGURATION - Auto Report Temperature Time - 13 - 1 - 6
2019-06-22 13:42:38.321 Info, Node087, Configuration::Set - Parameter=13, Value=6 Size=1
2019-06-22 13:42:38.321 Detail, Node087, Setting Encryption Flag on Message For Command Class COMMAND_CLASS_CONFIGURATION
2019-06-22 13:42:38.321 Detail,
2019-06-22 13:42:38.321 Detail, Node087, Queuing (WakeUp) ConfigurationCmd_Set (Node=87): 0x01, 0x0c, 0x00, 0x13, 0x57, 0x05, 0x70, 0x04, 0x0d, 0x01, 0x06, 0x25, 0x56, 0xbf
2019-06-22 13:42:38.321 Detail, Node087, Setting Encryption Flag on Message For Command Class COMMAND_CLASS_CONFIGURATION
2019-06-22 13:42:38.322 Detail,
2019-06-22 13:42:38.322 Detail, Node087, Queuing (WakeUp) ConfigurationCmd_Get (Node=87): 0x01, 0x0a, 0x00, 0x13, 0x57, 0x03, 0x70, 0x05, 0x0d, 0x25, 0x57, 0xb8
``````

but the config actually never changes. I have set the config a few times and thought it might just need to wake up or something but it always remains 12.