Re, J’ai du nouveau,
Le fait que tu me parles d’antenne @edoss ça a fait tilte.
Pourquoi, parce que quand j’ai acheté la clé USB 310 avec connecteur SMA, je me suis dit que je mettrais une antenne que j’avais déjà.
Sauf que c’est une antenne 2.4 GHz le Wifi et donc après avoir acheté et reçu une antenne 868 MHz = je capte à fond les ballon, mais LOL.
@mak-dev , j’ai bien des chosse qui sont vue sur mon Home Assistant maintenant.
Quand je clique sur un des boutons (haut ou bas) interruptieur mural j’ai un truc qui se passe car ca me mets > e2m_Salle à manger - Volet Roulant_last_seen 1 seondes etc.
Donc ça veut dire qu’il y a bien une détection de quelque chose pour moi.
Exemple quand on a ouvert et fermé le volet, il a bien détecté ça au niveau de la position.
Il me reste à voir comment faire pour que se soit possible de commander mon volet depuis les boutons de Home Assistant.
Quand je peux être sûre que mon volet est appairé @mak-dev ?
comment ferais-tu ?
Voici les logs de EnOceanMQTT si ca peut aider.
05A1D4B3 > dongle USB310
059E2784 > mon Volet roulant
FFEA5980 > unknown sensor: mais après recherche c’est le EnOceanMQTT
2023-03-17 18:55:20,507 INFO: Logging to file: /config/enoceanmqtt.log
2023-03-17 18:55:20,511 INFO: Loading config file /data/enoceanmqtt.conf
2023-03-17 18:55:20,519 DEBUG: Created sensor: {'name': 'enoceanmqtt/Salon - Température/Humidité', 'address': 86201167, 'rorg': 165, 'func': 4, 'type': 1}
2023-03-17 18:55:20,523 DEBUG: Created sensor: {'name': 'enoceanmqtt/Salle à manger - Volet Roulant', 'address': 94250884, 'rorg': 210, 'func': 5, 'type': 0}
2023-03-17 18:55:20,526 DEBUG: Global config: {'enocean_port': '/dev/ttyUSB0', 'log_packets': 'true', 'overlay': 'HA', 'db_file': '/data/enoceanmqtt_db.json', 'mapping_file': '', 'mqtt_discovery_prefix': 'homeassistant/', 'mqtt_host': 'core-mosquitto', 'mqtt_port': '1883', 'mqtt_client_id': 'enocean_gateway', 'mqtt_keepalive': '60', 'mqtt_prefix': 'enoceanmqtt/', 'mqtt_user': 'addons', 'mqtt_pwd': '*****', 'mqtt_debug': 'true'}
2023-03-17 18:55:20,527 INFO: Selected overlay : Home Assistant
2023-03-17 18:55:23,996 INFO: Mapping file correctly read: /app/enocean-mqtt/enoceanmqtt/overlays/homeassistant/mapping.yaml
2023-03-17 18:55:24,004 INFO: Device database /data/enoceanmqtt_db.json correctly read/created
2023-03-17 18:55:24,005 INFO: Authenticating: addons
2023-03-17 18:55:24,006 DEBUG: Connecting to host core-mosquitto, port 1883, keepalive 60
2023-03-17 18:55:24,032 DEBUG: Sending CONNECT (u1, p1, wr0, wq0, wf0, c1, k60) client_id=b'enocean_gateway'
2023-03-17 18:55:24,601 DEBUG: Received CONNACK (0, 0)
2023-03-17 18:55:24,605 INFO: Succesfully connected to MQTT broker.
2023-03-17 18:55:24,622 DEBUG: Sending SUBSCRIBE (d0, m1) [(b'enoceanmqtt/Salon - Temp\xc3\xa9rature/Humidit\xc3\xa9/req/#', 0)]
2023-03-17 18:55:24,626 DEBUG: Sending SUBSCRIBE (d0, m2) [(b'enoceanmqtt/Salle \xc3\xa0 manger - Volet Roulant/req/#', 0)]
2023-03-17 18:55:24,628 DEBUG: Sending PUBLISH (d0, q0, r1, m3), 'b'homeassistant/sensor/enocean_A50401_0523534F_NONE_h_raw/config'', ... (559 bytes)
2023-03-17 18:55:24,629 DEBUG: Sending PUBLISH (d0, q0, r1, m4), 'b'homeassistant/sensor/enocean_A50401_0523534F_NONE_hum/config'', ... (535 bytes)
2023-03-17 18:55:24,631 DEBUG: Sending PUBLISH (d0, q0, r1, m5), 'b'homeassistant/sensor/enocean_A50401_0523534F_NONE_t_raw/config'', ... (568 bytes)
2023-03-17 18:55:24,632 DEBUG: Sending PUBLISH (d0, q0, r1, m6), 'b'homeassistant/sensor/enocean_A50401_0523534F_NONE_tempC/config'', ... (548 bytes)
2023-03-17 18:55:24,638 DEBUG: Sending PUBLISH (d0, q0, r1, m7), 'b'homeassistant/binary_sensor/enocean_A50401_0523534F_NONE_status/config'', ... (508 bytes)
2023-03-17 18:55:24,642 DEBUG: Sending PUBLISH (d0, q0, r1, m8), 'b'homeassistant/sensor/enocean_A50401_0523534F_NONE_rssi/config'', ... (571 bytes)
2023-03-17 18:55:24,642 DEBUG: Sending PUBLISH (d0, q0, r1, m9), 'b'homeassistant/sensor/enocean_A50401_0523534F_NONE_last_seen/config'', ... (611 bytes)
2023-03-17 18:55:24,643 DEBUG: Sending SUBSCRIBE (d0, m10) [(b'homeassistant/sensor/enocean_A50401_0523534F_NONE_h_raw/config/#', 0)]
2023-03-17 18:55:24,643 DEBUG: Sending SUBSCRIBE (d0, m11) [(b'enoceanmqtt/Salon - Temp\xc3\xa9rature/Humidit\xc3\xa9/__system/#', 0)]
2023-03-17 18:55:24,648 INFO: Device enoceanmqtt/Salon - Température/Humidité (UID: A50401_0523534F_NONE / EEP: A5-04-01) updated on device database
2023-03-17 18:55:24,649 DEBUG: Sending PUBLISH (d0, q0, r1, m12), 'b'homeassistant/cover/enocean_D20500_059E2784_NONE_cover/config'', ... (1457 bytes)
2023-03-17 18:55:24,649 DEBUG: Sending PUBLISH (d0, q0, r1, m13), 'b'homeassistant/sensor/enocean_D20500_059E2784_NONE_rssi/config'', ... (562 bytes)
2023-03-17 18:55:24,650 DEBUG: Sending PUBLISH (d0, q0, r1, m14), 'b'homeassistant/sensor/enocean_D20500_059E2784_NONE_last_seen/config'', ... (602 bytes)
2023-03-17 18:55:24,650 DEBUG: Sending SUBSCRIBE (d0, m15) [(b'homeassistant/cover/enocean_D20500_059E2784_NONE_cover/config/#', 0)]
2023-03-17 18:55:24,658 DEBUG: Sending SUBSCRIBE (d0, m16) [(b'enoceanmqtt/Salle \xc3\xa0 manger - Volet Roulant/__system/#', 0)]
2023-03-17 18:55:24,667 INFO: Device enoceanmqtt/Salle à manger - Volet Roulant (UID: D20500_059E2784_NONE / EEP: D2-05-00) updated on device database
2023-03-17 18:55:24,667 DEBUG: List of remaining UIDS: []
2023-03-17 18:55:25,668 INFO: Waiting for device base ID
2023-03-17 18:55:25,939 INFO: SerialCommunicator started
2023-03-17 18:55:25,939 INFO: Auto Teach-in is disabled
2023-03-17 18:55:25,940 WARNING: Replacing Packet.optional with default value.
2023-03-17 18:55:26,040 INFO: Sending packet
2023-03-17 18:55:26,040 DEBUG: 0x05 ['0x8'] [] OrderedDict()
2023-03-17 18:55:26,141 DEBUG: 0x02 ['0x0', '0xff', '0xea', '0x59', '0x80'] ['0xa'] OrderedDict()
2023-03-17 18:55:26,141 INFO: got response packet: OK
2023-03-17 18:55:26,669 INFO: Waiting for device base ID
2023-03-17 18:55:26,670 DEBUG: Sending PUBLISH (d0, q0, r1, m17), 'b'homeassistant/switch/enoceanmqtt_learn_FFEA5980/config'', ... (374 bytes)
2023-03-17 18:55:26,670 DEBUG: Sending SUBSCRIBE (d0, m18) [(b'enoceanmqtt/__system/learn/req/#', 0)]
2023-03-17 18:55:26,670 DEBUG: Sending PUBLISH (d0, q0, r1, m19), 'b'enoceanmqtt/__system/learn'', ... (3 bytes)
2023-03-17 18:55:26,676 DEBUG: Received SUBACK
2023-03-17 18:55:26,678 DEBUG: Received SUBACK
2023-03-17 18:55:26,698 DEBUG: Received SUBACK
2023-03-17 18:55:26,711 DEBUG: Received PUBLISH (d0, q0, r1, m0), 'homeassistant/sensor/enocean_A50401_0523534F_NONE_h_raw/config', ... (559 bytes)
2023-03-17 18:55:26,711 DEBUG: Received SUBACK
2023-03-17 18:55:26,711 DEBUG: Received SUBACK
2023-03-17 18:55:26,712 DEBUG: Received PUBLISH (d0, q0, r1, m0), 'homeassistant/cover/enocean_D20500_059E2784_NONE_cover/config', ... (1457 bytes)
2023-03-17 18:55:26,751 DEBUG: Received SUBACK
2023-03-17 18:55:26,752 DEBUG: Received SUBACK
2023-03-17 18:55:55,797 DEBUG: Received PUBLISH (d0, q0, r0, m0), 'enoceanmqtt/Salle à manger - Volet Roulant/req', ... (82 bytes)
2023-03-17 18:55:55,797 DEBUG: Got MQTT message: enoceanmqtt/Salle à manger - Volet Roulant/req
2023-03-17 18:55:55,798 DEBUG: enoceanmqtt/Salle à manger - Volet Roulant: req={'CMD': 1, 'POS': 100, 'ANG': 127, 'REPO': 0, 'LOCK': 0, 'CHN': 0}
2023-03-17 18:55:55,802 DEBUG: Trigger message to: enoceanmqtt/Salle à manger - Volet Roulant
2023-03-17 18:55:55,802 DEBUG: Retrieved command id from MQTT message: 0x1
2023-03-17 18:55:55,807 DEBUG: sensor data: {'CMD': 1, 'POS': 100, 'ANG': 127, 'REPO': 0, 'LOCK': 0, 'CHN': 0}
2023-03-17 18:55:55,813 INFO: sending: FF:EA:59:80->05:9E:27:84 (-255 dBm): 0x01 ['0xd2', '0x64', '0x7f', '0x0', '0x1', '0xff', '0xea', '0x59', '0x80', '0x0'] ['0x3', '0x5', '0x9e', '0x27', '0x84', '0xff', '0x0'] OrderedDict([('POS', {'description': 'Vertical position', 'unit': '', 'value': 'Output position 100%', 'raw_value': 100}), ('ANG', {'description': 'Rotation angle', 'unit': '', 'value': 'Do not change', 'raw_value': 127}), ('REPO', {'description': 'Repositioning', 'unit': '', 'value': 'Go directly to POS/ANG', 'raw_value': 0}), ('LOCK', {'description': 'Locking modes', 'unit': '', 'value': 'Do not change', 'raw_value': 0}), ('CHN', {'description': 'Channel', 'unit': '', 'value': 'Channel 1', 'raw_value': 0}), ('CMD', {'description': 'Command Id', 'unit': '', 'value': 'Command ID 1', 'raw_value': 1})])
2023-03-17 18:55:55,820 DEBUG: Clearing data buffer.
2023-03-17 18:55:55,863 INFO: Sending packet
2023-03-17 18:55:55,863 DEBUG: FF:EA:59:80->05:9E:27:84 (-255 dBm): 0x01 ['0xd2', '0x64', '0x7f', '0x0', '0x1', '0xff', '0xea', '0x59', '0x80', '0x0'] ['0x3', '0x5', '0x9e', '0x27', '0x84', '0xff', '0x0'] OrderedDict([('POS', {'description': 'Vertical position', 'unit': '', 'value': 'Output position 100%', 'raw_value': 100}), ('ANG', {'description': 'Rotation angle', 'unit': '', 'value': 'Do not change', 'raw_value': 127}), ('REPO', {'description': 'Repositioning', 'unit': '', 'value': 'Go directly to POS/ANG', 'raw_value': 0}), ('LOCK', {'description': 'Locking modes', 'unit': '', 'value': 'Do not change', 'raw_value': 0}), ('CHN', {'description': 'Channel', 'unit': '', 'value': 'Channel 1', 'raw_value': 0}), ('CMD', {'description': 'Command Id', 'unit': '', 'value': 'Command ID 1', 'raw_value': 1})])
2023-03-17 18:55:55,902 DEBUG: 0x02 ['0x0'] [] OrderedDict()
2023-03-17 18:55:55,902 INFO: got response packet: OK
2023-03-17 18:55:55,919 DEBUG: FF:EA:59:80->05:9E:27:84 (-61 dBm): 0x01 ['0xd2', '0x64', '0x7f', '0x0', '0x1', '0xff', '0xea', '0x59', '0x80', '0x81'] ['0x0', '0x5', '0x9e', '0x27', '0x84', '0x3d', '0x0'] OrderedDict()
2023-03-17 18:55:55,919 INFO: received: FF:EA:59:80->05:9E:27:84 (-61 dBm): 0x01 ['0xd2', '0x64', '0x7f', '0x0', '0x1', '0xff', '0xea', '0x59', '0x80', '0x81'] ['0x0', '0x5', '0x9e', '0x27', '0x84', '0x3d', '0x0'] OrderedDict()
2023-03-17 18:55:55,922 INFO: unknown sensor: FF:EA:59:80
2023-03-17 18:55:56,023 DEBUG: 05:9E:27:84->FF:FF:FF:FF (-61 dBm): 0x01 ['0xd2', '0x64', '0x0', '0x0', '0x4', '0x5', '0x9e', '0x27', '0x84', '0x0'] ['0x0', '0xff', '0xff', '0xff', '0xff', '0x3d', '0x0'] OrderedDict()
2023-03-17 18:55:56,024 INFO: received: 05:9E:27:84->FF:FF:FF:FF (-61 dBm): 0x01 ['0xd2', '0x64', '0x0', '0x0', '0x4', '0x5', '0x9e', '0x27', '0x84', '0x0'] ['0x0', '0xff', '0xff', '0xff', '0xff', '0x3d', '0x0'] OrderedDict()
2023-03-17 18:55:56,024 DEBUG: Retrieved command id from packet: 0x4
2023-03-17 18:55:56,025 DEBUG: enoceanmqtt/Salle à manger - Volet Roulant: POS (Current vertical position)=Output position 100%
2023-03-17 18:55:56,025 DEBUG: enoceanmqtt/Salle à manger - Volet Roulant: ANG (Current rotation angle)=Output angle 0%
2023-03-17 18:55:56,025 DEBUG: enoceanmqtt/Salle à manger - Volet Roulant: LOCK (Current locking mode)=Normal (no lock)
2023-03-17 18:55:56,025 DEBUG: enoceanmqtt/Salle à manger - Volet Roulant: CHN (Channel)=Channel 1
2023-03-17 18:55:56,025 DEBUG: enoceanmqtt/Salle à manger - Volet Roulant: CMD (Command Id)=Command ID 4
2023-03-17 18:55:56,026 DEBUG: Sending PUBLISH (d0, q0, r1, m20), 'b'enoceanmqtt/Salle \xc3\xa0 manger - Volet Roulant'', ... (55 bytes)
2023-03-17 18:55:56,028 DEBUG: enoceanmqtt/Salle à manger - Volet Roulant/CMD4: Sent MQTT: {"_DATE_": "2023-03-17T18:55:56.023739", "POS": 100, "ANG": 0, "LOCK": 0, "CHN": 0}
2023-03-17 18:55:56,030 DEBUG: Sending PUBLISH (d0, q0, r1, m21), 'b'enoceanmqtt/Salle \xc3\xa0 manger - Volet Roulant/CMD4'', ... (83 bytes)
2023-03-17 18:56:24,066 DEBUG: Sending PINGREQ
2023-03-17 18:56:24,067 DEBUG: Received PINGRESP
2023-03-17 18:57:24,174 DEBUG: Sending PINGREQ
2023-03-17 18:57:24,175 DEBUG: Received PINGRESP
2023-03-17 18:58:24,250 DEBUG: Sending PINGREQ
2023-03-17 18:58:24,252 DEBUG: Received PINGRESP
2023-03-17 18:59:24,350 DEBUG: Sending PINGREQ
2023-03-17 18:59:24,358 DEBUG: Received PINGRESP
Merci et bon week-end à tous