Hi,
I have my diyHue instance running in Docker on my Pi 4 over a macvlan network. The Container is connected to my IOT Vlan so it has direct access to my HA instance and potentially other “Smart” things. Now if i try to connect either HueEssentials or the official Hue App to diyHue with clicking the “Link App” Button just throws a big red error toast.
Container log snippet (same output whether or not being in debug mode):
[2022-07-29 15:14:17,682] ERROR in app: Exception on /api/570df1040cc811edb7d002420a28ebd6/config [PUT]
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/flask/app.py", line 1516, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.9/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.9/dist-packages/flask_restful/__init__.py", line 467, in wrapper
resp = resource(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/flask/views.py", line 84, in view
return current_app.ensure_sync(self.dispatch_request)(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/flask_restful/__init__.py", line 582, in dispatch_request
resp = meth(*args, **kwargs)
File "/opt/hue-emulator/flaskUI/restful.py", line 274, in put
bridgeConfig[resource][key].update(value)
AttributeError: 'bool' object has no attribute 'update'
10.207.0.20 - - [29/Jul/2022 15:14:17] "PUT /api/570df1040cc811edb7d002420a28ebd6/config HTTP/1.1" 500 -
If it has anything to do with it: my IOT Vlan has the 10.40.235.0/24 Subnet, 10.207.0.0/24 is my main Vlan.
Thanks for your help