You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I was wondering if it would be possible to get an On-Off switch working within this awesome Kodi plugin.
In my Hue setup there is 1 Osram Smart plug present to switch on/off some lights in a Lego Millenium Falcon :-). Would be cool to light it up when the movie pauses, only the plugin crashes when the device is added. Works fine in all Hue applications by the way.
Guess the problem is that the plug has no brightness attribute in it, just on or off. Is it possible to somehow trick the plugin/device?
Below the plugin log with errors.
Thanks in advance.
Regards
Ralph
20:46:34.654 T:10152 DEBUG: Kodi Hue: In .(argv=['']) service started, version: 1.0
20:46:34.959 T:1696 DEBUG: ------ Window Init (DialogNotification.xml) ------
20:46:35.073 T:10152 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: 'Light' object has no attribute 'bri'
Traceback (most recent call last):
File "C:\Users\Ralph\AppData\Roaming\Kodi\addons\script.kodi.hue.ambilight\default.py", line 313, in
hue = Hue(settings, args)
File "C:\Users\Ralph\AppData\Roaming\Kodi\addons\script.kodi.hue.ambilight\default.py", line 169, in init
self.update_controllers()
File "C:\Users\Ralph\AppData\Roaming\Kodi\addons\script.kodi.hue.ambilight\default.py", line 227, in update_controllers
self.static_controller,
File "C:\Users\Ralph\AppData\Roaming\Kodi\addons\script.kodi.hue.ambilight\resources\lib\lights.py", line 211, in repr
return ('<{} {}>'.format(self.class.name, self.lights))
File "C:\Users\Ralph\AppData\Roaming\Kodi\addons\script.kodi.hue.ambilight\resources\lib\lights.py", line 96, in repr
self.name, self.light_id, self.hue, self.sat, self.bri, self.on))
AttributeError: 'Light' object has no attribute 'bri'
-->End of Python script error report<--
20:46:35.092 T:10152 INFO: Python script stopped
The text was updated successfully, but these errors were encountered:
Hi,
I was wondering if it would be possible to get an On-Off switch working within this awesome Kodi plugin.
In my Hue setup there is 1 Osram Smart plug present to switch on/off some lights in a Lego Millenium Falcon :-). Would be cool to light it up when the movie pauses, only the plugin crashes when the device is added. Works fine in all Hue applications by the way.
Guess the problem is that the plug has no brightness attribute in it, just on or off. Is it possible to somehow trick the plugin/device?
Below the plugin log with errors.
Thanks in advance.
Regards
Ralph
20:46:34.654 T:10152 DEBUG: Kodi Hue: In .(argv=['']) service started, version: 1.0
20:46:34.959 T:1696 DEBUG: ------ Window Init (DialogNotification.xml) ------
20:46:35.073 T:10152 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: 'Light' object has no attribute 'bri'
Traceback (most recent call last):
File "C:\Users\Ralph\AppData\Roaming\Kodi\addons\script.kodi.hue.ambilight\default.py", line 313, in
hue = Hue(settings, args)
File "C:\Users\Ralph\AppData\Roaming\Kodi\addons\script.kodi.hue.ambilight\default.py", line 169, in init
self.update_controllers()
File "C:\Users\Ralph\AppData\Roaming\Kodi\addons\script.kodi.hue.ambilight\default.py", line 227, in update_controllers
self.static_controller,
File "C:\Users\Ralph\AppData\Roaming\Kodi\addons\script.kodi.hue.ambilight\resources\lib\lights.py", line 211, in repr
return ('<{} {}>'.format(self.class.name, self.lights))
File "C:\Users\Ralph\AppData\Roaming\Kodi\addons\script.kodi.hue.ambilight\resources\lib\lights.py", line 96, in repr
self.name, self.light_id, self.hue, self.sat, self.bri, self.on))
AttributeError: 'Light' object has no attribute 'bri'
-->End of Python script error report<--
20:46:35.092 T:10152 INFO: Python script stopped
The text was updated successfully, but these errors were encountered: