claudegel / sinope-130

Neviweb130 custom component for Home Assistant to manage devices connected via a GT130 and wifi devices from Sinopé
GNU General Public License v3.0
73 stars 15 forks source link

Capteur de fuite d'eau n'apparait pas dans HA #176

Closed lukou31 closed 1 year ago

lukou31 commented 1 year ago

Bonjour, Je viens d'ajouter un nouveau capteur de fuites d'eau Sinopé connecté sur la GT130. Autant son intégration dans Neviweb s'est bien passée qu'il y a rien à faire pour HA. Je voulais savoir s'il y a un truc à faire en particulier. J'en ai d'autres mais cela fait tellement longtemps que je les intégré que ne ne me souviens pas si j'avais fait quelque chose de particulier.

Merci !

claudegel commented 1 year ago

Normalement si vous avez ajouté votre capteur dans Neviweb, dans la location où sont les autres appareils zigbee alors il suffit de redémarrer HA pour que l'appareil apparaisse dans HA.

Dans les log de HA vous devriez voir ceci [custom_components.neviweb130.sensor] Setting up neviweb130 sensor xxx: ou xxx est le nom de votre detecteur de fuite dans Neviweb

Si vous avez ceci alors l'appareil a été ajouté. il suffit alors de l'ajouter à votre tableau de bord

lukou31 commented 1 year ago

J'ai renommé le capteur dans Neviweb, regardé les journaux dans HA. Rien n'y fait.

claudegel commented 1 year ago

Le capteur dans Neviweb est sur la même location que vos autres appareils zigbee? Ajoutez ceci dans configuration.yaml

logger:
  default: warning
  logs:
    homeassistant.custom_components: debug
    custom_components.neviweb130: debug

Puis redémarrez HA. Les log devraient produire les lignes suivantes:

