Plugin Enocean qui plante au bout de qq minutes

Bonjour,
j’essaye de migrer mon installation Jeedom d’un NUC vers un nouveau serveur Proxmox que je viens de monter (config : proc Ryzen 5600G, CM B550, PVE 7).
Je rencontre un probleme avec le Plugin EnOcean , qui cesse de fonctionner au bout de quelques minutes.
J’ai essayé de passer la clé EnOcean (USB 310) via 3 méthodes :

  • choix du product ID
  • tout le port USB
  • saisir les commandes :
    qm monitor 101
    device_add usb-host,vendorid=0x0403,productid=0x6001,id=ttyUSB31

dans la VM Jeedom (sous debian 11.6) j’ai aussi rajouté des règles dans /etc/udev/rules.d/99-usb.rules :

SUBSYSTEM=="tty", ATTRS{idVendor}=="1cf1", ATTRS{idProduct}=="0030", SYMLINK+="ttyUSB11"
SUBSYSTEM=="tty", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", SYMLINK+="ttyUSB31"

1cf1:0030 conbee
0403:6001 enocean

Ce qui est etrange c’est que le demon reste vert meme lorsqu’il est planté, ci-dessous un morceau de log, on voit le dernier « Response is OK » à [2023-03-26 22:04:30.540] puis plus rien, les équipements ne reçoivent plus les ordres (ici un radiateur Fil Pilote) :

