I’m strugling to get my esp8266_milight_hub connected to my HA.
Therefore h4nc (h4nc.zigbee(a)gmail.com) sent me a complete ESP hub which works fine:
I’ve connected two ledpanels on the hub, which I can control, on/off etc.
Events are also available in my MQTT explorer based:
mesage: milight/states/0x14D7/cct/1
milight
▼states
▼0x14D7
▼cct
1 = {“state”:“ON”,“status”:“ON”,“color_temp”:370,“bulb_mode”:“white”,“color”:{“r”:255,“g”:255,“b”:255},“device_id”:5335,“group_id”:1}
2 = {“state”:“ON”,“status”:“ON”,“brightness”:255,“bulb_mode”:“white”,“color”:{“r”:255,“g”:255,“b”:255},“device_id”:5335,“group_id”:2}
0 = {“state”:“ON”,“status”:“ON”,“color”:{“r”:255,“g”:255,“b”:255},“device_id”:5335,“group_id”:0}
But I want to control them on my HA.
I saw many familiar questions but all of them didn’t give the correct answer !
Could anybody help me ?
kbrown01
(Kbrown01)
2
Cannot help you if you want MQTT. But I have the exact setup and it works perfect.
Here’s my setup in my light.yaml … so in configuration.yaml I have:
light: !include light.yaml
and in light.yaml …
- platform: limitlessled
bridges:
- host: 192.168.1.29
port: 29001
groups:
- number: 4
name: Pergola LEDs
type: rgbww
- host: 192.168.1.29
port: 29002
groups:
- number: 2
name: Kitchen LEDs
type: rgbw
- host: 192.168.1.29
port: 29003
groups:
- number: 1
name: Triangle LEDs
type: rgbw
- host: 192.168.1.29
port: 29004
groups:
- number: 3
name: Table LEDs
type: rgbw
- host: 192.168.1.29
port: 29005
groups:
- number: 1
name: Patio LEDs
type: rgbww
- host: 192.168.1.29
port: 29006
groups:
- number: 3
name: Step LEDs
type: rgbww
- host: 192.168.1.29
port: 29007
groups:
- number: 2
name: Accent LEDs
type: rgbww
Perhaps you have not setup the UDP ports?
1 Like