Hi all, Happy new year!
As my new years resolution, I've decided to stop pulling my hair out over these BL602 MagicHome LED controllers and come here for some help.
I've flashed 6 of these now originally with 1.15.149 and today with 1.15.273.
The config, operation, wifi & MQTT all seem to be working fine. I have no errors in logs.
However I cant for the life of me get discovery to work. The only way I can connect via HA is by manually adding via YAML conf. But when I do this only an entity appears, no device.
I am still learning HA and MQTT but I'm only having this problem with BL602, I've got many ESP and BK7231T devices working fine and with discovery.
Here's my conf for this device:
mqtt:
light:
- unique_id: "LED-UpstairsBedroom-BedLights_light"
name: "LED_usbe_bed"
rgb_command_template: "{{ '#%02x%02x%02x0000' | format(red, green, blue)}}"
rgb_value_template: "{{ value[0:2]|int(base=16) }},{{ value[2:4]|int(base=16) }},{{ value[4:6]|int(base=16) }}"
rgb_state_topic: "LED_usbe_bed/led_basecolor_rgb/get"
rgb_command_topic: "cmnd/LED_usbe_bed/led_basecolor_rgb"
command_topic: "cmnd/LED_usbe_bed/led_enableAll"
state_topic: "LED_usbe_bed/led_enableAll/get"
availability_topic: "LED_usbe_bed/connected"
payload_on: "1"
payload_off: "0"
brightness_command_topic: "cmnd/LED_usbe_bed/led_dimmer"
brightness_state_topic: "LED_usbe_bed/led_dimmer/get"
brightness_scale: 100
Apologies is this is a newbie question. But any help would be much appreciated.
Screenshots attached
Thanks!
As my new years resolution, I've decided to stop pulling my hair out over these BL602 MagicHome LED controllers and come here for some help.
I've flashed 6 of these now originally with 1.15.149 and today with 1.15.273.
The config, operation, wifi & MQTT all seem to be working fine. I have no errors in logs.
However I cant for the life of me get discovery to work. The only way I can connect via HA is by manually adding via YAML conf. But when I do this only an entity appears, no device.
I am still learning HA and MQTT but I'm only having this problem with BL602, I've got many ESP and BK7231T devices working fine and with discovery.
Here's my conf for this device:
mqtt:
light:
- unique_id: "LED-UpstairsBedroom-BedLights_light"
name: "LED_usbe_bed"
rgb_command_template: "{{ '#%02x%02x%02x0000' | format(red, green, blue)}}"
rgb_value_template: "{{ value[0:2]|int(base=16) }},{{ value[2:4]|int(base=16) }},{{ value[4:6]|int(base=16) }}"
rgb_state_topic: "LED_usbe_bed/led_basecolor_rgb/get"
rgb_command_topic: "cmnd/LED_usbe_bed/led_basecolor_rgb"
command_topic: "cmnd/LED_usbe_bed/led_enableAll"
state_topic: "LED_usbe_bed/led_enableAll/get"
availability_topic: "LED_usbe_bed/connected"
payload_on: "1"
payload_off: "0"
brightness_command_topic: "cmnd/LED_usbe_bed/led_dimmer"
brightness_state_topic: "LED_usbe_bed/led_dimmer/get"
brightness_scale: 100
Apologies is this is a newbie question. But any help would be much appreciated.
Screenshots attached
Thanks!


