Bonjour à tous,
J’utilise EnOcean MQTT (dev) version « Home Assistant Addon Installation » de [mak-gitdev].
Grace au logiciel Dolphin, j’ai pu sniffer les ID de mes modules Evology (sus cité plus haut):
[Lumiere_Petit_Salon]
address = 0x05992D35
rorg = 0xD2
func = 0x01
type = 0x12
[Lumiere_Couloir]
address = 0x051AF535
rorg = 0xD2
func = 0x01
type = 0x12
[Lumiere_Dortoir]
address = 0x0597B9E9
rorg = 0xD2
func = 0x01
type = 0x12
L’intégration semble bien se faire sous MQTT, en prenant pour preuve la capture ci après.
Le journal de l’Addon semble bien réagir lorsque je clique sur les boutons alumer / éteindre, mais rien ne se produit dans la réalité (pas de bruit du relait, ni lumière qui s’eteint… Plus surprenant le bouton passe de l’état allumer allumer puis 3 secondes plus tard tout seul à l’état éteint.
Une idée ?
Merci
2023-09-03 22:40:21,112 DEBUG: Sending SUBSCRIBE (d0, m43) [(b'enoceanmqtt/Lumiere_Dortoir/__system/#', 0)]
2023-09-03 22:40:21,114 INFO: Device enoceanmqtt/Lumiere_Dortoir (UID: D20112_0597B9E9_NONE / EEP: D2-01-12) updated on device database
2023-09-03 22:40:21,114 DEBUG: List of remaining UIDS: []
2023-09-03 22:40:21,137 DEBUG: 0x02 ['0x0', '0xff', '0x94', '0x2', '0x80'] ['0xa'] OrderedDict()
2023-09-03 22:40:21,137 INFO: got response packet: OK
2023-09-03 22:40:22,115 INFO: Waiting for device base ID
2023-09-03 22:40:22,115 DEBUG: Sending PUBLISH (d0, q0, r1, m44), 'b'homeassistant/switch/enoceanmqtt_learn_FF940280/config'', ... (374 bytes)
2023-09-03 22:40:22,116 DEBUG: Sending SUBSCRIBE (d0, m45) [(b'enoceanmqtt/__system/learn/req/#', 0)]
2023-09-03 22:40:22,116 DEBUG: Sending PUBLISH (d0, q0, r1, m46), 'b'enoceanmqtt/__system/learn'', ... (3 bytes)
2023-09-03 22:40:22,118 DEBUG: Received SUBACK
2023-09-03 22:40:22,118 DEBUG: Received SUBACK
2023-09-03 22:40:22,119 DEBUG: Received SUBACK
2023-09-03 22:40:22,120 DEBUG: Received SUBACK
2023-09-03 22:40:22,129 DEBUG: Received SUBACK
2023-09-03 22:40:22,130 DEBUG: Received PUBLISH (d0, q0, r1, m0), 'homeassistant/sensor/enocean_A50213_059C6235_NONE_t_raw/config', ... (538 bytes)
2023-09-03 22:40:22,130 DEBUG: Received SUBACK
2023-09-03 22:40:22,130 DEBUG: Received SUBACK
2023-09-03 22:40:22,130 DEBUG: Received PUBLISH (d0, q0, r1, m0), 'homeassistant/light/enocean_D20112_05992D35_NONE_IO0/config', ... (734 bytes)
2023-09-03 22:40:22,131 DEBUG: Received SUBACK
2023-09-03 22:40:22,131 DEBUG: Received SUBACK
2023-09-03 22:40:22,131 DEBUG: Received PUBLISH (d0, q0, r1, m0), 'homeassistant/light/enocean_D20112_051AF535_NONE_IO0/config', ... (718 bytes)
2023-09-03 22:40:22,170 DEBUG: Received SUBACK
2023-09-03 22:40:22,170 DEBUG: Received SUBACK
2023-09-03 22:40:22,170 DEBUG: Received PUBLISH (d0, q0, r1, m0), 'homeassistant/light/enocean_D20112_0597B9E9_NONE_IO0/config', ... (718 bytes)
2023-09-03 22:40:22,171 DEBUG: Received SUBACK
2023-09-03 22:40:22,171 DEBUG: Received SUBACK
2023-09-03 22:41:19,171 DEBUG: Received PUBLISH (d0, q0, r0, m0), 'enoceanmqtt/Lumiere_Petit_Salon/req', ... (53 bytes)
2023-09-03 22:41:19,172 DEBUG: Got MQTT message: enoceanmqtt/Lumiere_Petit_Salon/req
2023-09-03 22:41:19,172 DEBUG: enoceanmqtt/Lumiere_Petit_Salon: req={'CMD': 1, 'DV': 0, 'IO': 1, 'OV': 0}
2023-09-03 22:41:19,172 DEBUG: Trigger message to: enoceanmqtt/Lumiere_Petit_Salon
2023-09-03 22:41:19,172 DEBUG: Retrieved command id from MQTT message: 0x1
2023-09-03 22:41:19,173 DEBUG: sensor data: {'CMD': 1, 'DV': 0, 'IO': 1, 'OV': 0}
2023-09-03 22:41:19,174 INFO: sending: FF:94:02:80->05:99:2D:35 (-255 dBm): 0x01 ['0xd2', '0x1', '0x1', '0x0', '0xff', '0x94', '0x2', '0x80', '0x0'] ['0x3', '0x5', '0x99', '0x2d', '0x35', '0xff', '0x0'] OrderedDict([('CMD', {'description': 'Command identifier', 'unit': '', 'value': 'Command ID 1', 'raw_value': 1}), ('DV', {'description': 'Dim value', 'unit': '', 'value': 'Switch to new output value', 'raw_value': 0}), ('IO', {'description': 'I/O channel', 'unit': '', 'value': 'Output channel 1 (to load)', 'raw_value': 1}), ('OV', {'description': 'Output value', 'unit': '', 'value': 'Output value 0% or OFF', 'raw_value': 0})])
2023-09-03 22:41:19,174 DEBUG: Clearing data buffer.
2023-09-03 22:41:19,256 INFO: Sending packet
2023-09-03 22:41:19,256 DEBUG: FF:94:02:80->05:99:2D:35 (-255 dBm): 0x01 ['0xd2', '0x1', '0x1', '0x0', '0xff', '0x94', '0x2', '0x80', '0x0'] ['0x3', '0x5', '0x99', '0x2d', '0x35', '0xff', '0x0'] OrderedDict([('CMD', {'description': 'Command identifier', 'unit': '', 'value': 'Command ID 1', 'raw_value': 1}), ('DV', {'description': 'Dim value', 'unit': '', 'value': 'Switch to new output value', 'raw_value': 0}), ('IO', {'description': 'I/O channel', 'unit': '', 'value': 'Output channel 1 (to load)', 'raw_value': 1}), ('OV', {'description': 'Output value', 'unit': '', 'value': 'Output value 0% or OFF', 'raw_value': 0})])
2023-09-03 22:41:19,357 DEBUG: 0x02 ['0x0'] [] OrderedDict()
2023-09-03 22:41:19,357 INFO: got response packet: OK
2023-09-03 22:41:21,176 DEBUG: Sending PINGREQ
2023-09-03 22:41:21,177 DEBUG: Received PINGRESP
2023-09-03 22:41:23,016 DEBUG: Received PUBLISH (d0, q0, r0, m0), 'enoceanmqtt/Lumiere_Petit_Salon/req', ... (53 bytes)
2023-09-03 22:41:23,016 DEBUG: Got MQTT message: enoceanmqtt/Lumiere_Petit_Salon/req
2023-09-03 22:41:23,017 DEBUG: enoceanmqtt/Lumiere_Petit_Salon: req={'CMD': 1, 'DV': 0, 'IO': 0, 'OV': 0}
2023-09-03 22:41:23,017 DEBUG: Trigger message to: enoceanmqtt/Lumiere_Petit_Salon
2023-09-03 22:41:23,017 DEBUG: Retrieved command id from MQTT message: 0x1
2023-09-03 22:41:23,018 DEBUG: sensor data: {'CMD': 1, 'DV': 0, 'IO': 0, 'OV': 0}
2023-09-03 22:41:23,019 INFO: sending: FF:94:02:80->05:99:2D:35 (-255 dBm): 0x01 ['0xd2', '0x1', '0x0', '0x0', '0xff', '0x94', '0x2', '0x80', '0x0'] ['0x3', '0x5', '0x99', '0x2d', '0x35', '0xff', '0x0'] OrderedDict([('CMD', {'description': 'Command identifier', 'unit': '', 'value': 'Command ID 1', 'raw_value': 1}), ('DV', {'description': 'Dim value', 'unit': '', 'value': 'Switch to new output value', 'raw_value': 0}), ('IO', {'description': 'I/O channel', 'unit': '', 'value': 'Output channel 0 (to load)', 'raw_value': 0}), ('OV', {'description': 'Output value', 'unit': '', 'value': 'Output value 0% or OFF', 'raw_value': 0})])
2023-09-03 22:41:23,019 DEBUG: Clearing data buffer.
2023-09-03 22:41:23,070 INFO: Sending packet
2023-09-03 22:41:23,070 DEBUG: FF:94:02:80->05:99:2D:35 (-255 dBm): 0x01 ['0xd2', '0x1', '0x0', '0x0', '0xff', '0x94', '0x2', '0x80', '0x0'] ['0x3', '0x5', '0x99', '0x2d', '0x35', '0xff', '0x0'] OrderedDict([('CMD', {'description': 'Command identifier', 'unit': '', 'value': 'Command ID 1', 'raw_value': 1}), ('DV', {'description': 'Dim value', 'unit': '', 'value': 'Switch to new output value', 'raw_value': 0}), ('IO', {'description': 'I/O channel', 'unit': '', 'value': 'Output channel 0 (to load)', 'raw_value': 0}), ('OV', {'description': 'Output value', 'unit': '', 'value': 'Output value 0% or OFF', 'raw_value': 0})])
2023-09-03 22:41:23,171 DEBUG: 0x02 ['0x0'] [] OrderedDict()
2023-09-03 22:41:23,172 INFO: got response packet: OK
2023-09-03 22:41:29,667 DEBUG: Received PUBLISH (d0, q0, r0, m0), 'enoceanmqtt/Lumiere_Couloir/req', ... (55 bytes)
2023-09-03 22:41:29,668 DEBUG: Got MQTT message: enoceanmqtt/Lumiere_Couloir/req
2023-09-03 22:41:29,668 DEBUG: enoceanmqtt/Lumiere_Couloir: req={'CMD': 1, 'DV': 0, 'IO': 0, 'OV': 100}
2023-09-03 22:41:29,668 DEBUG: Trigger message to: enoceanmqtt/Lumiere_Couloir
2023-09-03 22:41:29,668 DEBUG: Retrieved command id from MQTT message: 0x1
2023-09-03 22:41:29,670 DEBUG: sensor data: {'CMD': 1, 'DV': 0, 'IO': 0, 'OV': 100}
2023-09-03 22:41:29,671 INFO: sending: FF:94:02:80->05:1A:F5:35 (-255 dBm): 0x01 ['0xd2', '0x1', '0x0', '0x64', '0xff', '0x94', '0x2', '0x80', '0x0'] ['0x3', '0x5', '0x1a', '0xf5', '0x35', '0xff', '0x0'] OrderedDict([('CMD', {'description': 'Command identifier', 'unit': '', 'value': 'Command ID 1', 'raw_value': 1}), ('DV', {'description': 'Dim value', 'unit': '', 'value': 'Switch to new output value', 'raw_value': 0}), ('IO', {'description': 'I/O channel', 'unit': '', 'value': 'Output channel 0 (to load)', 'raw_value': 0}), ('OV', {'description': 'Output value', 'unit': '', 'value': 'Output value 100% or ON', 'raw_value': 100})])
2023-09-03 22:41:29,671 DEBUG: Clearing data buffer.
2023-09-03 22:41:29,693 INFO: Sending packet
2023-09-03 22:41:29,693 DEBUG: FF:94:02:80->05:1A:F5:35 (-255 dBm): 0x01 ['0xd2', '0x1', '0x0', '0x64', '0xff', '0x94', '0x2', '0x80', '0x0'] ['0x3', '0x5', '0x1a', '0xf5', '0x35', '0xff', '0x0'] OrderedDict([('CMD', {'description': 'Command identifier', 'unit': '', 'value': 'Command ID 1', 'raw_value': 1}), ('DV', {'description': 'Dim value', 'unit': '', 'value': 'Switch to new output value', 'raw_value': 0}), ('IO', {'description': 'I/O channel', 'unit': '', 'value': 'Output channel 0 (to load)', 'raw_value': 0}), ('OV', {'description': 'Output value', 'unit': '', 'value': 'Output value 100% or ON', 'raw_value': 100})])
2023-09-03 22:41:29,794 DEBUG: 0x02 ['0x0'] [] OrderedDict()
2023-09-03 22:41:29,795 INFO: got response packet: OK
2023-09-03 22:41:34,442 DEBUG: Received PUBLISH (d0, q0, r0, m0), 'enoceanmqtt/Lumiere_Couloir/req', ... (55 bytes)
2023-09-03 22:41:34,442 DEBUG: Got MQTT message: enoceanmqtt/Lumiere_Couloir/req
2023-09-03 22:41:34,442 DEBUG: enoceanmqtt/Lumiere_Couloir: req={'CMD': 1, 'DV': 0, 'IO': 1, 'OV': 100}
2023-09-03 22:41:34,443 DEBUG: Trigger message to: enoceanmqtt/Lumiere_Couloir
2023-09-03 22:41:34,443 DEBUG: Retrieved command id from MQTT message: 0x1
2023-09-03 22:41:34,443 DEBUG: sensor data: {'CMD': 1, 'DV': 0, 'IO': 1, 'OV': 100}
2023-09-03 22:41:34,444 INFO: sending: FF:94:02:80->05:1A:F5:35 (-255 dBm): 0x01 ['0xd2', '0x1', '0x1', '0x64', '0xff', '0x94', '0x2', '0x80', '0x0'] ['0x3', '0x5', '0x1a', '0xf5', '0x35', '0xff', '0x0'] OrderedDict([('CMD', {'description': 'Command identifier', 'unit': '', 'value': 'Command ID 1', 'raw_value': 1}), ('DV', {'description': 'Dim value', 'unit': '', 'value': 'Switch to new output value', 'raw_value': 0}), ('IO', {'description': 'I/O channel', 'unit': '', 'value': 'Output channel 1 (to load)', 'raw_value': 1}), ('OV', {'description': 'Output value', 'unit': '', 'value': 'Output value 100% or ON', 'raw_value': 100})])
2023-09-03 22:41:34,445 DEBUG: Clearing data buffer.
2023-09-03 22:41:34,510 INFO: Sending packet
2023-09-03 22:41:34,511 DEBUG: FF:94:02:80->05:1A:F5:35 (-255 dBm): 0x01 ['0xd2', '0x1', '0x1', '0x64', '0xff', '0x94', '0x2', '0x80', '0x0'] ['0x3', '0x5', '0x1a', '0xf5', '0x35', '0xff', '0x0'] OrderedDict([('CMD', {'description': 'Command identifier', 'unit': '', 'value': 'Command ID 1', 'raw_value': 1}), ('DV', {'description': 'Dim value', 'unit': '', 'value': 'Switch to new output value', 'raw_value': 0}), ('IO', {'description': 'I/O channel', 'unit': '', 'value': 'Output channel 1 (to load)', 'raw_value': 1}), ('OV', {'description': 'Output value', 'unit': '', 'value': 'Output value 100% or ON', 'raw_value': 100})])
2023-09-03 22:41:34,611 DEBUG: 0x02 ['0x0'] [] OrderedDict()
2023-09-03 22:41:34,612 INFO: got response packet: OK
2023-09-03 22:41:40,311 DEBUG: Received PUBLISH (d0, q0, r0, m0), 'enoceanmqtt/Lumiere_Couloir/req', ... (53 bytes)
2023-09-03 22:41:40,311 DEBUG: Got MQTT message: enoceanmqtt/Lumiere_Couloir/req
2023-09-03 22:41:40,311 DEBUG: enoceanmqtt/Lumiere_Couloir: req={'CMD': 1, 'DV': 0, 'IO': 1, 'OV': 0}
2023-09-03 22:41:40,311 DEBUG: Trigger message to: enoceanmqtt/Lumiere_Couloir
2023-09-03 22:41:40,311 DEBUG: Retrieved command id from MQTT message: 0x1
2023-09-03 22:41:40,312 DEBUG: sensor data: {'CMD': 1, 'DV': 0, 'IO': 1, 'OV': 0}
2023-09-03 22:41:40,312 INFO: sending: FF:94:02:80->05:1A:F5:35 (-255 dBm): 0x01 ['0xd2', '0x1', '0x1', '0x0', '0xff', '0x94', '0x2', '0x80', '0x0'] ['0x3', '0x5', '0x1a', '0xf5', '0x35', '0xff', '0x0'] OrderedDict([('CMD', {'description': 'Command identifier', 'unit': '', 'value': 'Command ID 1', 'raw_value': 1}), ('DV', {'description': 'Dim value', 'unit': '', 'value': 'Switch to new output value', 'raw_value': 0}), ('IO', {'description': 'I/O channel', 'unit': '', 'value': 'Output channel 1 (to load)', 'raw_value': 1}), ('OV', {'description': 'Output value', 'unit': '', 'value': 'Output value 0% or OFF', 'raw_value': 0})])
2023-09-03 22:41:40,313 DEBUG: Clearing data buffer.
2023-09-03 22:41:40,330 INFO: Sending packet
2023-09-03 22:41:40,331 DEBUG: FF:94:02:80->05:1A:F5:35 (-255 dBm): 0x01 ['0xd2', '0x1', '0x1', '0x0', '0xff', '0x94', '0x2', '0x80', '0x0'] ['0x3', '0x5', '0x1a', '0xf5', '0x35', '0xff', '0x0'] OrderedDict([('CMD', {'description': 'Command identifier', 'unit': '', 'value': 'Command ID 1', 'raw_value': 1}), ('DV', {'description': 'Dim value', 'unit': '', 'value': 'Switch to new output value', 'raw_value': 0}), ('IO', {'description': 'I/O channel', 'unit': '', 'value': 'Output channel 1 (to load)', 'raw_value': 1}), ('OV', {'description': 'Output value', 'unit': '', 'value': 'Output value 0% or OFF', 'raw_value': 0})])
2023-09-03 22:41:40,431 DEBUG: 0x02 ['0x0'] [] OrderedDict()
2023-09-03 22:41:40,432 INFO: got response packet: OK
2023-09-03 22:41:42,367 DEBUG: Received PUBLISH (d0, q0, r0, m0), 'enoceanmqtt/Lumiere_Couloir/req', ... (53 bytes)
2023-09-03 22:41:42,367 DEBUG: Got MQTT message: enoceanmqtt/Lumiere_Couloir/req
2023-09-03 22:41:42,367 DEBUG: enoceanmqtt/Lumiere_Couloir: req={'CMD': 1, 'DV': 0, 'IO': 0, 'OV': 0}
2023-09-03 22:41:42,367 DEBUG: Trigger message to: enoceanmqtt/Lumiere_Couloir
2023-09-03 22:41:42,368 DEBUG: Retrieved command id from MQTT message: 0x1
2023-09-03 22:41:42,368 DEBUG: sensor data: {'CMD': 1, 'DV': 0, 'IO': 0, 'OV': 0}
2023-09-03 22:41:42,369 INFO: sending: FF:94:02:80->05:1A:F5:35 (-255 dBm): 0x01 ['0xd2', '0x1', '0x0', '0x0', '0xff', '0x94', '0x2', '0x80', '0x0'] ['0x3', '0x5', '0x1a', '0xf5', '0x35', '0xff', '0x0'] OrderedDict([('CMD', {'description': 'Command identifier', 'unit': '', 'value': 'Command ID 1', 'raw_value': 1}), ('DV', {'description': 'Dim value', 'unit': '', 'value': 'Switch to new output value', 'raw_value': 0}), ('IO', {'description': 'I/O channel', 'unit': '', 'value': 'Output channel 0 (to load)', 'raw_value': 0}), ('OV', {'description': 'Output value', 'unit': '', 'value': 'Output value 0% or OFF', 'raw_value': 0})])
2023-09-03 22:41:42,369 DEBUG: Clearing data buffer.
2023-09-03 22:41:42,439 INFO: Sending packet
2023-09-03 22:41:42,439 DEBUG: FF:94:02:80->05:1A:F5:35 (-255 dBm): 0x01 ['0xd2', '0x1', '0x0', '0x0', '0xff', '0x94', '0x2', '0x80', '0x0'] ['0x3', '0x5', '0x1a', '0xf5', '0x35', '0xff', '0x0'] OrderedDict([('CMD', {'description': 'Command identifier', 'unit': '', 'value': 'Command ID 1', 'raw_value': 1}), ('DV', {'description': 'Dim value', 'unit': '', 'value': 'Switch to new output value', 'raw_value': 0}), ('IO', {'description': 'I/O channel', 'unit': '', 'value': 'Output channel 0 (to load)', 'raw_value': 0}), ('OV', {'description': 'Output value', 'unit': '', 'value': 'Output value 0% or OFF', 'raw_value': 0})])
2023-09-03 22:41:42,540 DEBUG: 0x02 ['0x0'] [] OrderedDict()
2023-09-03 22:41:42,540 INFO: got response packet: OK
Il me semble qu’un appareillage n’est pas necessaire, bon je l’ai quand même testé pour voir avec ce module, mais cela n’a rien changé…