logo elektroda
logo elektroda
X
logo elektroda

Alexa Identifies OpenBeken Downlights as Switches: Enabling Hue Option for Color Control

MnM1 1629 18
ADVERTISEMENT
  • #1 20619114
    MnM1
    Level 10  

    Hi,

    I have some downlights that were all successfully flashed with 1.7.130 (these are the downlights: https://www.elektroda.com/rtvforum/topic3971124.html#20534678).

    I have added them to Home Assistant and they are seen as lights in there. I can control on/off/light colors, etc.

    I have just done an Alexa discovery and Alexa found these downlights as switches. I can change the device type in Alexa to lights, however, all that gives me is ON or OFF. I can't control the color or any other options I see in Home Assistant.

    My question is how do I enable the Hue option (like in Tasmota - SetOption30 1) so Alexa can find these devices as lights and offer the correct option for them as I have in Home Assistant (on/off/color/etc)?

    Thanks.
  • ADVERTISEMENT
  • #2 20622573
    p.kaczmarek2
    Moderator Smart Home

    Hello, I can try to look into it in the following days. It seems you are asking for Hue integration, while we currently have just Wemo?
    Helpful post? Buy me a coffee.
  • #3 20622710
    MnM1
    Level 10  

    Hi and thanks for the reply.
    Yes, I am looking to have Hue integration so lights can be properly controlled by Alexa devices (just like Tasmota has).
    I can help with testing if required.
    Cheers.
  • #4 20625152
    MnM1
    Level 10  

    Hi @p.kaczmarek2, any idea when you will start looking into this?
    On standby for testing when you are ready.
  • ADVERTISEMENT
  • #5 20629254
    p.kaczmarek2
    Moderator Smart Home

    Today I pushed the first part of the Hue driver. It is not finished and will not work, but you can check whether anything is received by doing:
    0. Make sure that Wemo is not running on your OBK. Of course, update your OBK.
    1. First, open the web app log.
    2. Then, clear it.
    3. Do the command "startDriver SSDP" and then "startDriver HUE."
    4. Start Hue/Alexa/anything discover.
    5. Copy here the web app log. Also, check the stats on the main www page. Is anything received?
    Alexa Identifies OpenBeken Downlights as Switches: Enabling Hue Option for Color Control
    Helpful post? Buy me a coffee.
  • #6 20629572
    MnM1
    Level 10  
    Hi,

    Thanks for looking at this.

    I have a question. In the log options which Log and Feature should I select?
    Also what log level?

    I have all selected now and I am losing log lines while waiting for discovery.
  • #7 20629604
    p.kaczmarek2
    Moderator Smart Home
    Log lines are only lost if you have two tabs open with Web App. Make sure you have only one web app tab open in your web browser.

    Try the broadest log level.
    Helpful post? Buy me a coffee.
  • #8 20629617
    MnM1
    Level 10  
    OK here is the log

    
    Info:HTTP:DRV_SSDP_Init
    Info:HTTP:DRV_SSDP_CreateSocket_Receive: Socket created, waiting for packets
    Info:MAIN:Started SSDP.
    Info:CMD:[WebApp Cmd 'startDriver SSDP' Result] OK
    Info:MAIN:Time 1532, idle 243561/s, free 83896, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1533, idle 248951/s, free 83896, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1534, idle 246007/s, free 83896, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1535, idle 258908/s, free 83896, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1536, idle 248628/s, free 83896, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1537, idle 244339/s, free 83296, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 4/38 
    Info:MAIN:Time 1538, idle 246704/s, free 83528, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1539, idle 247473/s, free 83528, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1540, idle 244348/s, free 83528, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:GEN:dhcp=0 ip=172.50.1.1 gate=172.50.255.254 mask=255.255.0.0 mac=a0:92:08:83:a7:fd
    Info:GEN:sta: 1, softap: 0, b/g/n
    Info:GEN:sta:rssi=-46,ssid=DPIWIFIII_slow,bssid=ac:8b:a9:be:5b:39,channel=1,cipher_type:CCMP
    Info:MAIN:Time 1541, idle 239618/s, free 83528, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1542, idle 246592/s, free 83528, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1543, idle 243429/s, free 83528, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1544, idle 245223/s, free 83528, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1545, idle 262164/s, free 83528, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1546, idle 247135/s, free 83528, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1547, idle 248692/s, free 83528, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1548, idle 252746/s, free 83528, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1549, idle 242637/s, free 83528, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1550, idle 245779/s, free 83296, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 4/38 
    Info:GEN:dhcp=0 ip=172.50.1.1 gate=172.50.255.254 mask=255.255.0.0 mac=a0:92:08:83:a7:fd
    Info:GEN:sta: 1, softap: 0, b/g/n
    Info:GEN:sta:rssi=-44,ssid=DPIWIFIII_slow,bssid=ac:8b:a9:be:5b:39,channel=1,cipher_type:CCMP
    Info:MAIN:Started HUE.
    Info:CMD:[WebApp Cmd 'startDriver HUE' Result] OK
    Info:MAIN:Time 1551, idle 238588/s, free 83352, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1552, idle 244484/s, free 83352, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1553, idle 249517/s, free 83352, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1554, idle 255478/s, free 83352, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1555, idle 276950/s, free 83352, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1556, idle 253990/s, free 83352, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1557, idle 246976/s, free 83352, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1558, idle 243716/s, free 83352, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1559, idle 492333/s, free 83352, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1560, idle 247888/s, free 83352, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:GEN:dhcp=0 ip=172.50.1.1 gate=172.50.255.254 mask=255.255.0.0 mac=a0:92:08:83:a7:fd
    Info:GEN:sta: 1, softap: 0, b/g/n
    Info:GEN:sta:rssi=-45,ssid=DPIWIFIII_slow,bssid=ac:8b:a9:be:5b:39,channel=1,cipher_type:CCMP
    Info:MAIN:Time 1561, idle 242415/s, free 83040, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1562, idle 236793/s, free 81352, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1563, idle 243097/s, free 81336, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1564, idle 247482/s, free 81336, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1565, idle 242455/s, free 81336, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1566, idle 246888/s, free 81336, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1567, idle 249840/s, free 81336, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1568, idle 244409/s, free 81336, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1569, idle 244559/s, free 81336, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1570, idle 260143/s, free 81336, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:GEN:dhcp=0 ip=172.50.1.1 gate=172.50.255.254 mask=255.255.0.0 mac=a0:92:08:83:a7:fd
    Info:GEN:sta: 1, softap: 0, b/g/n
    Info:GEN:sta:rssi=-46,ssid=DPIWIFIII_slow,bssid=ac:8b:a9:be:5b:39,channel=1,cipher_type:CCMP
    Info:MAIN:Time 1571, idle 243432/s, free 81336, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1572, idle 246737/s, free 81336, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1573, idle 243377/s, free 81336, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1574, idle 247452/s, free 72728, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 4/38 
    Info:MAIN:Time 1575, idle 258449/s, free 81336, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1576, idle 247153/s, free 72728, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 4/38 
    Info:MAIN:Time 1577, idle 244419/s, free 81336, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1578, idle 247478/s, free 72728, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 4/38 
    Info:MAIN:Time 1579, idle 260067/s, free 81336, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1580, idle 248819/s, free 81336, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:GEN:dhcp=0 ip=172.50.1.1 gate=172.50.255.254 mask=255.255.0.0 mac=a0:92:08:83:a7:fd
    Info:GEN:sta: 1, softap: 0, b/g/n
    Info:GEN:sta:rssi=-46,ssid=DPIWIFIII_slow,bssid=ac:8b:a9:be:5b:39,channel=1,cipher_type:CCMP
    Info:MAIN:Time 1581, idle 253433/s, free 81336, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1582, idle 250081/s, free 81336, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1583, idle 250025/s, free 81336, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1584, idle 249128/s, free 81336, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1585, idle 495506/s, free 81336, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1586, idle 248799/s, free 81336, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1587, idle 259140/s, free 81336, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1588, idle 250699/s, free 81336, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1589, idle 250547/s, free 81336, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1590, idle 248721/s, free 81336, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:GEN:dhcp=0 ip=172.50.1.1 gate=172.50.255.254 mask=255.255.0.0 mac=a0:92:08:83:a7:fd
    Info:GEN:sta: 1, softap: 0, b/g/n
    Info:GEN:sta:rssi=-45,ssid=DPIWIFIII_slow,bssid=ac:8b:a9:be:5b:39,channel=1,cipher_type:CCMP
    Info:MAIN:Time 1591, idle 237374/s, free 80904, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1592, idle 249096/s, free 81336, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1593, idle 242364/s, free 81336, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1594, idle 251433/s, free 81336, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1595, idle 248511/s, free 81336, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1596, idle 245089/s, free 81336, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1597, idle 250553/s, free 81336, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1598, idle 242754/s, free 81336, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1599, idle 248675/s, free 81336, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1600, idle 246041/s, free 81120, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 4/38 
    Info:GEN:dhcp=0 ip=172.50.1.1 gate=172.50.255.254 mask=255.255.0.0 mac=a0:92:08:83:a7:fd
    Info:GEN:sta: 1, softap: 0, b/g/n
    Info:GEN:sta:rssi=-45,ssid=DPIWIFIII_slow,bssid=ac:8b:a9:be:5b:39,channel=1,cipher_type:CCMP
    Info:MAIN:Time 1601, idle 240129/s, free 81352, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1602, idle 252085/s, free 81352, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1603, idle 247476/s, free 81352, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1604, idle 243627/s, free 81352, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1605, idle 243774/s, free 81352, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1606, idle 247337/s, free 81352, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1607, idle 251270/s, free 81352, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1608, idle 243878/s, free 81352, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1609, idle 245645/s, free 81352, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1610, idle 246895/s, free 81352, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:GEN:dhcp=0 ip=172.50.1.1 gate=172.50.255.254 mask=255.255.0.0 mac=a0:92:08:83:a7:fd
    Info:GEN:sta: 1, softap: 0, b/g/n
    Info:GEN:sta:rssi=-46,ssid=DPIWIFIII_slow,bssid=ac:8b:a9:be:5b:39,channel=1,cipher_type:CCMP
    Info:MAIN:Time 1611, idle 242692/s, free 81352, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1612, idle 239293/s, free 81352, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1613, idle 246974/s, free 81352, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1614, idle 243803/s, free 81352, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 1615, idle 487914/s, free 81352, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    


    Main page shows this:

    Alexa Identifies OpenBeken Downlights as Switches: Enabling Hue Option for Color Control

    Hope this was what you were looking for.
  • #9 20629625
    p.kaczmarek2
    Moderator Smart Home
    Well, it receives both searches and setups, so far my code must be working good. I can proceed now and work more on the hue support.
    Helpful post? Buy me a coffee.
  • #10 20649706
    MnM1
    Level 10  

    Hi @p.kaczmarek2, I know you're busy and probably have a million other things to do.
    Just a reminder about this one and that is still waiting for your attention :)
    Thanks.
  • #11 20649781
    p.kaczmarek2
    Moderator Smart Home

    Alexa driver is still pending, but I will try to come up with something for you soon. There is a slight technical issue caused by the same URL format used by OBK Web App by @btsimonh and by Alexa interface (both URL paths start with API), but I will try to handle it without breaking the Web App. It seems that neither me nor Simon were aware that the "API/" subpath is also used by a third party at the time of early OBK implementation.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #12 20650339
    MnM1
    Level 10  

    Thank you, appreciate you taking the time to look at this.
    Hopefully you guys will find a suitable solution for the URL - apologies, I do not understand coding and I can't help at all.
  • #13 20650347
    p.kaczmarek2
    Moderator Smart Home

    I apologize for my lack of Alexa knowledge, but would it be possible for me to easily set up the Alexa app or stuff at my place for testing, without buying any Alexa devices?
    Helpful post? Buy me a coffee.
  • #14 20650354
    MnM1
    Level 10  

    Not that I am aware of. I have a couple of physical Alexa devices that I am using.
  • ADVERTISEMENT
  • #15 20711723
    MnM1
    Level 10  
    Hi @p.kaczmarek2 - by chance did you have any time to look at progressing the HUE emulation? Did you manage to find a way around the URL issue?
  • #17 20785580
    p.kaczmarek2
    Moderator Smart Home
    Nice find!
    The HUE emulation is currently a pending feature. I am hoping to get back to it shortly. Meanwhile, consider using WEMO, for the time being.
    Helpful post? Buy me a coffee.

Topic summary

The discussion revolves around the integration of OpenBeken downlights with Alexa, specifically the challenge of enabling Hue emulation for full color control. Users report successful flashing of downlights with firmware version 1.7.130 and their recognition as lights in Home Assistant, but they are identified as switches in Alexa, limiting control to on/off functions. A developer has initiated work on a Hue driver, but technical issues related to URL paths are causing delays. Users express willingness to assist with testing and inquire about log settings for troubleshooting. The community is awaiting updates on the Hue driver development.
Summary generated by the language model.
ADVERTISEMENT