- Hardware: DiskStation 1511+
- OS: 6.2.2
- Java Runtime Environment: Java SE Development Kit 8u212
- openHAB version: 2.4.0
I’m finally able to do a few things, thanks to this great community! I’ve unfortunately encountered my next problem(s). I’m trying to control a virtual device through Google Home:
Color Virtual “Test” [“Lighting”]
It shows up in Google Home and I can control it. I’ve set up a rule which is triggered when the item is changed.
Item Virtual changed
That all works, but I’m getting some weird behavior when I control it from my phone. There’s an on/off button, a brightness bar and a color picker. The logInfo in the code above allows me to see what is going on through the logs.
So if I turn on the light and set it to a certain brightness, I’ll see something like:
27 is the brightness.
If I press the off button I then get:
If I press on the brightness bar to turn it on (I figured pressing the on button always gives me 100) I get:
And then a subsequent call coming from god knows where is giving me a few instants later:
In this last step, I would like it to stay at 27, the display on my phone actually shows the brightness still at 27. Eventually there’s some auto-update which moves the brightness indicator to full 100.
Also, the on/off/brightness buttons will lock up in Google Home from time to time, I don’t understand what’s going on there. And last the color picker does not work at all, I can control the color through my voice but selecting it manually does no trigger the changed event.
Any information is greatly appreciated.