Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues With Unresponsive Lights that are added through home assistant #22

Open
MatthewGCampbell opened this issue Nov 7, 2023 · 14 comments

Comments

@MatthewGCampbell
Copy link

Here is some of the output from the Addon inside of home assistant:
2023-11-07 12:21:10,358 - services.stateFetch - INFO - start lights sync
2023-11-07 12:21:10,359 - services.stateFetch - WARNING - Light Bars is unreachable: 'NoneType' object is not subscriptable
2023-11-07 12:21:10,360 - services.stateFetch - WARNING - Floor Light is unreachable: 'NoneType' object is not subscriptable
2023-11-07 12:21:10,360 - services.stateFetch - WARNING - Bathroom Light 3 is unreachable: 'NoneType' object is not subscriptable
2023-11-07 12:21:10,361 - services.stateFetch - WARNING - Bathroom Light 2 is unreachable: 'NoneType' object is not subscriptable
2023-11-07 12:21:10,362 - services.stateFetch - WARNING - Bathroom Light 1 is unreachable: 'NoneType' object is not subscriptable
2023-11-07 12:21:10,363 - services.stateFetch - WARNING - Kitchen Light 1 is unreachable: 'NoneType' object is not subscriptable
2023-11-07 12:21:10,363 - services.stateFetch - WARNING - Kitchen Light 2 is unreachable: 'NoneType' object is not subscriptable
2023-11-07 12:21:10,364 - services.stateFetch - WARNING - Can Light 1 is unreachable: 'NoneType' object is not subscriptable
2023-11-07 12:21:10,364 - services.stateFetch - WARNING - Fan Light is unreachable: 'NoneType' object is not subscriptable

Screenshot 2023-11-07 at 12 23 47 PM

It seems that diyhue finds the lights through the home assistant API and they are all controllable through the hue app but the hue app as well as the diyhue webpage marks the lights as offline/unresponsive

@DavidGeorge528
Copy link

+1 have the same issue with some of my lights

@u20p17
Copy link

u20p17 commented Nov 9, 2023

+1 same issue for me

@u20p17
Copy link

u20p17 commented Nov 27, 2023

@mariusmotea do you have an idea what could be the issue? would be nice if this could get fixed soon :)

@mariusmotea
Copy link
Member

i don't use this integration to debug it by myself so i need to see what is returned from homeassistant. For me it looks like we always expect an array and for some reasons (maybe api changes) it is not there

'NoneType' object is not subscriptable

@u20p17
Copy link

u20p17 commented Nov 27, 2023

@mariusmotea : thanks for your very fast answer. I am using the DIYHue docker container and (on another system) the hassio-addon - both have the same issue. Can I generate a debug log for you ? How do to this?

@DavidGeorge528
Copy link

Sounds like an issue with diyHue itself then, rather than the add-on.

I've stopped using diyHue because of these issues, but I seem to remember that the lights I mainly had issues with were those with missing settings (i.e. brightness-only lights without color control, or switch-only lights with no brightness or color)

@u20p17
Copy link

u20p17 commented Nov 27, 2023

@mariusmotea : I now activated the debug log and I can see the following:

7 16:13:52,870 - services.stateFetch - DEBUG - fetch Licht Abstellraum
2023-11-27 16:13:52,871 - services.homeAssistantWS - ERROR - Error connecting to Home Assistant WebSocket
Traceback (most recent call last):
  File "/opt/hue-emulator/services/homeAssistantWS.py", line 232, in create_websocket_client
    homeassistant_ws_client.connect()
  File "/usr/local/lib/python3.11/dist-packages/ws4py/client/__init__.py", line 239, in connect
    self.process_response_line(response_line)
  File "/usr/local/lib/python3.11/dist-packages/ws4py/client/__init__.py", line 307, in process_response_line
    raise HandshakeError("Invalid response status: %s %s" % (code, status))
ws4py.exc.HandshakeError: Invalid response status: b'403' b'Forbidden'
2023-11-27 16:13:52,872 - services.stateFetch - WARNING - Licht Abstellraum is unreachable: 'light.licht_abstellraum'
2023-11-27 16:13:52,872 - services.stateFetch - DEBUG - fetch Plug_Weihnachtsbeleuchtung
2023-11-27 16:13:52,873 - services.stateFetch - WARNING - Plug_Weihnachtsbeleuchtung is unreachable: 'light.plug_weihnachtsbeleuchtung'
2023-11-27 16:13:52,873 - services.stateFetch - DEBUG - fetch Schlafzimmer Deckenlicht
2023-11-27 16:13:52,878 - services.stateFetch - WARNING - Schlafzimmer Deckenlicht is unreachable: 'light.schlafzimmer_deckenlicht'
2023-11-27 16:13:52,878 - services.stateFetch - DEBUG - fetch Spiegelschranklicht
2023-11-27 16:13:52,878 - services.stateFetch - WARNING - Spiegelschranklicht is unreachable: 'light.spiegelschranklicht'
2023-11-27 16:13:52,878 - services.stateFetch - DEBUG - fetch Spiegelschrankfarbe
2023-11-27 16:13:52,879 - services.stateFetch - WARNING - Spiegelschrankfarbe is unreachable: 'light.spiegelschrankfarbe'
2023-11-27 16:13:52,879 - services.stateFetch - DEBUG - fetch Beleuchtung Rechts
2023-11-27 16:13:52,879 - services.stateFetch - WARNING - Beleuchtung Rechts is unreachable: 'light.beleuchtung_rechts'
2023-11-27 16:13:52,879 - services.stateFetch - DEBUG - fetch Beleuchtung Links
2023-11-27 16:13:52,880 - services.stateFetch - WARNING - Beleuchtung Links is unreachable: 'light.beleuchtung_links'
2023-11-27 16:13:52,880 - services.stateFetch - DEBUG - fetch Küchendeckenlicht down
2023-11-27 16:13:52,880 - services.stateFetch - WARNING - Küchendeckenlicht down is unreachable: 'light.kuchendeckenlicht_down'
2023-11-27 16:13:52,881 - services.stateFetch - DEBUG - fetch Küchendeckenlicht up
2023-11-27 16:13:52,881 - services.stateFetch - WARNING - Küchendeckenlicht up is unreachable: 'light.kuchendeckenlicht_up'
2023-11-27 16:13:52,881 - services.stateFetch - DEBUG - fetch Nachtkastenlicht rechts
2023-11-27 16:13:52,882 - services.stateFetch - WARNING - Nachtkastenlicht rechts is unreachable: 'light.nachtkastenlicht_rechts'
2023-11-27 16:13:52,882 - services.stateFetch - DEBUG - fetch indirekte Küchenbeleuchtung
2023-11-27 16:13:52,885 - services.stateFetch - WARNING - indirekte Küchenbeleuchtung is unreachable: 'light.indirekte_kuchenbeleuchtung'
2023-11-27 16:13:52,885 - services.stateFetch - DEBUG - fetch Nachtkastenlicht links
2023-11-27 16:13:52,885 - services.stateFetch - WARNING - Nachtkastenlicht links is unreachable: 'light.nachtkastenlicht_links'
2023-11-27 16:13:52,886 - services.stateFetch - DEBUG - fetch Büro Spot 1
2023-11-27 16:13:52,886 - services.stateFetch - WARNING - Büro Spot 1 is unreachable: 'light.buro_spot_1'
2023-11-27 16:13:52,886 - services.stateFetch - DEBUG - fetch Büro Deckenlicht
2023-11-27 16:13:52,887 - services.stateFetch - WARNING - Büro Deckenlicht is unreachable: 'light.buro_deckenlicht'
2023-11-27 16:13:52,887 - services.stateFetch - DEBUG - fetch Büro Spot 3
2023-11-27 16:13:52,887 - services.stateFetch - WARNING - Büro Spot 3 is unreachable: 'light.buro_spot_3'
2023-11-27 16:13:52,887 - services.stateFetch - DEBUG - fetch Büro Spot 2
2023-11-27 16:13:52,888 - services.stateFetch - WARNING - Büro Spot 2 is unreachable: 'light.buro_spot_2'
2023-11-27 16:13:52,888 - services.stateFetch - DEBUG - fetch Büro Spot 4
2023-11-27 16:13:52,889 - services.stateFetch - WARNING - Büro Spot 4 is unreachable: 'light.buro_spot_4'
2023-11-27 16:13:52,889 - services.stateFetch - DEBUG - fetch Küchenspot 1
2023-11-27 16:13:52,889 - services.stateFetch - WARNING - Küchenspot 1 is unreachable: 'light.kuchenspot_1'
2023-11-27 16:13:52,889 - services.stateFetch - DEBUG - fetch Küchenspot 3
2023-11-27 16:13:52,890 - services.stateFetch - WARNING - Küchenspot 3 is unreachable: 'light.kuchenspot_3'
2023-11-27 16:13:52,890 - services.stateFetch - DEBUG - fetch Küchenspot 2
2023-11-27 16:13:52,891 - services.stateFetch - WARNING - Küchenspot 2 is unreachable: 'light.kuchenspot_2'
2023-11-27 16:13:52,891 - services.stateFetch - DEBUG - fetch Wohnzimmerlicht
2023-11-27 16:13:52,892 - services.stateFetch - WARNING - Wohnzimmerlicht is unreachable: 'light.wohnzimmerlicht'
2023-11-27 16:13:52,892 - services.stateFetch - DEBUG - fetch Wohnzimmerspot 1
2023-11-27 16:13:52,892 - services.stateFetch - WARNING - Wohnzimmerspot 1 is unreachable: 'light.wohnzimmerspot_1'
2023-11-27 16:13:52,892 - services.stateFetch - DEBUG - fetch Wohnzimmerspot 2
2023-11-27 16:13:52,893 - services.stateFetch - WARNING - Wohnzimmerspot 2 is unreachable: 'light.wohnzimmerspot_2'
2023-11-27 16:13:52,893 - services.stateFetch - DEBUG - fetch WC Deckenlicht
2023-11-27 16:13:52,894 - services.stateFetch - WARNING - WC Deckenlicht is unreachable: 'light.wc_deckenlicht'
2023-11-27 16:13:52,894 - services.stateFetch - DEBUG - fetch Gästezimmer Deckenlampe
2023-11-27 16:13:52,895 - werkzeug - INFO - 192.168.0.178 - - [27/Nov/2023 16:13:52] "GET /lights HTTP/1.1" 200 -
2023-11-27 16:13:52,895 - services.stateFetch - WARNING - Gästezimmer Deckenlampe is unreachable: 'light.gastezimmer_deckenlampe'
2023-11-27 16:13:52,895 - services.stateFetch - DEBUG - fetch Vorzimmerlicht
2023-11-27 16:13:52,896 - services.stateFetch - WARNING - Vorzimmerlicht is unreachable: 'light.vorzimmerlicht'
2023-11-27 16:13:52,896 - services.stateFetch - DEBUG - fetch Badezimmerdeckenlicht
2023-11-27 16:13:52,896 - services.stateFetch - WARNING - Badezimmerdeckenlicht is unreachable: 'light.badezimmerdeckenlicht'
2023-11-27 16:13:52,896 - services.stateFetch - DEBUG - fetch Ganglicht 2
2023-11-27 16:13:52,897 - services.stateFetch - WARNING - Ganglicht 2 is unreachable: 'light.ganglicht_2'
2023-11-27 16:13:52,897 - services.stateFetch - DEBUG - fetch Ganglicht 1
2023-11-27 16:13:52,897 - services.stateFetch - WARNING - Ganglicht 1 is unreachable: 'light.ganglicht_1'
2023-11-27 16:13:52,897 - services.stateFetch - DEBUG - fetch WC Spot 2
2023-11-27 16:13:52,898 - services.stateFetch - WARNING - WC Spot 2 is unreachable: 'light.wc_spot_2'
2023-11-27 16:13:52,898 - services.stateFetch - DEBUG - fetch WC Spot 1
2023-11-27 16:13:52,898 - services.stateFetch - WARNING - WC Spot 1 is unreachable: 'light.wc_spot_1'
2023-11-27 16:13:52,898 - services.stateFetch - DEBUG - fetch indirekte Barbeleuchtung

