The ewpe-smart-mqtt was recently adapted with "Fetch temperature sensor information in device status".
The Python plugin does not process this new info.
I added a couple of lines in device.py as follows to make it work:
72 if self.get_device(address, 'mtemp') == None: 73 device_id = address + '_mtemp' 74 Domoticz.Debug('Creating domoticz device to handle measured temperature') 75 Domoticz.Device(Unit=self.get_first_available_unit(), DeviceID=device_id, Name=name + ' - Temperature Measured', TypeName="Temperature").Create() 76
This add a temp device of subtype 'LaCrosse TX3' for each AirCo.
and to set the value:
167 if "TemSen" in state and "TemRec" in state: 168 temperature = state['TemSen'] + (0.5 if state['TemRec'] == 1 else 0) 169 self._update_device('mtemp', 0, str(temperature)) 170
The ewpe-smart-mqtt was recently adapted with "Fetch temperature sensor information in device status". The Python plugin does not process this new info.
I added a couple of lines in device.py as follows to make it work:
72 if self.get_device(address, 'mtemp') == None: 73 device_id = address + '_mtemp' 74 Domoticz.Debug('Creating domoticz device to handle measured temperature') 75 Domoticz.Device(Unit=self.get_first_available_unit(), DeviceID=device_id, Name=name + ' - Temperature Measured', TypeName="Temperature").Create() 76
This add a temp device of subtype 'LaCrosse TX3' for each AirCo. and to set the value:167 if "TemSen" in state and "TemRec" in state: 168 temperature = state['TemSen'] + (0.5 if state['TemRec'] == 1 else 0) 169 self._update_device('mtemp', 0, str(temperature)) 170