This module does not work on newer versions of nodejs. On my Raspberry PI system I installed the oldest supported nodejs (10.x) and then I get this error:
2020-08-09 21:00:52.052 (Airco) MQTT message: ewpe-smart/f4911ed2d0b2/status {'Pow': 1, 'Mod': 1, 'TemUn': 0, 'SetTem': 26, 'TemRec': 0, 'WdSpd': 0, 'Air': 0, 'Blo': 0, 'Health': 1, 'SwhSlp': 0, 'Lig': 1, 'SwingLfRig': 3, 'SwUpDn': 11, 'Quiet': 0, 'Tur': 0, 'SvSt': 0, 'TemSen': -40}
2020-08-09 21:00:57.762 (Airco) ewpe-smart/f4911ed2d0b2
2020-08-09 21:00:57.763 (Airco) {"Pow": 1, "Mod": 1, "TemUn": 0, "SetTem": 26, "TemRec": 0, "WdSpd": 0, "Air": 0, "Blo": 0, "Health": 1, "SwhSlp": 0, "Lig": 1, "SwingLfRig": 3, "SwUpDn": 11, "Quiet": 0, "Tur": 0, "SvSt": 0, "TemSen": -40}
2020-08-09 21:00:57.763 Error: (Airco) 'onMessage' failed 'AttributeError':''NoneType' object has no attribute 'nValue''.
2020-08-09 21:00:57.763 Error: (Airco) ----> Line 138 in '/home/pi/domoticz/plugins/ewpe-smart-mqtt/plugin.py', function onMessage
2020-08-09 21:00:57.763 Error: (Airco) ----> Line 106 in '/home/pi/domoticz/plugins/ewpe-smart-mqtt/plugin.py', function onMessage
2020-08-09 21:00:57.763 Error: (Airco) ----> Line 168 in '/home/pi/domoticz/plugins/ewpe-smart-mqtt/mqtt.py', function onMessage
2020-08-09 21:00:57.763 Error: (Airco) ----> Line 84 in '/home/pi/domoticz/plugins/ewpe-smart-mqtt/plugin.py', function onMQTTPublish
2020-08-09 21:00:57.763 Error: (Airco) ----> Line 179 in '/home/pi/domoticz/plugins/ewpe-smart-mqtt/device.py', function handle_message
2020-08-09 21:00:57.763 Error: (Airco) ----> Line 132 in '/home/pi/domoticz/plugins/ewpe-smart-mqtt/device.py', function _update_state
2020-08-09 21:00:57.763 Error: (Airco) ----> Line 120 in '/home/pi/domoticz/plugins/ewpe-smart-mqtt/device.py', function _update_device
2020-08-09 21:00:57.814 (Airco) MQTT message: ewpe-smart/f4911ed2d0b2/status {'Pow': 1, 'Mod': 1, 'TemUn': 0, 'SetTem': 26, 'TemRec': 0, 'WdSpd': 0, 'Air': 0, 'Blo': 0, 'Health': 1, 'SwhSlp': 0, 'Lig': 1, 'SwingLfRig': 3, 'SwUpDn': 11, 'Quiet': 0, 'Tur': 0, 'SvSt': 0, 'TemSen': -40}
2020-08-09 21:00:57.814 (Airco) ewpe-smart/f4911ed2d0b2
2020-08-09 21:00:57.815 (Airco) {"Pow": 1, "Mod": 1, "TemUn": 0, "SetTem": 26, "TemRec": 0, "WdSpd": 0, "Air": 0, "Blo": 0, "Health": 1, "SwhSlp": 0, "Lig": 1, "SwingLfRig": 3, "SwUpDn": 11, "Quiet": 0, "Tur": 0, "SvSt": 0, "TemSen": -40}
2020-08-09 21:00:57.815 Error: (Airco) 'onMessage' failed 'AttributeError':''NoneType' object has no attribute 'nValue''.
2020-08-09 21:00:57.815 Error: (Airco) ----> Line 138 in '/home/pi/domoticz/plugins/ewpe-smart-mqtt/plugin.py', function onMessage
2020-08-09 21:00:57.815 Error: (Airco) ----> Line 106 in '/home/pi/domoticz/plugins/ewpe-smart-mqtt/plugin.py', function onMessage
2020-08-09 21:00:57.815 Error: (Airco) ----> Line 168 in '/home/pi/domoticz/plugins/ewpe-smart-mqtt/mqtt.py', function onMessage
2020-08-09 21:00:57.815 Error: (Airco) ----> Line 84 in '/home/pi/domoticz/plugins/ewpe-smart-mqtt/plugin.py', function onMQTTPublish
2020-08-09 21:00:57.815 Error: (Airco) ----> Line 179 in '/home/pi/domoticz/plugins/ewpe-smart-mqtt/device.py', function handle_message
2020-08-09 21:00:57.815 Error: (Airco) ----> Line 132 in '/home/pi/domoticz/plugins/ewpe-smart-mqtt/device.py', function _update_state
2020-08-09 21:00:57.815 Error: (Airco) ----> Line 120 in '/home/pi/domoticz/plugins/ewpe-smart-mqtt/device.py', function _update_device
This module does not work on newer versions of nodejs. On my Raspberry PI system I installed the oldest supported nodejs (10.x) and then I get this error:
2020-08-09 21:00:52.052 (Airco) MQTT message: ewpe-smart/f4911ed2d0b2/status {'Pow': 1, 'Mod': 1, 'TemUn': 0, 'SetTem': 26, 'TemRec': 0, 'WdSpd': 0, 'Air': 0, 'Blo': 0, 'Health': 1, 'SwhSlp': 0, 'Lig': 1, 'SwingLfRig': 3, 'SwUpDn': 11, 'Quiet': 0, 'Tur': 0, 'SvSt': 0, 'TemSen': -40} 2020-08-09 21:00:57.762 (Airco) ewpe-smart/f4911ed2d0b2 2020-08-09 21:00:57.763 (Airco) {"Pow": 1, "Mod": 1, "TemUn": 0, "SetTem": 26, "TemRec": 0, "WdSpd": 0, "Air": 0, "Blo": 0, "Health": 1, "SwhSlp": 0, "Lig": 1, "SwingLfRig": 3, "SwUpDn": 11, "Quiet": 0, "Tur": 0, "SvSt": 0, "TemSen": -40} 2020-08-09 21:00:57.763 Error: (Airco) 'onMessage' failed 'AttributeError':''NoneType' object has no attribute 'nValue''. 2020-08-09 21:00:57.763 Error: (Airco) ----> Line 138 in '/home/pi/domoticz/plugins/ewpe-smart-mqtt/plugin.py', function onMessage 2020-08-09 21:00:57.763 Error: (Airco) ----> Line 106 in '/home/pi/domoticz/plugins/ewpe-smart-mqtt/plugin.py', function onMessage 2020-08-09 21:00:57.763 Error: (Airco) ----> Line 168 in '/home/pi/domoticz/plugins/ewpe-smart-mqtt/mqtt.py', function onMessage 2020-08-09 21:00:57.763 Error: (Airco) ----> Line 84 in '/home/pi/domoticz/plugins/ewpe-smart-mqtt/plugin.py', function onMQTTPublish 2020-08-09 21:00:57.763 Error: (Airco) ----> Line 179 in '/home/pi/domoticz/plugins/ewpe-smart-mqtt/device.py', function handle_message 2020-08-09 21:00:57.763 Error: (Airco) ----> Line 132 in '/home/pi/domoticz/plugins/ewpe-smart-mqtt/device.py', function _update_state 2020-08-09 21:00:57.763 Error: (Airco) ----> Line 120 in '/home/pi/domoticz/plugins/ewpe-smart-mqtt/device.py', function _update_device 2020-08-09 21:00:57.814 (Airco) MQTT message: ewpe-smart/f4911ed2d0b2/status {'Pow': 1, 'Mod': 1, 'TemUn': 0, 'SetTem': 26, 'TemRec': 0, 'WdSpd': 0, 'Air': 0, 'Blo': 0, 'Health': 1, 'SwhSlp': 0, 'Lig': 1, 'SwingLfRig': 3, 'SwUpDn': 11, 'Quiet': 0, 'Tur': 0, 'SvSt': 0, 'TemSen': -40} 2020-08-09 21:00:57.814 (Airco) ewpe-smart/f4911ed2d0b2 2020-08-09 21:00:57.815 (Airco) {"Pow": 1, "Mod": 1, "TemUn": 0, "SetTem": 26, "TemRec": 0, "WdSpd": 0, "Air": 0, "Blo": 0, "Health": 1, "SwhSlp": 0, "Lig": 1, "SwingLfRig": 3, "SwUpDn": 11, "Quiet": 0, "Tur": 0, "SvSt": 0, "TemSen": -40} 2020-08-09 21:00:57.815 Error: (Airco) 'onMessage' failed 'AttributeError':''NoneType' object has no attribute 'nValue''. 2020-08-09 21:00:57.815 Error: (Airco) ----> Line 138 in '/home/pi/domoticz/plugins/ewpe-smart-mqtt/plugin.py', function onMessage 2020-08-09 21:00:57.815 Error: (Airco) ----> Line 106 in '/home/pi/domoticz/plugins/ewpe-smart-mqtt/plugin.py', function onMessage 2020-08-09 21:00:57.815 Error: (Airco) ----> Line 168 in '/home/pi/domoticz/plugins/ewpe-smart-mqtt/mqtt.py', function onMessage 2020-08-09 21:00:57.815 Error: (Airco) ----> Line 84 in '/home/pi/domoticz/plugins/ewpe-smart-mqtt/plugin.py', function onMQTTPublish 2020-08-09 21:00:57.815 Error: (Airco) ----> Line 179 in '/home/pi/domoticz/plugins/ewpe-smart-mqtt/device.py', function handle_message 2020-08-09 21:00:57.815 Error: (Airco) ----> Line 132 in '/home/pi/domoticz/plugins/ewpe-smart-mqtt/device.py', function _update_state 2020-08-09 21:00:57.815 Error: (Airco) ----> Line 120 in '/home/pi/domoticz/plugins/ewpe-smart-mqtt/device.py', function _update_device