[custom_components.neviweb130] Successfully logged in to: XXXXX
[custom_components.neviweb130] Selecting «your location name» network among:.....
[custom_components.neviweb130] Received signature data: {'signature': {'model': 505x...

model peut être 5050, 5051, 5052 ou 5053 selon le model de capteur que vous avez et s'il est relié directement au GT130 ou via la valve sedna. avec cette ligne votre capteur est détecté dans HA [custom_components.neviweb130.sensor] Setting up neviweb130 sensor «non de votre capteur»: {'id': .... avec cette ligne votre capteur est enregistré dans HA. Il y a une ligne pour chaque capteur que vous avez dans Neviweb. [custom_components.neviweb130.sensor] Updating neviweb130 sensor «nom de votre capteur»..... avec cette ligne votre capteur est mis a jour dans HA Vous trouverez votre capteur dans Outils de développement, états. Il est listé sous le nom suivant: sensor.neviweb130_sensor_nom_de_votre_capteur Si vous avez plusieurs capteur ils seront tous à la même place et il ne reste qu'à les ajouter dans votre apercu lovelace

Si ca ne fonctionne pas alors il y a une ligne dans les logs qui donnent une erreur. Dans ce cas vous pourriez m'envoyer votre home-assistant.log tout devrait se trouver dans les 100 premières lignes. Quel est le nom de votre capteur dans Neviweb ?

lukou31 commented 1 year ago

J'ai deux locations. La 1ere avant la tech MI-FI et l'autre en Zigbee dont le capteur est membre. Le nom du capteur en question est "Évier-Cuisine".

En activant le mode debug dans les logs, je le vois apparaître dans les données téléchargées mais pas dans la section "Setting up". Donc HA ne l'initialise pas. Est-vce que cela viendrait de l'accent à Évier ???

Log: 2023-09-24 12:28:37.541 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration monitor_docker which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-09-24 12:28:37.542 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration neviweb which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-09-24 12:28:37.543 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration nodered which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-09-24 12:28:37.545 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-09-24 12:28:37.546 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration neviweb130 which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-09-24 12:28:40.897 DEBUG (SyncWorker_4) [custom_components.neviweb130] Login response: {'user': {'id': XXXX, 'role': 'owner', 'email': 'XXXX', 'locale': 'fr', 'format': {'time': '24', 'temperature': 'c'}, 'initialized': 1, 'dataPolicyConsent': 1}, 'account': {'id': XXXXX, 'interface': 'neviweb', 'type': 'free', 'category': None, 'betaLevel': None}, 'iat': XXX, 'permissionContext': 'userNeviwebOwner1', 'session': 'XXX', 'refreshToken': 'XXX'} 2023-09-24 12:28:40.898 DEBUG (SyncWorker_4) [custom_components.neviweb130] Successfully logged in to: XXXXX 2023-09-24 12:28:41.020 DEBUG (SyncWorker_4) [custom_components.neviweb130] Number of networks found on Neviweb: 2 2023-09-24 12:28:41.021 DEBUG (SyncWorker_4) [custom_components.neviweb130] networks: [{'id': 13501, 'account$id': XXXXX, 'location$id': None, 'group$id': None, 'name': 'Maison MI-FI', 'postalCode': 'XXXXX', 'address': None, 'mode': 'home', 'icon': 1, 'type': None, 'kwhCost': 0.086, 'deviceListUpdate': '2023-09-21 22:24:16', 'modified': '2021-11-02 21:08:21', 'created': '2019-08-20 17:26:39'}, {'id': XXXXX, 'account$id': XXXXX, 'location$id': None, 'group$id': None, 'name': 'Maison Zigbee', 'postalCode': 'XXXXX', 'address': None, 'mode': 'home', 'icon': 1, 'type': None, 'kwhCost': 0.0885, 'deviceListUpdate': '2023-09-20 20:56:27', 'modified': '2023-09-18 18:18:58', 'created': '2019-11-20 22:14:03'}] 2023-09-24 12:28:41.021 DEBUG (SyncWorker_4) [custom_components.neviweb130] Your network name Maison Zigbee do not correspond to discovered network Maison MI-FI, skipping this one.... Please check your config if nothing is discovered. 2023-09-24 12:28:41.021 DEBUG (SyncWorker_4) [custom_components.neviweb130] Selecting Maison Zigbee network among: [{'id': 13501, 'account$id': XXXXX, 'location$id': None, 'group$id': None, 'name': 'Maison MI-FI', 'postalCode': 'XXXXX', 'address': None, 'mode': 'home', 'icon': 1, 'type': None, 'kwhCost': 0.086, 'deviceListUpdate': '2023-09-21 22:24:16', 'modified': '2021-11-02 21:08:21', 'created': '2019-08-20 17:26:39'}, {'id': XXXXX, 'account$id': XXXXX, 'location$id': None, 'group$id': None, 'name': 'Maison Zigbee', 'postalCode': 'XXXXX', 'address': None, 'mode': 'home', 'icon': 1, 'type': None, 'kwhCost': 0.0885, 'deviceListUpdate': '2023-09-20 20:56:27', 'modified': '2023-09-18 18:18:58', 'created': '2019-11-20 22:14:03'}] 2023-09-24 12:28:41.155 DEBUG (SyncWorker_4) [custom_components.neviweb130] Received gateway data: [{'id': 168820, 'identifier': 'ccccccfffe6fa365-500b91400001ae5c', 'name': 'Chauffe-eau', 'family': '5051', 'signature': {'model': 5051, 'modelCfg': 1, 'softBuildCfg': 0, 'softVersion': {'minor': 2, 'middle': 0, 'major': 1}, 'hardRev': 0}, 'location$id': XXXXX, 'parentDevice$id': 97557, 'group$id': 15141, 'orderIdx': 0, 'sku': 'WL4200S', 'vendor': 'Sinopé', 'url_en': None, 'url_fr': None}, {'id': 433578, 'identifier': 'ccccccfffe6fa365-943469fffeac7051', 'name': 'Évier-cuisine', 'family': '4210', 'signature': {'model': 4210, 'modelCfg': 0, 'softBuildCfg': 0, 'softVersion': {'minor': 8, 'middle': 1, 'major': 0}, 'hardRev': 0}, 'location$id': XXXXX, 'parentDevice$id': 97557, 'group$id': 17828, 'orderIdx': 0, 'sku': 'WL4210', 'vendor': 'Sinopé', 'url_en': None, 'url_fr': None}, {'id': 97557, 'identifier': 'ccccccfffe6fa365', 'name': 'Hub Zigbee', 'family': 'GT130', 'signature': {'model': 130, 'modelCfg': 1, 'softBuildCfg': 0, 'softVersion': {'major': 2, 'middle': 5, 'minor': 4}, 'hardRev': 3}, 'location$id': XXXXX, 'parentDevice$id': None, 'group$id': 51109, 'orderIdx': 0, 'sku': 'GT130', 'vendor': 'Sinopé', 'url_en': 'https://www.sinopetech.com/produit/passerelle-zigbee/', 'url_fr': 'https://www.sinopetech.com/en/product/gateway-zigbee/'}, {'id': 168830, 'identifier': 'ccccccfffe6fa365-500b914000015cc0', 'name': 'Lave-vaisselle', 'family': '5051', 'signature': {'model': 5051, 'modelCfg': 1, 'softBuildCfg': 0, 'softVersion': {'minor': 2, 'middle': 0, 'major': 1}, 'hardRev': 0}, 'location$id': XXXXX, 'parentDevice$id': 97557, 'group$id': 17828, 'orderIdx': 0, 'sku': 'WL4200S', 'vendor': 'Sinopé', 'url_en': None, 'url_fr': None}, {'id': 168829, 'identifier': 'ccccccfffe6fa365-500b91400001bcdf', 'name': 'Laveuse', 'family': '5051', 'signature': {'model': 5051, 'modelCfg': 1, 'softBuildCfg': 0, 'softVersion': {'minor': 2, 'middle': 0, 'major': 1}, 'hardRev': 0}, 'location$id': XXXXX, 'parentDevice$id': 97557, 'group$id': 15142, 'orderIdx': 0, 'sku': 'WL4200S', 'vendor': 'Sinopé', 'url_en': None, 'url_fr': None}, {'id': 168819, 'identifier': 'ccccccfffe6fa365-000d6f0015662031', 'name': 'Routeur WIFI', 'family': '2600', 'signature': {'model': 2600, 'modelCfg': 0, 'softBuildCfg': 0, 'softVersion': {'minor': 9, 'middle': 0, 'major': 0}, 'hardRev': 1}, 'location$id': XXXXX, 'parentDevice$id': 97557, 'group$id': 51109, 'orderIdx': 0, 'sku': 'SP2600ZB', 'vendor': 'Sinopé', 'url_en': 'https://www.sinopetech.com/produit/prise-electrique-intelligente-zigbee/', 'url_fr': 'https://www.sinopetech.com/en/product/smart-plug-zigbee/'}, {'id': 168821, 'identifier': 'ccccccfffe6fa365-000d6f0015661fcd', 'name': 'Sapin Noël', 'family': '2600', 'signature': {'model': 2600, 'modelCfg': 0, 'softBuildCfg': 0, 'softVersion': {'minor': 9, 'middle': 0, 'major': 0}, 'hardRev': 1}, 'location$id': XXXXX, 'parentDevice$id': 97557, 'group$id': 192752, 'orderIdx': 0, 'sku': 'SP2600ZB', 'vendor': 'Sinopé', 'url_en': 'https://www.sinopetech.com/produit/prise-electrique-intelligente-zigbee/', 'url_fr': 'https://www.sinopetech.com/en/product/smart-plug-zigbee/'}] 2023-09-24 12:28:41.155 DEBUG (SyncWorker_4) [custom_components.neviweb130] Gateway_data : [{'id': 168820, 'identifier': 'ccccccfffe6fa365-500b91400001ae5c', 'name': 'Chauffe-eau', 'family': '5051', 'signature': {'model': 5051, 'modelCfg': 1, 'softBuildCfg': 0, 'softVersion': {'minor': 2, 'middle': 0, 'major': 1}, 'hardRev': 0}, 'location$id': XXXXX, 'parentDevice$id': 97557, 'group$id': 15141, 'orderIdx': 0, 'sku': 'WL4200S', 'vendor': 'Sinopé', 'url_en': None, 'url_fr': None}, {'id': 433578, 'identifier': 'ccccccfffe6fa365-943469fffeac7051', 'name': 'Évier-cuisine', 'family': '4210', 'signature': {'model': 4210, 'modelCfg': 0, 'softBuildCfg': 0, 'softVersion': {'minor': 8, 'middle': 1, 'major': 0}, 'hardRev': 0}, 'location$id': XXXXX, 'parentDevice$id': 97557, 'group$id': 17828, 'orderIdx': 0, 'sku': 'WL4210', 'vendor': 'Sinopé', 'url_en': None, 'url_fr': None}, {'id': 97557, 'identifier': 'ccccccfffe6fa365', 'name': 'Hub Zigbee', 'family': 'GT130', 'signature': {'model': 130, 'modelCfg': 1, 'softBuildCfg': 0, 'softVersion': {'major': 2, 'middle': 5, 'minor': 4}, 'hardRev': 3}, 'location$id': XXXXX, 'parentDevice$id': None, 'group$id': 51109, 'orderIdx': 0, 'sku': 'GT130', 'vendor': 'Sinopé', 'url_en': 'https://www.sinopetech.com/produit/passerelle-zigbee/', 'url_fr': 'https://www.sinopetech.com/en/product/gateway-zigbee/'}, {'id': 168830, 'identifier': 'ccccccfffe6fa365-500b914000015cc0', 'name': 'Lave-vaisselle', 'family': '5051', 'signature': {'model': 5051, 'modelCfg': 1, 'softBuildCfg': 0, 'softVersion': {'minor': 2, 'middle': 0, 'major': 1}, 'hardRev': 0}, 'location$id': XXXXX, 'parentDevice$id': 97557, 'group$id': 17828, 'orderIdx': 0, 'sku': 'WL4200S', 'vendor': 'Sinopé', 'url_en': None, 'url_fr': None}, {'id': 168829, 'identifier': 'ccccccfffe6fa365-500b91400001bcdf', 'name': 'Laveuse', 'family': '5051', 'signature': {'model': 5051, 'modelCfg': 1, 'softBuildCfg': 0, 'softVersion': {'minor': 2, 'middle': 0, 'major': 1}, 'hardRev': 0}, 'location$id': XXXXX, 'parentDevice$id': 97557, 'group$id': 15142, 'orderIdx': 0, 'sku': 'WL4200S', 'vendor': 'Sinopé', 'url_en': None, 'url_fr': None}, {'id': 168819, 'identifier': 'ccccccfffe6fa365-000d6f0015662031', 'name': 'Routeur WIFI', 'family': '2600', 'signature': {'model': 2600, 'modelCfg': 0, 'softBuildCfg': 0, 'softVersion': {'minor': 9, 'middle': 0, 'major': 0}, 'hardRev': 1}, 'location$id': XXXXX, 'parentDevice$id': 97557, 'group$id': 51109, 'orderIdx': 0, 'sku': 'SP2600ZB', 'vendor': 'Sinopé', 'url_en': 'https://www.sinopetech.com/produit/prise-electrique-intelligente-zigbee/', 'url_fr': 'https://www.sinopetech.com/en/product/smart-plug-zigbee/'}, {'id': 168821, 'identifier': 'ccccccfffe6fa365-000d6f0015661fcd', 'name': 'Sapin Noël', 'family': '2600', 'signature': {'model': 2600, 'modelCfg': 0, 'softBuildCfg': 0, 'softVersion': {'minor': 9, 'middle': 0, 'major': 0}, 'hardRev': 1}, 'location$id': XXXXX, 'parentDevice$id': 97557, 'group$id': 192752, 'orderIdx': 0, 'sku': 'SP2600ZB', 'vendor': 'Sinopé', 'url_en': 'https://www.sinopetech.com/produit/prise-electrique-intelligente-zigbee/', 'url_fr': 'https://www.sinopetech.com/en/product/smart-plug-zigbee/'}] 2023-09-24 12:28:41.308 DEBUG (SyncWorker_4) [custom_components.neviweb130] Received signature data: {'signature': {'model': 5051, 'modelCfg': 1, 'softBuildCfg': 0, 'softVersion': {'minor': 2, 'middle': 0, 'major': 1}, 'hardRev': 0, 'protocol': 'sinopcom'}} 2023-09-24 12:28:41.497 DEBUG (SyncWorker_4) [custom_components.neviweb130] Received signature data: {'signature': {'model': 4210, 'modelCfg': 0, 'softBuildCfg': 0, 'softVersion': {'minor': 8, 'middle': 1, 'major': 0}, 'hardRev': 0, 'protocol': 'sinopcom'}} 2023-09-24 12:28:41.694 DEBUG (SyncWorker_4) [custom_components.neviweb130] Received signature data: {'signature': {'model': 130, 'modelCfg': 1, 'softBuildCfg': 0, 'softVersion': {'major': 2, 'middle': 5, 'minor': 4}, 'hardRev': 3, 'protocol': 'sinopcom'}} 2023-09-24 12:28:41.833 DEBUG (SyncWorker_4) [custom_components.neviweb130] Received signature data: {'signature': {'model': 5051, 'modelCfg': 1, 'softBuildCfg': 0, 'softVersion': {'minor': 2, 'middle': 0, 'major': 1}, 'hardRev': 0, 'protocol': 'sinopcom'}} 2023-09-24 12:28:41.983 DEBUG (SyncWorker_4) [custom_components.neviweb130] Received signature data: {'signature': {'model': 5051, 'modelCfg': 1, 'softBuildCfg': 0, 'softVersion': {'minor': 2, 'middle': 0, 'major': 1}, 'hardRev': 0, 'protocol': 'sinopcom'}} 2023-09-24 12:28:42.156 DEBUG (SyncWorker_4) [custom_components.neviweb130] Received signature data: {'signature': {'model': 2600, 'modelCfg': 0, 'softBuildCfg': 0, 'softVersion': {'minor': 9, 'middle': 0, 'major': 0}, 'hardRev': 1, 'protocol': 'sinopcom'}} 2023-09-24 12:28:42.306 DEBUG (SyncWorker_4) [custom_components.neviweb130] Received signature data: {'signature': {'model': 2600, 'modelCfg': 0, 'softBuildCfg': 0, 'softVersion': {'minor': 9, 'middle': 0, 'major': 0}, 'hardRev': 1, 'protocol': 'sinopcom'}} 2023-09-24 12:28:42.306 DEBUG (SyncWorker_4) [custom_components.neviweb130] Setting scan interval to: 0:06:00 2023-09-24 12:28:42.307 DEBUG (SyncWorker_4) [custom_components.neviweb130] Setting Homekit mode to: False 2023-09-24 12:28:42.308 DEBUG (SyncWorker_4) [custom_components.neviweb130] Setting stat interval to: 1800 2023-09-24 12:28:42.696 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved ... 2023-09-24 12:28:42.858 DEBUG (MainThread) [custom_components.neviweb130.switch] Setting up neviweb130 switch Routeur WIFI: {'id': 168819, 'identifier': 'ccccccfffe6fa365-000d6f0015662031', 'name': 'Routeur WIFI', 'family': '2600', 'signature': {'model': 2600, 'modelCfg': 0, 'softBuildCfg': 0, 'softVersion': {'minor': 9, 'middle': 0, 'major': 0}, 'hardRev': 1, 'protocol': 'sinopcom'}, 'location$id': XXXXX, 'parentDevice$id': 97557, 'group$id': 51109, 'orderIdx': 0, 'sku': 'SP2600ZB', 'vendor': 'Sinopé', 'url_en': 'https://www.sinopetech.com/produit/prise-electrique-intelligente-zigbee/', 'url_fr': 'https://www.sinopetech.com/en/product/smart-plug-zigbee/'} 2023-09-24 12:28:42.859 DEBUG (MainThread) [custom_components.neviweb130.switch] Setting up neviweb130 switch Sapin Noël: {'id': 168821, 'identifier': 'ccccccfffe6fa365-000d6f0015661fcd', 'name': 'Sapin Noël', 'family': '2600', 'signature': {'model': 2600, 'modelCfg': 0, 'softBuildCfg': 0, 'softVersion': {'minor': 9, 'middle': 0, 'major': 0}, 'hardRev': 1, 'protocol': 'sinopcom'}, 'location$id': XXXXX, 'parentDevice$id': 97557, 'group$id': 192752, 'orderIdx': 0, 'sku': 'SP2600ZB', 'vendor': 'Sinopé', 'url_en': 'https://www.sinopetech.com/produit/prise-electrique-intelligente-zigbee/', 'url_fr': 'https://www.sinopetech.com/en/product/smart-plug-zigbee/'} 2023-09-24 12:28:42.862 DEBUG (MainThread) [custom_components.neviweb130.sensor] Setting up neviweb130 sensor Chauffe-eau: {'id': 168820, 'identifier': 'ccccccfffe6fa365-500b91400001ae5c', 'name': 'Chauffe-eau', 'family': '5051', 'signature': {'model': 5051, 'modelCfg': 1, 'softBuildCfg': 0, 'softVersion': {'minor': 2, 'middle': 0, 'major': 1}, 'hardRev': 0, 'protocol': 'sinopcom'}, 'location$id': XXXXX, 'parentDevice$id': 97557, 'group$id': 15141, 'orderIdx': 0, 'sku': 'WL4200S', 'vendor': 'Sinopé', 'url_en': None, 'url_fr': None} 2023-09-24 12:28:42.862 DEBUG (MainThread) [custom_components.neviweb130.sensor] Setting up neviweb130 sensor Hub Zigbee: {'id': 97557, 'identifier': 'ccccccfffe6fa365', 'name': 'Hub Zigbee', 'family': 'GT130', 'signature': {'model': 130, 'modelCfg': 1, 'softBuildCfg': 0, 'softVersion': {'major': 2, 'middle': 5, 'minor': 4}, 'hardRev': 3, 'protocol': 'sinopcom'}, 'location$id': XXXXX, 'parentDevice$id': None, 'group$id': 51109, 'orderIdx': 0, 'sku': 'GT130', 'vendor': 'Sinopé', 'url_en': 'https://www.sinopetech.com/produit/passerelle-zigbee/', 'url_fr': 'https://www.sinopetech.com/en/product/gateway-zigbee/'} 2023-09-24 12:28:42.862 DEBUG (MainThread) [custom_components.neviweb130.sensor] Setting up neviweb130 sensor Lave-vaisselle: {'id': 168830, 'identifier': 'ccccccfffe6fa365-500b914000015cc0', 'name': 'Lave-vaisselle', 'family': '5051', 'signature': {'model': 5051, 'modelCfg': 1, 'softBuildCfg': 0, 'softVersion': {'minor': 2, 'middle': 0, 'major': 1}, 'hardRev': 0, 'protocol': 'sinopcom'}, 'location$id': XXXXX, 'parentDevice$id': 97557, 'group$id': 17828, 'orderIdx': 0, 'sku': 'WL4200S', 'vendor': 'Sinopé', 'url_en': None, 'url_fr': None} 2023-09-24 12:28:42.862 DEBUG (MainThread) [custom_components.neviweb130.sensor] Setting up neviweb130 sensor Laveuse: {'id': 168829, 'identifier': 'ccccccfffe6fa365-500b91400001bcdf', 'name': 'Laveuse', 'family': '5051', 'signature': {'model': 5051, 'modelCfg': 1, 'softBuildCfg': 0, 'softVersion': {'minor': 2, 'middle': 0, 'major': 1}, 'hardRev': 0, 'protocol': 'sinopcom'}, 'location$id': XXXXX, 'parentDevice$id': 97557, 'group$id': 15142, 'orderIdx': 0, 'sku': 'WL4200S', 'vendor': 'Sinopé', 'url_en': None, 'url_fr': None} 2023-09-24 12:28:44.080 DEBUG (SyncWorker_0) [custom_components.neviweb130.sensor] Updating neviweb130 sensor Chauffe-eau (0.18 sec): {'batteryVoltage': 2.6, 'batteryStatus': 'ok', 'waterLeakStatus': 'ok', 'roomTemperature': 20.95, 'roomTemperatureAlarmStatus': 'ok', 'rssi': -61, 'alertLowBatt': True, 'alertWaterLeak': True, 'batteryType': 'alkaline', 'alertLowTemp': True} 2023-09-24 12:28:44.451 DEBUG (SyncWorker_0) [custom_components.neviweb130] Received devices status: {'status': 'online'} 2023-09-24 12:28:44.452 DEBUG (SyncWorker_0) [custom_components.neviweb130.sensor] Updating neviweb130 sensor Hub Zigbee (0.327 sec): {'status': 'online'} 2023-09-24 12:28:44.459 DEBUG (SyncWorker_2) [custom_components.neviweb130.switch] Updating neviweb130 switch Routeur WIFI (0.56 sec): {'onOff': 'on', 'wattageInstant': 0} 2023-09-24 12:28:44.810 DEBUG (SyncWorker_0) [custom_components.neviweb130.sensor] Updating neviweb130 sensor Lave-vaisselle (0.22 sec): {'batteryVoltage': 3, 'batteryStatus': 'ok', 'waterLeakStatus': 'ok', 'roomTemperature': 23.16, 'roomTemperatureAlarmStatus': 'ok', 'rssi': -80, 'alertLowBatt': True, 'alertWaterLeak': True, 'batteryType': 'alkaline', 'alertLowTemp': True} 2023-09-24 12:28:45.092 DEBUG (SyncWorker_4) [custom_components.neviweb130.sensor] Updating neviweb130 sensor Laveuse (0.19 sec): {'batteryVoltage': 2.9, 'batteryStatus': 'ok', 'waterLeakStatus': 'ok', 'roomTemperature': 22.75, 'roomTemperatureAlarmStatus': 'ok', 'rssi': -82, 'alertLowBatt': True, 'alertWaterLeak': True, 'batteryType': 'alkaline', 'alertLowTemp': True} 2023-09-24 12:28:45.251 DEBUG (SyncWorker_5) [custom_components.neviweb130.switch] Updating neviweb130 switch Sapin Noël (0.451 sec): {'onOff': 'off', 'wattageInstant': 0}

claudegel commented 1 year ago

Le bug est ici: {'id': 433578, 'identifier': 'ccccccfffe6fa365-943469fffeac7051', 'name': 'Évier-cuisine', 'family': '4210', 'signature': {'model': 4210, 'modelCfg': 0, 'softBuildCfg': 0, 'softVersion': {'minor': 8, 'middle': 1, 'major': 0}, 'hardRev': 0}, 'location$id': XXXXX, 'parentDevice$id': 97557, 'group$id': 17828, 'orderIdx': 0, 'sku': 'WL4210', 'vendor': 'Sinopé', 'url_en': None, 'url_fr': None}, model': 4210

les capteurs de fuites ont un model 5150, 5151, 5152 et 5153. Le votre est model 4210 Est-ce un WL4210 standard?

pouvez-vous valider dans Neviweb pour ce capteur dans la section info quel est le model inscrit ? Je vais corriger ensuite neviweb130 et faire une mise a jour

lukou31 commented 1 year ago

C'est bien un WL4210 (modèle avec sonde déportée) modèle 4210.

Version logiciel: 0.1.8 Version matériel: 0

J'ai comparé avec les autres qui fonctionnement très bien et sont des WL4200 5051

claudegel commented 1 year ago

et dans Neviwed, info, ca dit quoi comme model neviweb-data

claudegel commented 1 year ago

Un fix rapide pour vous est de modifier la ligne 100 de sensor.py pour y ajouter le model 4210 IMPLEMENTED_SENSOR_MODEL = [5051, 5053, 4210] Ensuite redémarrez HA Faudra valider ensuite si Sinopé a pas changé aussi les model des autres détecteurs.

claudegel commented 1 year ago

Votre 4210 est bien connecté directement au GT130 et non à la valve sedna ?

lukou31 commented 1 year ago

Oui au GT130, je n'ai pas la valve.

Je vais ajouter l'info dans le fichier.

lukou31 commented 1 year ago

J'ai bien 4210 indiqué comme modèle dans la section info du capteur

lukou31 commented 1 year ago

Après application des modifs, je vois désormais le capteur dans la liste. Merci !

claudegel commented 1 year ago

Bon Sinopé a remplacé le numéro de modele 5053 par 4210 et semble avoir ajouté de nouveaux paramètres. Je vais faire une mise a jour aujourd'hui et après avoir updaté est-ce que vous pourriez m'envoyer la ligne de log [custom_components.neviweb130.sensor] Updating neviweb130 sensor evier cuisine... Je pourrai valider si j'ai tous les parametres pour le modèle 4210

claudegel commented 1 year ago

J'ai fais la mise a jour vers 2.4.0 merci de votre aide