So, update erfolgt - hat ja gar nicht weh getan :-)
Sieht aber leider noch nicht besser aus:
table2.png
Gruß,
Hendrik
Sieht aber leider noch nicht besser aus:
table2.png
Gruß,
Hendrik
{{device.uzsutable('ba','test.varuzsub.uzsu','Mähzeiten App-Kalender',['0','1'],'2',['greenyellow','green'],'red','','','true','5m','solid','false','true','true','true','1','list',['Mähen:0','Mähen+Kante:1','Mähen-Ende:2'])}}
io.write("test.varuzsub.uzsu"," {'interpolation': {'type': 'none', 'initialized': False, 'itemtype': 'num', 'interval': '', 'initage': ''}, 'list': [{'active': True, 'rrule': 'FREQ=WEEKLY;BYDAY=MO,TH', 'value': '1', 'time': '08:00'}, {'active': True, 'rrule': 'FREQ=WEEKLY;BYDAY=MO,TH', 'value': '2', 'time': '10:00'}, {'active': True, 'rrule': 'FREQ=WEEKLY;BYDAY=TU,WE,FR,SA', 'value': '0', 'time': '08:00'}, {'active': True, 'rrule': 'FREQ=WEEKLY;BYDAY=TU,WE,FR,SA', 'value': '2', 'time': '10:00'}, {'active': True, 'rrule': 'FREQ=WEEKLY;BYDAY=MO,TH', 'value': '1', 'time': '13:00'}, {'active': True, 'rrule': 'FREQ=WEEKLY;BYDAY=MO,TH', 'value': '2', 'time': '15:00'}, {'active': True, 'rrule': 'FREQ=WEEKLY;BYDAY=TU,WE,FR,SA', 'value': '0', 'time': '13:00'}, {'active': True, 'rrule': 'FREQ=WEEKLY;BYDAY=TU,WE,FR,SA', 'value': '2', 'time': '15:00'}], 'active': True, 'SunCalculated': {'sunrise': {'MO': '05:14', 'TU': '05:13', 'WE': '05:12', 'TH': '05:10', 'FR': '05:09', 'SA': '05:08', 'SU': '05:07'}, 'sunset': {'MO': '21:28', 'TU': '21:30', 'WE': '21:31', 'TH': '21:33', 'FR': '21:34', 'SA': '21:35', 'SU': '21:36'}}}"
2022-05-24 16:59:58 NOTICE lib.smarthome -------------------- SmartHomeNG stopped -------------------- 2022-05-24 16:59:59 NOTICE lib.smarthome -------------------- Init SmartHomeNG v1.9.2-master (cc57a0ad) -------------------- 2022-05-24 16:59:59 NOTICE lib.smarthome Running in Python interpreter 'v3.9.2 final', from directory /usr/local/smarthome 2022-05-24 16:59:59 NOTICE lib.smarthome - on Linux-5.15.32-v8+-aarch64-with-glibc2.31 (pid=403488) 2022-05-24 17:00:01 NOTICE lib.smarthome - Nutze Feiertage für Land 'DE', Provinz 'BY', 1 benutzerdefinierte(r) Feiertag(e) definiert 2022-05-24 17:00:08 NOTICE lib.smarthome -------------------- SmartHomeNG initialization finished -------------------- 2022-05-24 17:00:09 WARNING plugins.landroid authentication was succesfull logged in 2022-05-24 17:00:10 ERROR lib.plugin Plugin 'landroid' exception in run() method: 'NoneType' object has no attribute 'time' > Traceback (most recent call last): > File "/usr/local/smarthome/lib/plugin.py", line 676, in run > self.plugin.run() > File "/usr/local/smarthome/plugins/landroid/__init__.py", line 123, in run > self.poll_device() > File "/usr/local/smarthome/plugins/landroid/__init__.py", line 507, in poll_device > self.parse_worx_attr() > File "/usr/local/smarthome/plugins/landroid/__init__.py", line 523, in parse_worx_attr > self._calc_calendar() > File "/usr/local/smarthome/plugins/landroid/__init__.py", line 172, in _calc_calendar > sunrise = (str(sunrise.time())[:5]) > AttributeError: 'NoneType' object has no attribute 'time'
2022-09-28 00:04:11 ERROR plugins.landroid.poll_device Method plugins.landroid.poll_device exception: Expecting value: line 1 column 1 (char 0) > Traceback (most recent call last): > File "/usr/local/smarthome/lib/scheduler.py", line 657, in _task > obj() > File "/usr/local/smarthome/plugins/landroid/__init__.py", line 491, in poll_device > self.worx.getStatus() > File "/home/smarthome/.local/lib/python3.9/site-packages/pyworxcloud/__init__.py", line 185, in getStatus > self._decodeData(status) > File "/home/smarthome/.local/lib/python3.9/site-packages/pyworxcloud/__init__.py", line 191, in _decodeData > data = json.loads(indata) > File "/usr/lib/python3.9/json/__init__.py", line 346, in loads > return _default_decoder.decode(s) > File "/usr/lib/python3.9/json/decoder.py", line 337, in decode > obj, end = self.raw_decode(s, idx=_w(s, 0).end()) > File "/usr/lib/python3.9/json/decoder.py", line 355, in raw_decode > raise JSONDecodeError("Expecting value", s, err.value) from None > json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
pyworxcloud == 2.1.20
2022-10-04 18:31:20 ERROR lib.plugin Plugin 'landroid' from section 'landroid' exception: __init__() missing 2 required positional arguments: 'username' and 'password' > Traceback (most recent call last): > File "/usr/local/smarthome/lib/plugin.py", line 162, in __init__ > plugin_thread = PluginWrapper(smarthome, plugin, classname, classpath, args, instance, self.meta, self._configfile) > File "/usr/local/smarthome/lib/plugin.py", line 629, in __init__ > exec("self.plugin.__init__(smarthome{0}{1})".format("," if len(arglist) else "", argstring)) > File "<string>", line 1, in <module> > File "/usr/local/smarthome/plugins/landroid/__init__.py", line 81, in __init__ > self.worx = pyworxcloud.WorxCloud() > TypeError: __init__() missing 2 required positional arguments: 'username' and 'password'
self.worx = pyworxcloud.WorxCloud(self.user,self.pwd, "worx")
Wir verarbeiten personenbezogene Daten über die Nutzer unserer Website mithilfe von Cookies und anderen Technologien, um unsere Dienste bereitzustellen. Weitere Informationen findest Du in unserer Datenschutzerklärung.
Indem Du unten auf "ICH stimme zu" klickst, stimmst Du unserer Datenschutzerklärung und unseren persönlichen Datenverarbeitungs- und Cookie-Praktiken zu, wie darin beschrieben. Du erkennst außerdem an, dass dieses Forum möglicherweise außerhalb Deines Landes gehostet wird und bist damit einverstanden, dass Deine Daten in dem Land, in dem dieses Forum gehostet wird, gesammelt, gespeichert und verarbeitet werden.
Kommentar