None of them worked. I also tried ugly solutions with a cron but that did also not work. I can see that i reveive luminance updates. The value is updated in the gui and i see this in the logs:
I think it is very unlikely this Item receives a command at all. An openHAB Item command is a “do something” instruction, and you don’t send instructions to sensors.
Command in this context (Item) has nothing to do with any zwave transactions referring to command.
Even if the Item did receive a command, I really don’t think it would be the zwave class name.
I think what you are looking fo is a change to your luminance Item state.
Once you have figured out what event to use as a trigger, then you’ll need to think about that state. Find out (your events.log again) exactly what that state is.
50 lx is not the same as 50 bananas or even just 50.
It follows you can’t successfully compare 50 lx with 50 bananas or even just 50.
If your Item state is in lx units, so will your comparison need to be
I got the “command” from the logs, added to my original post but it seems not to work like that…
As you can see in the snippit from my event.log i think the value is just nummeric/point no lx or something. I’m not sure if operators like < or <= are supported. Based on the event.log i would say something like this must work:
I think you would have to use a ‘When … changed’ luminance trigger and either
check within a script whether the luminance is above/below your threshold