seems that there is a handshake error with HomeAssistant...

@NOTORIOUSVR
Copy link

Same issue here - a recent HA update broke this and diyhue needs to be updated to correct this.

Right now DIYHUE - HA is totally broken

@u20p17
Copy link

u20p17 commented Dec 13, 2023

yes, i agree! Would be nice if the author of the HomeAssistant -DIYHue communication could have a look at it and try to solve the issues. Not sure who did it? Maybe @mariusmotea or @maxbec know more here?

@mariusmotea
Copy link
Member

unfortunately my lights are added to homeassistant using hue integration and i don't have any lights in homeassistant to use the websocket integration.

'403' b'Forbidden' this complain about bad credentials.

@u20p17
Copy link

u20p17 commented Dec 13, 2023

@mariusmotea: understand. I have added all my zigbee lights via the zigbee2mqtt integration in DIYHue and some other lights via the homeassistant web socket communication. The mqtt ones look to be fine.

I now started the container again in debug mode and here is the log. Maybe this helps you to figure out the issue.

1.) the very first mqtt server error seems to be related to the startup of the DIYHue container - I guess this is no real issue due to the fact that the mqtt lights seem to work.
2.) Homeassistant_ws: "

TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'

". This seems to be the problem for me - HA seems to send None as Brightness if the light is off.

2023-12-13 15:30:50,347 - werkzeug - WARNING -  * Running on all addresses.
   WARNING: This is a development server. Do not use it in a production deployment.
2023-12-13 15:30:50,378 - werkzeug - WARNING -  * Running on all addresses.
   WARNING: This is a development server. Do not use it in a production deployment.
Exception in thread Thread-2 (mqttServer):
Traceback (most recent call last):
  File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.11/threading.py", line 975, in run
    self._target(*self._args, **self._kwargs)
  File "/opt/hue-emulator/services/mqtt.py", line 447, in mqttServer
    client.connect(bridgeConfig["config"]["mqtt"]["mqttServer"], bridgeConfig["config"]["mqtt"]["mqttPort"])
  File "/usr/local/lib/python3.11/dist-packages/paho/mqtt/client.py", line 914, in connect
    return self.reconnect()
           ^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/paho/mqtt/client.py", line 1044, in reconnect
    sock = self._create_socket_connection()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/paho/mqtt/client.py", line 3685, in _create_socket_connection
    return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/socket.py", line 851, in create_connection
    raise exceptions[0]
  File "/usr/lib/python3.11/socket.py", line 836, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host
2023-12-13 15:30:50,346 - services.eventStreamer - DEBUG - {'creationtime': '2023-12-13T15:30:50Z', 'data': [{'children': [{'rid': 'a6a420dd-4c5e-56d9-9f5e-11a0ebf30769', 'rtype': 'device'}, {'rid': 'e335fd42-ed0f-51d2-9f01-4ec7bdbbccbe', 'rtype': 'device'}], 'id': '5a35c486-f1bf-5cc6-9f72-df0ff0952d96', 'id_v1': '/groups/9', 'services': [{'rid': '0c8f86e4-814f-4af1-b2fd-2f9256791a4a', 'rtype': 'light'}, {'rid': 'dc5b88b3-c4e5-4866-91bd-5d72fd042ffa', 'rtype': 'light'}, {'rid': '26538436-4e12-48a6-ac30-7c959af22a0e', 'rtype': 'grouped_light'}], 'type': 'room'}], 'id': '934f828c-a659-4a16-95be-5ad69230aaa9', 'type': 'update'}
2023-12-13 15:30:50,346 - services.eventStreamer - DEBUG - {'creationtime': '2023-12-13T15:30:50Z', 'data': [{'children': [], 'grouped_services': [{'rid': '41017d08-a51c-461f-a0cb-8330d1457754', 'rtype': 'grouped_light'}], 'services': [{'rid': '41017d08-a51c-461f-a0cb-8330d1457754', 'rtype': 'grouped_light'}], 'id': '3ee167f8-45e7-58aa-9e84-9b2f4a821062', 'id_v1': '/groups/10', 'metadata': {'archetype': 'other', 'name': 'WC'}, 'type': 'room'}], 'id': '835cdfcd-bffa-47c7-bcb5-46ad4631336e', 'type': 'add'}
2023-12-13 15:30:50,346 - services.eventStreamer - DEBUG - {'creationtime': '2023-12-13T15:30:50Z', 'data': [{'alert': {'action_values': ['breathe']}, 'id': '41017d08-a51c-461f-a0cb-8330d1457754', 'id_v1': '/groups/10', 'on': {'on': False}, 'type': 'grouped_light'}], 'id': 'f93a5f05-646a-40d6-90d6-207d24d57e3b', 'type': 'add'}
2023-12-13 15:30:50,346 - services.eventStreamer - DEBUG - {'creationtime': '2023-12-13T15:30:50Z', 'data': [{'grouped_services': [{'rid': '41017d08-a51c-461f-a0cb-8330d1457754', 'rtype': 'grouped_light'}], 'id': '3ee167f8-45e7-58aa-9e84-9b2f4a821062', 'id_v1': '/groups/10', 'type': 'room'}], 'id': '84106377-dc60-4d24-9b1c-c93ee9222bdd', 'type': 'update'}
2023-12-13 15:30:50,346 - services.eventStreamer - DEBUG - {'creationtime': '2023-12-13T15:30:50Z', 'data': [{'children': [{'rid': 'ab90c674-1e91-5d26-9adf-1dc3597ac3f1', 'rtype': 'device'}], 'id': '3ee167f8-45e7-58aa-9e84-9b2f4a821062', 'id_v1': '/groups/10', 'services': [{'rid': '4ced2598-e52b-4939-8e6c-7db84db31cc1', 'rtype': 'light'}, {'rid': '41017d08-a51c-461f-a0cb-8330d1457754', 'rtype': 'grouped_light'}], 'type': 'room'}], 'id': '0a86c56b-caa5-4f28-9f76-95ccaa4a7b78', 'type': 'update'}
2023-12-13 15:30:50,346 - services.eventStreamer - DEBUG - {'creationtime': '2023-12-13T15:30:50Z', 'data': [{'alert': {'action_values': ['breathe']}, 'id': '41017d08-a51c-461f-a0cb-8330d1457754', 'id_v1': '/groups/10', 'on': {'on': False}, 'type': 'grouped_light'}], 'id': '2a46501d-f595-4448-8e4f-99261b9d005d', 'type': 'add'}
2023-12-13 15:30:50,346 - services.eventStreamer - DEBUG - {'creationtime': '2023-12-13T15:30:50Z', 'data': [{'grouped_services': [{'rid': '41017d08-a51c-461f-a0cb-8330d1457754', 'rtype': 'grouped_light'}], 'id': '3ee167f8-45e7-58aa-9e84-9b2f4a821062', 'id_v1': '/groups/10', 'type': 'room'}], 'id': 'c5f230ed-7d5f-416a-8a70-91088cecaba3', 'type': 'update'}
2023-12-13 15:30:50,346 - services.eventStreamer - DEBUG - {'creationtime': '2023-12-13T15:30:50Z', 'data': [{'children': [{'rid': 'ab90c674-1e91-5d26-9adf-1dc3597ac3f1', 'rtype': 'device'}, {'rid': 'cd281213-28d2-5d3e-a4e4-dbffed9104c0', 'rtype': 'device'}], 'id': '3ee167f8-45e7-58aa-9e84-9b2f4a821062', 'id_v1': '/groups/10', 'services': [{'rid': '4ced2598-e52b-4939-8e6c-7db84db31cc1', 'rtype': 'light'}, {'rid': '70cb4648-7737-4124-8770-a58efe1d670b', 'rtype': 'light'}, {'rid': '41017d08-a51c-461f-a0cb-8330d1457754', 'rtype': 'grouped_light'}], 'type': 'room'}], 'id': '6fbf2492-c20d-48d2-a2ce-75c01ee4f19c', 'type': 'update'}
2023-12-13 15:30:50,346 - services.eventStreamer - DEBUG - {'creationtime': '2023-12-13T15:30:50Z', 'data': [{'alert': {'action_values': ['breathe']}, 'id': '41017d08-a51c-461f-a0cb-8330d1457754', 'id_v1': '/groups/10', 'on': {'on': False}, 'type': 'grouped_light'}], 'id': 'c0308042-2989-45b1-892a-6ec183c9e123', 'type': 'add'}
2023-12-13 15:30:50,346 - services.eventStreamer - DEBUG - {'creationtime': '2023-12-13T15:30:50Z', 'data': [{'grouped_services': [{'rid': '41017d08-a51c-461f-a0cb-8330d1457754', 'rtype': 'grouped_light'}], 'id': '3ee167f8-45e7-58aa-9e84-9b2f4a821062', 'id_v1': '/groups/10', 'type': 'room'}], 'id': '27ddb292-4f77-41a1-b175-494446231ba6', 'type': 'update'}
2023-12-13 15:30:50,346 - services.eventStreamer - DEBUG - {'creationtime': '2023-12-13T15:30:50Z', 'data': [{'children': [{'rid': 'ab90c674-1e91-5d26-9adf-1dc3597ac3f1', 'rtype': 'device'}, {'rid': 'cd281213-28d2-5d3e-a4e4-dbffed9104c0', 'rtype': 'device'}, {'rid': '25b48704-7458-5c1b-89b4-45e6b050289d', 'rtype': 'device'}], 'id': '3ee167f8-45e7-58aa-9e84-9b2f4a821062', 'id_v1': '/groups/10', 'services': [{'rid': '4ced2598-e52b-4939-8e6c-7db84db31cc1', 'rtype': 'light'}, {'rid': '70cb4648-7737-4124-8770-a58efe1d670b', 'rtype': 'light'}, {'rid': '9af9f5f3-b9e2-45bb-b71f-b7828b0831f2', 'rtype': 'light'}, {'rid': '41017d08-a51c-461f-a0cb-8330d1457754', 'rtype': 'grouped_light'}], 'type': 'room'}], 'id': '55ce6061-60b5-4e54-8ebb-a8866005e131', 'type': 'update'}
2023-12-13 15:30:50,346 - services.eventStreamer - DEBUG - {'creationtime': '2023-12-13T15:30:50Z', 'data': [{'children': [], 'grouped_services': [{'rid': 'd3628c2a-7245-4223-a4b9-fcf7cc08f614', 'rtype': 'grouped_light'}], 'services': [{'rid': 'd3628c2a-7245-4223-a4b9-fcf7cc08f614', 'rtype': 'grouped_light'}], 'id': 'b6fb90c5-8960-5902-9cc5-aa962b38b808', 'id_v1': '/groups/11', 'metadata': {'archetype': 'other', 'name': 'Abstellraum'}, 'type': 'room'}], 'id': 'da52a12f-de8b-46c4-96db-bc393fb7ed83', 'type': 'add'}
2023-12-13 15:30:50,346 - services.eventStreamer - DEBUG - {'creationtime': '2023-12-13T15:30:50Z', 'data': [{'alert': {'action_values': ['breathe']}, 'id': 'd3628c2a-7245-4223-a4b9-fcf7cc08f614', 'id_v1': '/groups/11', 'on': {'on': False}, 'type': 'grouped_light'}], 'id': 'e71abc41-062a-4cf8-aeed-f7fcd5e532f6', 'type': 'add'}
2023-12-13 15:30:50,346 - services.eventStreamer - DEBUG - {'creationtime': '2023-12-13T15:30:50Z', 'data': [{'grouped_services': [{'rid': 'd3628c2a-7245-4223-a4b9-fcf7cc08f614', 'rtype': 'grouped_light'}], 'id': 'b6fb90c5-8960-5902-9cc5-aa962b38b808', 'id_v1': '/groups/11', 'type': 'room'}], 'id': '6890cab6-6a1a-49d6-bff0-d8c6f9a4e37a', 'type': 'update'}
2023-12-13 15:30:50,346 - services.eventStreamer - DEBUG - {'creationtime': '2023-12-13T15:30:50Z', 'data': [{'children': [{'rid': '5b647174-33f0-539f-812a-5159ecdf9f44', 'rtype': 'device'}], 'id': 'b6fb90c5-8960-5902-9cc5-aa962b38b808', 'id_v1': '/groups/11', 'services': [{'rid': '19bcb982-4434-4e47-b40b-9137bc95a26a', 'rtype': 'light'}, {'rid': 'd3628c2a-7245-4223-a4b9-fcf7cc08f614', 'rtype': 'grouped_light'}], 'type': 'room'}], 'id': '0e56e353-fd6b-43f4-ba56-c6606b0d76bf', 'type': 'update'}
2023-12-13 15:30:50,346 - services.eventStreamer - DEBUG - {'creationtime': '2023-12-13T15:30:50Z', 'data': [{'id': '9173e7e8-2c93-4915-9a5d-dffa18d7f285', 'type': 'device', 'id_v1': '/sensors/2', 'identify': {}, 'metadata': {'archetype': 'unknown_archetype', 'name': 'Hue motion Hue motion sensor 1'}, 'product_data': {'certified': True, 'manufacturer_name': 'Signify Netherlands B.V.', 'model_id': 'SML001', 'product_archetype': 'unknown_archetype', 'product_name': 'Hue motion sensor', 'software_version': '1.1.27575'}, 'services': [{'rid': 'e40ef7dc-185e-5757-ba45-6fd0064d6ddd', 'rtype': 'motion'}, {'rid': 'd5a905a7-26e1-5b9d-9f87-b0f1f1d460c4', 'rtype': 'device_power'}, {'rid': '5f92a827-eb05-533f-b09c-1ce207a4cfb6', 'rtype': 'zigbee_connectivity'}, {'rid': 'b30c2afe-46e1-52f3-8b3e-804a4fc9256d', 'rtype': 'light_level'}, {'rid': 'eb6e3f6e-27c8-5457-a028-ad4f950dd0e9', 'rtype': 'temperature'}]}], 'id': '61a57753-7fb0-4563-a05d-7d6af3b1357c', 'type': 'add'}
2023-12-13 15:30:50,346 - services.eventStreamer - DEBUG - {'creationtime': '2023-12-13T15:30:50Z', 'data': [{'id': 'f7f80512-97eb-4b60-a947-4b1badd75c9c', 'type': 'device', 'id_v1': '/sensors/5', 'product_data': {'model_id': 'RWL022', 'manufacturer_name': 'Signify Netherlands B.V.', 'product_name': 'Hue dimmer switch', 'product_archetype': 'unknown_archetype', 'certified': True, 'software_version': '2.44.0', 'hardware_platform_type': '100b-119'}, 'metadata': {'archetype': 'unknown_archetype', 'name': 'Hue Dimmer'}, 'services': [{'rid': 'eca78553-7b1c-5079-bcfa-e9efa893326d', 'rtype': 'button'}, {'rid': '57e8270f-43c8-504b-949c-eb1ad920fc88', 'rtype': 'button'}, {'rid': '049956c1-ed97-5372-861a-cd1a4da2ba83', 'rtype': 'button'}, {'rid': 'f72b6aca-e457-564d-9a7c-5db97867e033', 'rtype': 'button'}, {'rid': 'cc0219a6-a567-5ade-b092-215f89a0585d', 'rtype': 'device_power'}, {'rid': 'f2b7d425-bd2d-55f3-b6dd-0ff2529a9f80', 'rtype': 'zigbee_connectivity'}]}], 'id': 'ead93a8b-51e2-4054-94b0-658b2eb09a0b', 'type': 'add'}
2023-12-13 15:30:50,346 - services.eventStreamer - DEBUG - {'creationtime': '2023-12-13T15:30:50Z', 'data': [{'id': 'a695c91c-8c51-493d-9850-2df76a81abe6', 'type': 'device', 'id_v1': '/sensors/6', 'product_data': {'model_id': 'RWL022', 'manufacturer_name': 'Signify Netherlands B.V.', 'product_name': 'Hue dimmer switch', 'product_archetype': 'unknown_archetype', 'certified': True, 'software_version': '2.44.0', 'hardware_platform_type': '100b-119'}, 'metadata': {'archetype': 'unknown_archetype', 'name': 'Balkon_Fernbedienung'}, 'services': [{'rid': 'e7cf2f4c-7346-5ef2-bac1-cffea9ab1a0e', 'rtype': 'button'}, {'rid': '23202a77-8745-586b-83be-7515f4dc76d9', 'rtype': 'button'}, {'rid': '0cccdd0a-a240-50d8-a66e-4bc5b5abfdd2', 'rtype': 'button'}, {'rid': '31bde3c7-0b8a-5395-ac8a-01391167287d', 'rtype': 'button'}, {'rid': '3ce68b6a-ce51-556d-b2b2-2b3c8858e14f', 'rtype': 'device_power'}, {'rid': '67f14a1a-e0f0-5461-a291-fbb3ed3b08fd', 'rtype': 'zigbee_connectivity'}]}], 'id': 'f92a49cf-bb58-495e-8531-4c9fbe49d8d8', 'type': 'add'}
 * 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
