Skip to content

Light bulbs not being shown as entities on HA #26

Open

Description

@dannybeltran

I purchased 2 light bulbs, both are working correctly with the dohome app, I did the custom components stuff, enabled the logs on the init.py file then I get the following logs:
2021-09-09 15:50:31 INFO (SyncWorker_1) [custom_components.dohome] DoHome discovery_ip:192.168.100.255

2021-09-09 15:50:31 DEBUG (SyncWorker_1) [custom_components.dohome] DoHome devices cmd=pong&host_ip=192.168.4.1&sta_ip=192.168.100.30&device_id=286dcd421bac_DT-WY_W600&device_key=d36d6cb88f9bb6406b1f0673ab86e42f&device_name=Light_1bac&device_type=_DT-WY&compandy_id=_DOIT&chip=W600

2021-09-09 15:50:31 DEBUG (SyncWorker_1) [custom_components.dohome] DoHome devices cmd=pong&host_ip=192.168.4.1&sta_ip=192.168.100.28&device_id=286dcd421b9c_DT-WY_W600&device_key=e737fedff6f57013926250ffa6fc87a3&device_name=Light_1b9c&device_type=_DT-WY&compandy_id=_DOIT&chip=W600

2021-09-09 15:50:32 INFO (SyncWorker_1) [custom_components.dohome] Gateway finding finished in 5 seconds

2021-09-09 15:50:32 DEBUG (SyncWorker_1) [custom_components.dohome] DoHome devices cmd=pong&host_ip=192.168.4.1&sta_ip=192.168.100.28&device_id=286dcd421b9c_DT-WY_W600&device_key=e737fedff6f57013926250ffa6fc87a3&device_name=Light_1b9c&device_type=_DT-WY&compandy_id=_DOIT&chip=W600

2021-09-09 15:50:32 DEBUG (SyncWorker_1) [custom_components.dohome] DoHome devices cmd=pong&host_ip=192.168.4.1&sta_ip=192.168.100.30&device_id=286dcd421bac_DT-WY_W600&device_key=d36d6cb88f9bb6406b1f0673ab86e42f&device_name=Light_1bac&device_type=_DT-WY&compandy_id=_DOIT&chip=W600

2021-09-09 15:50:33 INFO (SyncWorker_1) [custom_components.dohome] Gateway finding finished in 5 seconds

2021-09-09 15:50:43 INFO (SyncWorker_1) [custom_components.dohome.light] {'sid': '1bac', 'name': 'Light_1bac', 'sta_ip': '192.168.100.30', 'type': '_DT-WY'}

2021-09-09 15:50:43 INFO (SyncWorker_1) [custom_components.dohome.light] {'sid': '1b9c', 'name': 'Light_1b9c', 'sta_ip': '192.168.100.28', 'type': '_DT-WY'}

2021-09-09 15:50:43 INFO (SyncWorker_3) [custom_components.dohome.sensor] {'sid': '1bac', 'name': 'Light_1bac', 'sta_ip': '192.168.100.30', 'type': '_DT-WY'}

2021-09-09 15:50:43 INFO (SyncWorker_3) [custom_components.dohome.sensor] {'sid': '1b9c', 'name': 'Light_1b9c', 'sta_ip': '192.168.100.28', 'type': '_DT-WY'}

2021-09-09 15:50:44 INFO (SyncWorker_5) [custom_components.dohome.binary_sensor] {'sid': '1bac', 'name': 'Light_1bac', 'sta_ip': '192.168.100.30', 'type': '_DT-WY'}

2021-09-09 15:50:44 INFO (SyncWorker_5) [custom_components.dohome.binary_sensor] {'sid': '1b9c', 'name': 'Light_1b9c', 'sta_ip': '192.168.100.28', 'type': '_DT-WY'}

2021-09-09 15:50:51 INFO (SyncWorker_0) [custom_components.dohome.switch] {'sid': '1bac', 'name': 'Light_1bac', 'sta_ip': '192.168.100.30', 'type': '_DT-WY'}

2021-09-09 15:50:51 INFO (SyncWorker_0) [custom_components.dohome.switch] {'sid': '1b9c', 'name': 'Light_1b9c', 'sta_ip': '192.168.100.28', 'type': '_DT-WY'}

as per the above logs there doesn't appear to be any errors however the entities "light.dohome..." entitites are not showing in Home Assistant... what could be the issue? Please help.

Activity

  1. Omrizn commented on Oct 30, 2021

    @Omrizn

    Same thing for me

    2021-10-30 15:10:39 INFO (SyncWorker_7) [custom_components.dohome.switch] {'sid': 'ed16', 'name': 'Light_ed16', 'sta_ip': '10.100.102.32', 'type': '_DT-WY'}
    2021-10-30 15:10:39 INFO (MainThread) [homeassistant.components.light] Setting up light.dohome

    There is no new entity

  2. GaryStimson commented on Nov 2, 2021

    @GaryStimson

    Same here. No new entities while log shows everything as working and being detected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions