Open Br3b opened 2 years ago
In the log you can see that it had problems creating the certificate...
touch: /opt/hue-emulator/config/cert.pem: No such file or directory
@juanesf thanks for your comment. Is that a hint about a wrong mac address? The log I posted was the one from starting the first time after installation. I'll post a log from restarting the add-on:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing...
-----------------------------------------------------------
Add-on: diyHue
Emulate a Hue Bridge, add lights, sensors etc. from different vendors into one Ecosystem
-----------------------------------------------------------
Add-on version: 2.0.6
You are running the latest version of this add-on.
System: Home Assistant OS 9.2 (amd64 / qemux86-64)
Home Assistant Core: 2022.10.4
Home Assistant Supervisor: 2022.10.0
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
/config/diyhue exists.
Your Architecture is = amd64
No serve HTTPS
2022-10-15 17:55:30,707 - configManager.argumentHandler - INFO - Using Host 10.0.0.3:80
2022-10-15 17:55:30,708 - configManager.argumentHandler - INFO - Host MAC given as AE2C2065D762
2022-10-15 17:55:30,708 - configManager.argumentHandler - INFO - IP range for light discovery: 0-255
2022-10-15 17:55:30,708 - configManager.argumentHandler - INFO - Deconz IP given as 127.0.0.1
2022-10-15 17:55:30,708 - configManager.argumentHandler - INFO - Online Discovery/Remote API Enabled!
2022-10-15 17:55:30,708 - configManager.argumentHandler - INFO - HTTPS Port Disabled
2022-10-15 17:55:30,713 - configManager.argumentHandler - INFO - Using Host 10.0.0.3:80
2022-10-15 17:55:30,713 - configManager.argumentHandler - INFO - Host MAC given as AE2C2065D762
2022-10-15 17:55:30,713 - configManager.argumentHandler - INFO - IP range for light discovery: 0-255
2022-10-15 17:55:30,713 - configManager.argumentHandler - INFO - Deconz IP given as 127.0.0.1
2022-10-15 17:55:30,713 - configManager.argumentHandler - INFO - Online Discovery/Remote API Enabled!
2022-10-15 17:55:30,713 - configManager.argumentHandler - INFO - HTTPS Port Disabled
2022-10-15 17:55:30,713 - configManager.argumentHandler - INFO - Debug logging enabled!
2022-10-15 16:55:30,733 - configManager.configHandler - INFO - Config loaded
2022-10-15 16:55:30,906 - functions.daylightSensor - DEBUG - Daylight Sensor: location is not configured
2022-10-15 16:55:30,907 - services.remoteDiscover - INFO - Starting discovery service
2022-10-15 16:55:30,911 - services.stateFetch - INFO - start lights sync
2022-10-15 16:55:30,912 - services.ssdp - INFO - starting ssdp...
2022-10-15 16:55:30,913 - services.mdns - INFO - <MDNS> listener started
2022-10-15 16:55:30,913 - services.ssdp - INFO - start ssdp broadcast
2022-10-15 16:55:30,923 - services.eventStreamer - DEBUG - {'creationtime': '2022-10-15T15:55:30Z', 'data': [{'children': [], 'grouped_services': [{'rid': '0a96395a-6ca6-46a5-9f93-00a304bc8f94', 'rtype': 'grouped_light'}], 'services': [{'rid': '0a96395a-6ca6-46a5-9f93-00a304bc8f94', 'rtype': 'grouped_light'}], 'id': '7a5d3602-2be2-5459-a25d-1e4216e9087d', 'id_v1': '/groups/0', 'metadata': {'archetype': 'other', 'name': 'Group 0'}, 'type': 'zone'}], 'id': '9ada9f04-1784-495e-9be4-76d71268470d', 'type': 'add'}
* Serving Flask app 'HueEmulator3' (lazy loading)
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
2022-10-15 16:55:33,017 - services.ssdp - DEBUG - Sending M-Search response to 10.0.0.4
2022-10-15 16:55:33,428 - werkzeug - WARNING - * Running on all addresses.
WARNING: This is a development server. Do not use it in a production deployment.
2022-10-15 16:55:33,428 - werkzeug - INFO - * Running on http://10.0.0.3:80/ (Press CTRL+C to quit)
2022-10-15 16:55:34,529 - services.ssdp - DEBUG - Sending M-Search response to 10.0.1.2
2022-10-15 16:55:34,601 - werkzeug - INFO - 10.0.1.2 - - [15/Oct/2022 16:55:34] "GET /description.xml HTTP/1.1" 200 -
2022-10-15 16:55:36,069 - werkzeug - INFO - 10.0.1.2 - - [15/Oct/2022 16:55:36] "GET /api/fc19b0d44c7e11ed8e11ae2c2065d762/groups/0 HTTP/1.1" 200 -
2022-10-15 16:55:37,439 - services.ssdp - DEBUG - Sending M-Search response to 10.0.1.2
2022-10-15 16:55:40,351 - services.ssdp - DEBUG - Sending M-Search response to 10.0.1.2
2022-10-15 16:55:41,805 - services.ssdp - DEBUG - Sending M-Search response to 10.0.0.4
actually it's a problem on first start when you call the script that generates the certificate, I think you should check if /opt/hue-emulator/config/cert.pem exists and if it doesn't have any content you should delete the file and restart the plugin to regenerate the certificate. you can review the documentation of the add-on
@juanesf found the reason why accessing the cert fails in certain situations. Reason was a directory was not created properly. His push fixed it. Hassio add on version will be bumped to 2.0.7 in just a second.
@Br3b you can update now and try.
https://github.com/diyhue/hassio-addon/commit/bb3fd9c1e1435e22f59d6367ab1b88735e9905c1
is in place
feedback welcome.
@Mevel thanks for you fast response. Sadly its not connecting :/
2022-10-15 19:33:24,504 - services.mdns - INFO - <MDNS> listener started
2022-10-15 19:33:24,515 - werkzeug - WARNING - * Running on all addresses.
WARNING: This is a development server. Do not use it in a production deployment.
2022-10-15 19:33:24,511 - services.eventStreamer - DEBUG - {'creationtime': '2022-10-15T17:33:24Z', 'data': [{'children': [], 'grouped_services': [{'rid': '488f80c2-75a6-4fb0-8c03-69d70d8997e6', 'rtype': 'grouped_light'}], 'services': [{'rid': '488f80c2-75a6-4fb0-8c03-69d70d8997e6', 'rtype': 'grouped_light'}], 'id': '4bf058b9-6b5f-5705-a09a-2a2c1462fc06', 'id_v1': '/groups/0', 'metadata': {'archetype': 'other', 'name': 'Group 0'}, 'type': 'zone'}], 'id': '3774d064-c201-419f-abc8-fe498595b97a', 'type': 'add'}
* Serving Flask app 'HueEmulator3' (lazy loading)
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
2022-10-15 19:33:24,515 - werkzeug - INFO - * Running on http://10.0.0.3:80/ (Press CTRL+C to quit)
2022-10-15 19:33:27,283 - services.ssdp - DEBUG - Sending M-Search response to 10.0.1.2
2022-10-15 19:33:27,342 - werkzeug - INFO - 10.0.1.2 - - [15/Oct/2022 19:33:27] "GET /description.xml HTTP/1.1" 200 -
2022-10-15 19:33:30,796 - services.ssdp - DEBUG - Sending M-Search response to 10.0.1.2
2022-10-15 19:33:31,930 - services.ssdp - DEBUG - Sending M-Search response to 10.0.0.4
2022-10-15 19:33:31,934 - werkzeug - INFO - 10.0.0.4 - - [15/Oct/2022 19:33:31] "GET /description.xml HTTP/1.1" 200 -
2022-10-15 19:33:33,511 - services.ssdp - DEBUG - Sending M-Search response to 10.0.1.2
2022-10-15 19:33:36,069 - werkzeug - INFO - 10.0.1.2 - - [15/Oct/2022 19:33:36] "GET /api/fc19b0d44c7e11ed8e11ae2c2065d762/groups/0 HTTP/1.1" 200 -
2022-10-15 19:33:37,002 - werkzeug - INFO - 10.0.1.2 - - [15/Oct/2022 19:33:37] "GET /description.xml HTTP/1.1" 200 -
2022-10-15 19:33:37,350 - services.ssdp - DEBUG - Sending M-Search response to 10.0.1.2
2022-10-15 19:33:40,059 - services.ssdp - DEBUG - Sending M-Search response to 10.0.1.2
2022-10-15 19:33:42,030 - services.ssdp - DEBUG - Sending M-Search response to 10.0.0.4
2022-10-15 19:33:43,173 - services.ssdp - DEBUG - Sending M-Search response to 10.0.1.2
2022-10-15 19:33:44,819 - services.ssdp - DEBUG - Sending M-Search response to 10.0.1.6
2022-10-15 19:33:45,528 - werkzeug - INFO - 10.0.1.6 - - [15/Oct/2022 19:33:45] "GET /description.xml HTTP/1.1" 200 -
2022-10-15 19:33:45,741 - werkzeug - INFO - 10.0.1.6 - - [15/Oct/2022 19:33:45] "GET /description.xml HTTP/1.1" 200 -
2022-10-15 19:33:46,120 - services.ssdp - DEBUG - Sending M-Search response to 10.0.1.6
2022-10-15 19:33:46,821 - services.ssdp - DEBUG - Sending M-Search response to 10.0.1.6
2022-10-15 19:33:47,071 - werkzeug - INFO - 10.0.1.2 - - [15/Oct/2022 19:33:47] "GET /description.xml HTTP/1.1" 200 -
2022-10-15 19:33:47,923 - services.ssdp - DEBUG - Sending M-Search response to 10.0.1.2
2022-10-15 19:33:48,824 - services.ssdp - DEBUG - Sending M-Search response to 10.0.1.6
2022-10-15 19:33:50,125 - services.ssdp - DEBUG - Sending M-Search response to 10.0.1.2
2022-10-15 19:33:51,014 - werkzeug - INFO - 10.0.1.2 - - [15/Oct/2022 19:33:51] "GET / HTTP/1.1" 200 -
2022-10-15 19:33:51,038 - werkzeug - INFO - 10.0.1.2 - - [15/Oct/2022 19:33:51] "GET /static/css/3.482bc700.chunk.css HTTP/1.1" 304 -
2022-10-15 19:33:51,043 - werkzeug - INFO - 10.0.1.2 - - [15/Oct/2022 19:33:51] "GET /static/js/main.304c6128.chunk.js HTTP/1.1" 304 -
2022-10-15 19:33:51,046 - werkzeug - INFO - 10.0.1.2 - - [15/Oct/2022 19:33:51] "GET /static/js/3.7bf25959.chunk.js HTTP/1.1" 304 -
2022-10-15 19:33:51,050 - werkzeug - INFO - 10.0.1.2 - - [15/Oct/2022 19:33:51] "GET /static/css/main.bb68dc29.chunk.css HTTP/1.1" 304 -
2022-10-15 19:33:51,112 - werkzeug - INFO - 10.0.1.2 - - [15/Oct/2022 19:33:51] "GET /static/media/background.db8a83c2.jpg HTTP/1.1" 304 -
2022-10-15 19:33:51,157 - werkzeug - INFO - 10.0.1.2 - - [15/Oct/2022 19:33:51] "GET /static/js/5.c9f5d92b.chunk.js HTTP/1.1" 304 -
2022-10-15 19:33:51,159 - werkzeug - INFO - 10.0.1.2 - - [15/Oct/2022 19:33:51] "GET /static/js/0.74080e9a.chunk.js HTTP/1.1" 304 -
2022-10-15 19:33:51,161 - werkzeug - INFO - 10.0.1.2 - - [15/Oct/2022 19:33:51] "GET /static/js/18.3b63435a.chunk.js HTTP/1.1" 304 -
2022-10-15 19:33:51,175 - werkzeug - INFO - 10.0.1.2 - - [15/Oct/2022 19:33:51] "GET /static/media/logo.bd3b4e90.svg HTTP/1.1" 304 -
2022-10-15 19:33:51,175 - configManager.configHandler - DEBUG - Dump config file /config/diyhue/config.yaml
2022-10-15 19:33:51,176 - configManager.configHandler - DEBUG - Dump config file /config/diyhue/lights.yaml
2022-10-15 19:33:51,176 - configManager.configHandler - DEBUG - Dump config file /config/diyhue/groups.yaml
2022-10-15 19:33:51,177 - configManager.configHandler - DEBUG - Dump config file /config/diyhue/scenes.yaml
2022-10-15 19:33:51,177 - configManager.configHandler - DEBUG - Dump config file /config/diyhue/rules.yaml
2022-10-15 19:33:51,177 - configManager.configHandler - DEBUG - Dump config file /config/diyhue/resourcelinks.yaml
2022-10-15 19:33:51,178 - configManager.configHandler - DEBUG - Dump config file /config/diyhue/schedules.yaml
2022-10-15 19:33:51,180 - configManager.configHandler - DEBUG - Dump config file /config/diyhue/sensors.yaml
2022-10-15 19:33:51,181 - configManager.configHandler - DEBUG - Dump config file /config/diyhue/behavior_instance.yaml
2022-10-15 19:33:51,182 - werkzeug - INFO - 10.0.1.2 - - [15/Oct/2022 19:33:51] "GET /get-key HTTP/1.1" 200 -
2022-10-15 19:33:51,373 - werkzeug - INFO - 10.0.1.2 - - [15/Oct/2022 19:33:51] "GET /api/8883699a4caf11ed8288ae2c2065d762/groups/0 HTTP/1.1" 200 -
2022-10-15 19:33:51,376 - werkzeug - INFO - 10.0.1.2 - - [15/Oct/2022 19:33:51] "GET /api/8883699a4caf11ed8288ae2c2065d762 HTTP/1.1" 200 -
2022-10-15 19:33:51,409 - werkzeug - INFO - 10.0.1.2 - - [15/Oct/2022 19:33:51] "GET /static/favicon.ico HTTP/1.1" 304 -
2022-10-15 19:33:52,030 - services.ssdp - DEBUG - Sending M-Search response to 10.0.0.4
2022-10-15 19:33:52,528 - services.stateFetch - INFO - start lights sync
2022-10-15 19:33:53,339 - services.ssdp - DEBUG - Sending M-Search response to 10.0.1.2
2022-10-15 19:33:53,375 - werkzeug - INFO - 10.0.1.2 - - [15/Oct/2022 19:33:53] "GET /api/8883699a4caf11ed8288ae2c2065d762 HTTP/1.1" 200 -
2022-10-15 19:33:54,442 - werkzeug - INFO - 10.0.1.2 - - [15/Oct/2022 19:33:54] "GET /static/js/12.b22bce35.chunk.js HTTP/1.1" 304 -
2022-10-15 19:33:54,446 - werkzeug - INFO - 10.0.1.2 - - [15/Oct/2022 19:33:54] "GET /static/favicon.ico HTTP/1.1" 304 -
2022-10-15 19:33:55,140 - werkzeug - INFO - 10.0.1.2 - - [15/Oct/2022 19:33:55] "GET /api/nouser/config HTTP/1.1" 200 -
2022-10-15 19:33:55,143 - werkzeug - INFO - 10.0.1.2 - - [15/Oct/2022 19:33:55] "GET /api/nouser/config HTTP/1.1" 200 -
2022-10-15 19:33:56,381 - werkzeug - INFO - 10.0.1.2 - - [15/Oct/2022 19:33:56] "GET /api/8883699a4caf11ed8288ae2c2065d762/groups/0 HTTP/1.1" 200 -
2022-10-15 19:33:56,493 - services.ssdp - DEBUG - Sending M-Search response to 10.0.0.3
2022-10-15 19:33:57,130 - werkzeug - INFO - 10.0.1.2 - - [15/Oct/2022 19:33:57] "GET /description.xml HTTP/1.1" 200 -
2022-10-15 19:33:57,294 - services.ssdp - DEBUG - Sending M-Search response to 10.0.0.3
2022-10-15 19:33:57,863 - flaskUI.restful - DEBUG - [{'success': {'/config/linkbutton': {'lastlinkbuttonpushed': 1665855204}}}]
2022-10-15 19:33:57,870 - configManager.configHandler - DEBUG - Dump config file /config/diyhue/config.yaml
2022-10-15 19:33:57,871 - werkzeug - INFO - 10.0.1.2 - - [15/Oct/2022 19:33:57] "PUT /api/8883699a4caf11ed8288ae2c2065d762/config HTTP/1.1" 200 -
2022-10-15 19:33:57,896 - services.ssdp - DEBUG - Sending M-Search response to 10.0.1.2
2022-10-15 19:34:00,894 - services.ssdp - DEBUG - Sending M-Search response to 10.0.1.2
2022-10-15 19:34:01,530 - services.ssdp - DEBUG - Sending M-Search response to 10.0.0.4
on my server with home-assistant version 2.0.7 still does not appear. in the last log it seems that you have not reinstalled diyHue Add-on
@juanesf @Mevel These are the logs after fresh installation 2.0.7 It seems creating a certificate correct, but I still cant connect the app to diyhue
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing...
-----------------------------------------------------------
Add-on: diyHue
Emulate a Hue Bridge, add lights, sensors etc. from different vendors into one Ecosystem
-----------------------------------------------------------
Add-on version: 2.0.7
You are running the latest version of this add-on.
System: Home Assistant OS 9.2 (amd64 / qemux86-64)
Home Assistant Core: 2022.10.4
Home Assistant Supervisor: 2022.10.0
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
/config/diyhue created.
Your Architecture is = amd64
No serve HTTPS
2022-10-16 18:06:23,842 - configManager.argumentHandler - INFO - Using Host 10.0.0.3:80
2022-10-16 18:06:23,842 - configManager.argumentHandler - INFO - Host MAC given as ae2c2065d762
2022-10-16 18:06:23,843 - configManager.argumentHandler - INFO - IP range for light discovery: 0-255
2022-10-16 18:06:23,843 - configManager.argumentHandler - INFO - Deconz IP given as 127.0.0.1
2022-10-16 18:06:23,843 - configManager.argumentHandler - INFO - Online Discovery/Remote API Enabled!
2022-10-16 18:06:23,843 - configManager.argumentHandler - INFO - HTTPS Port Disabled
2022-10-16 18:06:23,847 - configManager.argumentHandler - INFO - Using Host 10.0.0.3:80
2022-10-16 18:06:23,848 - configManager.argumentHandler - INFO - Host MAC given as ae2c2065d762
2022-10-16 18:06:23,848 - configManager.argumentHandler - INFO - IP range for light discovery: 0-255
2022-10-16 18:06:23,848 - configManager.argumentHandler - INFO - Deconz IP given as 127.0.0.1
2022-10-16 18:06:23,848 - configManager.argumentHandler - INFO - Online Discovery/Remote API Enabled!
2022-10-16 18:06:23,848 - configManager.argumentHandler - INFO - HTTPS Port Disabled
2022-10-16 18:06:23,848 - configManager.argumentHandler - INFO - Debug logging enabled!
2022-10-16 18:06:23,848 - configManager.argumentHandler - INFO - Generating certificate
Generating an EC private key
writing new private key to 'private.key'
-----
touch: /opt/hue-emulator/config/cert.pem: No such file or directory
2022-10-16 18:06:23,910 - configManager.argumentHandler - INFO - Certificate created
2022-10-16 18:06:23,913 - configManager.configHandler - INFO - Config loaded
2022-10-16 18:06:24,101 - functions.daylightSensor - DEBUG - Daylight Sensor: location is not configured
2022-10-16 18:06:24,102 - services.remoteDiscover - INFO - Starting discovery service
2022-10-16 18:06:24,106 - services.stateFetch - INFO - start lights sync
2022-10-16 18:06:24,107 - services.ssdp - INFO - starting ssdp...
2022-10-16 18:06:24,108 - services.ssdp - INFO - start ssdp broadcast
2022-10-16 18:06:24,109 - services.mdns - INFO - <MDNS> listener started
2022-10-16 18:06:24,110 - services.eventStreamer - DEBUG - {'creationtime': '2022-10-16T16:06:23Z', 'data': [{'children': [], 'grouped_services': [{'rid': 'f13e5b44-a796-437b-a206-8d1ca0a57431', 'rtype': 'grouped_light'}], 'services': [{'rid': 'f13e5b44-a796-437b-a206-8d1ca0a57431', 'rtype': 'grouped_light'}], 'id': '2231f129-e043-5ae9-a5ee-5317c8e611c1', 'id_v1': '/groups/0', 'metadata': {'archetype': 'other', 'name': 'Group 0'}, 'type': 'zone'}], 'id': 'de28e71a-5f6d-4fb6-9e11-0ba7bbffd754', 'type': 'add'}
* Serving Flask app 'HueEmulator3' (lazy loading)
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
2022-10-16 18:06:24,124 - werkzeug - WARNING - * Running on all addresses.
WARNING: This is a development server. Do not use it in a production deployment.
2022-10-16 18:06:24,124 - werkzeug - INFO - * Running on http://10.0.0.3:80/ (Press CTRL+C to quit)
2022-10-16 18:06:24,187 - werkzeug - INFO - 10.0.1.28 - - [16/Oct/2022 18:06:24] "GET /description.xml HTTP/1.1" 200 -
2022-10-16 18:06:24,192 - werkzeug - INFO - 10.0.1.28 - - [16/Oct/2022 18:06:24] "GET /description.xml HTTP/1.1" 200 -
2022-10-16 18:06:24,196 - werkzeug - INFO - 10.0.1.28 - - [16/Oct/2022 18:06:24] "GET /description.xml HTTP/1.1" 200 -
2022-10-16 18:06:24,199 - werkzeug - INFO - 10.0.1.28 - - [16/Oct/2022 18:06:24] "GET /description.xml HTTP/1.1" 200 -
2022-10-16 18:06:24,203 - werkzeug - INFO - 10.0.1.28 - - [16/Oct/2022 18:06:24] "GET /description.xml HTTP/1.1" 200 -
2022-10-16 18:06:24,206 - werkzeug - INFO - 10.0.1.28 - - [16/Oct/2022 18:06:24] "GET /description.xml HTTP/1.1" 200 -
2022-10-16 18:06:24,587 - werkzeug - INFO - 10.0.0.3 - - [16/Oct/2022 18:06:24] "GET /api/config HTTP/1.1" 200 -
2022-10-16 18:06:25,712 - services.ssdp - DEBUG - Sending M-Search response to 10.0.1.2
2022-10-16 18:06:25,767 - werkzeug - INFO - 10.0.1.2 - - [16/Oct/2022 18:06:25] "GET /description.xml HTTP/1.1" 200 -
2022-10-16 18:06:28,275 - services.ssdp - DEBUG - Sending M-Search response to 10.0.1.2
2022-10-16 18:06:31,766 - werkzeug - INFO - 10.0.1.2 - - [16/Oct/2022 18:06:31] "GET /description.xml HTTP/1.1" 200 -
2022-10-16 18:06:32,013 - services.ssdp - DEBUG - Sending M-Search response to 10.0.1.2
2022-10-16 18:06:33,166 - services.ssdp - DEBUG - Sending M-Search response to 10.0.0.4
2022-10-16 18:06:33,171 - werkzeug - INFO - 10.0.0.4 - - [16/Oct/2022 18:06:33] "GET /description.xml HTTP/1.1" 200 -
2022-10-16 18:06:35,419 - services.ssdp - DEBUG - Sending M-Search response to 10.0.1.2
2022-10-16 18:06:36,221 - services.ssdp - DEBUG - Sending M-Search response to 10.0.0.3
2022-10-16 18:06:37,223 - services.ssdp - DEBUG - Sending M-Search response to 10.0.0.3
2022-10-16 18:06:38,033 - services.ssdp - DEBUG - Sending M-Search response to 10.0.1.2
> 2022-10-16 18:06:23,848 - configManager.argumentHandler - INFO - Generating certificate
> Generating an EC private key
> writing new private key to 'private.key'
> -----
> touch: /opt/hue-emulator/config/cert.pem: No such file or directory
> 2022-10-16 18:06:23,910 - configManager.argumentHandler - INFO - Certificate created
> 2022-10-16 18:06:23,913 - configManager.configHandler - INFO - Config loaded
Looks like the same error, I will try to replicate it.
can you check again by reinstalling v. 2.0.7 ? @Br3b
@Mevel Hey there, still not able to touch the file
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing...
-----------------------------------------------------------
Add-on: diyHue
Emulate a Hue Bridge, add lights, sensors etc. from different vendors into one Ecosystem
-----------------------------------------------------------
Add-on version: 2.0.7
You are running the latest version of this add-on.
System: Home Assistant OS 9.2 (amd64 / qemux86-64)
Home Assistant Core: 2022.10.4
Home Assistant Supervisor: 2022.10.0
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
/config/diyhue created.
Your Architecture is = amd64
No serve HTTPS
2022-10-18 11:38:33,175 - configManager.argumentHandler - INFO - Using Host 10.0.0.3:80
2022-10-18 11:38:33,175 - configManager.argumentHandler - INFO - Host MAC given as AE2C2065D762
2022-10-18 11:38:33,175 - configManager.argumentHandler - INFO - IP range for light discovery: 0-255
2022-10-18 11:38:33,175 - configManager.argumentHandler - INFO - Deconz IP given as 127.0.0.1
2022-10-18 11:38:33,175 - configManager.argumentHandler - INFO - Online Discovery/Remote API Enabled!
2022-10-18 11:38:33,176 - configManager.argumentHandler - INFO - HTTPS Port Disabled
2022-10-18 11:38:33,181 - configManager.argumentHandler - INFO - Using Host 10.0.0.3:80
2022-10-18 11:38:33,181 - configManager.argumentHandler - INFO - Host MAC given as AE2C2065D762
2022-10-18 11:38:33,181 - configManager.argumentHandler - INFO - IP range for light discovery: 0-255
2022-10-18 11:38:33,181 - configManager.argumentHandler - INFO - Deconz IP given as 127.0.0.1
2022-10-18 11:38:33,181 - configManager.argumentHandler - INFO - Online Discovery/Remote API Enabled!
2022-10-18 11:38:33,181 - configManager.argumentHandler - INFO - HTTPS Port Disabled
2022-10-18 11:38:33,181 - configManager.argumentHandler - INFO - Debug logging enabled!
2022-10-18 11:38:33,181 - configManager.argumentHandler - INFO - Generating certificate
Generating an EC private key
writing new private key to 'private.key'
-----
touch: /opt/hue-emulator/config/cert.pem: No such file or directory
2022-10-18 11:38:33,229 - configManager.argumentHandler - INFO - Certificate created
2022-10-18 11:38:33,231 - configManager.configHandler - INFO - Config loaded
2022-10-18 11:38:33,440 - functions.daylightSensor - DEBUG - Daylight Sensor: location is not configured
2022-10-18 11:38:33,441 - services.remoteDiscover - INFO - Starting discovery service
2022-10-18 11:38:33,442 - services.stateFetch - INFO - start lights sync
2022-10-18 11:38:33,445 - services.ssdp - INFO - starting ssdp...
2022-10-18 11:38:33,446 - services.ssdp - INFO - start ssdp broadcast
2022-10-18 11:38:33,447 - services.mdns - INFO - <MDNS> listener started
2022-10-18 11:38:33,459 - services.eventStreamer - DEBUG - {'creationtime': '2022-10-18T09:38:33Z', 'data': [{'children': [], 'grouped_services': [{'rid': '94101b01-6594-4f7d-a2ff-64914269bf16', 'rtype': 'grouped_light'}], 'services': [{'rid': '94101b01-6594-4f7d-a2ff-64914269bf16', 'rtype': 'grouped_light'}], 'id': '33a9c618-92fe-53c6-b782-2b7dfbf90d2c', 'id_v1': '/groups/0', 'metadata': {'archetype': 'other', 'name': 'Group 0'}, 'type': 'zone'}], 'id': '99857382-f921-443c-82ef-c8505948d5a4', 'type': 'add'}
* Serving Flask app 'HueEmulator3' (lazy loading)
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
2022-10-18 11:38:33,462 - werkzeug - WARNING - * Running on all addresses.
WARNING: This is a development server. Do not use it in a production deployment.
2022-10-18 11:38:33,462 - werkzeug - INFO - * Running on http://10.0.0.3:80/ (Press CTRL+C to quit)
@Mevel Any Update yet? Greetings
@Mevel @juanesf I could capture an error message when connecting. This might help. Thanks
Describe the issue Added the Repository "https://github.com/diyhue/hassio-addon" under Add-ons in Home Assistant and installed the Add-on "diyHue" via Add-on Store.
BEFORE starting the Add-on after successful installation, I configured the mac address of my Home Assistant VM under Proxmox, chooses debug "true" and no_serve_https "true", saved and started.
Looks good so far:
Opened Hue Essentials on iPhone and the diyHue appears with the same IP-address of Home Assistant VM and the specified mac-address. If I try to connect it says I need to push the link button, so I head over to diyHue under "Link Button" and press "LINK APP" but nothing happens. I tried with the original Hue App and with the PC software Hue Sync, sadly no success.
Steps you tried
Reinstall Add-on Delete Folder under config/diyhue try different mac-address
How we can help
Please help to connect Apps via Link Button
Logs
see above
Docker Info (please complete the following information):
Additional context