2023-12-13 15:30:50,352 - werkzeug - INFO -  * Running on http://192.168.0.4:80/ (Press CTRL+C to quit)
2023-12-13 15:30:50,403 - services.homeAssistantWS - INFO - Found light.licht_abstellraum
2023-12-13 15:30:50,403 - services.homeAssistantWS - INFO - Found light.plug_weihnachtsbeleuchtung
2023-12-13 15:30:50,403 - services.homeAssistantWS - INFO - Found light.schlafzimmer_deckenlicht
2023-12-13 15:30:50,403 - services.homeAssistantWS - INFO - Found light.kuchendeckenlicht_down
2023-12-13 15:30:50,403 - services.homeAssistantWS - INFO - Found light.kuchendeckenlicht_up
2023-12-13 15:30:50,403 - services.homeAssistantWS - INFO - Found light.nachtkastenlicht_rechts
2023-12-13 15:30:50,403 - services.homeAssistantWS - INFO - Found light.indirekte_kuchenbeleuchtung
2023-12-13 15:30:50,403 - services.homeAssistantWS - INFO - Found light.nachtkastenlicht_links
2023-12-13 15:30:50,403 - services.homeAssistantWS - INFO - Found light.buro_spot_1
2023-12-13 15:30:50,403 - services.homeAssistantWS - INFO - Found light.buro_deckenlicht
2023-12-13 15:30:50,404 - services.homeAssistantWS - INFO - Found light.buro_spot_3
2023-12-13 15:30:50,404 - services.homeAssistantWS - INFO - Found light.buro_spot_2
2023-12-13 15:30:50,404 - services.homeAssistantWS - INFO - Found light.buro_spot_4
2023-12-13 15:30:50,404 - services.homeAssistantWS - INFO - Found light.kuchenspot_1
2023-12-13 15:30:50,404 - services.homeAssistantWS - INFO - Found light.kuchenspot_3
2023-12-13 15:30:50,404 - services.homeAssistantWS - INFO - Found light.kuchenspot_2
2023-12-13 15:30:50,404 - services.homeAssistantWS - INFO - Found light.wohnzimmerlicht
2023-12-13 15:30:50,404 - services.homeAssistantWS - INFO - Found light.wohnzimmerspot_1
2023-12-13 15:30:50,404 - services.homeAssistantWS - INFO - Found light.wohnzimmerspot_2
2023-12-13 15:30:50,404 - services.homeAssistantWS - INFO - Found light.wc_deckenlicht
2023-12-13 15:30:50,404 - services.homeAssistantWS - INFO - Found light.gastezimmer_deckenlampe
2023-12-13 15:30:50,404 - services.homeAssistantWS - INFO - Found light.vorzimmerlicht
2023-12-13 15:30:50,404 - services.homeAssistantWS - INFO - Found light.badezimmerdeckenlicht
2023-12-13 15:30:50,404 - services.homeAssistantWS - INFO - Found light.ganglicht_2
2023-12-13 15:30:50,404 - services.homeAssistantWS - INFO - Found light.ganglicht_1
2023-12-13 15:30:50,404 - services.homeAssistantWS - INFO - Found light.wc_spot_2
2023-12-13 15:30:50,404 - services.homeAssistantWS - INFO - Found light.wc_spot_1
2023-12-13 15:30:50,404 - services.homeAssistantWS - INFO - Found light.indirekte_barbeleuchtung
2023-12-13 15:30:50,404 - services.homeAssistantWS - INFO - Found light.indirekte_lowboardbeleuchtung
2023-12-13 15:30:50,404 - services.homeAssistantWS - INFO - Found light.balkonlicht_lounge
2023-12-13 15:30:50,404 - services.homeAssistantWS - INFO - Found light.balkonlicht_buro
2023-12-13 15:30:50,404 - services.homeAssistantWS - INFO - Found light.spiegelschranklicht
2023-12-13 15:30:50,404 - services.homeAssistantWS - INFO - Found light.spiegelschrankfarbe
2023-12-13 15:30:50,404 - services.homeAssistantWS - INFO - Found light.spiegelschrank_channel_3
2023-12-13 15:30:50,404 - services.homeAssistantWS - INFO - Found light.spiegelschrank_channel_4
2023-12-13 15:30:50,404 - services.homeAssistantWS - INFO - Found light.55oled936_12_ambilight
2023-12-13 15:30:50,404 - services.homeAssistantWS - INFO - Found light.weihnachtsbaumbeleuchtung
2023-12-13 15:30:50,404 - services.homeAssistantWS - INFO - Found light.beleuchtung_rechts
2023-12-13 15:30:50,404 - services.homeAssistantWS - INFO - Found light.beleuchtung_links
2023-12-13 15:30:50,405 - werkzeug - INFO -  * Running on https://192.168.0.4:443/ (Press CTRL+C to quit)
2023-12-13 15:30:53,651 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:30:53] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:31:28,985 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:28] "GET / HTTP/1.1" 200 -
2023-12-13 15:31:29,061 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:29] "GET /static/js/main.488007ee.js HTTP/1.1" 304 -
2023-12-13 15:31:29,070 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:29] "GET /static/css/main.fb383ca3.css HTTP/1.1" 304 -
2023-12-13 15:31:29,131 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:29] "GET /static/media/background.db8a83c2c9e7ce4d1cc5.jpg HTTP/1.1" 304 -
2023-12-13 15:31:29,162 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:29] "GET /static/js/205.ddbf6a92.chunk.js HTTP/1.1" 304 -
2023-12-13 15:31:29,166 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:29] "GET /get-key HTTP/1.1" 200 -
2023-12-13 15:31:29,167 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:29] "GET /static/js/815.ee48bd60.chunk.js HTTP/1.1" 304 -
2023-12-13 15:31:29,167 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:29] "GET /static/js/408.14fb3eb3.chunk.js HTTP/1.1" 304 -
2023-12-13 15:31:29,177 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:29] "GET /static/js/519.71a32b72.chunk.js HTTP/1.1" 304 -
2023-12-13 15:31:29,190 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:29] "GET /static/media/logo.bd3b4e90d91f778081476ad0d68050fe.svg HTTP/1.1" 304 -
2023-12-13 15:31:29,223 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:29] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:31:29,295 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:29] "GET /favicon.ico HTTP/1.1" 200 -
[2023-12-13 15:31:29,294] ERROR in app: Exception on /api/6fee18b47d8f11eea09048210b26395a [GET]
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 1516, in full_dispatch_request
    rv = self.dispatch_request()
         ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 1502, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask_restful/__init__.py", line 467, in wrapper
    resp = resource(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask/views.py", line 84, in view
    return current_app.ensure_sync(self.dispatch_request)(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask_restful/__init__.py", line 582, in dispatch_request
    resp = meth(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hue-emulator/flaskUI/restful.py", line 116, in get
    result[resource][resource_id] = bridgeConfig[resource][resource_id].getV1Api(
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hue-emulator/HueObjects/__init__.py", line 360, in getV1Api
    result["state"]["bri"] = int(self.state["bri"])
                             ^^^^^^^^^^^^^^^^^^^^^^
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
2023-12-13 15:31:29,297 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:29] "GET /api/6fee18b47d8f11eea09048210b26395a HTTP/1.1" 500 -
2023-12-13 15:31:30,341 - services.stateFetch - INFO - start lights sync
2023-12-13 15:31:30,341 - services.stateFetch - DEBUG - fetch Licht Abstellraum
2023-12-13 15:31:30,341 - services.stateFetch - WARNING - 55OLED936/12 Ambilight is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:31:30,341 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:31:30,341 - services.stateFetch - DEBUG - fetch Plug_Weihnachtsbeleuchtung
2023-12-13 15:31:30,341 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:31:30,341 - services.stateFetch - DEBUG - fetch 55OLED936/12 Ambilight
2023-12-13 15:31:30,341 - services.stateFetch - DEBUG - fetch Spiegelschranklicht
2023-12-13 15:31:30,341 - services.stateFetch - DEBUG - {'on': False, 'bri': None, 'alert': 'none', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:31:30,341 - services.stateFetch - DEBUG - fetch Schlafzimmer Deckenlicht
2023-12-13 15:31:30,341 - services.stateFetch - WARNING - Schlafzimmer Deckenlicht is unreachable: 'NoneType' object is not subscriptable
[2023-12-13 15:31:31,321] ERROR in app: Exception on /api/6fee18b47d8f11eea09048210b26395a [GET]
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 1516, in full_dispatch_request
    rv = self.dispatch_request()
         ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 1502, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask_restful/__init__.py", line 467, in wrapper
    resp = resource(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask/views.py", line 84, in view
    return current_app.ensure_sync(self.dispatch_request)(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask_restful/__init__.py", line 582, in dispatch_request
    resp = meth(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hue-emulator/flaskUI/restful.py", line 116, in get
    result[resource][resource_id] = bridgeConfig[resource][resource_id].getV1Api(
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hue-emulator/HueObjects/__init__.py", line 360, in getV1Api
    result["state"]["bri"] = int(self.state["bri"])
                             ^^^^^^^^^^^^^^^^^^^^^^
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
2023-12-13 15:31:31,322 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:31] "GET /api/6fee18b47d8f11eea09048210b26395a HTTP/1.1" 500 -
[2023-12-13 15:31:33,309] ERROR in app: Exception on /api/6fee18b47d8f11eea09048210b26395a [GET]
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 1516, in full_dispatch_request
    rv = self.dispatch_request()
         ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 1502, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask_restful/__init__.py", line 467, in wrapper
    resp = resource(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask/views.py", line 84, in view
    return current_app.ensure_sync(self.dispatch_request)(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask_restful/__init__.py", line 582, in dispatch_request
    resp = meth(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hue-emulator/flaskUI/restful.py", line 116, in get
    result[resource][resource_id] = bridgeConfig[resource][resource_id].getV1Api(
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hue-emulator/HueObjects/__init__.py", line 360, in getV1Api
    result["state"]["bri"] = int(self.state["bri"])
                             ^^^^^^^^^^^^^^^^^^^^^^
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
2023-12-13 15:31:33,309 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:33] "GET /api/6fee18b47d8f11eea09048210b26395a HTTP/1.1" 500 -
2023-12-13 15:31:34,242 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:34] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
[2023-12-13 15:31:35,313] ERROR in app: Exception on /api/6fee18b47d8f11eea09048210b26395a [GET]
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 1516, in full_dispatch_request
    rv = self.dispatch_request()
         ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 1502, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask_restful/__init__.py", line 467, in wrapper
    resp = resource(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask/views.py", line 84, in view
    return current_app.ensure_sync(self.dispatch_request)(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask_restful/__init__.py", line 582, in dispatch_request
    resp = meth(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hue-emulator/flaskUI/restful.py", line 116, in get
    result[resource][resource_id] = bridgeConfig[resource][resource_id].getV1Api(
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hue-emulator/HueObjects/__init__.py", line 360, in getV1Api
    result["state"]["bri"] = int(self.state["bri"])
                             ^^^^^^^^^^^^^^^^^^^^^^
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
2023-12-13 15:31:35,314 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:35] "GET /api/6fee18b47d8f11eea09048210b26395a HTTP/1.1" 500 -
[2023-12-13 15:31:37,301] ERROR in app: Exception on /api/6fee18b47d8f11eea09048210b26395a [GET]
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 1516, in full_dispatch_request
    rv = self.dispatch_request()
         ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 1502, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask_restful/__init__.py", line 467, in wrapper
    resp = resource(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask/views.py", line 84, in view
    return current_app.ensure_sync(self.dispatch_request)(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask_restful/__init__.py", line 582, in dispatch_request
    resp = meth(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hue-emulator/flaskUI/restful.py", line 116, in get
    result[resource][resource_id] = bridgeConfig[resource][resource_id].getV1Api(
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hue-emulator/HueObjects/__init__.py", line 360, in getV1Api
    result["state"]["bri"] = int(self.state["bri"])
                             ^^^^^^^^^^^^^^^^^^^^^^
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
2023-12-13 15:31:37,301 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:37] "GET /api/6fee18b47d8f11eea09048210b26395a HTTP/1.1" 500 -
2023-12-13 15:31:39,228 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:39] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
[2023-12-13 15:31:39,302] ERROR in app: Exception on /api/6fee18b47d8f11eea09048210b26395a [GET]
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 1516, in full_dispatch_request
    rv = self.dispatch_request()
         ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 1502, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask_restful/__init__.py", line 467, in wrapper
    resp = resource(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask/views.py", line 84, in view
    return current_app.ensure_sync(self.dispatch_request)(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask_restful/__init__.py", line 582, in dispatch_request
    resp = meth(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hue-emulator/flaskUI/restful.py", line 116, in get
    result[resource][resource_id] = bridgeConfig[resource][resource_id].getV1Api(
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hue-emulator/HueObjects/__init__.py", line 360, in getV1Api
    result["state"]["bri"] = int(self.state["bri"])
                             ^^^^^^^^^^^^^^^^^^^^^^
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
2023-12-13 15:31:39,302 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:39] "GET /api/6fee18b47d8f11eea09048210b26395a HTTP/1.1" 500 -
2023-12-13 15:31:40,971 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:40] "GET /static/js/922.5833cf60.chunk.js HTTP/1.1" 304 -
2023-12-13 15:31:40,973 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:40] "GET /static/js/499.18fe6983.chunk.js HTTP/1.1" 304 -
2023-12-13 15:31:40,974 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:40] "GET /static/js/81.5ada9479.chunk.js HTTP/1.1" 304 -
2023-12-13 15:31:40,974 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:40] "GET /static/css/81.a24bb422.chunk.css HTTP/1.1" 304 -
2023-12-13 15:31:40,981 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:40] "GET /favicon.ico HTTP/1.1" 200 -
2023-12-13 15:31:41,044 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:41] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:31:41,044 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:41] "GET /light-types HTTP/1.1" 200 -
2023-12-13 15:31:41,342 - services.stateFetch - INFO - start lights sync
2023-12-13 15:31:41,342 - services.stateFetch - DEBUG - fetch Licht Abstellraum
2023-12-13 15:31:41,342 - services.stateFetch - WARNING - 55OLED936/12 Ambilight is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:31:41,342 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:31:41,342 - services.stateFetch - DEBUG - fetch Plug_Weihnachtsbeleuchtung
2023-12-13 15:31:41,342 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:31:41,342 - services.stateFetch - DEBUG - fetch 55OLED936/12 Ambilight
2023-12-13 15:31:41,342 - services.stateFetch - DEBUG - fetch Spiegelschranklicht
2023-12-13 15:31:41,342 - services.stateFetch - DEBUG - {'on': False, 'bri': None, 'alert': 'none', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:31:41,342 - services.stateFetch - WARNING - Schlafzimmer Deckenlicht is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:31:41,342 - services.stateFetch - DEBUG - fetch Schlafzimmer Deckenlicht
2023-12-13 15:31:43,048 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:43] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:31:44,241 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:44] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:31:45,064 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:45] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:31:47,058 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:47] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:31:49,056 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:49] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:31:49,243 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:49] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:31:51,059 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:51] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:31:53,642 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:53] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:31:53,678 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.7
2023-12-13 15:31:54,078 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.7
2023-12-13 15:31:54,657 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:54] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:31:54,722 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:54] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:31:54,778 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.7
2023-12-13 15:31:55,579 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.7
2023-12-13 15:31:55,661 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:55] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:31:56,343 - services.stateFetch - INFO - start lights sync
2023-12-13 15:31:56,343 - services.stateFetch - DEBUG - fetch Licht Abstellraum
2023-12-13 15:31:56,343 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:31:56,343 - services.stateFetch - DEBUG - fetch Plug_Weihnachtsbeleuchtung
2023-12-13 15:31:56,343 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}2023-12-13 15:31:56,343 - services.stateFetch - WARNING - 55OLED936/12 Ambilight is unreachable: 'NoneType' object is not subscriptable

