Zitat von Marcov
Beitrag anzeigen
Mäher steht in der Ladestation und lädt. Mäher zum Mähen geschickt:
Code:
2018-06-04 19:13:38 ERROR Main Item indego.MOW: problem running <bound method INDEGO.send_command of <plugins.indego.INDEGO object at 0x673d5210>>: name 'context_id' is not defined Traceback (most recent call last): File "/usr/local/smarthome/lib/item.py", line 866, in __update method(self, caller, source, dest) File "/usr/local/smarthome/plugins/indego/__init__.py", line 158, in send_command message = self.put_url(self.indego_url + 'alms/'+self.alm_sn+'/state',self.context_id,command,10) File "/usr/local/smarthome/plugins/indego/__init__.py", line 148, in put_url logger.debug('put gesendet an URL: ' + str(url) +'context_id: ' + str(context_id) +'command: ' + str(state)) NameError: name 'context_id' is not defined
Code:
2018-06-04 19:19:46 ERROR Main Item indego.RETURN: problem running <bound method INDEGO.send_command of <plugins.indego.INDEGO object at 0x673d5210>>: name 'context_id' is not defined Traceback (most recent call last): File "/usr/local/smarthome/lib/item.py", line 866, in __update method(self, caller, source, dest) File "/usr/local/smarthome/plugins/indego/__init__.py", line 158, in send_command message = self.put_url(self.indego_url + 'alms/'+self.alm_sn+'/state',self.context_id,command,10) File "/usr/local/smarthome/plugins/indego/__init__.py", line 148, in put_url logger.debug('put gesendet an URL: ' + str(url) +'context_id: ' + str(context_id) +'command: ' + str(state)) NameError: name 'context_id' is not defined
alm_name funktioniert auch (Keine Fehlermeldung mehr im Log)
Ich habe bei mir schon mal alles auf Yaml und SmartVisu2.9 umgestellt.
Wenn dann alles läuft, packe ich alles mal zusammen und stelle das hier ebenfalls rein.
Grüße
Kommentar