Wall Switch and Plug In Module Dimmers Status Level Returned Wrong Value

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
aibojian
Posts: 5
Joined: 20 Jul 2013 08:25

Wall Switch and Plug In Module Dimmers Status Level Returned Wrong Value

Post by aibojian » 22 Jul 2013 07:14

When I am using RazBerry with either Z-Way iPhone app or OpenRemote, I'm getting incorrect value in return.

Ex 1: When I am using slider and selected 60 the return value will either jump to 96 (if it was from 99) or 4 (if it was from 0).

Ex 2: When I click on the ON button (value was set at 99) from value 24, the light will turn on to 99, but the return value is 27.

Wondering if anyone experiencing the same issue and is there's a workaround. Thanks in advance.

PerM
Posts: 16
Joined: 21 Jun 2013 20:38

I've seen this as well when

Post by PerM » 22 Jul 2013 07:14

I've seen this as well when POSTing to the Json API. From what I understand, it is the result of the end device reporting a value before it is still executing the command to dim up/down. Subsequent calls to read the value in question returns the correct value.

aibojian
Posts: 5
Joined: 20 Jul 2013 08:25

Make sense

Post by aibojian » 22 Jul 2013 07:14

That make sense. is there any way to delay calls or when posting commands through JSON API, so it returns the correct value?

PerM
Posts: 16
Joined: 21 Jun 2013 20:38

Not that I know of.

Post by PerM » 22 Jul 2013 07:14

Not that I know of.

aibojian
Posts: 5
Joined: 20 Jul 2013 08:25

Resolved

Post by aibojian » 22 Jul 2013 07:14

I got it resolved by combined 2 commands separated with a semicolon, which polls every 2s

http://RazberryIP/JS/Run/zway.devices[N ... erLevel(N)

User avatar
PoltoS
Posts: 5056
Joined: 26 Jan 2011 19:36

there is, but how much time

Post by PoltoS » 22 Jul 2013 07:14

there is, but how much time to wait? dimmer can be told to dim for 1 hour form 100% to 0%. So, how long to wait for?

Good devices have a group to report state changes, so once they have finished dimming, they report correct value themself. Even if it was not Z-Way who initiated the change.

Post Reply