question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't see Sonoff TH10 in entities list in Home Assistant

See original GitHub issue

Hi Alex,

Thanks for a great component.

I have added the debug: True into my configuration yaml file and I get the following back in the logs.

2020-07-01 13:59:42 DEBUG (MainThread) [custom_components.sonoff] AUTO mode start
2020-07-01 13:59:44 DEBUG (MainThread) [custom_components.sonoff.sonoff_cloud] 1 devices loaded from the Cloud Server
2020-07-01 13:59:44 DEBUG (MainThread) [custom_components.sonoff] 10008cfe22 == Init   | {'uiid': 15, 'extra': {'manufacturer': 'SONOFF', 'model': 'TH10', 'sw_version': 'PSA-BHA-GL v3.4.1'}, 'params': {'bindInfos': {'alexa': ['XXXXXX']}, 'version': 8, 'sledOnline': 'on', 'init': 1, 'switch': 'on', 'fwVersion': '3.4.1', 'rssi': -59, 'staMac': 'CC:50:E3:C7:B8:BC', 'startup': 'off', 'pulse': 'off', 'pulseWidth': 500, 'deviceType': 'temperature', 'sensorType': 'AM2301', 'currentHumidity': '40', 'currentTemperature': '30.6', 'mainSwitch': 'on', 'targets': [{'targetHigh': '32.1', 'reaction': {'switch': 'on'}}, {'targetLow': '30.6', 'reaction': {'switch': 'off'}}], 'cloud': 'online'}}
2020-07-01 13:59:44 DEBUG (Sonoff_LAN) [custom_components.sonoff.sonoff_local] 10008cfe22 <= Local1 | {'mainSwitch': 'on', 'deviceType': 'temperature', 'targets': [{'targetHigh': 32.09, 'reaction': {'switch': 'on'}}, {'targetLow': 30.6, 'reaction': {'switch': 'off'}}], 'switch': 'on', 'startup': 'off', 'pulse': 'off', 'pulseWidth': 500, 'sledOnline': 'on', 'sensorType': 'AM2301', 'humidity': 40, 'temperature': 30.64} | 26
2020-07-01 13:59:44 DEBUG (MainThread) [custom_components.sonoff.sonoff_cloud] Cloud init: {'error': 0, 'apikey': 'XXXXXX', 'config': {'hb': 1, 'hbInterval': 145}, 'sequence': '1593608384647'}

I can also see logs if I turn it on & off in the ewelink app.

However, I can’t seem to find it in unused entities in Home Assistant to then add it as a device? Any ideas please?

Cheers John

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jbloomfieldcommented, Jul 8, 2020

Hi Alex, unfortunately, I have since flashed this Sonoff TH10 with Tasmota, so have it working in Home Assistant now. Thanks for your help though. Will close this issue now.

0reactions
AlexxITcommented, Jul 8, 2020

Check /config/.storage/core.entity_registry file. Search 10008cfe22

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sonoff TH16, how to use it? - Home Assistant Community
It says “t This entity (“sensor.sonoff_temperature”) does not have a unique ID, therefore its settings cannot be managed from the UI. See the ......
Read more >
How SONOFF Works with Home Assistant
Open eWeLink Smart Home Add-on, click Sync Home Assistant Devices and you will see the Devices List, enable its toggle switch on the...
Read more >
How to read temp in HA from Sonoff TH10 : r/homeassistant
In ENTITIES I see eWelink Outlet, eWelink Outlet Energy Monitor, ... in sensor and temp shows in eWelink app and in entity list...
Read more >
Control Sonoff Devices from Home Assistant - GitHub
Almost any single or multi-channel Switch working in the eWeLink application will work with this Integration even if it is not on the...
Read more >
Sonoffs can work with Home Assistant without changing the ...
... with Home Assistant without changing the Firmware! Watch later. Share. Copy link. Info. Shopping. Tap to unmute. If playback doesn't ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found