[2023-03-26 22:04:29.877]DEBUG : [85, 0, 12, 7, 1, 150, 210, 7, 96, 0, 0, 0, 0, 5, 133, 2, 44, 176, 0, 255, 130, 103, 0, 53, 0, 231]
[2023-03-26 22:04:29.877]DEBUG : 05:85:02:2C->FF:82:67:00 (-53 dBm): 0x01 ['0xd2', '0x7', '0x60', '0x0', '0x0', '0x0', '0x0', '0x5', '0x85', '0x2', '0x2c', '0xb0'] ['0x0', '0xff', '0x82', '0x67', '0x0', '0x35', '0x0'] OrderedDict()
[2023-03-26 22:04:29.877]DEBUG : Message is repeated 0 times
[2023-03-26 22:04:29.877]DEBUG : {'id': '0585022C', 'rorg': 'd2', 'packet_type': '1', 'dBm': '-53', 'func': '01', 'type': '0c', 'repeat': '0', 'destination': 'FF826700', 'manufacturer': '000', 'cmd': 7}
[2023-03-26 22:04:29.877]DEBUG : Parsing Packet
[2023-03-26 22:04:29.877]DEBUG : Its a VLD message
[2023-03-26 22:04:29.877]DEBUG : Decode data : {"id": "0585022C", "rorg": "d2", "packet_type": "1", "dBm": "-53", "func": "01", "type": "0c", "repeat": "0", "destination": "FF826700", "manufacturer": "000", "cmd": 7, "CMD": {"description": "Command indentifier", "unit": "", "value": "Command ID 7", "raw_value": 7}, "UN": {"description": "Unit", "unit": "", "value": "Power [W]", "raw_value": 3}, "IO": {"description": "I/O channel", "unit": "", "value": "Output channel 0 (to load)", "raw_value": 0}, "MV": {"description": "Measurement value", "unit": "", "value": 0.0, "raw_value": 0}, "P1": 0.0}
[2023-03-26 22:04:29.924]DEBUG : Send to jeedom : {'devices': {'0585022C': {'id': '0585022C', 'rorg': 'd2', 'packet_type': '1', 'dBm': '-53', 'func': '01', 'type': '0c', 'repeat': '0', 'destination': 'FF826700', 'manufacturer': '000', 'cmd': 7, 'CMD': {'description': 'Command indentifier', 'unit': '', 'value': 'Command ID 7', 'raw_value': 7}, 'PM': {'description': 'PilotWireMode', 'unit': '', 'value': 'Comfort', 'raw_value': 1}, 'UN': {'description': 'Unit', 'unit': '', 'value': 'Power [W]', 'raw_value': 3}, 'IO': {'description': 'I/O channel', 'unit': '', 'value': 'Output channel 0 (to load)', 'raw_value': 0}, 'MV': {'description': 'Measurement value', 'unit': '', 'value': 0.0, 'raw_value': 0}, 'P1': 0.0}}}
[2023-03-26 22:04:29.926]DEBUG : Starting new HTTP connection (1): 127.0.0.1:80
[2023-03-26 22:04:29.938]DEBUG : http://127.0.0.1:80 "POST /plugins/openenocean/core/php/jeeOpenEnOcean.php?apikey=<ma_cle_api_top_secrete> HTTP/1.1" 200 0
[2023-03-26 22:04:30.269]DEBUG : Client connected to [127.0.0.1:33330]
[2023-03-26 22:04:30.269]DEBUG : Message read from socket: b'{"apikey":"<ma_cle_api_top_secrete>","cmd":"send","dest":"0585022C","profile":{"func":"01","rorg":"d2","type":"0c"},"command":{"type":"switch","command":"8","PM":"1"}}'
[2023-03-26 22:04:30.269]DEBUG : Client disconnected from [127.0.0.1:33330]
[2023-03-26 22:04:30.281]DEBUG : Message received in socket JEEDOM_SOCKET_MESSAGE
[2023-03-26 22:04:30.281]DEBUG : Received command from jeedom : send
[2023-03-26 22:04:30.281]DEBUG : Send command
[2023-03-26 22:04:30.281]DEBUG : {'PM': 1} on command 8 210 1 12
[2023-03-26 22:04:30.281]DEBUG : [85, 0, 8, 7, 1, 61, 210, 8, 1, 255, 130, 103, 0, 0, 3, 5, 133, 2, 44, 255, 0, 90]
[2023-03-26 22:04:30.281]DEBUG : Last packet for this 05:85:02:2C was emited 0.6259756088256836 seconds ago
[2023-03-26 22:04:30.378]INFO : Sending packet
[2023-03-26 22:04:30.378]DEBUG : FF:82:67:00->05:85:02:2C (-255 dBm): 0x01 ['0xd2', '0x8', '0x1', '0xff', '0x82', '0x67', '0x0', '0x0'] ['0x3', '0x5', '0x85', '0x2', '0x2c', '0xff', '0x0'] OrderedDict([('CMD', {'description': 'Command indentifier', 'unit': '', 'value': 'Command ID 8', 'raw_value': 8}), ('PM', {'description': 'PilotWireMode', 'unit': '', 'value': 'Comfort', 'raw_value': 1})])
[2023-03-26 22:04:30.398]INFO : Sending packet
[2023-03-26 22:04:30.398]DEBUG : FF:82:67:00->05:85:02:2C (-255 dBm): 0x01 ['0xd2', '0x8', '0x1', '0xff', '0x82', '0x67', '0x0', '0x0'] ['0x3', '0x5', '0x85', '0x2', '0x2c', '0xff', '0x0'] OrderedDict([('CMD', {'description': 'Command indentifier', 'unit': '', 'value': 'Command ID 8', 'raw_value': 8}), ('PM', {'description': 'PilotWireMode', 'unit': '', 'value': 'Comfort', 'raw_value': 1})])
[2023-03-26 22:04:30.419]INFO : Sending packet
[2023-03-26 22:04:30.419]DEBUG : FF:82:67:00->05:85:02:2C (-255 dBm): 0x01 ['0xd2', '0x8', '0x1', '0xff', '0x82', '0x67', '0x0', '0x0'] ['0x3', '0x5', '0x85', '0x2', '0x2c', '0xff', '0x0'] OrderedDict([('CMD', {'description': 'Command indentifier', 'unit': '', 'value': 'Command ID 8', 'raw_value': 8}), ('PM', {'description': 'PilotWireMode', 'unit': '', 'value': 'Comfort', 'raw_value': 1})])
[2023-03-26 22:04:30.439]DEBUG : [85, 0, 1, 0, 2, 101, 0, 0]
[2023-03-26 22:04:30.439]DEBUG : 0x02 ['0x0'] [] OrderedDict()
[2023-03-26 22:04:30.439]DEBUG : [85, 0, 1, 0, 2, 101, 0, 0]
[2023-03-26 22:04:30.439]DEBUG : 0x02 ['0x0'] [] OrderedDict()
[2023-03-26 22:04:30.439]DEBUG : Receive response packet : 2
[2023-03-26 22:04:30.439]DEBUG : Response is : OK
[2023-03-26 22:04:30.459]DEBUG : Receive response packet : 2
[2023-03-26 22:04:30.459]DEBUG : Response is : OK
[2023-03-26 22:04:30.539]DEBUG : [85, 0, 1, 0, 2, 101, 0, 0]
[2023-03-26 22:04:30.539]DEBUG : 0x02 ['0x0'] [] OrderedDict()
[2023-03-26 22:04:30.540]DEBUG : Receive response packet : 2
[2023-03-26 22:04:30.540]DEBUG : Response is : OK
[2023-03-26 22:04:41.883]DEBUG : [85, 0, 12, 7, 1, 150, 210, 7, 96, 0, 0, 0, 0, 5, 133, 2, 44, 176, 0, 255, 130, 103, 0, 57, 0, 27]
[2023-03-26 22:04:41.884]DEBUG : 05:85:02:2C->FF:82:67:00 (-57 dBm): 0x01 ['0xd2', '0x7', '0x60', '0x0', '0x0', '0x0', '0x0', '0x5', '0x85', '0x2', '0x2c', '0xb0'] ['0x0', '0xff', '0x82', '0x67', '0x0', '0x39', '0x0'] OrderedDict()
[2023-03-26 22:04:41.884]DEBUG : Message is repeated 0 times
[2023-03-26 22:04:41.884]DEBUG : {'id': '0585022C', 'rorg': 'd2', 'packet_type': '1', 'dBm': '-57', 'func': '01', 'type': '0c', 'repeat': '0', 'destination': 'FF826700', 'manufacturer': '000', 'cmd': 7}
[2023-03-26 22:04:41.885]DEBUG : Parsing Packet
[2023-03-26 22:04:41.885]DEBUG : Its a VLD message
[2023-03-26 22:04:41.885]DEBUG : Decode data : {"id": "0585022C", "rorg": "d2", "packet_type": "1", "dBm": "-57", "func": "01", "type": "0c", "repeat": "0", "destination": "FF826700", "manufacturer": "000", "cmd": 7, "CMD": {"description": "Command indentifier", "unit": "", "value": "Command ID 7", "raw_value": 7}, "UN": {"description": "Unit", "unit": "", "value": "Power [W]", "raw_value": 3}, "IO": {"description": "I/O channel", "unit": "", "value": "Output channel 0 (to load)", "raw_value": 0}, "MV": {"description": "Measurement value", "unit": "", "value": 0.0, "raw_value": 0}, "P1": 0.0}
[2023-03-26 22:04:41.899]DEBUG : [85, 0, 8, 7, 1, 61, 210, 10, 1, 5, 133, 2, 44, 176, 0, 255, 130, 103, 0, 57, 0, 156]
[2023-03-26 22:04:41.900]DEBUG : 05:85:02:2C->FF:82:67:00 (-57 dBm): 0x01 ['0xd2', '0xa', '0x1', '0x5', '0x85', '0x2', '0x2c', '0xb0'] ['0x0', '0xff', '0x82', '0x67', '0x0', '0x39', '0x0'] OrderedDict()
[2023-03-26 22:04:41.905]DEBUG : Message is repeated 0 times
[2023-03-26 22:04:41.905]DEBUG : {'id': '0585022C', 'rorg': 'd2', 'packet_type': '1', 'dBm': '-57', 'func': '01', 'type': '0c', 'repeat': '0', 'destination': 'FF826700', 'manufacturer': '000', 'cmd': 10}
[2023-03-26 22:04:41.906]DEBUG : Parsing Packet
[2023-03-26 22:04:41.906]DEBUG : Its a VLD message
[2023-03-26 22:04:41.906]DEBUG : Decode data : {"id": "0585022C", "rorg": "d2", "packet_type": "1", "dBm": "-57", "func": "01", "type": "0c", "repeat": "0", "destination": "FF826700", "manufacturer": "000", "cmd": 10, "CMD": {"description": "Command indentifier", "unit": "", "value": "Command ID 10", "raw_value": 10}, "PM": {"description": "PilotWireMode", "unit": "", "value": "Comfort", "raw_value": 1}}
[2023-03-26 22:04:42.049]DEBUG : Send to jeedom : {'devices': {'0585022C': {'id': '0585022C', 'rorg': 'd2', 'packet_type': '1', 'dBm': '-57', 'func': '01', 'type': '0c', 'repeat': '0', 'destination': 'FF826700', 'manufacturer': '000', 'cmd': 10, 'CMD': {'description': 'Command indentifier', 'unit': '', 'value': 'Command ID 10', 'raw_value': 10}, 'UN': {'description': 'Unit', 'unit': '', 'value': 'Power [W]', 'raw_value': 3}, 'IO': {'description': 'I/O channel', 'unit': '', 'value': 'Output channel 0 (to load)', 'raw_value': 0}, 'MV': {'description': 'Measurement value', 'unit': '', 'value': 0.0, 'raw_value': 0}, 'P1': 0.0, 'PM': {'description': 'PilotWireMode', 'unit': '', 'value': 'Comfort', 'raw_value': 1}}}}
[2023-03-26 22:04:42.050]DEBUG : Starting new HTTP connection (1): 127.0.0.1:80
[2023-03-26 22:04:42.057]DEBUG : http://127.0.0.1:80 "POST /plugins/openenocean/core/php/jeeOpenEnOcean.php?apikey=<ma_cle_api_top_secrete> HTTP/1.1" 200 0
[2023-03-26 22:05:19.296]DEBUG : Client connected to [127.0.0.1:55566]
[2023-03-26 22:05:19.296]DEBUG : Message read from socket: b'{"apikey":"<ma_cle_api_top_secrete>","cmd":"send","dest":"0585022C","profile":{"func":"01","rorg":"d2","type":"0c"},"command":{"command":"6","QU":"1","IO":"0"}}'
[2023-03-26 22:05:19.296]DEBUG : Client disconnected from [127.0.0.1:55566]
[2023-03-26 22:05:19.299]DEBUG : Message received in socket JEEDOM_SOCKET_MESSAGE
[2023-03-26 22:05:19.299]DEBUG : Received command from jeedom : send
[2023-03-26 22:05:19.299]DEBUG : Send command
[2023-03-26 22:05:19.299]DEBUG : {'QU': 1, 'IO': 0} on command 6 210 1 12
[2023-03-26 22:05:19.299]DEBUG : [85, 0, 8, 7, 1, 61, 210, 6, 32, 255, 130, 103, 0, 0, 3, 5, 133, 2, 44, 255, 0, 93]
[2023-03-26 22:05:19.299]DEBUG : Last packet for this 05:85:02:2C was emited 49.018046855926514 seconds ago
[2023-03-26 22:05:19.318]DEBUG : Client connected to [127.0.0.1:55572]
[2023-03-26 22:05:19.319]DEBUG : Message read from socket: b'{"apikey":"<ma_cle_api_top_secrete>","cmd":"send","dest":"0585022C","profile":{"func":"01","rorg":"d2","type":"0c"},"command":{"type":"switch","command":"8","PM":"1"}}'
[2023-03-26 22:05:19.319]DEBUG : Client disconnected from [127.0.0.1:55572]
[2023-03-26 22:05:19.320]DEBUG : Message received in socket JEEDOM_SOCKET_MESSAGE
[2023-03-26 22:05:19.320]DEBUG : Received command from jeedom : send
[2023-03-26 22:05:19.320]DEBUG : Send command
[2023-03-26 22:05:19.320]DEBUG : {'PM': 1} on command 8 210 1 12
[2023-03-26 22:05:19.320]DEBUG : [85, 0, 8, 7, 1, 61, 210, 8, 1, 255, 130, 103, 0, 0, 3, 5, 133, 2, 44, 255, 0, 90]
[2023-03-26 22:05:19.320]DEBUG : Last packet for this 05:85:02:2C was emited 0.020525217056274414 seconds ago
[2023-03-26 22:05:19.320]DEBUG : Waiting 0.4794747829437256 seconds FF:82:67:00->05:85:02:2C (-255 dBm): 0x01 ['0xd2', '0x8', '0x1', '0xff', '0x82', '0x67', '0x0', '0x0'] ['0x3', '0x5', '0x85', '0x2', '0x2c', '0xff', '0x0'] OrderedDict([('CMD', {'description': 'Command indentifier', 'unit': '', 'value': 'Command ID 8', 'raw_value': 8}), ('PM', {'description': 'PilotWireMode', 'unit': '', 'value': 'Comfort', 'raw_value': 1})])
[2023-03-26 22:05:19.382]INFO : Sending packet
[2023-03-26 22:05:19.382]DEBUG : FF:82:67:00->05:85:02:2C (-255 dBm): 0x01 ['0xd2', '0x6', '0x20', '0xff', '0x82', '0x67', '0x0', '0x0'] ['0x3', '0x5', '0x85', '0x2', '0x2c', '0xff', '0x0'] OrderedDict([('CMD', {'description': 'Command indentifier', 'unit': '', 'value': 'Command ID 6', 'raw_value': 6}), ('QU', {'description': 'Query', 'unit': '', 'value': 'Query power', 'raw_value': 1}), ('IO', {'description': 'I/O channel', 'unit': '', 'value': 'Output channel 0 (to load)', 'raw_value': 0})])
[2023-03-26 22:05:19.402]INFO : Sending packet
[2023-03-26 22:05:19.403]DEBUG : FF:82:67:00->05:85:02:2C (-255 dBm): 0x01 ['0xd2', '0x6', '0x20', '0xff', '0x82', '0x67', '0x0', '0x0'] ['0x3', '0x5', '0x85', '0x2', '0x2c', '0xff', '0x0'] OrderedDict([('CMD', {'description': 'Command indentifier', 'unit': '', 'value': 'Command ID 6', 'raw_value': 6}), ('QU', {'description': 'Query', 'unit': '', 'value': 'Query power', 'raw_value': 1}), ('IO', {'description': 'I/O channel', 'unit': '', 'value': 'Output channel 0 (to load)', 'raw_value': 0})])
[2023-03-26 22:05:19.423]INFO : Sending packet
[2023-03-26 22:05:19.423]DEBUG : FF:82:67:00->05:85:02:2C (-255 dBm): 0x01 ['0xd2', '0x6', '0x20', '0xff', '0x82', '0x67', '0x0', '0x0'] ['0x3', '0x5', '0x85', '0x2', '0x2c', '0xff', '0x0'] OrderedDict([('CMD', {'description': 'Command indentifier', 'unit': '', 'value': 'Command ID 6', 'raw_value': 6}), ('QU', {'description': 'Query', 'unit': '', 'value': 'Query power', 'raw_value': 1}), ('IO', {'description': 'I/O channel', 'unit': '', 'value': 'Output channel 0 (to load)', 'raw_value': 0})])
[2023-03-26 22:05:19.800]DEBUG : Waiting Response
[2023-03-26 22:05:19.850]DEBUG : Waiting Response
[2023-03-26 22:05:19.901]DEBUG : Waiting Response
[2023-03-26 22:05:19.951]DEBUG : Waiting Response
[2023-03-26 22:05:20.001]DEBUG : Waiting Response
[2023-03-26 22:05:20.051]DEBUG : Waiting Response
[2023-03-26 22:05:20.102]DEBUG : Waiting Response
[2023-03-26 22:05:20.152]DEBUG : Waiting Response
[2023-03-26 22:05:20.202]DEBUG : Waiting Response
[2023-03-26 22:05:20.252]DEBUG : Waiting Response
[2023-03-26 22:05:20.302]DEBUG : No Response continue
[2023-03-26 22:05:20.345]INFO : Sending packet
[2023-03-26 22:05:20.345]DEBUG : FF:82:67:00->05:85:02:2C (-255 dBm): 0x01 ['0xd2', '0x8', '0x1', '0xff', '0x82', '0x67', '0x0', '0x0'] ['0x3', '0x5', '0x85', '0x2', '0x2c', '0xff', '0x0'] OrderedDict([('CMD', {'description': 'Command indentifier', 'unit': '', 'value': 'Command ID 8', 'raw_value': 8}), ('PM', {'description': 'PilotWireMode', 'unit': '', 'value': 'Comfort', 'raw_value': 1})])
[2023-03-26 22:05:20.366]INFO : Sending packet
[2023-03-26 22:05:20.366]DEBUG : FF:82:67:00->05:85:02:2C (-255 dBm): 0x01 ['0xd2', '0x8', '0x1', '0xff', '0x82', '0x67', '0x0', '0x0'] ['0x3', '0x5', '0x85', '0x2', '0x2c', '0xff', '0x0'] OrderedDict([('CMD', {'description': 'Command indentifier', 'unit': '', 'value': 'Command ID 8', 'raw_value': 8}), ('PM', {'description': 'PilotWireMode', 'unit': '', 'value': 'Comfort', 'raw_value': 1})])
[2023-03-26 22:05:20.386]INFO : Sending packet
[2023-03-26 22:05:20.386]DEBUG : FF:82:67:00->05:85:02:2C (-255 dBm): 0x01 ['0xd2', '0x8', '0x1', '0xff', '0x82', '0x67', '0x0', '0x0'] ['0x3', '0x5', '0x85', '0x2', '0x2c', '0xff', '0x0'] OrderedDict([('CMD', {'description': 'Command indentifier', 'unit': '', 'value': 'Command ID 8', 'raw_value': 8}), ('PM', {'description': 'PilotWireMode', 'unit': '', 'value': 'Comfort', 'raw_value': 1})])
[2023-03-26 22:05:22.165]DEBUG : Client connected to [127.0.0.1:39618]
[2023-03-26 22:05:22.165]DEBUG : Message read from socket: b'{"apikey":"<ma_cle_api_top_secrete>","cmd":"send","dest":"0585022C","profile":{"func":"01","rorg":"d2","type":"0c"},"command":{"command":"6","QU":"1","IO":"0"}}'
[2023-03-26 22:05:22.165]DEBUG : Client disconnected from [127.0.0.1:39618]
[2023-03-26 22:05:22.175]DEBUG : Message received in socket JEEDOM_SOCKET_MESSAGE
[2023-03-26 22:05:22.175]DEBUG : Received command from jeedom : send
[2023-03-26 22:05:22.175]DEBUG : Send command
[2023-03-26 22:05:22.175]DEBUG : {'QU': 1, 'IO': 0} on command 6 210 1 12
[2023-03-26 22:05:22.176]DEBUG : [85, 0, 8, 7, 1, 61, 210, 6, 32, 255, 130, 103, 0, 0, 3, 5, 133, 2, 44, 255, 0, 93]
[2023-03-26 22:05:22.176]DEBUG : Last packet for this 05:85:02:2C was emited 1.8734400272369385 seconds ago
[2023-03-26 22:05:22.176]DEBUG : Waiting Response
[2023-03-26 22:05:22.185]DEBUG : Client connected to [127.0.0.1:39630]
[2023-03-26 22:05:22.185]DEBUG : Message read from socket: b'{"apikey":"<ma_cle_api_top_secrete>","cmd":"send","dest":"0585022C","profile":{"func":"01","rorg":"d2","type":"0c"},"command":{"type":"switch","command":"8","PM":"0"}}'
[2023-03-26 22:05:22.185]DEBUG : Client disconnected from [127.0.0.1:39630]
[2023-03-26 22:05:22.226]DEBUG : Waiting Response
[2023-03-26 22:05:22.276]DEBUG : Waiting Response
[2023-03-26 22:05:22.320]DEBUG : Client connected to [127.0.0.1:39632]
[2023-03-26 22:05:22.320]DEBUG : Message read from socket: b'{"apikey":"<ma_cle_api_top_secrete>","cmd":"send","dest":"0585022C","profile":{"func":"01","rorg":"d2","type":"0c"},"command":{"type":"switch","command":"8","PM":"1"}}'
[2023-03-26 22:05:22.321]DEBUG : Client disconnected from [127.0.0.1:39632]
[2023-03-26 22:05:22.326]DEBUG : Waiting Response
[2023-03-26 22:05:22.377]DEBUG : Waiting Response
[2023-03-26 22:05:22.427]DEBUG : Waiting Response
[2023-03-26 22:05:22.477]DEBUG : Waiting Response
[2023-03-26 22:05:22.527]DEBUG : Waiting Response
[2023-03-26 22:05:22.578]DEBUG : Waiting Response
[2023-03-26 22:05:22.628]DEBUG : Waiting Response

Je sèche sérieusement et ne sais plus comment aborder cette anomalie, j’espere que quelqu’un ici pourra m’aider :slight_smile:

Je viens d’essayer sur une nouvelle VM, avec l’iso jeedom-debian-buster-amd64-4.3.15.iso
Même symptôme, fonctionne un peu puis cesse de fonctionner sans couper le démon.
:face_exhaling: