Open joshdinsdale opened 4 years ago
OK, so if i tune into the correct topic I can see the updates which seem correct:
{
"schema": "json",
"name": "Master Bedroom Lamp",
"command_topic": "milight/0x2900/cct/1",
"state_topic": "milight/states/0x2900/cct/1",
"device": {
"manufacturer": "esp8266_milight_hub",
"sw_version": "1.10.5",
"identifiers": [
1770164,
10496,
"cct",
1
]
},
"availability_topic": "milight/client_status",
"payload_available": "connected",
"payload_not_available": "disconnected",
"brightness": true,
"effect": true,
"effect_list": [
"night_mode"
],
"color_temp": true
}
Its shows a single entity, but it doesnt look right.
This looks like what I'd expect given your configuration. Only named devices are registered with HASS discovery, and looks like you've only named one of your devices:
{
"group_id_aliases": {
"Master Bedroom Lamp": [
"cct",
10496,
1
]
}
}
name the other one and it should show up.
(btw, only edited your comments to change the inline code formatting to block code formatting)
Hi Chris
Thanks for the reply. I ended up flattening my HA setup and starting again, i think it had some database corruption or something as i was having issues with other devices and autodiscovery.
AAAANYWAY... I now have an entry for my device on channel 1 in the devices menu in Configuration, however it doesnt seem to expose any entities under the entities menu. I know there is one as it gets added to my all lights group automatically and is added to the lovelace screen. I initially tried making an automation for it (turn light on at x time), however when i select it as a device it doesnt expose any actions. However if I manually create the automation and use a turn on/off action the automation runs as expected.
I'm quite new to HA so im possibly a little confused about how it works, I also understand its under constant development, so I dont know if what I am experiencing is an issue with the espMQ integration/mqtt integration or my HASSIO/HA setup itself.
Feel free to bounce me off to the home assistant forums if necessary! :)
Josh
I have the same issue, the problem is that the MQTT HA autodiscovery message isn't picked up by HA correctly.
The device is registered, but since the metadata for the MQTT integration is malformed for HA, it doesn't show up under entities or under the integration
EDIT: apparently the devices doesn't appear in the mqtt page as a separated devices, only the hub exists in this page and the devices are available through HA.
I also have the same issue.
Topic: homeassistant/light/milight_hub_14313876/rgb_cct_0x1_1/config
Message:
{
"schema":"json",
"name":"Outdoor1",
"command_topic":"milight/0x1/rgb_cct/1",
"state_topic":"milight/states/0x1/rgb_cct/1",
"device":{
"manufacturer":"esp8266_milight_hub",
"sw_version":"1.10.5",
"identifiers":[
14313876,
1,
"rgb_cct",
1
]
},
"availability_topic":"milight/client_status",
"payload_available":"connected",
"payload_not_available":"disconnected",
"brightness":true,
"effect":true,
"effect_list":[
"night_mode",
"white_mode",
"0",
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8"
],
"rgb":true,
"color_temp":true
}
I also have this problem. I would like to assign a light to an area, but only the hub shows up under the MQTT integrations
hi Guys
I have just migrated to home assistant from Domoticz and am having some issues with my espMH.
I have followed the guide for home assistant autodiscovery (i know auto discovery works in HA as i have another mechanism using it), however my device isnt showing in HA correctly. I get a device, but it doesnt expose itsentities properly. I can add it as a switch, but when i try and use it in automations it says there are 'No Actions'.
My espMH config is below:
Any ideas?
J