[2021-06-12 14:00:07][DEBUG] : Start decoding packet type 0x52 [2021-06-12 14:00:07][DEBUG] : Subtype = TH7 is TFA TS34C/Cresta/Honeywell TS33C [2021-06-12 14:00:07][DEBUG] : Data : {'packetlen': '0x0A', 'packettype': '0x52', 'subtype': '0x07', 'seqnbr': '0x18', 'id1': '0x20', 'id2': '0x0E', 'temperaturesign': '', 'temperature': 223, 'humidity': 66, 'humidity_status': 1, 'battery': 100, 'rssi': 5} [2021-06-12 14:00:07][DEBUG] : Decoded info : {'packettype': '0x52', 'subtype': '0x07', 'id': '200E', 'temperature': '22.3', 'humidity': 66, 'humidity_status': 1, 'battery': 100, 'rssi': 5} [2021-06-12 14:00:07][DEBUG] : Device is known id : 200E [2021-06-12 14:00:07][DEBUG] : Send to jeedom : {'devices': {'200E52': {'packettype': '0x52', 'subtype': '0x07', 'id': '200E', 'temperature': '22.3', 'humidity': 66, 'humidity_status': 1, 'battery': 100, 'rssi': 5}}} [2021-06-12 14:00:07][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2021-06-12 14:00:07][DEBUG] : {"devices":{"200E52":{"packettype":"0x52","subtype":"0x07","id":"200E","temperature":"22.3","humidity":66,"humidity_status":1,"battery":100,"rssi":5}}} [2021-06-12 14:00:07][DEBUG] : http://127.0.0.1:80 "POST /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=3wJv70J170XMF9TMlVpNaTSk3IR8CmPr3v4kUSGlueY0CO17 HTTP/1.1" 200 0 [2021-06-12 14:00:08][DEBUG] : Client connected to [127.0.0.1:45580] [2021-06-12 14:00:08][DEBUG] : Message read from socket: b'{"apikey":"3wJv70J170XMF9TMlVpNaTSk3IR8CmPr3v4kUSGlueY0CO17","cmd":"send","data":["0710061041040000"]}' [2021-06-12 14:00:08][DEBUG] : Client disconnected from [127.0.0.1:45580] [2021-06-12 14:00:08][DEBUG] : Message received in socket JEEDOM_SOCKET_MESSAGE [2021-06-12 14:00:08][DEBUG] : Test message: 0710061041040000 [2021-06-12 14:00:08][DEBUG] : flushOutput serial port [2021-06-12 14:00:08][DEBUG] : flushInput serial port [2021-06-12 14:00:08][DEBUG] : Write message to serial port [2021-06-12 14:00:08][DEBUG] : Write data to serial port : 0710061041040000 [2021-06-12 14:00:08][DEBUG] : Write message ok : 0710061041040000 [2021-06-12 14:00:08][DEBUG] : Client connected to [127.0.0.1:45584] [2021-06-12 14:00:08][DEBUG] : Message read from socket: b'{"apikey":"3wJv70J170XMF9TMlVpNaTSk3IR8CmPr3v4kUSGlueY0CO17","cmd":"send","data":["0710061041040000"]}' [2021-06-12 14:00:08][DEBUG] : Client disconnected from [127.0.0.1:45584] [2021-06-12 14:00:08][DEBUG] : Message received in socket JEEDOM_SOCKET_MESSAGE [2021-06-12 14:00:08][DEBUG] : Test message: 0710061041040000 [2021-06-12 14:00:08][DEBUG] : flushOutput serial port [2021-06-12 14:00:08][DEBUG] : flushInput serial port [2021-06-12 14:00:08][DEBUG] : Write message to serial port [2021-06-12 14:00:08][DEBUG] : Write data to serial port : 0710061041040000 [2021-06-12 14:00:08][ERROR] : Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?) [2021-06-12 14:00:08][DEBUG] : Write message ok : 0710061041040000 Exception in thread Thread-4: Traceback (most recent call last): File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner self.run() File "/usr/lib/python3.7/threading.py", line 865, in run self._target(*self._args, **self._kwargs) File "/var/www/html/plugins/rfxcom/resources/rfxcomd/rfxcomd.py", line 158, in read_rfxcom message = byte + shared.JEEDOM_SERIAL.readbytes(int.from_bytes(byte,'big')) File "/var/www/html/plugins/rfxcom/resources/rfxcomd/jeedom/jeedom.py", line 287, in readbytes buf += byte UnboundLocalError: local variable 'byte' referenced before assignment [2021-06-12 14:05:07][DEBUG] : Client connected to [127.0.0.1:45978] [2021-06-12 14:05:07][DEBUG] : Message read from socket: b'{"apikey":"3wJv70J170XMF9TMlVpNaTSk3IR8CmPr3v4kUSGlueY0CO17","cmd":"send","data":["0710061041040000"]}' [2021-06-12 14:05:07][DEBUG] : Client disconnected from [127.0.0.1:45978] [2021-06-12 14:05:07][DEBUG] : Message received in socket JEEDOM_SOCKET_MESSAGE [2021-06-12 14:05:07][DEBUG] : Test message: 0710061041040000 [2021-06-12 14:05:07][DEBUG] : flushOutput serial port [2021-06-12 14:05:07][DEBUG] : flushInput serial port [2021-06-12 14:05:07][DEBUG] : Write message to serial port [2021-06-12 14:05:07][DEBUG] : Write data to serial port : 0710061041040000 [2021-06-12 14:05:07][DEBUG] : Write message ok : 0710061041040000 [2021-06-12 14:05:07][DEBUG] : Client connected to [127.0.0.1:45982] [2021-06-12 14:05:07][DEBUG] : Message read from socket: b'{"apikey":"3wJv70J170XMF9TMlVpNaTSk3IR8CmPr3v4kUSGlueY0CO17","cmd":"send","data":["0710061041040000"]}' [2021-06-12 14:05:07][DEBUG] : Client disconnected from [127.0.0.1:45982] [2021-06-12 14:05:07][DEBUG] : Message received in socket JEEDOM_SOCKET_MESSAGE [2021-06-12 14:05:07][DEBUG] : Test message: 0710061041040000 [2021-06-12 14:05:07][DEBUG] : flushOutput serial port [2021-06-12 14:05:07][DEBUG] : flushInput serial port [2021-06-12 14:05:07][DEBUG] : Write message to serial port [2021-06-12 14:05:07][DEBUG] : Write data to serial port : 0710061041040000 [2021-06-12 14:05:07][DEBUG] : Write message ok : 0710061041040000 [2021-06-12 14:10:07][DEBUG] : Client connected to [127.0.0.1:46408] [2021-06-12 14:10:07][DEBUG] : Message read from socket: b'{"apikey":"3wJv70J170XMF9TMlVpNaTSk3IR8CmPr3v4kUSGlueY0CO17","cmd":"send","data":["0710061041040000"]}' [2021-06-12 14:10:07][DEBUG] : Client disconnected from [127.0.0.1:46408] [2021-06-12 14:10:07][DEBUG] : Message received in socket JEEDOM_SOCKET_MESSAGE [2021-06-12 14:10:07][DEBUG] : Test message: 0710061041040000 [2021-06-12 14:10:07][DEBUG] : flushOutput serial port [2021-06-12 14:10:07][DEBUG] : flushInput serial port [2021-06-12 14:10:07][DEBUG] : Write message to serial port [2021-06-12 14:10:07][DEBUG] : Write data to serial port : 0710061041040000 [2021-06-12 14:10:07][DEBUG] : Write message ok : 0710061041040000 [2021-06-12 14:10:08][DEBUG] : Client connected to [127.0.0.1:46412]