Remotec ZRC90
-
Can you give the latest development version of the ZWay plugin (v20.7.12) a go?
I've added the command class #91, and hopefully made the device a Scene Controller.
It should create the variables
sl_CentralSceneUpdates
andLastSceneTime
, which are triggerable, but whether it works, or whether it works the way it's supposed to work, I can't say, since I don't have that device.I leave it as an exercise for the reader...
-
I updated to v20.7.12 and it works partially!
"LastSceneTime" is updated every time you press a key, so that one works.
"sl_CentralSceneUpdates" however stays "null" all the time.
On the ZRC90 that I still have on the Vera there is a variable called "sl_CentralScene" but no variable called "sl_CentralSceneUpdates". I do not know if this could be the reason.
As a side note the variables "zway_61-0-91-DS" and "zway_61-0-91-DS_LastUpdate" are now updated instantly in Reactor.
So a functional workaround could be to use the "zway_61-0-91-DS" and "LastSceneTime" variables for capturing keys pressed in e.g. Reactor. I did a quick test and it seems to work. -
@CatmanV2 I am still on 7.0.23 (1.7.3232) on my Vera Plus. Too many stories of bricked Veras stopped me from updating every time...
I also have four for each button (once, release, hold and double), sorry if I was unclear on that.If I remember correctly I saw something on the Vera forum on that one of the later FW updates broke the ZRC90 for some of the four states (I think hold at least).
@sender yes, I think there are different versions. I have two ZRC-90EU, one bough a few years ago and one quite new. Since the older is still on Vera and the new is on Z-way I have not compared them in detail other than that they have different application sw and SDK.
-
Ahh have I thrown a curve ball. Reactor uses sl_CentralScene and reacts to updates :(. I am sorry!
C
-
-
I updated to v20.7.12 and it works partially!
"LastSceneTime" is updated every time you press a key, so that one works.
"sl_CentralSceneUpdates" however stays "null" all the time.
On the ZRC90 that I still have on the Vera there is a variable called "sl_CentralScene" but no variable called "sl_CentralSceneUpdates". I do not know if this could be the reason.
As a side note the variables "zway_61-0-91-DS" and "zway_61-0-91-DS_LastUpdate" are now updated instantly in Reactor.
So a functional workaround could be to use the "zway_61-0-91-DS" and "LastSceneTime" variables for capturing keys pressed in e.g. Reactor. I did a quick test and it seems to work.@ArcherS said in Remotec ZRC90:
"LastSceneTime" is updated every time you press a key, so that one works.
Thanks... is that, indeed, the correct variable to be using?
@ArcherS said in Remotec ZRC90:
there is a variable called "sl_CentralScene" but no variable called "sl_CentralSceneUpdates"
@CatmanV2 said in Remotec ZRC90:
Reactor uses sl_CentralScene and reacts to updates
So I will change this to
sl_CentralScene
and try and fix its update.Would that bring us closer to 'correctness' ?
-
@ArcherS said in Remotec ZRC90:
"LastSceneTime" is updated every time you press a key, so that one works.
Thanks... is that, indeed, the correct variable to be using?
@ArcherS said in Remotec ZRC90:
there is a variable called "sl_CentralScene" but no variable called "sl_CentralSceneUpdates"
@CatmanV2 said in Remotec ZRC90:
Reactor uses sl_CentralScene and reacts to updates
So I will change this to
sl_CentralScene
and try and fix its update.Would that bring us closer to 'correctness' ?
@akbooer the primary variable is of course to capture what button is pressed. Currently in "zway_61-0-91-DS" or later "sl_CentralScene".
I did a test in Reactor and it seems to work with "zway_61-0-91-DS" giving what key is pressed in combination with "LastSceneTime" giving when is was pressed.
The above group in Reactor is only true when btn 1 is pressed, i.e. it goes back to false immediately. By doing that it will capture the next btn 1 press, i.e. trigger as true again.
One example would be that btn 1 is pressed to turn on lamp and then a scheduled event turns off the lamp. After that btn 1 is pressed to turn on lamp. If the second part was not in the logic it would not work without first pressing another button on the remote.
Thanks for the quick update!
-
OK, I've just pushed development version v20.7.14 which fixes the
sl_CentralScene
variable name, but nothing else.Reactor's behaviour is a different thing... Ah yes, the curious
sl_...
transient variable behaviour. The workaround for this with other openLuup scene controllers, as you have described, is to trigger onLastSceneTime
and then simply examine the button variable to see what was actually pressed, which seems straight-forward enough. Not entirely sure that I want to fully emulate Vera in this way (but could be persuaded with a rational argument.) -
Mine are all working with LastSceneTime so I'm happy anyway
One thing, though, when I update Z-way server I always get another Z-way server device. Is this intendied?
Cheers
C
-
It's probably because you had the old V1 version at one stage, and the cached openLuup plugin JSON is wrong. Try the development update from the App Store, – should just need to do this once, and that should fix it for future updates from the Plugins page.
-