Support Anfragen zum husky Plugin für die Steuerung von Husqvarna Automowern mit SmartHomeNG hier posten.
Als Referenz kommt dieser Anfangs-Thread in Frage.
Als Referenz kommt dieser Anfangs-Thread in Frage.
2021-09-24 09:10:43 WARNING lib.smarthome.main -------------------- Init SmartHomeNG 1.8.2.master (0f462a1e) -------------------- 2021-09-24 09:10:43 WARNING lib.smarthome.main Running in Python interpreter 'v3.7.3 final', from directory /usr/local/smarthome 2021-09-24 09:10:43 WARNING lib.smarthome.main - on Linux-5.4.140-1-pve-x86_64-with-debian-10.10 (pid=330) 2021-09-24 09:10:43 WARNING lib.smarthome.main - Nutze Feiertage für Land 'DE', Provinz 'None', 1 benutzerdefinierte(r) Feiertag(e) definiert 2021-09-24 09:10:47 WARNING lib.metadata Item 'automower.state.errormessage', attribute 'telegram_message': Attribute is undefined and has value 'MOWER ERROR: [VALUE]' 2021-09-24 09:10:47 WARNING lib.metadata Item 'automower.state.message', attribute 'telegram_info': Attribute is undefined and has value 'mower' 2021-09-24 11:10:47 WARNING lib.smarthome.main -------------------- SmartHomeNG initialization finished -------------------- 2021-09-24 11:10:48 ERROR lib.plugin Plugin 'husky' exception in run() method: 'Mower' object has no attribute 'logger' > Traceback (most recent call last): > File "/usr/local/smarthome/lib/plugin.py", line 675, in run > self.plugin.run() > File "/usr/local/smarthome/plugins/husky/__init__.py", line 174, in run > self._select_mower() > File "/usr/local/smarthome/plugins/husky/__init__.py", line 440, in _select_mower > self.mymower.parse_mower_from_json(selected_mower) > File "/usr/local/smarthome/plugins/husky/__init__.py", line 931, in parse_mower_from_json > self.logger.error("Model attribute not found in json: {0}".format(json)) > AttributeError: 'Mower' object has no attribute 'logger' 2021-09-24 11:11:28 ERROR cherrypy.error.140459118144368 [24/Sep/2021:11:11:28] HTTP > Traceback (most recent call last): > File "/home/smarthome/.local/lib/python3.7/site-packages/cherrypy/_cprequest.py", line 638, in respond > self._do_respond(path_info) > File "/home/smarthome/.local/lib/python3.7/site-packages/cherrypy/_cprequest.py", line 697, in _do_respond > response.body = self.handler() > File "/home/smarthome/.local/lib/python3.7/site-packages/cherrypy/lib/encoding.py", line 219, in __call__ > self.body = self.oldhandler(*args, **kwargs) > File "/home/smarthome/.local/lib/python3.7/site-packages/cherrypy/_cpdispatch.py", line 54, in __call__ > return self.callable(*self.args, **self.kwargs) > File "/usr/local/smarthome/plugins/husky/__init__.py", line 611, in index > return tmpl.render(p=self.plugin, device_count=device_count, items_control=self.plugin._items_control, items_state=self.plugin._items_state, items_opdata=self.plugin._items_opdata) > File "/home/smarthome/.local/lib/python3.7/site-packages/jinja2/environment.py", line 1090, in render > self.environment.handle_exception() > File "/home/smarthome/.local/lib/python3.7/site-packages/jinja2/environment.py", line 832, in handle_exception > reraise(*rewrite_traceback_stack(source=source)) > File "/home/smarthome/.local/lib/python3.7/site-packages/jinja2/_compat.py", line 28, in reraise > raise value.with_traceback(tb) > File "/usr/local/smarthome/plugins/husky/webif/templates/index.html", line 263, in top-level template code > {% set tab2title = "<strong>" ~ p.get_shortname() ~ " Items</strong> (" ~ items_count ~ ")" %} > File "/usr/local/smarthome/modules/http/webif/gtemplates/base_plugin.html", line 183, in top-level template code > {% if scroll_heading is not defined %} > File "/usr/local/smarthome/modules/http/webif/gtemplates/base.html", line 1, in top-level template code > {% block doc -%} > File "/usr/local/smarthome/modules/http/webif/gtemplates/base.html", line 4, in block "doc" > {%- block html %} > File "/usr/local/smarthome/modules/http/webif/gtemplates/base.html", line 76, in block "html" > {% block body -%} > File "/usr/local/smarthome/modules/http/webif/gtemplates/base.html", line 79, in block "body" > {% block content -%} > File "/usr/local/smarthome/modules/http/webif/gtemplates/base_plugin.html", line 150, in block "content" > {% block bodytab1 %} > File "/usr/local/smarthome/plugins/husky/webif/templates/index.html", line 141, in block "bodytab1" > {{ p.mymower.last_status().get_status_message() }} > File "/usr/local/smarthome/plugins/husky/__init__.py", line 1119, in get_status_message > starttime_YMDHMS = self.get_next_start_time() > File "/usr/local/smarthome/plugins/husky/__init__.py", line 1105, in get_next_start_time > return datetime.utcfromtimestamp(self._nextStartTimestamp ).strftime('%Y-%m-%d %H:%M:%S') > TypeError: an integer is required (got type NoneType)
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