2023-12-13 15:31:56,343 - services.stateFetch - DEBUG - fetch 55OLED936/12 Ambilight
2023-12-13 15:31:56,343 - services.stateFetch - DEBUG - fetch Spiegelschranklicht
2023-12-13 15:31:56,344 - services.stateFetch - DEBUG - {'on': False, 'bri': None, 'alert': 'none', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:31:56,344 - services.stateFetch - DEBUG - fetch Schlafzimmer Deckenlicht
2023-12-13 15:31:56,344 - services.stateFetch - WARNING - Schlafzimmer Deckenlicht is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:31:56,679 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.7
2023-12-13 15:31:57,653 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:57] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:31:59,655 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:59] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:31:59,656 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:31:59] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:32:01,646 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:32:01] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:32:03,656 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:32:03] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:32:04,665 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:32:04] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:32:05,647 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:32:05] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:32:07,661 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:32:07] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:32:09,660 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:32:09] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:32:09,660 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:32:09] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:32:11,345 - services.stateFetch - WARNING - 55OLED936/12 Ambilight is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:32:11,345 - services.stateFetch - INFO - start lights sync
2023-12-13 15:32:11,345 - services.stateFetch - WARNING - Schlafzimmer Deckenlicht is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:32:11,345 - services.stateFetch - DEBUG - fetch Licht Abstellraum
2023-12-13 15:32:11,345 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:32:11,345 - services.stateFetch - DEBUG - fetch Plug_Weihnachtsbeleuchtung
2023-12-13 15:32:11,345 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:32:11,345 - services.stateFetch - DEBUG - fetch 55OLED936/12 Ambilight
2023-12-13 15:32:11,345 - services.stateFetch - DEBUG - fetch Spiegelschranklicht
2023-12-13 15:32:11,345 - services.stateFetch - DEBUG - {'on': False, 'bri': None, 'alert': 'none', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:32:11,345 - services.stateFetch - DEBUG - fetch Schlafzimmer Deckenlicht
2023-12-13 15:32:11,654 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:32:11] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:32:13,661 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:32:13] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:32:14,657 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:32:14] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:32:15,646 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:32:15] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:32:17,646 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:32:17] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:32:19,651 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:32:19] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:32:19,651 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:32:19] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:32:21,660 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:32:21] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:32:23,648 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:32:23] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:32:24,659 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:32:24] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:32:25,656 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:32:25] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:32:26,347 - services.stateFetch - WARNING - 55OLED936/12 Ambilight is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:32:26,347 - services.stateFetch - WARNING - Schlafzimmer Deckenlicht is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:32:26,346 - services.stateFetch - INFO - start lights sync
2023-12-13 15:32:26,347 - services.stateFetch - DEBUG - fetch Licht Abstellraum
2023-12-13 15:32:26,347 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:32:26,347 - services.stateFetch - DEBUG - fetch Plug_Weihnachtsbeleuchtung
2023-12-13 15:32:26,347 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:32:26,347 - services.stateFetch - DEBUG - fetch 55OLED936/12 Ambilight
2023-12-13 15:32:26,347 - services.stateFetch - DEBUG - fetch Spiegelschranklicht
2023-12-13 15:32:26,347 - services.stateFetch - DEBUG - {'on': False, 'bri': None, 'alert': 'none', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:32:26,347 - services.stateFetch - DEBUG - fetch Schlafzimmer Deckenlicht
2023-12-13 15:32:27,653 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:32:27] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:32:29,647 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:32:29] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:32:29,647 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:32:29] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:32:31,652 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:32:31] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:32:32,953 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.178
2023-12-13 15:32:33,654 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:32:33] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:32:33,754 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.178
2023-12-13 15:32:34,354 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.178
2023-12-13 15:32:34,654 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.178
2023-12-13 15:32:34,656 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:32:34] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:32:35,355 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.178
2023-12-13 15:32:35,654 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:32:35] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:32:35,655 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.178
2023-12-13 15:32:36,555 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.178
2023-12-13 15:32:37,356 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.178
2023-12-13 15:32:37,657 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:32:37] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:32:39,659 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:32:39] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:32:39,660 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:32:39] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:32:41,348 - services.stateFetch - INFO - start lights sync
2023-12-13 15:32:41,348 - services.stateFetch - DEBUG - fetch Licht Abstellraum
2023-12-13 15:32:41,348 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:32:41,348 - services.stateFetch - DEBUG - fetch Plug_Weihnachtsbeleuchtung
2023-12-13 15:32:41,348 - services.stateFetch - WARNING - 55OLED936/12 Ambilight is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:32:41,348 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:32:41,348 - services.stateFetch - WARNING - Schlafzimmer Deckenlicht is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:32:41,348 - services.stateFetch - DEBUG - fetch 55OLED936/12 Ambilight
2023-12-13 15:32:41,348 - services.stateFetch - DEBUG - fetch Spiegelschranklicht
2023-12-13 15:32:41,348 - services.stateFetch - DEBUG - {'on': False, 'bri': None, 'alert': 'none', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:32:41,348 - services.stateFetch - DEBUG - fetch Schlafzimmer Deckenlicht
2023-12-13 15:32:41,644 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:32:41] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:32:43,627 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.7
2023-12-13 15:32:43,648 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:32:43] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:32:44,127 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.7
2023-12-13 15:32:44,664 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:32:44] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:32:45,028 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.7
2023-12-13 15:32:45,655 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:32:45] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:32:46,128 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.7
2023-12-13 15:32:47,648 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:32:47] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:32:49,676 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:32:49] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:32:49,676 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:32:49] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:32:51,659 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:32:51] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:32:55,650 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:32:55] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:32:55,651 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:32:55] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:32:55,723 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:32:55] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:32:57,350 - services.stateFetch - WARNING - 55OLED936/12 Ambilight is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:32:57,350 - services.stateFetch - WARNING - Schlafzimmer Deckenlicht is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:32:57,350 - services.stateFetch - INFO - start lights sync
2023-12-13 15:32:57,350 - services.stateFetch - DEBUG - fetch Licht Abstellraum
2023-12-13 15:32:57,350 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:32:57,350 - services.stateFetch - DEBUG - fetch Plug_Weihnachtsbeleuchtung
2023-12-13 15:32:57,350 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:32:57,350 - services.stateFetch - DEBUG - fetch 55OLED936/12 Ambilight
2023-12-13 15:32:57,350 - services.stateFetch - DEBUG - fetch Spiegelschranklicht
2023-12-13 15:32:57,350 - services.stateFetch - DEBUG - {'on': False, 'bri': None, 'alert': 'none', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:32:57,350 - services.stateFetch - DEBUG - fetch Schlafzimmer Deckenlicht
2023-12-13 15:33:55,671 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:33:55] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:33:55,672 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:33:55] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:33:55,721 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:33:55] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:33:57,361 - services.stateFetch - INFO - start lights sync
2023-12-13 15:33:57,361 - services.stateFetch - DEBUG - fetch Licht Abstellraum
2023-12-13 15:33:57,361 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:33:57,361 - services.stateFetch - WARNING - 55OLED936/12 Ambilight is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:33:57,361 - services.stateFetch - DEBUG - fetch Plug_Weihnachtsbeleuchtung
2023-12-13 15:33:57,361 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:33:57,361 - services.stateFetch - DEBUG - fetch 55OLED936/12 Ambilight
2023-12-13 15:33:57,361 - services.stateFetch - DEBUG - fetch Spiegelschranklicht
2023-12-13 15:33:57,361 - services.stateFetch - DEBUG - {'on': False, 'bri': None, 'alert': 'none', 'mode': 'homeautomation', 'reachable': True}2023-12-13 15:33:57,361 - services.stateFetch - WARNING - Schlafzimmer Deckenlicht is unreachable: 'NoneType' object is not subscriptable

