m3tatai
(m3ta)
February 27, 2017, 6:12am
1
Hello guys,
i’m looking for a way to setup startsettings for my milight/wifilight Items but i dont know how to setup.
Beside that, i would like to change settings(Color, brightniss) with a command and i don’t know how to do this. Where can i find these informations?
best regards
m3tatai
sihui
(SiHui)
February 27, 2017, 6:46am
2
m3tatai
(m3ta)
February 27, 2017, 8:04am
3
Hello sihu,
thanks for your fast answer! So i have to use rules to set another color/brightness ?
sihui
(SiHui)
February 27, 2017, 8:11am
4
Not necessarily,
for colors:
Color Light_Party {channel="milight:rgbLed:ACCF23A6C0B4:5:rgb"}# Colorpicker for rgb bulbs
for brightness:
Dimmer RGBW_LivingroomB {channel="milight:rgbLed:ACCF23A6C0B4:7:ledbrightness"} # Dimmer changing brightness for RGBW bulb1
then display it on your sitemap:
Colorpicker item=Light_Party
Slider item=RGBW_LivingroomB
m3tatai
(m3ta)
February 27, 2017, 8:38am
5
I would like to say “green” (over Alexa) and the light should be set to green .
And when i want to dim the bulb, i have to group them ?
Otherwise every item got a seperate name and i have to say “Dim LivingRoom_Brightness to 50%”
Switch LivingRoomRGB
Dimmer LivingRoomRGB_Brightness
Color LivingRoomRGB_Color
sihui
(SiHui)
February 27, 2017, 8:46am
6
You may use Proxy (virtual) items which are not bound directly to the hardware, but are tagged for Alexa. Then you use a rule to update the item which is bond to your hardware.
You can create as many items as you want with different labels to have Alexa recognize those.
To use the new Alexa skill you need to setup your items the same way as Homekit items are set up:
http://docs.openhab.org/addons/io/homekit/readme.html and
Official Openhab skill for Alexa amazon echo available!
m3tatai
(m3ta)
February 27, 2017, 9:10am
7
These are my items:
Number Light_scene
"Scenes"
Color Light_scene_ColorSelect
"Scene Selector"
[ "Color" ]
{ channel="milight:rgbwLed:F0FE6B2DC252:1:ledcolor"}
Switch Wohnzimmerlicht
"Wohnzimmerlicht"
[ "Lighting" ]
{ channel="milight:rgbwLed:F0FE6B2DC252:1:ledbrightness"}
But with this config, i 'm only able to switch the light on and off via alexa. Switch Wohnzimmerlicht is the only item i can find via alexa.
sihui
(SiHui)
February 27, 2017, 12:09pm
8
m3tatai:
[ “Color” ]
Color
is not a valid tag, use Lighting
instead:
http://docs.openhab.org/addons/io/homekit/readme.html
and for a switch ON/OFF you may use Switchable
m3tatai
(m3ta)
February 27, 2017, 4:36pm
9
Hello sihui,
i tried your advice but the new devices do not appear in alexa. Only Wohnzimmerlicht is available
Number Light_scene
"Scenes"
[ "Lighting" ]
Color Light_scene_ColorSelect
"Scene Selector"
[ "Lighting" ]
{ channel="milight:rgbwLed:F0FE6B2DC252:1:ledcolor"}
Switch Wohnzimmerlicht
"Wohnzimmerlicht"
[ "Lighting" ]
{ channel="milight:rgbwLed:F0FE6B2DC252:1:ledbrightness"}
sihui
(SiHui)
February 27, 2017, 7:55pm
10
Your items definition looks correct, although you cannot use Number
with Lighting
:
http://docs.openhab.org/addons/io/homekit/readme.html
Did you forget to search for new devices via Alexa or Alexa App or Alexa browser login?
Edit: or maybe you can use Number with Lighting, don’t know, haven’t used it yet:
m3tatai
(m3ta)
February 27, 2017, 8:07pm
11
Mh okay. So we have to wait for more items getting supported.
BTW I can’t find any commands for wifilight to change the color .
Thank you very much for helping me !
sihui
(SiHui)
February 27, 2017, 8:19pm
12
Whatever binding you are using for that, you should be able to find examples on the bindings pages:
http://docs.openhab.org/addons/bindings.html
Wifi LED???
http://docs.openhab.org/addons/bindings/wifiled/readme.html
m3tatai
(m3ta)
February 27, 2017, 8:36pm
13
There are just example for items, but i cant find a way to set color/brightness/saturation by command.
m3tatai
(m3ta)
February 28, 2017, 8:54am
15
Hello sihui,
thanks for searching this example and thanks for helping me !