diyhue / diyHue

Main diyHue software repo
https://diyhue.org/
Other
1.56k stars 279 forks source link

Tasmota flashed ESP32-C3 rev.3 RGB Light Bulbs aren't detected in the Hue App #915

Open choportrend opened 1 year ago

choportrend commented 1 year ago

Issue does not already exist?

No, I did not search

Select Environment

Docker

Home Assistant related?

Yes

Description

I am able to connect my HA add-on of diyHUE to my Philipps Hue app. I am unable to add nor detect any lights. I have added all of the lights to diyHUE already by manually searching for their IP. I have tested turning them on and off using the toggle at the upper right corner of the UI, and they do work.

Here is a what they look like on the webUI:

image

I checked the logs and the bulbs are mentioned. I'm pretty new, so I don't quite understand what these mean.

Errorlog:

2023-07-07 16:59:54,548 - werkzeug - INFO - 192.168.0.200 - - [07/Jul/2023 16:59:54] "GET /lights HTTP/1.1" 200 -
2023-07-07 16:59:56,552 - werkzeug - INFO - 192.168.0.200 - - [07/Jul/2023 16:59:56] "GET /lights HTTP/1.1" 200 -
2023-07-07 16:59:56,558 - werkzeug - INFO - 192.168.0.200 - - [07/Jul/2023 16:59:56] "GET /api/741f534e1cdc11ee9441d83add1b0368/groups/0 HTTP/1.1" 200 -
2023-07-07 16:59:58,205 - services.stateFetch - INFO - start lights sync
2023-07-07 16:59:58,205 - services.stateFetch - DEBUG - fetch tasmota-AE6D28-3368
2023-07-07 16:59:58,206 - lights.protocols.tasmota - DEBUG - tasmota: <get_light_state> invoked!
2023-07-07 16:59:58,421 - services.stateFetch - DEBUG - {'on': True, 'xy': [0.1355030140029036, 0.03987867049354715], 'bri': 78.74, 'colormode': 'xy'}
2023-07-07 16:59:58,421 - services.stateFetch - DEBUG - fetch tasmota-BA0314-0788
2023-07-07 16:59:58,422 - lights.protocols.tasmota - DEBUG - tasmota: <get_light_state> invoked!
2023-07-07 16:59:58,465 - services.stateFetch - DEBUG - {'on': True, 'xy': [0.1355030140029036, 0.03987867049354715], 'bri': 78.74, 'colormode': 'xy'}
2023-07-07 16:59:58,466 - services.stateFetch - DEBUG - fetch tasmota-B41674-5748
2023-07-07 16:59:58,466 - lights.protocols.tasmota - DEBUG - tasmota: <get_light_state> invoked!
2023-07-07 16:59:58,552 - werkzeug - INFO - 192.168.0.200 - - [07/Jul/2023 16:59:58] "GET /lights HTTP/1.1" 200 -
2023-07-07 16:59:58,587 - services.stateFetch - DEBUG - {'on': True, 'xy': [0.1355030140029036, 0.03987867049354715], 'bri': 78.74, 'colormode': 'xy'}
2023-07-07 16:59:58,588 - services.stateFetch - DEBUG - fetch tasmota-B2FE9C-7836
2023-07-07 16:59:58,588 - lights.protocols.tasmota - DEBUG - tasmota: <get_light_state> invoked!
2023-07-07 16:59:58,714 - services.stateFetch - DEBUG - {'on': True, 'xy': [0.1355030140029036, 0.03987867049354715], 'bri': 78.74, 'colormode': 'xy'}
2023-07-07 16:59:58,715 - services.stateFetch - DEBUG - fetch tasmota-B9885C-2140
2023-07-07 16:59:58,715 - lights.protocols.tasmota - DEBUG - tasmota: <get_light_state> invoked!
2023-07-07 16:59:59,002 - services.stateFetch - DEBUG - {'on': True, 'xy': [0.1355030140029036, 0.03987867049354715], 'bri': 78.74, 'colormode': 'xy'}
2023-07-07 16:59:59,003 - services.stateFetch - DEBUG - fetch tasmota-B44368-0872
2023-07-07 16:59:59,004 - lights.protocols.tasmota - DEBUG - tasmota: <get_light_state> invoked!
2023-07-07 16:59:59,103 - services.stateFetch - DEBUG - {'on': True, 'xy': [0.1355030140029036, 0.03987867049354715], 'bri': 78.74, 'colormode': 'xy'}
2023-07-07 16:59:59,599 - werkzeug - INFO - 192.168.0.200 - - [07/Jul/2023 16:59:59] "GET /lights HTTP/1.1" 200 -
2023-07-07 16:59:59,599 - werkzeug - INFO - 192.168.0.200 - - [07/Jul/2023 16:59:59] "GET /api/741f534e1cdc11ee9441d83add1b0368/groups/0 HTTP/1.1" 200 -
2023-07-07 17:00:00,589 - werkzeug - INFO - 192.168.0.200 - - [07/Jul/2023 17:00:00] "GET /lights HTTP/1.1" 200 -
2023-07-07 17:00:01,563 - werkzeug - INFO - 192.168.0.200 - - [07/Jul/2023 17:00:01] "GET /api/741f534e1cdc11ee9441d83add1b0368/groups/0 HTTP/1.1" 200 -
2023-07-07 17:00:01,569 - werkzeug - INFO - 192.168.0.200 - - [07/Jul/2023 17:00:01] "GET /lights HTTP/1.1" 200 -
2023-07-07 17:00:02,558 - werkzeug - INFO - 192.168.0.200 - - [07/Jul/2023 17:00:02] "GET /api/741f534e1cdc11ee9441d83add1b0368/groups/0 HTTP/1.1" 200 -
2023-07-07 17:00:02,559 - werkzeug - INFO - 192.168.0.200 - - [07/Jul/2023 17:00:02] "GET /lights HTTP/1.1" 200 -
2023-07-07 17:00:04,549 - werkzeug - INFO - 192.168.0.200 - - [07/Jul/2023 17:00:04] "GET /lights HTTP/1.1" 200 -
2023-07-07 17:00:06,567 - werkzeug - INFO - 192.168.0.200 - - [07/Jul/2023 17:00:06] "GET /lights HTTP/1.1" 200 -
2023-07-07 17:00:06,570 - werkzeug - INFO - 192.168.0.200 - - [07/Jul/2023 17:00:06] "GET /api/741f534e1cdc11ee9441d83add1b0368/groups/0 HTTP/1.1" 200 -
2023-07-07 17:00:08,552 - werkzeug - INFO - 192.168.0.200 - - [07/Jul/2023 17:00:08] "GET /lights HTTP/1.1" 200 -
2023-07-07 17:00:10,547 - werkzeug - INFO - 192.168.0.200 - - [07/Jul/2023 17:00:10] "GET /lights HTTP/1.1" 200 -
2023-07-07 17:00:10,945 - configManager.configHandler - DEBUG - Dump config file /config/diyhue/config.yaml
2023-07-07 17:00:10,980 - configManager.configHandler - DEBUG - Dump config file /config/diyhue/lights.yaml
2023-07-07 17:00:10,981 - configManager.configHandler - DEBUG - Dump config file /config/diyhue/groups.yaml
2023-07-07 17:00:10,982 - configManager.configHandler - DEBUG - Dump config file /config/diyhue/scenes.yaml
2023-07-07 17:00:10,983 - configManager.configHandler - DEBUG - Dump config file /config/diyhue/rules.yaml
2023-07-07 17:00:10,984 - configManager.configHandler - DEBUG - Dump config file /config/diyhue/resourcelinks.yaml
2023-07-07 17:00:10,986 - configManager.configHandler - DEBUG - Dump config file /config/diyhue/schedules.yaml
2023-07-07 17:00:10,991 - configManager.configHandler - DEBUG - Dump config file /config/diyhue/sensors.yaml
2023-07-07 17:00:10,992 - configManager.configHandler - DEBUG - Dump config file /config/diyhue/behavior_instance.yaml
2023-07-07 17:00:10,993 - functions.daylightSensor - DEBUG - Daylight Sensor: location is not configured
2023-07-07 17:00:11,550 - werkzeug - INFO - 192.168.0.200 - - [07/Jul/2023 17:00:11] "GET /api/741f534e1cdc11ee9441d83add1b0368/groups/0 HTTP/1.1" 200 -
2023-07-07 17:00:12,547 - werkzeug - INFO - 192.168.0.200 - - [07/Jul/2023 17:00:12] "GET /lights HTTP/1.1" 200 -
2023-07-07 17:00:13,120 - services.stateFetch - INFO - start lights sync
2023-07-07 17:00:13,121 - services.stateFetch - DEBUG - fetch tasmota-AE6D28-3368
2023-07-07 17:00:13,121 - lights.protocols.tasmota - DEBUG - tasmota: <get_light_state> invoked!
2023-07-07 17:00:13,467 - services.stateFetch - DEBUG - {'on': True, 'xy': [0.1355030140029036, 0.03987867049354715], 'bri': 78.74, 'colormode': 'xy'}
2023-07-07 17:00:13,468 - services.stateFetch - DEBUG - fetch tasmota-BA0314-0788
2023-07-07 17:00:13,469 - lights.protocols.tasmota - DEBUG - tasmota: <get_light_state> invoked!
2023-07-07 17:00:13,599 - services.stateFetch - DEBUG - {'on': True, 'xy': [0.1355030140029036, 0.03987867049354715], 'bri': 78.74, 'colormode': 'xy'}
2023-07-07 17:00:13,600 - services.stateFetch - DEBUG - fetch tasmota-B41674-5748
2023-07-07 17:00:13,600 - lights.protocols.tasmota - DEBUG - tasmota: <get_light_state> invoked!
2023-07-07 17:00:13,703 - services.stateFetch - DEBUG - {'on': True, 'xy': [0.1355030140029036, 0.03987867049354715], 'bri': 78.74, 'colormode': 'xy'}
2023-07-07 17:00:13,703 - services.stateFetch - DEBUG - fetch tasmota-B2FE9C-7836
2023-07-07 17:00:13,704 - lights.protocols.tasmota - DEBUG - tasmota: <get_light_state> invoked!
2023-07-07 17:00:13,870 - services.stateFetch - DEBUG - {'on': True, 'xy': [0.1355030140029036, 0.03987867049354715], 'bri': 78.74, 'colormode': 'xy'}
2023-07-07 17:00:13,870 - services.stateFetch - DEBUG - fetch tasmota-B9885C-2140
2023-07-07 17:00:13,871 - lights.protocols.tasmota - DEBUG - tasmota: <get_light_state> invoked!
2023-07-07 17:00:13,924 - services.stateFetch - DEBUG - {'on': True, 'xy': [0.1355030140029036, 0.03987867049354715], 'bri': 78.74, 'colormode': 'xy'}
2023-07-07 17:00:13,925 - services.stateFetch - DEBUG - fetch tasmota-B44368-0872
2023-07-07 17:00:13,925 - lights.protocols.tasmota - DEBUG - tasmota: <get_light_state> invoked!
2023-07-07 17:00:14,007 - services.stateFetch - DEBUG - {'on': True, 'xy': [0.1355030140029036, 0.03987867049354715], 'bri': 78.74, 'colormode': 'xy'}
2023-07-07 17:00:14,552 - werkzeug - INFO - 192.168.0.200 - - [07/Jul/2023 17:00:14] "GET /lights HTTP/1.1" 200 -
2023-07-07 17:00:16,560 - werkzeug - INFO - 192.168.0.200 - - [07/Jul/2023 17:00:16] "GET /api/741f534e1cdc11ee9441d83add1b0368/groups/0 HTTP/1.1" 200 -
2023-07-07 17:00:16,561 - werkzeug - INFO - 192.168.0.200 - - [07/Jul/2023 17:00:16] "GET /lights HTTP/1.1" 200 -
2023-07-07 17:00:18,553 - werkzeug - INFO - 192.168.0.200 - - [07/Jul/2023 17:00:18] "GET /lights HTTP/1.1" 200 -
2023-07-07 17:00:20,550 - werkzeug - INFO - 192.168.0.200 - - [07/Jul/2023 17:00:20] "GET /lights HTTP/1.1" 200 -
2023-07-07 17:00:21,548 - werkzeug - INFO - 192.168.0.200 - - [07/Jul/2023 17:00:21] "GET /api/741f534e1cdc11ee9441d83add1b0368/groups/0 HTTP/1.1" 200 -
2023-07-07 17:00:22,550 - werkzeug - INFO - 192.168.0.200 - - [07/Jul/2023 17:00:22] "GET /lights HTTP/1.1" 200 -
2023-07-07 17:00:24,547 - werkzeug - INFO - 192.168.0.200 - - [07/Jul/2023 17:00:24] "GET /lights HTTP/1.1" 200 -
2023-07-07 17:00:26,557 - werkzeug - INFO - 192.168.0.200 - - [07/Jul/2023 17:00:26] "GET /api/741f534e1cdc11ee9441d83add1b0368/groups/0 HTTP/1.1" 200 -
2023-07-07 17:00:26,559 - werkzeug - INFO - 192.168.0.200 - - [07/Jul/2023 17:00:26] "GET /lights HTTP/1.1" 200 -
2023-07-07 17:00:28,016 - services.stateFetch - INFO - start lights sync
2023-07-07 17:00:28,017 - services.stateFetch - DEBUG - fetch tasmota-AE6D28-3368
2023-07-07 17:00:28,017 - lights.protocols.tasmota - DEBUG - tasmota: <get_light_state> invoked!
2023-07-07 17:00:28,173 - services.stateFetch - DEBUG - {'on': True, 'xy': [0.1355030140029036, 0.03987867049354715], 'bri': 78.74, 'colormode': 'xy'}
2023-07-07 17:00:28,174 - services.stateFetch - DEBUG - fetch tasmota-BA0314-0788
2023-07-07 17:00:28,175 - lights.protocols.tasmota - DEBUG - tasmota: <get_light_state> invoked!
2023-07-07 17:00:28,311 - services.stateFetch - DEBUG - {'on': True, 'xy': [0.1355030140029036, 0.03987867049354715], 'bri': 78.74, 'colormode': 'xy'}
2023-07-07 17:00:28,311 - services.stateFetch - DEBUG - fetch tasmota-B41674-5748
2023-07-07 17:00:28,311 - lights.protocols.tasmota - DEBUG - tasmota: <get_light_state> invoked!
2023-07-07 17:00:28,448 - services.stateFetch - DEBUG - {'on': True, 'xy': [0.1355030140029036, 0.03987867049354715], 'bri': 78.74, 'colormode': 'xy'}
2023-07-07 17:00:28,449 - services.stateFetch - DEBUG - fetch tasmota-B2FE9C-7836
2023-07-07 17:00:28,450 - lights.protocols.tasmota - DEBUG - tasmota: <get_light_state> invoked!
2023-07-07 17:00:28,549 - werkzeug - INFO - 192.168.0.200 - - [07/Jul/2023 17:00:28] "GET /lights HTTP/1.1" 200 -
2023-07-07 17:00:28,856 - services.stateFetch - DEBUG - {'on': True, 'xy': [0.1355030140029036, 0.03987867049354715], 'bri': 78.74, 'colormode': 'xy'}
2023-07-07 17:00:28,857 - services.stateFetch - DEBUG - fetch tasmota-B9885C-2140
2023-07-07 17:00:28,857 - lights.protocols.tasmota - DEBUG - tasmota: <get_light_state> invoked!
2023-07-07 17:00:29,038 - services.stateFetch - DEBUG - {'on': True, 'xy': [0.1355030140029036, 0.03987867049354715], 'bri': 78.74, 'colormode': 'xy'}
2023-07-07 17:00:29,039 - services.stateFetch - DEBUG - fetch tasmota-B44368-0872
2023-07-07 17:00:29,040 - lights.protocols.tasmota - DEBUG - tasmota: <get_light_state> invoked!
2023-07-07 17:00:29,130 - services.stateFetch - DEBUG - {'on': True, 'xy': [0.1355030140029036, 0.03987867049354715], 'bri': 78.74, 'colormode': 'xy'}
2023-07-07 17:00:36,273 - werkzeug - INFO - 192.168.0.200 - - [07/Jul/2023 17:00:36] "GET /lights HTTP/1.1" 200 -
2023-07-07 17:00:36,282 - werkzeug - INFO - 192.168.0.200 - - [07/Jul/2023 17:00:36] "GET /api/741f534e1cdc11ee9441d83add1b0368/groups/0 HTTP/1.1" 200 -
2023-07-07 17:00:36,732 - werkzeug - INFO - 192.168.0.200 - - [07/Jul/2023 17:00:36] "GET /api/741f534e1cdc11ee9441d83add1b0368/groups/0 HTTP/1.1" 200 -
2023-07-07 17:00:37,548 - werkzeug - INFO - 192.168.0.200 - - [07/Jul/2023 17:00:37] "GET /lights HTTP/1.1" 200 -

Steps to reproduce

  1. Install diyHUE add-in in HA
  2. Load up tasmota flashed RGB light bulbs to diyHUE
  3. Connect diyHUE to Hue App.
  4. No bulbs

Please enter your operating system details here

Linux 6.1.21-v8 aarch64

What DiyHue version(branch) are you using?

master (latest)

choportrend commented 1 year ago

If it helps identify the error, I tried connecting to Hue Essentials and that just failed from the get go.

telegram-cloud-photo-size-5-6143392105347790982-y

choportrend commented 1 year ago

Update. Seems like the problem was I was blocking internet access to these bulbs. I have now connected the bulbs to Hue Essentials, but still cannot connect it to the official Hue App. I have connected the bridge but no lights show up. Any help would be appreciated!

choportrend commented 1 year ago

Hi guys, hope someone can point me in the right direction! My HA instance actually detects the diyHUE bridge and it's prompting me to add the bridge. Would it have something to do with the Philips Hue app? Am I allowed multiple bridges in one instance of the app, or should I make a fresh one for diyHUE?

mariusmotea commented 1 year ago

Tasmota lights work without internet access, but unfortunatelly the logs you pasted did not include the discovery process. Can you show some logs when you open the Hue app?