2023-12-13 15:33:57,361 - services.stateFetch - DEBUG - fetch Schlafzimmer Deckenlicht
2023-12-13 15:34:12,529 - services.homeAssistantWS - DEBUG - State update recevied for light.beleuchtung_rechts, new state {'entity_id': 'light.beleuchtung_rechts', 'state': 'unavailable', 'attributes': {'effect_list': ['0 Snow', '1 1'], 'supported_color_modes': ['rgbw'], 'icon': 'mdi:string-lights', 'friendly_name': 'Beleuchtung Rechts', 'supported_features': 4}, 'last_changed': '2023-12-13T15:34:12.518455+00:00', 'last_updated': '2023-12-13T15:34:12.518455+00:00', 'context': {'id': '01HHHX0TS6N7TEK3997ZY3PK73', 'parent_id': None, 'user_id': None}}
2023-12-13 15:34:32,969 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.178
2023-12-13 15:34:34,069 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.178
2023-12-13 15:34:34,670 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.178
2023-12-13 15:34:35,070 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.178
2023-12-13 15:34:35,770 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.178
2023-12-13 15:34:36,670 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.178
2023-12-13 15:34:37,671 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.178
2023-12-13 15:34:38,471 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.178
2023-12-13 15:34:39,757 - services.homeAssistantWS - DEBUG - State update recevied for light.beleuchtung_rechts, new state {'entity_id': 'light.beleuchtung_rechts', 'state': 'off', 'attributes': {'effect_list': ['0 Snow', '1 1'], 'supported_color_modes': ['rgbw'], 'color_mode': None, 'brightness': None, 'hs_color': None, 'rgb_color': None, 'xy_color': None, 'rgbw_color': None, 'effect': None, 'icon': 'mdi:string-lights', 'friendly_name': 'Beleuchtung Rechts', 'supported_features': 4}, 'last_changed': '2023-12-13T15:34:39.746523+00:00', 'last_updated': '2023-12-13T15:34:39.746523+00:00', 'context': {'id': '01HHHX1NC29KHD5FW42NMSYTT4', 'parent_id': None, 'user_id': None}}
2023-12-13 15:34:44,240 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.7
2023-12-13 15:34:45,040 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.7
2023-12-13 15:34:46,041 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.7
2023-12-13 15:34:46,441 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.7
2023-12-13 15:34:55,659 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:34:55] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:34:55,659 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:34:55] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:34:55,736 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:34:55] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:34:57,372 - services.stateFetch - WARNING - 55OLED936/12 Ambilight is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:34:57,372 - services.stateFetch - WARNING - Schlafzimmer Deckenlicht is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:34:57,371 - services.stateFetch - INFO - start lights sync
2023-12-13 15:34:57,372 - services.stateFetch - DEBUG - fetch Licht Abstellraum
2023-12-13 15:34:57,372 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:34:57,372 - services.stateFetch - DEBUG - fetch Plug_Weihnachtsbeleuchtung
2023-12-13 15:34:57,372 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:34:57,372 - services.stateFetch - DEBUG - fetch 55OLED936/12 Ambilight
2023-12-13 15:34:57,372 - services.stateFetch - DEBUG - fetch Spiegelschranklicht
2023-12-13 15:34:57,372 - services.stateFetch - DEBUG - {'on': False, 'bri': None, 'alert': 'none', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:34:57,372 - services.stateFetch - DEBUG - fetch Schlafzimmer Deckenlicht
2023-12-13 15:35:36,757 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:35:36] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:35:36,758 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:35:36] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:35:37,050 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:35:37] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:35:38,378 - services.stateFetch - INFO - start lights sync
2023-12-13 15:35:38,378 - services.stateFetch - DEBUG - fetch Licht Abstellraum
2023-12-13 15:35:38,378 - services.stateFetch - WARNING - 55OLED936/12 Ambilight is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:35:38,378 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:35:38,378 - services.stateFetch - DEBUG - fetch Plug_Weihnachtsbeleuchtung
2023-12-13 15:35:38,378 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:35:38,378 - services.stateFetch - DEBUG - fetch 55OLED936/12 Ambilight
2023-12-13 15:35:38,378 - services.stateFetch - DEBUG - fetch Spiegelschranklicht
2023-12-13 15:35:38,378 - services.stateFetch - DEBUG - {'on': False, 'bri': None, 'alert': 'none', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:35:38,378 - services.stateFetch - DEBUG - fetch Schlafzimmer Deckenlicht2023-12-13 15:35:38,378 - services.stateFetch - WARNING - Schlafzimmer Deckenlicht is unreachable: 'NoneType' object is not subscriptable

2023-12-13 15:35:39,052 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:35:39] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:35:39,236 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:35:39] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:35:41,053 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:35:41] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:35:43,065 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:35:43] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:35:44,244 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:35:44] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:35:45,058 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:35:45] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:35:47,052 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:35:47] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:35:49,070 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:35:49] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:35:49,231 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:35:49] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:35:50,379 - services.stateFetch - INFO - start lights sync
2023-12-13 15:35:50,379 - services.stateFetch - WARNING - 55OLED936/12 Ambilight is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:35:50,379 - services.stateFetch - DEBUG - fetch Licht Abstellraum
2023-12-13 15:35:50,379 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:35:50,379 - services.stateFetch - DEBUG - fetch Plug_Weihnachtsbeleuchtung
2023-12-13 15:35:50,379 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:35:50,379 - services.stateFetch - DEBUG - fetch 55OLED936/12 Ambilight
2023-12-13 15:35:50,379 - services.stateFetch - DEBUG - fetch Spiegelschranklicht
2023-12-13 15:35:50,379 - services.stateFetch - DEBUG - {'on': False, 'bri': None, 'alert': 'none', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:35:50,379 - services.stateFetch - DEBUG - fetch Schlafzimmer Deckenlicht
2023-12-13 15:35:50,379 - services.stateFetch - WARNING - Schlafzimmer Deckenlicht is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:35:51,050 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:35:51] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:35:53,054 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:35:53] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:35:54,231 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:35:54] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:35:55,058 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:35:55] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:35:55,651 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:35:55] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
[2023-12-13 15:35:56,271] ERROR in app: Exception on /api/6fee18b47d8f11eea09048210b26395a [GET]
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 1516, in full_dispatch_request
    rv = self.dispatch_request()
         ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 1502, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask_restful/__init__.py", line 467, in wrapper
    resp = resource(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask/views.py", line 84, in view
    return current_app.ensure_sync(self.dispatch_request)(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask_restful/__init__.py", line 582, in dispatch_request
    resp = meth(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hue-emulator/flaskUI/restful.py", line 116, in get
    result[resource][resource_id] = bridgeConfig[resource][resource_id].getV1Api(
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hue-emulator/HueObjects/__init__.py", line 360, in getV1Api
    result["state"]["bri"] = int(self.state["bri"])
                             ^^^^^^^^^^^^^^^^^^^^^^
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
2023-12-13 15:35:56,271 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:35:56] "GET /api/6fee18b47d8f11eea09048210b26395a HTTP/1.1" 500 -
2023-12-13 15:35:56,280 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:35:56] "GET /favicon.ico HTTP/1.1" 200 -
2023-12-13 15:35:57,780 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:35:57] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:35:57,781 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:35:57] "GET /light-types HTTP/1.1" 200 -
2023-12-13 15:35:57,787 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:35:57] "GET /favicon.ico HTTP/1.1" 200 -
2023-12-13 15:35:59,229 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:35:59] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:35:59,780 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:35:59] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:36:01,379 - services.stateFetch - INFO - start lights sync
2023-12-13 15:36:01,379 - services.stateFetch - DEBUG - fetch Licht Abstellraum
2023-12-13 15:36:01,379 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:36:01,379 - services.stateFetch - DEBUG - fetch Plug_Weihnachtsbeleuchtung
2023-12-13 15:36:01,379 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:36:01,380 - services.stateFetch - WARNING - 55OLED936/12 Ambilight is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:36:01,379 - services.stateFetch - DEBUG - fetch 55OLED936/12 Ambilight
2023-12-13 15:36:01,380 - services.stateFetch - DEBUG - fetch Spiegelschranklicht
2023-12-13 15:36:01,380 - services.stateFetch - DEBUG - {'on': False, 'bri': None, 'alert': 'none', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:36:01,380 - services.stateFetch - WARNING - Schlafzimmer Deckenlicht is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:36:01,380 - services.stateFetch - DEBUG - fetch Schlafzimmer Deckenlicht
2023-12-13 15:36:01,786 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:01] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:36:03,791 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:03] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:36:04,249 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:04] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:36:05,780 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:05] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:36:07,796 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:07] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:36:09,245 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:09] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:36:09,791 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:09] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:36:11,780 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:11] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:36:13,784 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:13] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:36:14,234 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:14] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:36:15,381 - services.stateFetch - WARNING - 55OLED936/12 Ambilight is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:36:15,380 - services.stateFetch - INFO - start lights sync
2023-12-13 15:36:15,381 - services.stateFetch - DEBUG - fetch Licht Abstellraum
2023-12-13 15:36:15,381 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:36:15,381 - services.stateFetch - DEBUG - fetch Plug_Weihnachtsbeleuchtung
2023-12-13 15:36:15,381 - services.stateFetch - WARNING - Schlafzimmer Deckenlicht is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:36:15,381 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:36:15,381 - services.stateFetch - DEBUG - fetch 55OLED936/12 Ambilight
2023-12-13 15:36:15,381 - services.stateFetch - DEBUG - fetch Spiegelschranklicht
2023-12-13 15:36:15,381 - services.stateFetch - DEBUG - {'on': False, 'bri': None, 'alert': 'none', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:36:15,381 - services.stateFetch - DEBUG - fetch Schlafzimmer Deckenlicht
2023-12-13 15:36:15,779 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:15] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:36:17,822 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:17] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:36:19,245 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:19] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:36:19,782 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:19] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:36:21,792 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:21] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:36:23,780 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:23] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:36:24,237 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:24] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:36:25,779 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:25] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:36:26,381 - services.stateFetch - WARNING - 55OLED936/12 Ambilight is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:36:26,381 - services.stateFetch - INFO - start lights sync
2023-12-13 15:36:26,381 - services.stateFetch - DEBUG - fetch Licht Abstellraum
2023-12-13 15:36:26,381 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:36:26,381 - services.stateFetch - DEBUG - fetch Plug_Weihnachtsbeleuchtung
2023-12-13 15:36:26,381 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:36:26,381 - services.stateFetch - DEBUG - fetch 55OLED936/12 Ambilight
2023-12-13 15:36:26,381 - services.stateFetch - WARNING - Schlafzimmer Deckenlicht is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:36:26,381 - services.stateFetch - DEBUG - fetch Spiegelschranklicht
2023-12-13 15:36:26,381 - services.stateFetch - DEBUG - {'on': False, 'bri': None, 'alert': 'none', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:36:26,381 - services.stateFetch - DEBUG - fetch Schlafzimmer Deckenlicht
2023-12-13 15:36:27,781 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:27] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:36:29,232 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:29] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:36:29,779 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:29] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:36:31,788 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:31] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:36:33,189 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.178
2023-12-13 15:36:33,790 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.178
2023-12-13 15:36:33,794 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:33] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:36:34,190 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.178
2023-12-13 15:36:34,247 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:34] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:36:35,190 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.178
2023-12-13 15:36:35,803 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:35] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:36:35,990 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.178
2023-12-13 15:36:36,991 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.178
2023-12-13 15:36:37,782 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:37] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:36:38,091 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.178
2023-12-13 15:36:38,891 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.178
2023-12-13 15:36:39,241 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:39] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:36:39,801 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:39] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:36:40,382 - services.stateFetch - INFO - start lights sync
2023-12-13 15:36:40,382 - services.stateFetch - DEBUG - fetch Licht Abstellraum
2023-12-13 15:36:40,382 - services.stateFetch - WARNING - 55OLED936/12 Ambilight is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:36:40,382 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:36:40,382 - services.stateFetch - DEBUG - fetch Plug_Weihnachtsbeleuchtung
2023-12-13 15:36:40,382 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:36:40,382 - services.stateFetch - DEBUG - fetch 55OLED936/12 Ambilight
2023-12-13 15:36:40,383 - services.stateFetch - DEBUG - fetch Spiegelschranklicht
2023-12-13 15:36:40,383 - services.stateFetch - DEBUG - {'on': False, 'bri': None, 'alert': 'none', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:36:40,383 - services.stateFetch - WARNING - Schlafzimmer Deckenlicht is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:36:40,383 - services.stateFetch - DEBUG - fetch Schlafzimmer Deckenlicht
2023-12-13 15:36:41,791 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:41] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:36:43,786 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:43] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:36:44,238 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:44] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:36:45,796 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:45] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:36:47,264 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.7
2023-12-13 15:36:47,800 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:47] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:36:48,065 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.7
2023-12-13 15:36:48,465 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.7
2023-12-13 15:36:49,243 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:49] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:36:49,565 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.7
2023-12-13 15:36:49,777 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:49] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:36:51,383 - services.stateFetch - WARNING - 55OLED936/12 Ambilight is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:36:51,383 - services.stateFetch - INFO - start lights sync
2023-12-13 15:36:51,383 - services.stateFetch - WARNING - Schlafzimmer Deckenlicht is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:36:51,383 - services.stateFetch - DEBUG - fetch Licht Abstellraum
2023-12-13 15:36:51,383 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:36:51,383 - services.stateFetch - DEBUG - fetch Plug_Weihnachtsbeleuchtung
2023-12-13 15:36:51,383 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:36:51,383 - services.stateFetch - DEBUG - fetch 55OLED936/12 Ambilight
2023-12-13 15:36:51,383 - services.stateFetch - DEBUG - fetch Spiegelschranklicht
2023-12-13 15:36:51,383 - services.stateFetch - DEBUG - {'on': False, 'bri': None, 'alert': 'none', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:36:51,383 - services.stateFetch - DEBUG - fetch Schlafzimmer Deckenlicht
2023-12-13 15:36:51,789 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:51] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:36:53,776 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:53] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:36:54,245 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:54] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:36:55,651 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:55] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:36:55,782 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:55] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:36:57,779 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:57] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:36:59,247 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:36:59] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:37:00,657 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:00] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:37:02,664 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:02] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:37:04,654 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:04] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:37:04,654 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:04] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:37:06,384 - services.stateFetch - INFO - start lights sync
2023-12-13 15:37:06,384 - services.stateFetch - DEBUG - fetch Licht Abstellraum
2023-12-13 15:37:06,384 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:37:06,384 - services.stateFetch - DEBUG - fetch Plug_Weihnachtsbeleuchtung
2023-12-13 15:37:06,384 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:37:06,384 - services.stateFetch - DEBUG - fetch 55OLED936/12 Ambilight
2023-12-13 15:37:06,384 - services.stateFetch - WARNING - 55OLED936/12 Ambilight is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:37:06,384 - services.stateFetch - DEBUG - fetch Spiegelschranklicht
2023-12-13 15:37:06,384 - services.stateFetch - WARNING - Schlafzimmer Deckenlicht is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:37:06,384 - services.stateFetch - DEBUG - {'on': False, 'bri': None, 'alert': 'none', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:37:06,384 - services.stateFetch - DEBUG - fetch Schlafzimmer Deckenlicht
2023-12-13 15:37:06,651 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:06] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:37:08,659 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:08] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:37:09,649 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:09] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:37:10,658 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:10] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:37:12,659 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:12] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:37:14,669 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:14] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:37:14,679 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:14] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:37:16,664 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:16] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:37:18,655 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:18] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:37:19,649 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:19] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:37:20,659 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:20] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:37:21,386 - services.stateFetch - WARNING - 55OLED936/12 Ambilight is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:37:21,386 - services.stateFetch - INFO - start lights sync
2023-12-13 15:37:21,386 - services.stateFetch - DEBUG - fetch Licht Abstellraum
2023-12-13 15:37:21,386 - services.stateFetch - WARNING - Schlafzimmer Deckenlicht is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:37:21,386 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:37:21,386 - services.stateFetch - DEBUG - fetch Plug_Weihnachtsbeleuchtung
2023-12-13 15:37:21,386 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:37:21,386 - services.stateFetch - DEBUG - fetch 55OLED936/12 Ambilight
2023-12-13 15:37:21,386 - services.stateFetch - DEBUG - fetch Spiegelschranklicht
2023-12-13 15:37:21,386 - services.stateFetch - DEBUG - {'on': False, 'bri': None, 'alert': 'none', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:37:21,386 - services.stateFetch - DEBUG - fetch Schlafzimmer Deckenlicht
2023-12-13 15:37:22,660 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:22] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:37:24,659 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:24] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:37:24,660 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:24] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:37:26,653 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:26] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:37:28,650 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:28] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:37:29,654 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:29] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:37:30,663 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:30] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:37:32,650 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:32] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:37:34,654 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:34] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:37:34,655 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:34] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:37:36,387 - services.stateFetch - WARNING - 55OLED936/12 Ambilight is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:37:36,387 - services.stateFetch - INFO - start lights sync
2023-12-13 15:37:36,387 - services.stateFetch - DEBUG - fetch Licht Abstellraum
2023-12-13 15:37:36,387 - services.stateFetch - WARNING - Schlafzimmer Deckenlicht is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:37:36,387 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:37:36,387 - services.stateFetch - DEBUG - fetch Plug_Weihnachtsbeleuchtung
2023-12-13 15:37:36,387 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:37:36,387 - services.stateFetch - DEBUG - fetch 55OLED936/12 Ambilight
2023-12-13 15:37:36,387 - services.stateFetch - DEBUG - fetch Spiegelschranklicht
2023-12-13 15:37:36,387 - services.stateFetch - DEBUG - {'on': False, 'bri': None, 'alert': 'none', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:37:36,387 - services.stateFetch - DEBUG - fetch Schlafzimmer Deckenlicht
2023-12-13 15:37:36,649 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:36] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:37:38,656 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:38] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:37:39,663 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:39] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:37:40,659 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:40] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:37:42,649 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:42] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:37:44,657 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:44] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:37:44,658 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:44] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:37:46,648 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:46] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:37:48,659 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:48] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:37:49,046 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:49] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:37:49,649 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:49] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:37:50,388 - services.stateFetch - INFO - start lights sync
2023-12-13 15:37:50,389 - services.stateFetch - WARNING - 55OLED936/12 Ambilight is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:37:50,388 - services.stateFetch - DEBUG - fetch Licht Abstellraum
2023-12-13 15:37:50,389 - services.stateFetch - WARNING - Schlafzimmer Deckenlicht is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:37:50,388 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:37:50,389 - services.stateFetch - DEBUG - fetch Plug_Weihnachtsbeleuchtung
2023-12-13 15:37:50,389 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:37:50,389 - services.stateFetch - DEBUG - fetch 55OLED936/12 Ambilight
2023-12-13 15:37:50,389 - services.stateFetch - DEBUG - fetch Spiegelschranklicht
2023-12-13 15:37:50,389 - services.stateFetch - DEBUG - {'on': False, 'bri': None, 'alert': 'none', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:37:50,389 - services.stateFetch - DEBUG - fetch Schlafzimmer Deckenlicht
2023-12-13 15:37:50,653 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:50] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:37:52,649 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:52] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:37:53,391 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:53] "GET /static/js/540.f42e1a3d.chunk.js HTTP/1.1" 200 -
2023-12-13 15:37:53,392 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:53] "GET /favicon.ico HTTP/1.1" 200 -
2023-12-13 15:37:53,425 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:53] "GET /api/6fee18b47d8f11eea09048210b26395a/config/homeassistant HTTP/1.1" 200 -
2023-12-13 15:37:53,451 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:53] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:37:54,663 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:54] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:37:54,664 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:54] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:37:56,649 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:56] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:37:58,474 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:58] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:37:58,659 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:37:58] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:38:03,463 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:03] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:38:05,390 - services.stateFetch - INFO - start lights sync
2023-12-13 15:38:05,390 - services.stateFetch - DEBUG - fetch Licht Abstellraum
2023-12-13 15:38:05,390 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:38:05,390 - services.stateFetch - DEBUG - fetch Plug_Weihnachtsbeleuchtung
2023-12-13 15:38:05,390 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:38:05,390 - services.stateFetch - WARNING - 55OLED936/12 Ambilight is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:38:05,390 - services.stateFetch - DEBUG - fetch 55OLED936/12 Ambilight
2023-12-13 15:38:05,390 - services.stateFetch - DEBUG - fetch Spiegelschranklicht
2023-12-13 15:38:05,390 - services.stateFetch - DEBUG - {'on': False, 'bri': None, 'alert': 'none', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:38:05,390 - services.stateFetch - DEBUG - fetch Schlafzimmer Deckenlicht
2023-12-13 15:38:05,390 - services.stateFetch - WARNING - Schlafzimmer Deckenlicht is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:38:07,681 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:07] "GET /api/6fee18b47d8f11eea09048210b26395a/config/mqtt HTTP/1.1" 200 -
2023-12-13 15:38:07,687 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:07] "GET /favicon.ico HTTP/1.1" 200 -
2023-12-13 15:38:08,459 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:08] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:38:08,657 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:08] "GET /static/css/779.60671a35.chunk.css HTTP/1.1" 200 -
2023-12-13 15:38:08,662 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:08] "GET /static/js/821.3dcdcf2a.chunk.js HTTP/1.1" 200 -
2023-12-13 15:38:08,662 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:08] "GET /static/js/779.3e7310de.chunk.js HTTP/1.1" 200 -
2023-12-13 15:38:08,669 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:08] "GET /favicon.ico HTTP/1.1" 200 -
2023-12-13 15:38:08,685 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:08] "GET /sensors HTTP/1.1" 200 -
2023-12-13 15:38:10,699 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:10] "GET /sensors HTTP/1.1" 200 -
2023-12-13 15:38:12,423 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:12] "GET /favicon.ico HTTP/1.1" 200 -
2023-12-13 15:38:12,424 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:12] "GET /static/css/625.d91a49a8.chunk.css HTTP/1.1" 200 -
2023-12-13 15:38:12,430 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:12] "GET /static/js/625.dd3f4387.chunk.js HTTP/1.1" 200 -
2023-12-13 15:38:12,465 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:12] "GET /api/6fee18b47d8f11eea09048210b26395a/config HTTP/1.1" 200 -
2023-12-13 15:38:12,466 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:12] "GET /api/6fee18b47d8f11eea09048210b26395a/info/timezones HTTP/1.1" 200 -
2023-12-13 15:38:13,454 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:13] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:38:18,475 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:18] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:38:19,306 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:19] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:38:19,306 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:19] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:38:19,781 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:19] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:38:20,391 - services.stateFetch - INFO - start lights sync
2023-12-13 15:38:20,392 - services.stateFetch - DEBUG - fetch Licht Abstellraum
2023-12-13 15:38:20,392 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:38:20,392 - services.stateFetch - WARNING - 55OLED936/12 Ambilight is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:38:20,392 - services.stateFetch - DEBUG - fetch Plug_Weihnachtsbeleuchtung
2023-12-13 15:38:20,392 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:38:20,392 - services.stateFetch - DEBUG - fetch 55OLED936/12 Ambilight
2023-12-13 15:38:20,392 - services.stateFetch - WARNING - Schlafzimmer Deckenlicht is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:38:20,392 - services.stateFetch - DEBUG - fetch Spiegelschranklicht
2023-12-13 15:38:20,392 - services.stateFetch - DEBUG - {'on': False, 'bri': None, 'alert': 'none', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:38:20,392 - services.stateFetch - DEBUG - fetch Schlafzimmer Deckenlicht
2023-12-13 15:38:22,656 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:22] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:38:23,647 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:23] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:38:24,647 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:24] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:38:24,648 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:24] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:38:26,658 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:26] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:38:28,653 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:28] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:38:28,654 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:28] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:38:29,649 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:29] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:38:30,648 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:30] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:38:31,392 - services.stateFetch - WARNING - 55OLED936/12 Ambilight is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:38:31,392 - services.stateFetch - WARNING - Schlafzimmer Deckenlicht is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:38:31,392 - services.stateFetch - INFO - start lights sync
2023-12-13 15:38:31,392 - services.stateFetch - DEBUG - fetch Licht Abstellraum
2023-12-13 15:38:31,392 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:38:31,392 - services.stateFetch - DEBUG - fetch Plug_Weihnachtsbeleuchtung
2023-12-13 15:38:31,392 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:38:31,392 - services.stateFetch - DEBUG - fetch 55OLED936/12 Ambilight
2023-12-13 15:38:31,392 - services.stateFetch - DEBUG - fetch Spiegelschranklicht
2023-12-13 15:38:31,392 - services.stateFetch - DEBUG - {'on': False, 'bri': None, 'alert': 'none', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:38:31,392 - services.stateFetch - DEBUG - fetch Schlafzimmer Deckenlicht
2023-12-13 15:38:32,574 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.178
2023-12-13 15:38:32,658 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:32] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:38:33,653 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:33] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:38:33,675 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.178
2023-12-13 15:38:34,375 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.178
2023-12-13 15:38:34,654 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:34] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:38:34,654 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:34] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:38:35,175 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.178
2023-12-13 15:38:36,176 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.178
2023-12-13 15:38:36,653 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:36] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:38:36,776 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.178
2023-12-13 15:38:37,876 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.178
2023-12-13 15:38:38,377 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.178
2023-12-13 15:38:38,652 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:38] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:38:38,653 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:38] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:38:39,647 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:39] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:38:40,645 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:40] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:38:42,651 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:42] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:38:43,652 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:43] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:38:44,663 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:44] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:38:44,664 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:44] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:38:45,394 - services.stateFetch - WARNING - 55OLED936/12 Ambilight is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:38:45,393 - services.stateFetch - INFO - start lights sync
2023-12-13 15:38:45,394 - services.stateFetch - WARNING - Schlafzimmer Deckenlicht is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:38:45,393 - services.stateFetch - DEBUG - fetch Licht Abstellraum
2023-12-13 15:38:45,393 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:38:45,394 - services.stateFetch - DEBUG - fetch Plug_Weihnachtsbeleuchtung
2023-12-13 15:38:45,394 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:38:45,394 - services.stateFetch - DEBUG - fetch 55OLED936/12 Ambilight
2023-12-13 15:38:45,394 - services.stateFetch - DEBUG - fetch Spiegelschranklicht
2023-12-13 15:38:45,394 - services.stateFetch - DEBUG - {'on': False, 'bri': None, 'alert': 'none', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:38:45,394 - services.stateFetch - DEBUG - fetch Schlafzimmer Deckenlicht
2023-12-13 15:38:46,650 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:46] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:38:48,660 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:48] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:38:48,661 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:48] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:38:49,198 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.127
2023-12-13 15:38:49,656 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:49] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:38:49,898 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.127
2023-12-13 15:38:50,399 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.7
2023-12-13 15:38:50,658 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:50] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:38:50,800 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.7
2023-12-13 15:38:51,500 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.7
2023-12-13 15:38:51,900 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.7
2023-12-13 15:38:52,651 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:52] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:38:53,662 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:53] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:38:54,655 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:54] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:38:54,720 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:54] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:38:56,394 - services.stateFetch - INFO - start lights sync
2023-12-13 15:38:56,394 - services.stateFetch - WARNING - 55OLED936/12 Ambilight is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:38:56,394 - services.stateFetch - DEBUG - fetch Licht Abstellraum
2023-12-13 15:38:56,394 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:38:56,394 - services.stateFetch - DEBUG - fetch Plug_Weihnachtsbeleuchtung
2023-12-13 15:38:56,394 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:38:56,394 - services.stateFetch - DEBUG - fetch 55OLED936/12 Ambilight
2023-12-13 15:38:56,394 - services.stateFetch - DEBUG - fetch Spiegelschranklicht
2023-12-13 15:38:56,394 - services.stateFetch - DEBUG - {'on': False, 'bri': None, 'alert': 'none', 'mode': 'homeautomation', 'reachable': True}
2023-12-13 15:38:56,394 - services.stateFetch - WARNING - Schlafzimmer Deckenlicht is unreachable: 'NoneType' object is not subscriptable
2023-12-13 15:38:56,394 - services.stateFetch - DEBUG - fetch Schlafzimmer Deckenlicht
2023-12-13 15:38:56,652 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:56] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:38:58,654 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:58] "GET /lights HTTP/1.1" 200 -
2023-12-13 15:38:58,654 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:58] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:38:59,660 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:38:59] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-13 15:39:00,655 - werkzeug - INFO - 192.168.0.178 - - [13/Dec/2023 15:39:00] "GET /lights HTTP/1.1" 200 -``

