Fehlermeldung:
2021-01-02 21:20:09 ERROR lib.item.item Item technik.heizung.HK1.Partybetrieb: problem running <bound method Viessmann.update_item of <plugins.viessmann.Viessmann object at 0xb2efe8e0>>: 'Command_bytes_write'
Traceback (most recent call last):
File "/usr/local/smarthome/lib/item/item.py", line 1349, in __update
method(self, caller, source, dest)
File "/usr/local/smarthome/plugins/viessmann/__init__.py", line 306, in update_item
if not self._send_command(commandname, value):
File "/usr/local/smarthome/plugins/viessmann/__init__.py", line 695, in _send_command
(packet, responselen) = self._build_command_packet(commandname, value)
File "/usr/local/smarthome/plugins/viessmann/__init__.py", line 1255, in _build_command_packet
payloadlength = int(self._controlset['Command_bytes_write']) + int(commandvaluebytes)
KeyError: 'Command_bytes_write'
Traceback (most recent call last):
File "/usr/local/smarthome/lib/item/item.py", line 1349, in __update
method(self, caller, source, dest)
File "/usr/local/smarthome/plugins/viessmann/__init__.py", line 306, in update_item
if not self._send_command(commandname, value):
File "/usr/local/smarthome/plugins/viessmann/__init__.py", line 695, in _send_command
(packet, responselen) = self._build_command_packet(commandname, value)
File "/usr/local/smarthome/plugins/viessmann/__init__.py", line 1255, in _build_command_packet
payloadlength = int(self._controlset['Command_bytes_write']) + int(commandvaluebytes)
KeyError: 'Command_bytes_write'
Code:
technik:
heizung:
HK1:
Partybetrieb:
name: HK1 Partybetrieb
type: bool
viess_read: Partybetrieb_A1M1
viess_read_cycle: 60
viess_init: true
viess_send: true
mqtt_topic: Heizung/HK1/Party
mqtt_retain: true
Code:
'Partybetrieb_A1M1': {'addr': '2303', 'len': 1, 'unit': 'IUBOOL', 'set': True, 'min_value': 0, 'max_value': 1}, # Partybetrieb A1M1


Einen Kommentar schreiben: