@SLiX I have installed and tested it a little bit. It’s running so far, but i have some Exceptions here
22:21:30 34914.191406 T:1575535648 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.KeyError'>
Error Contents: ('value',)
Traceback (most recent call last):
File "/home/osmc/.kodi/addons/plugin.video.pimatic/addon.py", line 192, in <module>
getPage(url)
File "/home/osmc/.kodi/addons/plugin.video.pimatic/resources/lib/getIndex.py", line 57, in getPage
value = getDeviceValue(name, url)
File "/home/osmc/.kodi/addons/plugin.video.pimatic/resources/lib/getDeviceStuff.py", line 61, in getDeviceValue
value = data.json()['device']['attributes'][0]['value']
KeyError: ('value',)
-->End of Python script error report<--
22:21:31 34914.546875 T:1958421040 ERROR: GetDirectory - Error getting plugin://plugin.video.pimatic/?deviceid&iconimage&mode=2&name=Heimsteuerung&url=favourite
22:21:31 34914.550781 T:1958421040 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.pimatic/?deviceid&iconimage&mode=2&name=Heimsteuerung&url=favourite) failed
and here
22:23:55 35058.582031 T:1419768864 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.KeyError'>
Error Contents: ('unit',)
Traceback (most recent call last):
File "/home/osmc/.kodi/addons/plugin.video.pimatic/addon.py", line 194, in <module>
getDevice(name,url,deviceid)
File "/home/osmc/.kodi/addons/plugin.video.pimatic/addon.py", line 47, in getDevice
getSysSenDevice('',deviceid)
File "/home/osmc/.kodi/addons/plugin.video.pimatic/resources/lib/getDevices.py", line 97, in getSysSenDevice
value = str(i['value']) + (i['unit']).encode('utf-8')
KeyError: ('unit',)
-->End of Python script error report<--
And in ‘Rules’
22:29:46 35409.445312 T:1314911264 ERROR: /usr/lib/python2.7/urllib.py:1294: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
return ''.join(map(quoter, s))
22:29:46 35409.453125 T:1314911264 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.KeyError'>
Error Contents: (u'\xfc',)
Traceback (most recent call last):
File "/home/osmc/.kodi/addons/plugin.video.pimatic/addon.py", line 202, in <module>
getAllRules()
File "/home/osmc/.kodi/addons/plugin.video.pimatic/resources/lib/getAll.py", line 42, in getAllRules
addDir(name,'',8,'',deviceid)
File "/home/osmc/.kodi/addons/plugin.video.pimatic/resources/lib/getAll.py", line 74, in addDir
u=sys.argv[0]+"?url="+urllib.quote_plus(url)+"&mode="+str(mode)+"&name="+urllib.quote_plus(name)+"&iconimage="+urllib.quote_plus(iconimage)+"&deviceid="+urllib.quote_plus(deviceid)
File "/usr/lib/python2.7/urllib.py", line 1299, in quote_plus
s = quote(s, safe + ' ')
File "/usr/lib/python2.7/urllib.py", line 1294, in quote
return ''.join(map(quoter, s))
KeyError: (u'\xfc',)
-->End of Python script error report<--
I will look into it next week… Thanks anyway!