What do you think?

@mariusmotea
Copy link
Member

OSError: [Errno 113] No route to host this means that mqtt broker is not reachable, it is a networking issue or the mqtt broker is stopped.

@u20p17
Copy link

u20p17 commented Dec 14, 2023

@mariusmotea : i now fixed the mqtt issue on my side, but still some of the lights (e.g. Schlafzimmer Deckenlicht) which are connected via the homeassistant_ws stay unavailable... I only see the following in the debug log:

2023-12-14 16:23:57,924 - services.mqtt - DEBUG - {
    "child_lock": "LOCK",
    "current": 0.03,
    "energy": 324.33,
    "indicator_mode": "off/on",
    "linkquality": 61,
    "power": 0,
    "power_outage_memory": "on",
    "state": "ON",
    "update": {
        "installed_version": -1,
        "latest_version": -1,
        "state": "idle"
    },
    "update_available": null,
    "voltage": 243
}
2023-12-14 16:23:58,608 - services.stateFetch - WARNING - Schlafzimmer Deckenlicht is unreachable: 'NoneType' object is not subscriptable
2023-12-14 16:23:58,608 - services.stateFetch - INFO - start lights sync
2023-12-14 16:23:58,608 - services.stateFetch - DEBUG - fetch Licht Abstellraum
2023-12-14 16:23:58,608 - services.stateFetch - DEBUG - {'on': False, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-14 16:23:58,608 - services.stateFetch - DEBUG - fetch Plug_Weihnachtsbeleuchtung
2023-12-14 16:23:58,608 - services.stateFetch - DEBUG - {'on': True, 'alert': 'select', 'mode': 'homeautomation', 'reachable': True}
2023-12-14 16:23:58,608 - services.stateFetch - DEBUG - fetch Spiegelschranklicht
2023-12-14 16:23:58,608 - services.stateFetch - DEBUG - {'on': False, 'bri': None, 'alert': 'none', 'mode': 'homeautomation', 'reachable': True}
2023-12-14 16:23:58,608 - services.stateFetch - DEBUG - fetch Schlafzimmer Deckenlicht
2023-12-14 16:24:00,149 - services.ssdp - DEBUG - Sending M-Search response to 192.168.0.127
2023-12-14 16:24:00,160 - services.mqtt - DEBUG - MQTT: got state message on zigbee2mqtt/Plug_Weihnachtsbeleuchtung
2023-12-14 16:24:00,161 - services.mqtt - DEBUG - b'{"child_lock":"UNLOCK","current":0.05,"energy":3.88,"indicator_mode":"off/on","linkquality":51,"power":6,"power_outage_memory":"restore","state":"ON","update":{"installed_version":-1,"latest_version":-1,"state":"idle"},"update_available":null,"voltage":233}'
2023-12-14 16:24:00,161 - services.mqtt - DEBUG - Device not found for Plug_Weihnachtsbeleuchtung
2023-12-14 16:24:00,161 - services.mqtt - DEBUG - MQTT: got state message on zigbee2mqtt/Plug_Weihnachtsbeleuchtung
2023-12-14 16:24:00,161 - services.mqtt - DEBUG - {
    "child_lock": "UNLOCK",
    "current": 0.05,
    "energy": 3.88,
    "indicator_mode": "off/on",
    "linkquality": 51,
    "power": 6,
    "power_outage_memory": "restore",
    "state": "ON",
    "update": {
        "installed_version": -1,
        "latest_version": -1,
        "state": "idle"
    },
    "update_available": null,
    "voltage": 233
}

Furthermore I figured out that I can not connect with the Hue Essentials App at the moment. I think it is related to @#26

Here is the log when I try to connect:

2023-12-14 16:20:01,607 - flaskUI.restful - DEBUG - {'devicetype': 'Hue Essentials#iPhone', 'generateclientkey': True}
2023-12-14 16:20:01,607 - werkzeug - INFO - 192.168.0.183 - - [14/Dec/2023 16:20:01] "POST /api/ HTTP/1.1" 200 -
2023-12-14 16:20:01,667 - flaskUI.restful - DEBUG - [{'success': {'/config/linkbutton': {'lastlinkbuttonpushed': 1702570801}}}]
2023-12-14 16:20:01,671 - configManager.configHandler - DEBUG - Dump config file /opt/hue-emulator/config/config.yaml
2023-12-14 16:20:01,671 - werkzeug - INFO - 192.168.0.178 - - [14/Dec/2023 16:20:01] "PUT /api/6fee18b47d8f11eea09048210b26395a/config HTTP/1.1" 200 -
2023-12-14 16:20:02,642 - flaskUI.restful - DEBUG - {'devicetype': 'Hue Essentials#iPhone', 'generateclientkey': True}
2023-12-14 16:20:02,642 - flaskUI.restful - DEBUG - [{'success': {'username': 'hueess169a9c11ee85e848210b26395a', 'clientkey': 'A38C4F95964F4EBDAD881655431FA784'}}]
2023-12-14 16:20:02,647 - configManager.configHandler - DEBUG - Dump config file /opt/hue-emulator/config/config.yaml
2023-12-14 16:20:02,673 - configManager.configHandler - DEBUG - Dump config file /opt/hue-emulator/config/lights.yaml
2023-12-14 16:20:02,678 - services.mqtt - DEBUG - MQTT: got state message on zigbee2mqtt/Plug_Waschmaschine
2023-12-14 16:20:02,678 - services.mqtt - DEBUG - b'{"child_lock":"LOCK","current":0,"energy":324.33,"indicator_mode":"off/on","linkquality":94,"power":0,"power_outage_memory":"on","state":"ON","update":{"installed_version":-1,"latest_version":-1,"state":"idle"},"update_available":null,"voltage":242}'
2023-12-14 16:20:02,678 - services.mqtt - DEBUG - Device not found for Plug_Waschmaschine
2023-12-14 16:20:02,678 - services.mqtt - DEBUG - MQTT: got state message on zigbee2mqtt/Plug_Waschmaschine
2023-12-14 16:20:02,678 - services.mqtt - DEBUG - {
    "child_lock": "LOCK",
    "current": 0,
    "energy": 324.33,
    "indicator_mode": "off/on",
    "linkquality": 94,
    "power": 0,
    "power_outage_memory": "on",
    "state": "ON",
    "update": {
        "installed_version": -1,
        "latest_version": -1,
        "state": "idle"
    },
    "update_available": null,
    "voltage": 242
}
2023-12-14 16:20:02,678 - configManager.configHandler - DEBUG - Dump config file /opt/hue-emulator/config/groups.yaml
2023-12-14 16:20:02,678 - configManager.configHandler - DEBUG - Dump config file /opt/hue-emulator/config/scenes.yaml
2023-12-14 16:20:02,679 - configManager.configHandler - DEBUG - Dump config file /opt/hue-emulator/config/rules.yaml
2023-12-14 16:20:02,679 - configManager.configHandler - DEBUG - Dump config file /opt/hue-emulator/config/resourcelinks.yaml
2023-12-14 16:20:02,679 - configManager.configHandler - DEBUG - Dump config file /opt/hue-emulator/config/schedules.yaml
2023-12-14 16:20:02,683 - configManager.configHandler - DEBUG - Dump config file /opt/hue-emulator/config/sensors.yaml
2023-12-14 16:20:02,683 - configManager.configHandler - DEBUG - Dump config file /opt/hue-emulator/config/behavior_instance.yaml
2023-12-14 16:20:02,683 - werkzeug - INFO - 192.168.0.183 - - [14/Dec/2023 16:20:02] "POST /api/ HTTP/1.1" 200 -
[2023-12-14 16:20:02,755] ERROR in app: Exception on /api/hueess169a9c11ee85e848210b26395a [GET]
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 1516, in full_dispatch_request
    rv = self.dispatch_request()
         ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 1502, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask_restful/__init__.py", line 467, in wrapper
    resp = resource(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask/views.py", line 84, in view
    return current_app.ensure_sync(self.dispatch_request)(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask_restful/__init__.py", line 582, in dispatch_request
    resp = meth(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hue-emulator/flaskUI/restful.py", line 116, in get
    result[resource][resource_id] = bridgeConfig[resource][resource_id].getV1Api(
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hue-emulator/HueObjects/__init__.py", line 360, in getV1Api
    result["state"]["bri"] = int(self.state["bri"])
                             ^^^^^^^^^^^^^^^^^^^^^^
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
2023-12-14 16:20:02,755 - werkzeug - INFO - 192.168.0.183 - - [14/Dec/2023 16:20:02] "GET /api/hueess169a9c11ee85e848210b26395a HTTP/1.1" 500 -
2023-12-14 16:20:03,596 - werkzeug - INFO - 192.168.0.178 - - [14/Dec/2023 16:20:03] "GET /api/6fee18b47d8f11eea09048210b26395a/groups/0 HTTP/1.1" 200 -
2023-12-14 16:20:03,804 - services.mqtt - DEBUG - MQTT: got state message on zigbee2mqtt/Plug_Weinkühlschrank
2023-12-14 16:20:03,804 - services.mqtt - DEBUG - b'{"child_lock":"LOCK","current":0.34,"energy":282.5,"indicator_mode":"off/on","linkquality":87,"power":77,"power_outage_memory":"on","state":"ON","update":{"installed_version":-1,"latest_version":-1,"state":"idle"},"update_available":null,"voltage":243}'
2023-12-14 16:20:03,805 - services.mqtt - DEBUG - Device not found for Plug_Weinkühlschrank
2023-12-14 16:20:03,805 - services.mqtt - DEBUG - MQTT: got state message on zigbee2mqtt/Plug_Weinkühlschrank
2023-12-14 16:20:03,805 - services.mqtt - DEBUG - {
    "child_lock": "LOCK",
    "current": 0.34,
    "energy": 282.5,
    "indicator_mode": "off/on",
    "linkquality": 87,
    "power": 77,
    "power_outage_memory": "on",
    "state": "ON",
    "update": {
        "installed_version": -1,
        "latest_version": -1,
        "state": "idle"
    },
    "update_available": null,
    "voltage": 243
}

@hendriksen-mark
Copy link
Member

do you still get this error with the latest version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants