kamyrdol32
(kamyrdol32)
January 15, 2019, 4:56pm
1
Hello, i have problem. I’ trying to set automatic light when (MotionSensor_MotionStatus.state == ON). I dont know how turn od yeelight and change Temperature to 30%. I hava:
Switch Yeelight_Kitchen_Status “Status” { channel=“yeelight:stripe:3:color” }
Color Yeelight_Kitchen_Color “Kolor” { channel=“yeelight:stripe:3:color” }
Dimmer Yeelight_Kitchen_Temperature “Temperatura” { channel=“yeelight:stripe:3:colorTemperature” }
And rules:
rule "Mijia & Aqara Motion Sensor"
when
Item MotionSensor_MotionStatus changed
then
if (MotionSensor_MotionStatus.state == ON)
{
Yeelight_Kitchen_Status.status(ON)
Yeelight_Kitchen_Temeprature.sendCommand(30)
}
}
end
rossko57
(Rossko57)
January 15, 2019, 4:59pm
2
That line doesn’t make much sense, just take that one out. Find openhab.log file to see error messages
kamyrdol32
(kamyrdol32)
January 15, 2019, 5:16pm
3
Now work but i dont know how change brightness, now work only Status/Temperature
rule "Mijia & Aqara Motion Sensor"
when
Item MotionSensor_MotionStatus changed to ON
then
Yeelight_Kitchen_Status.sendCommand(ON)
Yeelight_Kitchen_Brightness.sendCommand(1)
Yeelight_Kitchen_Temperature.sendCommand(50)
Yeelight_Living_Room_Status.sendCommand(ON)
Yeelight_Living_Room_Brightness.sendCommand(1)
Yeelight_Living_Room_Temperature.sendCommand(50)
end
Switch Yeelight_Living_Room_Status “Status” { channel=“yeelight:stripe:2:color” }
Color Yeelight_Living_Room_Color “Kolor” { channel=“yeelight:stripe:2:color” }
Dimmer Yeelight_Living_Room_Temperature “Temperatura” { channel=“yeelight:stripe:2:colorTemperature” }
Dimmer Yeelight_Living_Room_Brightness “Temperatura” { channel=“yeelight:stripe:2:brightness” }
Switch Yeelight_Kitchen_Status “Status” { channel=“yeelight:stripe:3:color” }
Color Yeelight_Kitchen_Color “Kolor” { channel=“yeelight:stripe:3:color” }
Dimmer Yeelight_Kitchen_Temperature “Temperatura” { channel=“yeelight:stripe:3:colorTemperature” }
Dimmer Yeelight_Kitchen_Brightness “Temperatura” { channel=“yeelight:stripe:3:brightness” }
OpenHab dont see (Dimmer Yeelight_Living_Room_Brightness) , i dont have this Dimmer in Control too
Hello,
look at the dokumentation.
brightness
Dimmer
This channel supports adjusting the brightness value, it is available on dolphin
and ceiling
.
Do you have a dolphin or a ceiling lamp?
For my Yeelights i take this AddOn.
Then only thing that you need is a token.
kamyrdol32
(kamyrdol32)
January 16, 2019, 3:24pm
5
I’m trying Xiaomi Mi IO bot i don’t know how get “TOKEN”.
Here a link. Maybe to the solution.
Hello Giovanni,
look at this Youtube Video. The only problem is that the video is in german.