Electrolyseur E-Pool Technologie Justsalt

Bonjour, de mon côté je n’ai pas encore d’electrolyseur et j’envisageais justement de prendre celui-ci pour sa connectivité notamment.

Je vais pas le prendre tout de suite, en revanche j’envisage de prendre un poolcommand VS qui est un produit de la gamme MyIndygo de Solem et compatible avec pooltechnologie.
https://indygo-pool.com/fr/2-piscine

Je ne sais pas si c’est le pooltechnologie qui command le poolcommand ou l’inverse, j’ai pas bien compris leur communication à chacun

Le poolcommand via la passerelle lora lrmb peut envoyer toutes les infos sur la plateforme myindygo

Du coup j’hésite à prendre la passerelle lrmb vu ce que vous avez réussi à faire, et faire comme vous avec un esp !
En meme temps faire une intégration myindygo pourrait aussi être intéressant meme si c’est cloudbased.

Solem propose d’ailleurs une plateforme du meme type mais pour l’arrosage (c’est Hydralians leur revendeur principal de tous ces produits)

Je suis également tombé sur une intégration Tild basée sur ce thread j’ai l’impression :

oui le tild j’y ai un peu contribuer ! je suis a l initiative , et ensuite le code a été repris par brenard avec qui on a complètement analyser le truc ,mais plus simple car en Wifi

Oui le pool command est pas si cher pour le servi de rendu, en plus en rails din. ce qui est dommage c’est qui faut en plus rajouter le relais wifi ou lora.

bonjour,

je m’y suis mis aussi. a savoir que mon électrolyseur est un justsalt duo rebadgé pour la marque Majestic vendu chez cash piscine.
Je n’ai donc pas de sonde ORP (et donc a priori pas de mesure ou une valeur fictive)

voici les infos remontées chez moi :

cependant, les valeurs affichées sur la machine :

production électrolyseur : 100%
sel : 2,1 g/l
pH : 7,0
consigne pH : 7,3
température : 14,5°C

trame obtenue :
[raw_hex:190]: 00.4E.01.01.01.46.02.02.02.BC.03.01.64.08.01.64.09.02.00.A0.0A.01.16.0B.01.00.0C.01.00.0D.02.00.20.0E.02.13.C2.0F.02.00.94.10.02.00.10.11.02.00.28.12.04.00.0D.06.17.1F.02.02.5D.28.02.08.98.29.01.03.2A.01.01.30.01.49.31.01.00.32.01.0F (78)

étrangement j’en reçois très régulièrement des vides :

[18:35:22][D][raw_hex:190]: 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00 (80)

voici un extrait des logs

INFO ESPHome 2024.3.2
INFO Reading configuration /config/esphome/esp32.yaml...
INFO Detected timezone 'Europe/Paris'
INFO Starting log output from 192.168.1.15 using esphome API
INFO Successfully connected to esp32 @ 192.168.1.15 in 0.008s
INFO Successful handshake with esp32 @ 192.168.1.15 in 0.127s
[18:40:59][I][app:102]: ESPHome version 2024.3.2 compiled on Apr 14 2024, 17:40:53
[18:40:59][C][wifi:580]: WiFi:
[18:40:59][C][wifi:408]:   Local MAC: 08:D1:F9:A2:BE:2C
[18:40:59][C][wifi:413]:   SSID: [redacted]
[18:40:59][C][wifi:416]:   IP Address: 192.168.1.15
[18:40:59][C][wifi:420]:   BSSID: [redacted]
[18:40:59][C][wifi:421]:   Hostname: 'esp32'
[18:40:59][C][wifi:423]:   Signal strength: -52 dB ▂▄▆█
[18:40:59][C][wifi:427]:   Channel: 3
[18:40:59][C][wifi:428]:   Subnet: 255.255.255.0
[18:40:59][C][wifi:429]:   Gateway: 192.168.1.1
[18:40:59][C][wifi:430]:   DNS1: 192.168.1.1
[18:40:59][C][wifi:431]:   DNS2: 0.0.0.0
[18:40:59][C][logger:166]: Logger:
[18:40:59][C][logger:167]:   Level: DEBUG
[18:40:59][C][logger:169]:   Log Baud Rate: 0
[18:40:59][C][logger:170]:   Hardware UART: UART0
[18:40:59][C][template.text_sensor:020]: Template Sensor 'Name BLE'
[18:40:59][C][template.text_sensor:020]: Template Sensor 'Name'
[18:40:59][C][template.text_sensor:020]: Template Sensor 'version logiciel'
[18:40:59][C][template.text_sensor:020]: Template Sensor 'Slave'
[18:40:59][C][uptime.sensor:031]: Uptime Sensor 'Uptime'
[18:40:59][C][uptime.sensor:031]:   Device Class: 'duration'
[18:40:59][C][uptime.sensor:031]:   State Class: 'total_increasing'
[18:40:59][C][uptime.sensor:031]:   Unit of Measurement: 's'
[18:40:59][C][uptime.sensor:031]:   Accuracy Decimals: 0
[18:40:59][C][uptime.sensor:031]:   Icon: 'mdi:timer-outline'
[18:40:59][C][template.sensor:022]: Template Sensor 'volume piscine'
[18:40:59][C][template.sensor:022]:   State Class: ''
[18:40:59][C][template.sensor:022]:   Unit of Measurement: 'm3'
[18:40:59][C][template.sensor:022]:   Accuracy Decimals: 1
[18:40:59][C][template.sensor:023]:   Update Interval: 60.0s
[18:40:59][C][template.sensor:022]: Template Sensor 'JustSalt Temperature'
[18:40:59][C][template.sensor:022]:   Device Class: 'temperature'
[18:40:59][C][template.sensor:022]:   State Class: 'measurement'
[18:40:59][C][template.sensor:022]:   Unit of Measurement: '°C'
[18:40:59][C][template.sensor:022]:   Accuracy Decimals: 1
[18:40:59][C][template.sensor:023]:   Update Interval: 60.0s
[18:40:59][C][template.sensor:022]: Template Sensor 'JustSalt Temperature Int'
[18:40:59][C][template.sensor:022]:   Device Class: 'temperature'
[18:40:59][C][template.sensor:022]:   State Class: 'measurement'
[18:40:59][C][template.sensor:022]:   Unit of Measurement: '°C'
[18:40:59][C][template.sensor:022]:   Accuracy Decimals: 1
[18:40:59][C][template.sensor:023]:   Update Interval: 60.0s
[18:40:59][C][template.sensor:022]: Template Sensor 'JustSalt TDS'
[18:40:59][C][template.sensor:022]:   State Class: 'measurement'
[18:40:59][C][template.sensor:022]:   Unit of Measurement: 'g/L'
[18:40:59][C][template.sensor:022]:   Accuracy Decimals: 1
[18:40:59][C][template.sensor:022]:   Icon: 'mdi:water-opacity'
[18:40:59][C][template.sensor:023]:   Update Interval: 60.0s
[18:40:59][C][bluetooth_proxy:088]: Bluetooth Proxy:
[18:40:59][C][bluetooth_proxy:089]:   Active: YES
[18:40:59][C][ble_presence:011]: BLE Presence 'JustSaltPro'
[18:40:59][C][version.text_sensor:021]: Version Text Sensor 'ESPHome Version'
[18:40:59][C][version.text_sensor:021]:   Icon: 'mdi:new-box'
[18:40:59][C][ble_rssi:011]: BLE RSSI Sensor 'JustSalt RSSI'
[18:40:59][C][ble_rssi:011]:   Device Class: 'signal_strength'
[18:40:59][C][ble_rssi:011]:   State Class: 'measurement'
[18:40:59][C][ble_rssi:011]:   Unit of Measurement: 'dBm'
[18:40:59][C][ble_rssi:011]:   Accuracy Decimals: 0
[18:40:59][C][ble_sensor:017]: BLE Sensor 'device_name'
[18:40:59][C][ble_sensor:017]:   State Class: ''
[18:40:59][C][ble_sensor:017]:   Unit of Measurement: ''
[18:40:59][C][ble_sensor:017]:   Accuracy Decimals: 0
[18:40:59][C][ble_sensor:018]:   MAC address        : CC:86:EC:CC:80:A2
[18:40:59][C][ble_sensor:019]:   Service UUID       : 0x1800
[18:40:59][C][ble_sensor:020]:   Characteristic UUID: 0x2A00
[18:40:59][C][ble_sensor:021]:   Descriptor UUID    : 00000000-0000-0000-0000-000000000000
[18:40:59][C][ble_sensor:022]:   Notifications      : NO
[18:40:59][C][ble_sensor:023]:   Update Interval: 60.0s
[18:40:59][C][ble_sensor:017]: BLE Sensor 'traitement'
[18:40:59][C][ble_sensor:017]:   State Class: ''
[18:40:59][C][ble_sensor:017]:   Unit of Measurement: ''
[18:40:59][C][ble_sensor:017]:   Accuracy Decimals: 0
[18:40:59][C][ble_sensor:018]:   MAC address        : CC:86:EC:CC:80:A2
[18:40:59][C][ble_sensor:019]:   Service UUID       : 09912756-7B32-4629-AEB1-B309D9A338AE
[18:40:59][C][ble_sensor:020]:   Characteristic UUID: EF785C24-22BB-463D-B651-0B7445BA091C
[18:40:59][C][ble_sensor:021]:   Descriptor UUID    : 00000000-0000-0000-0000-000000000000
[18:40:59][C][ble_sensor:022]:   Notifications      : YES
[18:40:59][C][ble_sensor:023]:   Update Interval: 30.0s
[18:40:59][C][restart:068]: Restart Switch 'JustSalt_Gatway restart'
[18:40:59][C][restart:070]:   Icon: 'mdi:restart'
[18:40:59][C][restart:091]:   Restore Mode: always OFF
[18:40:59][C][ble_switch:068]: BLE Client Switch 'Enable com JustSalt'
[18:40:59][C][ble_switch:070]:   Icon: 'mdi:bluetooth'
[18:40:59][C][ble_switch:091]:   Restore Mode: always OFF
[18:40:59][C][homeassistant.time:010]: Home Assistant Time:
[18:40:59][C][homeassistant.time:011]:   Timezone: 'CET-1CEST,M3.5.0,M10.5.0/3'
[18:40:59][C][esp32_ble:374]: ESP32 BLE:
[18:40:59][C][esp32_ble:376]:   MAC address: 08:D1:F9:A2:BE:2E
[18:40:59][C][esp32_ble:377]:   IO Capability: none
[18:40:59][C][esp32_ble_tracker:645]: BLE Tracker:
[18:40:59][C][esp32_ble_tracker:646]:   Scan Duration: 300 s
[18:41:00][C][esp32_ble_tracker:647]:   Scan Interval: 320.0 ms
[18:41:00][C][esp32_ble_tracker:648]:   Scan Window: 30.0 ms
[18:41:00][C][esp32_ble_tracker:649]:   Scan Type: ACTIVE
[18:41:00][C][esp32_ble_tracker:650]:   Continuous Scanning: True
[18:41:00][C][ble_client:027]: BLE Client:
[18:41:00][C][ble_client:028]:   Address: CC:86:EC:CC:80:A2
[18:41:00][C][ble_client:029]:   Auto-Connect: TRUE
[18:41:00][C][captive_portal:088]: Captive Portal:
[18:41:00][C][mdns:115]: mDNS:
[18:41:00][C][mdns:116]:   Hostname: esp32
[18:41:00][C][ota:096]: Over-The-Air Updates:
[18:41:00][C][ota:097]:   Address: esp32.local:3232
[18:41:00][C][ota:100]:   Using Password.
[18:41:00][C][ota:103]:   OTA version: 2.
[18:41:00][C][api:139]: API Server:
[18:41:00][C][api:140]:   Address: esp32.local:6053
[18:41:00][C][api:142]:   Using noise encryption: YES
[18:41:00][C][wifi_info:011]: WifiInfo SSID 'WiFi'
[18:41:00][C][wifi_signal.sensor:009]: WiFi Signal 'Wifi signal'
[18:41:00][C][wifi_signal.sensor:009]:   Device Class: 'signal_strength'
[18:41:00][C][wifi_signal.sensor:009]:   State Class: 'measurement'
[18:41:00][C][wifi_signal.sensor:009]:   Unit of Measurement: 'dBm'
[18:41:00][C][wifi_signal.sensor:009]:   Accuracy Decimals: 0
[18:41:00][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:00][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:00][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:00][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:00][D][raw_hex:190]: 00.06.01.B0.01.51 (6)
[18:41:00][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:00][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:01][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:01][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:01][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:01][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:01][D][raw_hex:190]: 00.06.01.B0.01.51 (6)
[18:41:01][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:01][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:02][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:02][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:02][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:02][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:02][D][raw_hex:190]: 00.06.01.B0.01.53 (6)
[18:41:02][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:02][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:03][D][sensor:094]: 'Wifi signal': Sending state -51.00000 dBm with 0 decimals of accuracy
[18:41:03][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:03][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:03][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:03][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:03][D][raw_hex:190]: 00.06.01.B0.01.51 (6)
[18:41:03][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:03][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:04][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:04][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:04][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:04][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:04][D][raw_hex:190]: 00.06.01.B0.01.4D (6)
[18:41:04][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:04][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:05][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:05][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:05][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:05][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:05][D][raw_hex:190]: 00.06.01.B0.01.4F (6)
[18:41:05][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:05][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:06][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:06][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:06][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:06][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:06][D][raw_hex:190]: 00.06.01.B0.01.4E (6)
[18:41:06][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:06][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:07][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:07][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:07][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:07][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:07][D][raw_hex:190]: 00.06.01.B0.01.4D (6)
[18:41:07][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:07][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:08][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:08][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:08][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:08][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:08][D][raw_hex:190]: 00.06.01.B0.01.54 (6)
[18:41:08][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:08][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:09][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:09][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:09][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:09][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:09][D][raw_hex:190]: 00.06.01.B0.01.51 (6)
[18:41:09][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:09][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:10][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:10][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:10][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:10][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:10][D][raw_hex:190]: 00.06.01.B0.01.54 (6)
[18:41:10][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:10][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:11][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:11][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:11][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:12][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:12][D][raw_hex:190]: 00.06.01.B0.01.51 (6)
[18:41:12][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:12][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:13][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:13][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:13][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:13][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:13][D][raw_hex:190]: 00.06.01.B0.01.50 (6)
[18:41:13][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:13][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:13][D][sensor:094]: 'Wifi signal': Sending state -51.00000 dBm with 0 decimals of accuracy
[18:41:14][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:14][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:14][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:14][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:14][D][raw_hex:190]: 00.06.01.B0.01.4E (6)
[18:41:14][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:14][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:15][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:15][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:15][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:15][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:15][D][raw_hex:190]: 00.06.01.B0.01.54 (6)
[18:41:15][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:15][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:16][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:16][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:16][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:16][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:16][D][raw_hex:190]: 00.06.01.B0.01.51 (6)
[18:41:16][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:16][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:17][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:17][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:17][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:17][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:17][D][raw_hex:190]: 00.06.01.B0.01.54 (6)
[18:41:17][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:17][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:18][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:18][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:18][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:18][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:18][D][raw_hex:190]: 00.06.01.B0.01.53 (6)
[18:41:18][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:18][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:19][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:19][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:19][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:19][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:19][D][raw_hex:190]: 00.06.01.B0.01.51 (6)
[18:41:19][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:19][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:20][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:20][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:20][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:20][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:20][D][raw_hex:190]: 00.06.01.B0.01.52 (6)
[18:41:20][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:20][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:21][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:21][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:21][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:21][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:21][D][raw_hex:190]: 00.06.01.B0.01.54 (6)
[18:41:21][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:21][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:22][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_READ_CHAR_EVT
[18:41:22][D][ble_client.receive:187]: start - value received with 80 bytes: []
[18:41:22][D][raw_hex:190]: 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00 (80)
[18:41:22][D][raw_hex_stripped:194]: value received with 165 bytes: []
[18:41:22][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:22][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:22][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:22][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:22][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:22][D][raw_hex:190]: 00.06.01.B0.01.51 (6)
[18:41:22][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:22][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:23][D][sensor:094]: 'Wifi signal': Sending state -51.00000 dBm with 0 decimals of accuracy
[18:41:23][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:23][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:23][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:23][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:23][D][raw_hex:190]: 00.06.01.B0.01.54 (6)
[18:41:23][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:23][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:24][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:24][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:24][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:24][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:24][D][raw_hex:190]: 00.06.01.B0.01.53 (6)
[18:41:24][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:24][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:25][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:25][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:25][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:25][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:25][D][raw_hex:190]: 00.06.01.B0.01.53 (6)
[18:41:25][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:25][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:26][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:26][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:26][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:26][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:26][D][raw_hex:190]: 00.06.01.B0.01.54 (6)
[18:41:26][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:26][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:27][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:27][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:27][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:27][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:27][D][raw_hex:190]: 00.06.01.B0.01.50 (6)
[18:41:27][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:27][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:28][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:28][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:28][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:28][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:28][D][raw_hex:190]: 00.06.01.B0.01.4F (6)
[18:41:28][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:28][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:29][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:29][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:29][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:29][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:29][D][raw_hex:190]: 00.06.01.B0.01.53 (6)
[18:41:29][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:29][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:30][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:30][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:30][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:30][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:30][D][raw_hex:190]: 00.06.01.B0.01.4F (6)
[18:41:30][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:30][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:31][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:31][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:31][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:31][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:31][D][raw_hex:190]: 00.06.01.B0.01.53 (6)
[18:41:31][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:31][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:32][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:32][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:32][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:32][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:32][D][raw_hex:190]: 00.06.01.B0.01.4F (6)
[18:41:32][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:32][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:33][D][sensor:094]: 'Wifi signal': Sending state -52.00000 dBm with 0 decimals of accuracy
[18:41:33][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:33][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:33][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:33][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:33][D][raw_hex:190]: 00.06.01.B0.01.4F (6)
[18:41:33][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:33][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:34][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:34][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:34][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:34][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:34][D][raw_hex:190]: 00.06.01.B0.01.4E (6)
[18:41:34][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:34][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:35][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:35][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:35][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:35][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:35][D][raw_hex:190]: 00.06.01.B0.01.53 (6)
[18:41:35][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:35][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:36][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:36][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:36][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:36][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:36][D][raw_hex:190]: 00.06.01.B0.01.4D (6)
[18:41:36][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:36][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:37][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:37][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:37][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:37][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:37][D][raw_hex:190]: 00.06.01.B0.01.53 (6)
[18:41:37][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:37][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:38][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:38][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:38][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:38][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:38][D][raw_hex:190]: 00.06.01.B0.01.52 (6)
[18:41:38][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:38][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:39][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:39][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:39][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:39][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:39][D][raw_hex:190]: 00.06.01.B0.01.52 (6)
[18:41:39][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:39][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:40][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:40][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:40][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:40][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:40][D][raw_hex:190]: 00.06.01.B0.01.50 (6)
[18:41:40][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:40][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:41][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:42][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:42][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:42][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:42][D][raw_hex:190]: 00.06.01.B0.01.52 (6)
[18:41:42][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:42][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:43][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:43][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:43][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:43][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:43][D][raw_hex:190]: 00.06.01.B0.01.53 (6)
[18:41:43][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:43][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:43][D][sensor:094]: 'Wifi signal': Sending state -51.00000 dBm with 0 decimals of accuracy
[18:41:44][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:44][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:44][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:44][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:44][D][raw_hex:190]: 00.06.01.B0.01.53 (6)
[18:41:44][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:44][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:44][D][sensor:094]: 'Uptime': Sending state 3411.80688 s with 0 decimals of accuracy
[18:41:45][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:45][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:45][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:45][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:45][D][raw_hex:190]: 00.06.01.B0.01.4D (6)
[18:41:45][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:45][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:46][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:46][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:46][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:46][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:46][D][raw_hex:190]: 00.06.01.B0.01.54 (6)
[18:41:46][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:46][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:47][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:47][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:47][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:47][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:47][D][raw_hex:190]: 00.06.01.B0.01.51 (6)
[18:41:47][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:47][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:48][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_READ_CHAR_EVT
[18:41:48][D][text_sensor:064]: 'Name BLE': Sending state 'BLE Device'
[18:41:48][D][sensor:094]: 'device_name': Sending state 10.00000  with 0 decimals of accuracy
[18:41:48][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:48][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:48][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:48][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:48][D][raw_hex:190]: 00.06.01.B0.01.4F (6)
[18:41:48][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:48][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:49][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:49][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:49][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:49][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:49][D][raw_hex:190]: 00.06.01.B0.01.53 (6)
[18:41:49][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:49][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:50][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:50][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:50][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:50][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:50][D][raw_hex:190]: 00.06.01.B0.01.52 (6)
[18:41:50][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:50][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:51][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:51][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:51][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:51][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:51][D][raw_hex:190]: 00.06.01.B0.01.4E (6)
[18:41:51][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:51][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:52][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_READ_CHAR_EVT
[18:41:52][D][ble_client.receive:187]: start - value received with 80 bytes: []
[18:41:52][D][raw_hex:190]: 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00 (80)
[18:41:52][D][raw_hex_stripped:194]: value received with 165 bytes: []
[18:41:52][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:52][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:52][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:52][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:52][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:52][D][raw_hex:190]: 00.06.01.B0.01.52 (6)
[18:41:52][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:52][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:53][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:53][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:53][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:53][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:53][D][raw_hex:190]: 00.06.01.B0.01.51 (6)
[18:41:53][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:53][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:53][D][sensor:094]: 'Wifi signal': Sending state -51.00000 dBm with 0 decimals of accuracy
[18:41:54][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:54][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:54][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:54][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:54][D][raw_hex:190]: 00.06.01.B0.01.51 (6)
[18:41:54][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:54][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:55][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:55][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:55][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:55][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:55][D][raw_hex:190]: 00.06.01.B0.01.4F (6)
[18:41:55][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:55][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:56][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:56][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:56][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:56][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:56][D][raw_hex:190]: 00.06.01.B0.01.54 (6)
[18:41:56][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:56][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:57][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:57][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:57][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:57][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:57][D][raw_hex:190]: 00.06.01.B0.01.54 (6)
[18:41:57][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:57][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:58][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:58][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:58][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:58][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:58][D][raw_hex:190]: 00.06.01.B0.01.51 (6)
[18:41:58][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:58][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:41:59][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:41:59][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:59][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:41:59][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:41:59][D][raw_hex:190]: 00.06.01.B0.01.53 (6)
[18:41:59][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:41:59][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:42:00][D][switch:016]: 'Enable com JustSalt' Turning OFF.
[18:42:00][I][ble_client:043]: [CC:86:EC:CC:80:A2] Disabling BLE client.
[18:42:00][I][esp32_ble_client:084]: [0] [CC:86:EC:CC:80:A2] Disconnecting.
[18:42:00][D][switch:055]: 'Enable com JustSalt': Sending state OFF
[18:42:00][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_CLOSE_EVT
[18:42:00][W][ble_sensor:037]: [device_name] Disconnected!
[18:42:00][W][ble_client.sensor:152]: Warning set: unspecified
[18:42:00][D][sensor:094]: 'device_name': Sending state nan  with 0 decimals of accuracy
[18:42:00][W][ble_sensor:037]: [traitement] Disconnected!
[18:42:00][W][ble_client.sensor:152]: Warning set: unspecified
[18:42:00][D][sensor:094]: 'traitement': Sending state nan  with 0 decimals of accuracy
[18:42:00][D][esp32_ble_client:172]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_DISCONNECT_EVT, reason 22
[18:42:03][D][sensor:094]: 'Wifi signal': Sending state -51.00000 dBm with 0 decimals of accuracy
[18:42:03][D][sensor:094]: 'JustSalt RSSI': Sending state -58.00000 dBm with 0 decimals of accuracy
[18:42:03][D][ble_adv:056]: New BLE device
[18:42:03][D][ble_adv:057]:   address: CC:86:EC:CC:80:A2
[18:42:03][D][ble_adv:058]:   name: GEN_0721-000147-022
[18:42:03][D][text_sensor:064]: 'Name': Sending state 'GEN_0721-000147-022'
[18:42:03][D][sensor:094]: 'JustSalt RSSI': Sending state -65.00000 dBm with 0 decimals of accuracy
[18:42:03][D][ble_adv:056]: New BLE device
[18:42:03][D][ble_adv:057]:   address: CC:86:EC:CC:80:A2
[18:42:03][D][ble_adv:058]:   name: GEN_0721-000147-022
[18:42:03][D][text_sensor:064]: 'Name': Sending state 'GEN_0721-000147-022'
[18:42:04][D][sensor:094]: 'JustSalt RSSI': Sending state -59.00000 dBm with 0 decimals of accuracy
[18:42:04][D][ble_adv:056]: New BLE device
[18:42:04][D][ble_adv:057]:   address: CC:86:EC:CC:80:A2
[18:42:04][D][ble_adv:058]:   name: GEN_0721-000147-022
[18:42:04][D][text_sensor:064]: 'Name': Sending state 'GEN_0721-000147-022'
[18:42:04][D][sensor:094]: 'JustSalt RSSI': Sending state -65.00000 dBm with 0 decimals of accuracy
[18:42:04][D][ble_adv:056]: New BLE device
[18:42:04][D][ble_adv:057]:   address: CC:86:EC:CC:80:A2
[18:42:04][D][ble_adv:058]:   name: GEN_0721-000147-022
[18:42:04][D][text_sensor:064]: 'Name': Sending state 'GEN_0721-000147-022'
[18:42:10][D][sensor:094]: 'JustSalt RSSI': Sending state -59.00000 dBm with 0 decimals of accuracy
[18:42:10][D][ble_adv:056]: New BLE device
[18:42:10][D][ble_adv:057]:   address: CC:86:EC:CC:80:A2
[18:42:10][D][ble_adv:058]:   name: GEN_0721-000147-022
[18:42:10][D][text_sensor:064]: 'Name': Sending state 'GEN_0721-000147-022'
[18:42:13][D][sensor:094]: 'Wifi signal': Sending state -51.00000 dBm with 0 decimals of accuracy
[18:42:17][D][sensor:094]: 'JustSalt RSSI': Sending state -64.00000 dBm with 0 decimals of accuracy
[18:42:17][D][ble_adv:056]: New BLE device
[18:42:17][D][ble_adv:057]:   address: CC:86:EC:CC:80:A2
[18:42:17][D][ble_adv:058]:   name: GEN_0721-000147-022
[18:42:17][D][text_sensor:064]: 'Name': Sending state 'GEN_0721-000147-022'
[18:42:17][D][sensor:094]: 'JustSalt RSSI': Sending state -58.00000 dBm with 0 decimals of accuracy
[18:42:17][D][ble_adv:056]: New BLE device
[18:42:17][D][ble_adv:057]:   address: CC:86:EC:CC:80:A2
[18:42:17][D][ble_adv:058]:   name: GEN_0721-000147-022
[18:42:17][D][text_sensor:064]: 'Name': Sending state 'GEN_0721-000147-022'
[18:42:18][D][sensor:094]: 'JustSalt RSSI': Sending state -58.00000 dBm with 0 decimals of accuracy
[18:42:18][D][ble_adv:056]: New BLE device
[18:42:18][D][ble_adv:057]:   address: CC:86:EC:CC:80:A2
[18:42:18][D][ble_adv:058]:   name: GEN_0721-000147-022
[18:42:18][D][text_sensor:064]: 'Name': Sending state 'GEN_0721-000147-022'
[18:42:18][D][sensor:094]: 'JustSalt RSSI': Sending state -65.00000 dBm with 0 decimals of accuracy
[18:42:18][D][ble_adv:056]: New BLE device
[18:42:18][D][ble_adv:057]:   address: CC:86:EC:CC:80:A2
[18:42:18][D][ble_adv:058]:   name: GEN_0721-000147-022
[18:42:18][D][text_sensor:064]: 'Name': Sending state 'GEN_0721-000147-022'
[18:42:20][D][switch:012]: 'Enable com JustSalt' Turning ON.
[18:42:20][D][switch:055]: 'Enable com JustSalt': Sending state ON
[18:42:22][W][ble_sensor:123]: [traitement] Cannot poll, not connected
[18:42:23][D][sensor:094]: 'Wifi signal': Sending state -51.00000 dBm with 0 decimals of accuracy
[18:42:23][D][sensor:094]: 'JustSalt RSSI': Sending state -59.00000 dBm with 0 decimals of accuracy
[18:42:23][D][ble_adv:056]: New BLE device
[18:42:23][D][ble_adv:057]:   address: CC:86:EC:CC:80:A2
[18:42:23][D][ble_adv:058]:   name: GEN_0721-000147-022
[18:42:23][D][text_sensor:064]: 'Name': Sending state 'GEN_0721-000147-022'
[18:42:23][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] Found device
[18:42:23][D][esp32_ble_tracker:661]: Found device CC:86:EC:CC:80:A2 RSSI=-59
[18:42:23][D][esp32_ble_tracker:682]:   Address Type: PUBLIC
[18:42:23][D][esp32_ble_tracker:684]:   Name: 'GEN_0721-000147-022'
[18:42:23][D][esp32_ble_tracker:215]: Pausing scan to make connection...
[18:42:23][I][esp32_ble_client:067]: [0] [CC:86:EC:CC:80:A2] 0x00 Attempting BLE connection
[18:42:24][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_CONNECT_EVT
[18:42:24][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_OPEN_EVT
[18:42:24][I][ble_sensor:031]: [device_name] Connected successfully!
[18:42:24][I][ble_sensor:031]: [traitement] Connected successfully!
[18:42:24][D][esp32_ble_tracker:266]: Starting scan...
[18:42:24][I][esp32_ble_client:333]: [0] [CC:86:EC:CC:80:A2] auth complete. remote BD_ADDR: cc86eccc80a2
[18:42:24][D][esp32_ble_client:341]: [0] [CC:86:EC:CC:80:A2] auth success. address type = 0 auth mode = 9
[18:42:25][D][esp32_ble_client:306]: [0] [CC:86:EC:CC:80:A2] Event 46
[18:42:25][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_SEARCH_CMPL_EVT
[18:42:25][I][esp32_ble_client:227]: [0] [CC:86:EC:CC:80:A2] Connected
[18:42:25][D][esp32_ble_client:188]: [0] [CC:86:EC:CC:80:A2] cfg_mtu status 0, mtu 83
[18:42:25][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_REG_FOR_NOTIFY_EVT
[18:42:25][D][esp32_ble_client:296]: Wrote notify descriptor 2, properties=46
[18:42:25][D][ble_sensor:103]: Register for notify on EF785C24-22BB-463D-B651-0B7445BA091C complete
[18:42:25][D][ble_client:058]: All clients established, services released
[18:42:25][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_WRITE_DESCR_EVT
[18:42:26][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:42:26][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:42:26][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:42:26][D][ble_client.receive:187]: start - value received with 78 bytes: []
[18:42:26][D][raw_hex:190]: 00.4E.01.01.01.46.02.02.02.BC.03.01.64.08.01.64.09.02.00.A0.0A.01.16.0B.01.00.0C.01.00.0D.02.00.20.0E.02.13.C2.0F.02.00.94.10.02.00.10.11.02.00.28.12.04.00.0D.06.17.1F.02.02.62.28.02.08.98.29.01.03.2A.01.01.30.01.49.31.01.00.32.01.0F (78)
[18:42:26][D][raw_hex_stripped:194]: value received with 161 bytes: []
[18:42:26][D][chaine 78:250]: 64
[18:42:26][D][sensor:094]: 'JustSalt pH consigne': Sending state 10.00000 pH with 2 decimals of accuracy
[18:42:26][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:42:26][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:42:26][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:42:26][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:42:26][D][ble_client.receive:187]: start - value received with 75 bytes: []
[18:42:26][D][raw_hex:190]: 00.4B.01.33.01.64.39.01.03.50.01.01.51.01.01.5F.01.03.69.04.00.00.00.00.6A.01.00.8F.01.04.90.08.00.00.00.00.00.00.00.05.91.08.00.00.00.00.00.06.6F.C3.92.01.15.93.02.00.85.94.02.00.F5.95.04.01.71.6F.A4.96.02.02.04.97.02.01.00 (75)
[18:42:26][D][raw_hex_stripped:194]: value received with 155 bytes: []
[18:42:26][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:42:26][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:42:26][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:42:26][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:42:26][D][ble_client.receive:187]: start - value received with 76 bytes: []
[18:42:26][D][raw_hex:190]: 00.4C.01.99.16.47.45.4E.5F.30.37.32.31.2D.30.30.30.31.34.37.2D.30.32.32.00.00.00.9A.10.30.37.32.31.2D.30.30.30.31.34.37.2D.30.32.32.00.9B.02.00.00.9C.02.00.00.9D.08.00.00.00.00.00.00.03.7F.A3.08.00.00.00.00.00.00.00.76.B0.01.55 (76)
[18:42:26][D][raw_hex_stripped:194]: value received with 157 bytes: []
[18:42:26][D][chaine 76:222]: 47
[18:42:26][D][sensor:094]: 'JustSalt pH': Sending state 7.10000 pH with 2 decimals of accuracy
[18:42:26][D][chaine 76:228]: 3232
[18:42:26][D][chaine 76:230]: 3232
[18:42:26][D][sensor:094]: 'JustSalt Temperature': Sending state 1285.00000 °C with 1 decimals of accuracy
[18:42:26][D][chaine 76:235]: 00
[18:42:26][D][sensor:094]: 'JustSalt TDS': Sending state 0.00000 g/L with 1 decimals of accuracy
[18:42:26][D][chaine 76:241]: 00
[18:42:26][D][sensor:094]: 'volume piscine': Sending state 0.00000 m3 with 1 decimals of accuracy
[18:42:26][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:42:26][W][component:232]: Component esp32_ble took a long time for an operation (72 ms).
[18:42:26][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:42:26][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:42:26][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:42:26][D][ble_client.receive:187]: start - value received with 20 bytes: []
[18:42:26][D][raw_hex:190]: 00.14.01.B0.01.55.B1.06.CC.86.EC.CC.80.A2.D1.01.05.FE.01.01 (20)
[18:42:26][D][raw_hex_stripped:194]: value received with 45 bytes: []
[18:42:26][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:42:27][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:42:27][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:42:27][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:42:27][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:42:27][D][raw_hex:190]: 00.06.01.B0.01.55 (6)
[18:42:27][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:42:27][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:42:28][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:42:28][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:42:28][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:42:28][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:42:28][D][raw_hex:190]: 00.06.01.B0.01.50 (6)
[18:42:28][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:42:28][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:42:29][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:42:29][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:42:29][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:42:29][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:42:29][D][raw_hex:190]: 00.06.01.B0.01.54 (6)
[18:42:29][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:42:29][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:42:30][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:42:30][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:42:30][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:42:30][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:42:30][D][raw_hex:190]: 00.06.01.B0.01.4E (6)
[18:42:30][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:42:30][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:42:31][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:42:31][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:42:31][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:42:31][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:42:31][D][raw_hex:190]: 00.06.01.B0.01.4F (6)
[18:42:31][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:42:31][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:42:32][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:42:32][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:42:32][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:42:32][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:42:32][D][raw_hex:190]: 00.06.01.B0.01.4D (6)
[18:42:32][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:42:32][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:42:33][D][sensor:094]: 'Wifi signal': Sending state -52.00000 dBm with 0 decimals of accuracy
[18:42:33][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:42:33][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:42:33][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:42:33][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:42:33][D][raw_hex:190]: 00.06.01.B0.01.50 (6)
[18:42:33][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:42:33][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:42:34][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:42:34][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:42:34][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:42:34][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:42:34][D][raw_hex:190]: 00.06.01.B0.01.4E (6)
[18:42:34][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:42:34][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:42:36][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT
[18:42:36][D][ble_sensor:089]: [device_name] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:42:36][D][ble_sensor:089]: [traitement] ESP_GATTC_NOTIFY_EVT: handle=0x13, value=0x0
[18:42:36][D][ble_client.receive:187]: start - value received with 6 bytes: []
[18:42:36][D][raw_hex:190]: 00.06.01.B0.01.52 (6)
[18:42:36][D][raw_hex_stripped:194]: value received with 16 bytes: []
[18:42:36][D][sensor:094]: 'traitement': Sending state 1.00000  with 0 decimals of accuracy
[18:42:37][D][esp32_ble_client:110]: [0] [CC:86:EC:CC:80:A2] ESP_GATTC_NOTIFY_EVT

si ca peut aider.

oui ca peut aider , surtout quand tu donne les valeur d affichage et la log , c est top merci !
la 80 vide c est « normal » elle est chez tout le monde
sur la commande set du PH , j ai avancé j ai fait un bouton select ,et j ai fait une commande qui permet d envoyer 7.3 et un autre a 7.4 , ca fonctionne, il me reste a faire en sorte que le select set la data !

1 « J'aime »

voila le Write PH fonctionne
mais , il faut attendre la boucle de réinitialisation BLE
pour voir apparaitre le résultat

#  JustSalt
substitutions:
  mac_justsalt: "94:DE:B8:A1:1A:AC"
  service_uuid: '09912756-7b32-4629-aeb1-b309d9a338ae'
  characteristic_uuid: 'ef785c24-22bb-463d-b651-0b7445ba091c'
  characteristic_uuid_write: '4d32c5e5-2bb5-45c6-8c89-6f59bb3930d2'

esphome:
  name: esphome-web-ecc470
  friendly_name: ESPHome Web ecc470

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:
  baud_rate: 0

# Enable Home Assistant API
api:
  encryption:
    key: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

ota:


wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Esphome-Web-Ecc470"
    password: "eEzs1d6LU1bH"

captive_portal:

bluetooth_proxy:
  active: true

time:
  - platform: homeassistant
    id: homeassistant_time
    on_time:
      - seconds: 0
        minutes: /2
        then:
          - switch.turn_off: ble_switch_com
          - delay: 20s
          - switch.turn_on: ble_switch_com

esp32_ble_tracker:
  on_ble_advertise:
    - mac_address:
       - ${mac_justsalt}
      then:
        - lambda: |-
            ESP_LOGD("ble_adv", "New BLE device");
            ESP_LOGD("ble_adv", "  address: %s", x.address_str().c_str());
            ESP_LOGD("ble_adv", "  name: %s", x.get_name().c_str());
            id(ble_name2).publish_state(x.get_name().c_str());

ble_client:
  - mac_address:  ${mac_justsalt}
    auto_connect: true
    id: JustSaltPro
    on_connect:
      then:
        - ble_client.numeric_comparison_reply:
            id: JustSaltPro
            accept: True
        
binary_sensor:
  - platform: ble_presence
    mac_address: ${mac_justsalt}
    name: JustSaltPro

text_sensor:
  - platform: version
    name: ESPHome Version
  - platform: wifi_info
    ssid:
      name: WiFi

  - id: ble_name
    name: "Name BLE"
    platform: template 
  
  - id: ble_name2
    name: "Name"
    platform: template 


  - id: version_logiciel
    name: "version logiciel"
    platform: template 
  
  - id: Slave
    name: "Slave"
    platform: template 

select:
  - platform: template
    name: Selection concigne PH
    id: JustSalt_ph_consigne_select
    icon: mdi:ph
    options:
     - "7.0"
     - "7.1"
     - "7.2"
     - "7.3"
     - "7.4"
     - "7.5"
     - "7.6"
     - "7.7"
     - "7.8"
     - "7.9"
    restore_value: True 
    optimistic: true
    on_value:
      then:
         - lambda: !lambda |-
             auto state = id(JustSalt_ph_consigne_select).state.c_str();
             ESP_LOGD("select_ph", "Option of my select: %s", state); 
             id(phwrite).turn_on();
            

sensor:
  - platform: wifi_signal
    name: Wifi signal
    update_interval: 10s
  - platform: uptime
    name: Uptime
  
  - platform: ble_rssi
    mac_address:  ${mac_justsalt}
    name: "JustSalt RSSI"  

  - platform: template
    name: "volume piscine"
    id: JustSalt_volume_sensor
    unit_of_measurement: "m3"
    
  - platform: template
    name: "JustSalt Temperature"
    id: JustSalt_temperature_sensor
    unit_of_measurement: "°C"
    accuracy_decimals: 1
    state_class: measurement
    device_class: temperature
  
  - platform: template
    name: "JustSalt Temperature Int"
    id: JustSalt_temperature_int_sensor
    unit_of_measurement: "°C"
    accuracy_decimals: 1
    state_class: measurement
    device_class: temperature
  
  - platform: template
    name: "JustSalt pH"
    id: JustSalt_ph_sensor
    unit_of_measurement: "pH"
    accuracy_decimals: 1
    state_class: measurement
    icon: mdi:ph
  
  - platform: template
    name: "JustSalt pH consigne"
    id: JustSalt_ph_consigne_sensor
    unit_of_measurement: "pH"
    accuracy_decimals: 1
    state_class: measurement
    icon: mdi:ph

  - platform: template
    name: "JustSalt ORP"
    id: JustSalt_orp_sensor
    unit_of_measurement: "mV"
    accuracy_decimals: 0
    state_class: measurement
    device_class: voltage
  
  - platform: template
    name: "JustSalt TDS"
    id: JustSalt_tds_sensor
    unit_of_measurement: "g/L"
    accuracy_decimals: 1
    state_class: measurement
    icon: mdi:water-opacity


  - platform: ble_client
    ble_client_id: JustSaltPro
    id: device_name
    service_uuid: '1800'  # Generic Access Profile
    characteristic_uuid: '2a00'  # Device Name
    type: characteristic
    lambda: |-
      std::string data_string(x.begin(), x.end());
      id(ble_name).publish_state(data_string.c_str());
      return (float)x.size();


  - platform: ble_client
    ble_client_id: JustSaltPro
    name: "traitement"
    id: sensor_state    
    service_uuid: ${service_uuid} #'09912756-7b32-4629-aeb1-b309d9a338ae'
    characteristic_uuid: ${characteristic_uuid} #'ef785c24-22bb-463d-b651-0b7445ba091c'
    type: characteristic
    update_interval: 30s
    notify: true
    lambda: |-      
      ESP_LOGD("ble_client.receive", "start - value received with %d bytes: [%.*s]", x.size(), x.size(), &x[0]);
      std::string value2(x.begin(), x.end());
      std::string rawhex = format_hex_pretty((uint8_t *) value2.c_str(), value2.size()).c_str();
      ESP_LOGD("raw_hex", "%s", rawhex.c_str());
      
      rawhex.erase(std::remove(rawhex.begin(), rawhex.end(), '.'), rawhex.end());
      //ESP_LOGD("raw_hex_stripped", "%s", rawhex.c_str());
      ESP_LOGD("raw_hex_stripped", "value received with %d bytes: [%.*s]", rawhex.size(), rawhex.c_str());
         
      switch (x.size()) {

        case 9: {
          std::string temppart1 = rawhex.substr(10, 4);
          ESP_LOGD("chaine 9", "%s", temppart1.c_str());
          uint16_t tempinthex = (x[5] << 8) + x[6];
          ESP_LOGD("chaine 9", "%x", tempinthex);
          float tempint = static_cast<float>(tempinthex)/10;
          //id(JustSalt_temperature_int_sensor).publish_state(tempint);
          }break;
        
        case 13: {
          std::string temppart1 = rawhex.substr(10, 4);
          ESP_LOGD("chaine 13", "%s", temppart1.c_str());
          uint16_t orphex = (x[5] << 8) + x[6];
          ESP_LOGD("chaine 13", "%x", orphex);
          if (x[4] == 2){
            float orp = static_cast<float>(orphex);
            id(JustSalt_orp_sensor).publish_state(orp);
            }
          }break;
        case 71: {

          
          std::string temppart3 = rawhex.substr(30, 4);
          ESP_LOGD("chaine 71", "version : %s", temppart3.c_str());
          id(version_logiciel).publish_state(temppart3);
          }break;

        case 76:{
          std::string temppart2 = rawhex.substr(10, 2);
          ESP_LOGD("chaine 76", "%s", temppart2.c_str());
          uint8_t phhex = x[5];
          float ph = static_cast<float>(phhex)/10;
          id(JustSalt_ph_sensor).publish_state(ph);

          std::string temppart3 = rawhex.substr(44, 4);
          ESP_LOGD("chaine 76", "%s", temppart3.c_str());
          uint16_t tempeauhex = (x[22]<< 8) + x[23];
          ESP_LOGD("chaine 76", "%x", tempeauhex);
          float tempeau = static_cast<float>(tempeauhex)/10;
          id(JustSalt_temperature_sensor).publish_state(tempeau);

          std::string temppart1 = rawhex.substr(52, 2);
          ESP_LOGD("chaine 76", "%s", temppart1.c_str());
          uint8_t selhex = x[26] ;
          float sel = static_cast<float>(selhex)/10;
          id(JustSalt_tds_sensor).publish_state(sel);

          std::string temppart4 = rawhex.substr(104, 2);
          ESP_LOGD("chaine 76", "%s", temppart4.c_str());
          uint8_t volhex = x[52] ;
          float vol = static_cast<float>(volhex);
          id(JustSalt_volume_sensor).publish_state(vol);
          
          }break;

        case 75:{
          std::string temppart2 = rawhex.substr(16, 2);
          ESP_LOGD("chaine 75", "%s", temppart2.c_str());
          uint8_t phhex = x[8];
          float ph = static_cast<float>(phhex)/10;
          auto phstr = value_accuracy_to_string (ph,1);
          id(JustSalt_ph_consigne_sensor).publish_state(ph);
          id(JustSalt_ph_consigne_select).publish_state(phstr);
          }break;
      }
      return 1;


switch:      
  - platform: restart
    name: JustSalt_Gatway restart    

  - platform: ble_client
    id: ble_switch_com
    ble_client_id: JustSaltPro
    name: "Enable com JustSalt"
  
  - platform: template
    name: "PH write"
    id: phwrite
    turn_on_action:
    - ble_client.ble_write:
        id: JustSaltPro
        service_uuid: ${service_uuid}
        characteristic_uuid: ${characteristic_uuid_write}
        value: !lambda |-
          float state = std::stof(id(JustSalt_ph_consigne_select).state);
          ESP_LOGD("Switch_ph_consigne", "Option of my select: %d", state);
          uint8_t statehex = state * 10;
          return {0x00, 0x06, 0x03, 0x30, 0x01, statehex, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
          

@starpom tu pourrais me faire une log sur 5-6 minutes et me faire un relever des affichage pendant ce temps en indiquant l heure du relever , merci d’avance

Il n’y a pas de sonde redox sur le justsalt duo ?

J’hésite vraiment a prendre un électrolyseur connecté a 2000€ VS un electroyseur basique a 1000€ avec une sonde flipr ou un truc du genre…
Vous avez un avis ?

il y a des sondes genre flipr que tu peux mettre dans HA directement
perso je ne veux pas trop multiplier les équipement , mon pisciniste ma installer ca ! donc j’essaye de faire ce qu’il faut pour que ce soit domotisable.et si ca peu aider des gens c est encore plus cool :slight_smile: ,mais je ne suis pas un expert de la piscine donc pas vraiment d’avis

pour revenir au dev
je cherchais les valeur du « ID code »

j ai trouver ca
00.47.01.94.02.00.F8.95.04.01.72.F5.DF.96.02.02.04.97.02.01.00.99.16.47.45.4E.5F.30.35.32.32.2D.30.34.33.39.35.33.2D.30.30.33.00.00.00.9A.10.30.35.32.32.2D.30.34.33.39.35.33.2D.30.30.33.00.9B.02.00.00.9C.02.00.00 (71)
ce qui me satisfaisait mais pb 15 minutes apres j avais

00.47.02.E1.0F.18.04.0F.0B.05.07.18.00.08.00.F8.00.00.00.00.E2.0F.18.04.0F.0A.30.0E.00.00.00.40.3C.0C.00.00.00.E4.0F.18.04.0F.0B.06.07.49.3A.13.1D.00.03.07.00.00.E1.0F.18.04.0F.0B.06.10.00.01.08.00.F8.00.00.00.00 (71)

00.4A.01.0C.01.78.94.02.00.F8.95.04.01.72.F5.DF.96.02.02.04.97.02.01.00.99.16.47.45.4E.5F.30.35.32.32.2D.30.34.33.39.35.33.2D.30.30.33.00.00.00.9A.10.30.35.32.32.2D.30.34.33.39.35.33.2D.30.30.33.00.9B.02.00.00.9C.02.00.00 (74)

du coup je me dit qu’identifier les trames sur la longueur est peut etre un PB

Super ! je crois que j ai trouvé un truc bien

Si je donne de la structure a la chaine de donnée ca donne ca
00.4A.01.0C.01.78.94.02.00.F8.95.04.01.72.F5.DF.96.02.02.04.97.02.01.00.99.16.47.45.4E.5F.30.35.32.32.2D.30.34.33.39.35.33.2D.30.30.33.00.00.00.9A.10.30.35.32.32.2D.30.34.33.39.35.33.2D.30.30.33.00.9B.02.00.00.9C.02.00.00 (74)

ID value taille hexa valeur hex decodage / resultat
00.4A.01.
0C 1 78 120?
94 02 00,f8 248 ?
95 04 01.72.F5.DF id code
96 02 02,04 version logiciel
97 02 01,00 Slave ?
99 16 47,45,4E,5F,30,35,32,32,2D,30,34,33,39,35,33,2D,30.30.33.00.00.00 GEN_0522-043953-003 conv ascii
9A 10 30.35.32.32.2D.30.34.33.39.35.33.2D.30.30.33.00 0522-043953-0030 s/N
9B 02 00,00
9C 02 02,00
00

pour la tram 71 ca me donne ca

00.47.02
E1 0F 18.04.0F.0B.05.07.18.00.08.00.F8.00.00.00.00
E2 0F 18.04.0F.0A.30.0E.00.00.00.40.3C.0C.00.00.00
E4 0F 18.04.0F.0B.06.07.49.3A.13.1D.00.03.07.00.00.
E1 0F 18.04.0F.0B.06.10.00.01.08.00.F8.00.00.00.00

trame de 16

00.10.01
.0B 01 .25
,0C 01 50
0F 02 00,18
B0 01 36

trame de 12

00.0C.01.
0B 01 27
0C 01 5A
B0 01 35

Ca colle plutot Bien :slight_smile:

1 « J'aime »

Tu retrouves des informations intéressantes dans les trames de longueur 12, 16 et 71 ?

pas dans celle afficher enfin pas pour le moment
par contre j ai du coup refait le code ca progresse , mais je vais devoir arreter pour 1 ou 2 jours
le nouveau code doit fonctionner si on a pas de sonde ORP :slight_smile: qui créer un décalage des donnée
la remonté d info est aussi plus fréquente vu que si une info est publier dans différente trame elle remonte
il reste des truc que j’ai identifier (nouvelle valeur) et une ou deux a corriger , mais une bonne partie ce qui était implémenté est opérationnel

#  JustSalt
substitutions:
  mac_justsalt: "94:DE:B8:A1:1A:AC"
  service_uuid: '09912756-7b32-4629-aeb1-b309d9a338ae'
  characteristic_uuid: 'ef785c24-22bb-463d-b651-0b7445ba091c'
  characteristic_uuid_write: '4d32c5e5-2bb5-45c6-8c89-6f59bb3930d2'

esphome:
  name: esphome-web-ecc470
  friendly_name: ESPHome Web ecc470

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:
  baud_rate: 0

# Enable Home Assistant API
api:
  encryption:
    key: "bLk/RiUyxLzXjb42FYKAhRU9WmN3iuyB3uiKMbovaMo="

ota:


wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Esphome-Web-Ecc470"
    password: "eEzs1d6LU1bH"

captive_portal:

bluetooth_proxy:
  active: true

time:
  - platform: homeassistant
    id: homeassistant_time
    on_time:
      - seconds: 0
        minutes: /2
        then:
          - switch.turn_off: ble_switch_com
          - delay: 20s
          - switch.turn_on: ble_switch_com

esp32_ble_tracker:
  on_ble_advertise:
    - mac_address:
       - ${mac_justsalt}
      then:
        - lambda: |-
            //ESP_LOGD("ble_adv", "New BLE device");
            //ESP_LOGD("ble_adv", "  address: %s", x.address_str().c_str());
            //ESP_LOGD("ble_adv", "  name: %s", x.get_name().c_str());
            id(ble_name2).publish_state(x.get_name().c_str());

ble_client:
  - mac_address:  ${mac_justsalt}
    auto_connect: true
    id: JustSaltPro
    on_connect:
      then:
        - ble_client.numeric_comparison_reply:
            id: JustSaltPro
            accept: True
        
binary_sensor:
  - platform: ble_presence
    mac_address: ${mac_justsalt}
    name: JustSaltPro

text_sensor:
  - platform: version
    name: ESPHome Version
  - platform: wifi_info
    ssid:
      name: WiFi

  - id: ble_name
    name: "Name BLE"
    platform: template 
  
  - id: ble_name2
    name: "Name"
    platform: template 

  - id: version_logiciel
    name: "version logiciel"
    platform: template 
  
  - id: Slave
    name: "Slave"
    platform: template 
   
  - id: idcode
    name: "ID Code"
    platform: template  


select:
  - platform: template
    name: Selection concigne PH
    id: JustSalt_ph_consigne_select
    icon: mdi:ph
    options:
     - "7.0"
     - "7.1"
     - "7.2"
     - "7.3"
     - "7.4"
     - "7.5"
     - "7.6"
     - "7.7"
     - "7.8"
     - "7.9"
    restore_value: True 
    optimistic: true
    on_value:
      then:
         - lambda: !lambda |-
             auto state = id(JustSalt_ph_consigne_select).state.c_str();
             ESP_LOGD("select_ph", "Option of my select: %s", state); 
             id(phwrite).turn_on();
            

sensor:
  - platform: wifi_signal
    name: Wifi signal
    update_interval: 30s
  - platform: uptime
    name: Uptime

  - platform: ble_rssi
    mac_address:  ${mac_justsalt}
    name: "JustSalt RSSI"  

  - platform: template
    name: "volume piscine"
    id: JustSalt_volume_sensor
    unit_of_measurement: "m3"
    
  - platform: template
    name: "JustSalt Temperature"
    id: JustSalt_temperature_sensor
    unit_of_measurement: "°C"
    accuracy_decimals: 1
    state_class: measurement
    device_class: temperature
  
  - platform: template
    name: "JustSalt Temperature Int"
    id: JustSalt_temperature_int_sensor
    unit_of_measurement: "°C"
    accuracy_decimals: 1
    state_class: measurement
    device_class: temperature
  
  - platform: template
    name: "JustSalt pH"
    id: JustSalt_ph_sensor
    unit_of_measurement: "pH"
    accuracy_decimals: 1
    state_class: measurement
    icon: mdi:ph
  
  - platform: template
    name: "JustSalt pH consigne"
    id: JustSalt_ph_consigne_sensor
    unit_of_measurement: "pH"
    accuracy_decimals: 1
    state_class: measurement
    icon: mdi:ph

  - platform: template
    name: "JustSalt ORP"
    id: JustSalt_orp_sensor
    unit_of_measurement: "mV"
    accuracy_decimals: 0
    state_class: measurement
    device_class: voltage
  
  - platform: template
    name: "JustSalt ORP consigne"
    id: JustSalt_orp_consigne_sensor
    unit_of_measurement: "mV"
    accuracy_decimals: 0
    state_class: measurement
    device_class: voltage
  
  - platform: template
    name: "JustSalt TDS"
    id: JustSalt_tds_sensor
    unit_of_measurement: "g/L"
    accuracy_decimals: 1
    state_class: measurement
    icon: mdi:water-opacity

  - platform: template
    name: "taux acide"
    id: JustSalt_acide_sensor
    unit_of_measurement: "%"
    accuracy_decimals: 0
    state_class: measurement
    icon: mdi:Skull-Crossbones

  - platform: template
    name: "production"
    id: JustSalt_production_sensor
    unit_of_measurement: "%"
    accuracy_decimals: 0
    state_class: measurement
    icon: mdi:Cog-Outline

  - platform: ble_client
    ble_client_id: JustSaltPro
    id: device_name
    service_uuid: '1800'  # Generic Access Profile
    characteristic_uuid: '2a00'  # Device Name
    type: characteristic
    lambda: |-
      std::string data_string(x.begin(), x.end());
      id(ble_name).publish_state(data_string.c_str());
      return (float)x.size();


  - platform: ble_client
    ble_client_id: JustSaltPro
    name: "traitement"
    id: sensor_state    
    service_uuid: ${service_uuid} #'09912756-7b32-4629-aeb1-b309d9a338ae'
    characteristic_uuid: ${characteristic_uuid} #'ef785c24-22bb-463d-b651-0b7445ba091c'
    type: characteristic
    update_interval: 60s
    notify: true
    lambda: |-      
      //ESP_LOGD("ble_client.receive", "start - value received with %d bytes: [%.*s]", x.size(), x.size(), &x[0]);
      std::string value2(x.begin(), x.end());
      std::string rawhex = format_hex_pretty((uint8_t *) value2.c_str(), value2.size()).c_str();
      ESP_LOGD("raw_hex", "%s", rawhex.c_str());
      rawhex.erase(std::remove(rawhex.begin(), rawhex.end(), '.'), rawhex.end());
      //ESP_LOGD("raw_hex_stripped", "value received with %d bytes: [%.*s]", rawhex.size(), rawhex.c_str());
      
      int index = 3;

      while (index +2 < x.size()) {
        uint8_t idvaleur = x[index];
        int taillevaleur = x[index + 1 ];
        ESP_LOGD("raw_hex_boucle", "idvaleur %d", idvaleur);
        //ESP_LOGD("raw_hex_boucle", "taillevaleur %d", taillevaleur);
        // std::string rawvaleur = value2.substr(index + 2,  taillevaleur );
        //ESP_LOGD("raw_hex_boucle", "value received with %d bytes: [%.*s]", rawvaleur.size(), rawvaleur.c_str());
        //ESP_LOGD("raw_hex_boucle", "%s", rawvaleur.c_str());
      
        switch (idvaleur) {
          case 0x01: {
            uint8_t phhex = x[index + 2];
            float ph = static_cast<float>(phhex)/10;
            id(JustSalt_ph_sensor).publish_state(ph);
            }break;

          case 0x06: {
            uint16_t orphex = ((x[index + 2]<< 8) + (x[index +3]));
            float orp = static_cast<float>(orphex);
            id(JustSalt_orp_sensor).publish_state(orp);
            }break;

          case 0x09: {
            uint16_t tempeauhex = ((x[index + 2]<< 8) + (x[index +3]));
            float tempeau = static_cast<float>(tempeauhex)/10;
            id(JustSalt_temperature_sensor).publish_state(tempeau);
            }break;
          
          case 0x0A: {
            uint8_t selhex = x[index + 2] ;
            float sel = static_cast<float>(selhex)/10;
            id(JustSalt_tds_sensor).publish_state(sel);
            }break;
          
          case 0x11: {
            uint16_t volhex = ((x[index + 2]<< 8) + (x[index +3]));
            float vol = static_cast<float>(volhex);
            id(JustSalt_volume_sensor).publish_state(vol);
            }break;
          
          case 0x30: {
            uint8_t phchex = x[index + 2] ;
            float phc = static_cast<float>(phchex)/10;
            auto phcstr = value_accuracy_to_string (phc,1);
            id(JustSalt_ph_consigne_sensor).publish_state(phc);
            id(JustSalt_ph_consigne_select).publish_state(phcstr);
            }break;
          
          case 0x32: {
            uint8_t acidehex = x[index + 2] ;
            float acide = static_cast<float>(acidehex);
            id(JustSalt_acide_sensor).publish_state(acide);
            }break;
          
          case 0x33: {
            uint8_t prodhex = x[index + 2] ;
            float prod = static_cast<float>(prodhex);
            id(JustSalt_production_sensor).publish_state(prod);
            }break;

          case 0x35: {

            uint8_t orpchex = x[index + 2] ;
            float orpc = static_cast<float>(orpchex)*10;
            id(JustSalt_orp_consigne_sensor).publish_state(orpc);
            }break;
          
          // 37.01.30. ALARME ORP
          // 39.01.06. Inversion 
          
          case 0x95: {
            uint32_t idcodehex = (x[index + 2]<< 24) + (x[index + 3]<< 16)+ (x[index + 4]<< 8) + (x[index +5]);
            //ESP_LOGD("Value 95", "%x", idcodehex);
            float idcodefloat = static_cast<float>(idcodehex);
            std::string idcodestr = value_accuracy_to_string (idcodefloat,0);
            id(idcode).publish_state(idcodestr);
            }break;
          
          case 0x96: {
            std::string verlog = rawhex.substr((index + 2 )* 2, 4);
            id(version_logiciel).publish_state(verlog);
            }break;
          
          //97	Slave 

          case 0x97: {
            }break;

          // 99	Nom		GEN_0522-043953-003	conv ascii
          // 9A	SN		0522-043953-0030

          default: {
              ESP_LOGW("raw_hex_boucle", "idvaleur Non implementee %d", idvaleur);
            };
          }
        index = index + 2 + taillevaleur ;
      }
      return 1;


switch:      
  - platform: restart
    name: JustSalt_Gatway restart    

  - platform: ble_client
    id: ble_switch_com
    ble_client_id: JustSaltPro
    name: "Enable com JustSalt"
  
  - platform: template
    name: "PH write"
    id: phwrite
    turn_on_action:
    - ble_client.ble_write:
        id: JustSaltPro
        service_uuid: ${service_uuid}
        characteristic_uuid: ${characteristic_uuid_write}
        value: !lambda |-
          float state = std::stof(id(JustSalt_ph_consigne_select).state);
          ESP_LOGI("Switch_ph_consigne", "Option of my select: %d", state);
          uint8_t statehex = state * 10;
          return {0x00, 0x06, 0x03, 0x30, 0x01, statehex, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
          
          

a vous de voir ce que vous en pensez
et si qq est meilleur que moi en programmation pas de soucis pour des conseil ou une optimisation
je fait ce que je peux avec mon niveau

Bonsoir, désolé j’ai pas pu fournir de nouveau log l esp est capricieux. Une fois que je l’ai stabiliser je lui injecterai le nouveau code

Pour injecter le code je te conseille d éteindre ta pompe ! ca évite des trames reseau et BT
sinon récapitulatif des valeurs les implémenté on un point devant

  • 01 - PH
    02.02.02.F8. → 760 → ORP ?
    03.01.64. —> 100
  • 06 - orp
    08.01.64 → 100
  • 09 - temp eau
  • 0A - Sel
    0B.01.00.
    0C.01.77. → 119
    0D.02.00.3F. → 63
    0E.02.0D.B2. → 3506
    0F.02.00.64. → 100
    10.02.00.00.
  • 11 - Vol piscine
    12.04.00.02.07.17. →
    13.04.00.17.06.16
    1F.02.01.40. → 320
    28.02.00.00.
    29.01.03
    2A.01.01.
  • 30.01.49 ph consigne
    31.01.00.
  • 32.01.25 ACIDE
  • 33.01.64 Production
  • 35.01.43. consigne orp * 10
  • 37.01.30. ALARME ORP JustSalt_Alarmeorp_sensor
  • 39.01.06. Inversion JustSalt_inversion_sensor
    50.01.02.
    51.01.01.
    5F.01.00.
    69.04.00.00.00.00.
    6A.01.00.
    8F.01.04.
    90.08.00.00.00.00.00.00.00.00.
    91.08.00.00.00.00.00.06.6F.C7.
    92.01.15.
    93.02.01.08
    94.02.00.F8.
  • 95 IDCode
  • 96 Version logiciel
  • 97 Slave
    99 NOM ascci
    9A SN
    9B.02.00.00.
    9C.02.00.00
    9D.08.00.00.00.00.00.00.01.FF.
    A3.08.00.00.00.00.00.00.02.F6.
    B0.01.2F → 303
    B1.06.94.DE.B8.A1.1A.AC. Adresse MAC
    D0.06.30.00.00.00.00.00.
    D1.01.05.
    E2.0F.18.04.0F.0A.02.0F.00.00.00.40.3C.0C.00.00.00.
    E1.0F.18.04.0F.0A.1B.12.18.00.08.00.F8.00.00.00.00
    FE.01.01

pour Moi 99,9A, et B1 pas necessaire mais si vous voulez j’integre !

Bonjour
Quel boulot de dingue!! Je suis incapable de comprendre le 1/4 de ce que vous racontez mais en tout cas ça fonctionne !!
J’aimerais pouvoir vous aider mais je ne sais absolument pas comment!!
Encore merci pour vos partages c’est génial d’avoir toutes les infos sur une seule appli!!
Bravo!!

1 « J'aime »

@Julien_Monot merci du retour c’est tres sympa

je vous poste le nouveau code
j’ai du retirer beaucoup de commentaire de log ca prenait trop de ressource
vu que maintenant on exploite toutes les trames, je pense que je vais bientôt pouvoir retirer le restart de la connexion BLE

vous allez voir bcp de nouveau capteur tempXX
si vous arriver a identifier a quoi ca peut correspondre je l’implémenterais

merci d avance pour vos retour
@starpom peux tu me dire si le code fonctionne normalement sur ta solution « Majestic »

#  JustSalt
substitutions:
  mac_justsalt: "94:DE:B8:A1:1A:AC"
  service_uuid: '09912756-7b32-4629-aeb1-b309d9a338ae'
  characteristic_uuid: 'ef785c24-22bb-463d-b651-0b7445ba091c'
  characteristic_uuid_write: '4d32c5e5-2bb5-45c6-8c89-6f59bb3930d2'

esphome:
  name: esphome-web-ecc470
  friendly_name: ESPHome Web ecc470

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:
  baud_rate: 0

# Enable Home Assistant API
api:
  encryption:
    key: "bLk/RiUyxLzXjb42FYKAhRU9WmN3iuyB3uiKMbovaMo="

ota:


wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Esphome-Web-Ecc470"
    password: "eEzs1d6LU1bH"

captive_portal:

bluetooth_proxy:
  active: true

time:
  - platform: homeassistant
    id: homeassistant_time
    on_time:
      - seconds: 0
        minutes: /5
        then:
          - switch.turn_off: ble_switch_com
          - delay: 20s
          - switch.turn_on: ble_switch_com

esp32_ble_tracker:
  on_ble_advertise:
    - mac_address:
       - ${mac_justsalt}
      then:
        - lambda: |-
            //ESP_LOGD("ble_adv", "New BLE device");
            //ESP_LOGD("ble_adv", "  address: %s", x.address_str().c_str());
            //ESP_LOGD("ble_adv", "  name: %s", x.get_name().c_str());
            id(ble_name2).publish_state(x.get_name().c_str());

ble_client:
  - mac_address:  ${mac_justsalt}
    auto_connect: true
    id: JustSaltPro
    on_connect:
      then:
        - ble_client.numeric_comparison_reply:
            id: JustSaltPro
            accept: True
        
binary_sensor:
  - platform: ble_presence
    mac_address: ${mac_justsalt}
    name: JustSaltPro

text_sensor:
  - platform: version
    name: ESPHome Version
  - platform: wifi_info
    ssid:
      name: WiFi

  - id: ble_name
    name: "Name BLE"
    platform: template 
  
  - id: ble_name2
    name: "Name"
    platform: template 

  - id: version_logiciel
    name: "version logiciel"
    platform: template 
  
  - id: slave
    name: "Slave"
    platform: template 
   
  - id: idcode
    name: "ID Code"
    platform: template  

  - platform: template
    name: "MAC bt"
    id: JustSalt_macbt_textsensor
  
  - platform: template
    name: "nom bt"
    id: JustSalt_nombt_textsensor
  
  - platform: template
    name: "SN"
    id: JustSalt_sn_textsensor

select:
  - platform: template
    name: Selection concigne PH
    id: JustSalt_ph_consigne_select
    icon: mdi:ph
    options:
     - "7.0"
     - "7.1"
     - "7.2"
     - "7.3"
     - "7.4"
     - "7.5"
     - "7.6"
     - "7.7"
     - "7.8"
     - "7.9"
    restore_value: True 
    optimistic: true
    on_value:
      then:
         - lambda: !lambda |-
             auto state = id(JustSalt_ph_consigne_select).state.c_str();
             ESP_LOGD("select_ph", "Option of my select: %s", state); 
             id(phwrite).turn_on();
            

sensor:
  - platform: wifi_signal
    name: Wifi signal
    update_interval: 60s

  - platform: uptime
    name: Uptime
  
  - platform: template
    name: "temp02"
    id: JustSalt_temp02_sensor
  
  - platform: template
    name: "temp03"
    id: JustSalt_temp03_sensor
  
  - platform: template
    name: "temp08"
    id: JustSalt_temp08_sensor
  
  - platform: template
    name: "temp0B"
    id: JustSalt_temp0b_sensor
  
  - platform: template
    name: "temp0C"
    id: JustSalt_temp0c_sensor
  
  - platform: template
    name: "temp0D"
    id: JustSalt_temp0d_sensor
  
  - platform: template
    name: "temp0e"
    id: JustSalt_temp0e_sensor
  
  - platform: template
    name: "minutes de fonctionement"
    id: JustSalt_temp0f_sensor
    unit_of_measurement: "min"

  - platform: template
    name: "temp10"
    id: JustSalt_temp10_sensor

  - platform: template
    name: "temp11"
    id: JustSalt_temp11_sensor

  - platform: template
    name: "temp12"
    id: JustSalt_temp12_sensor

  - platform: template
    name: "temp13"
    id: JustSalt_temp13_sensor
  
  - platform: template
    name: "temp1f"
    id: JustSalt_temp1f_sensor

  - platform: template
    name: "temp28"
    id: JustSalt_temp28_sensor

  - platform: template
    name: "temp29"
    id: JustSalt_temp29_sensor
  
  - platform: template
    name: "temp2A"
    id: JustSalt_temp2a_sensor

  - platform: template
    name: "temp31"
    id: JustSalt_temp31_sensor

  - platform: template
    name: "temp50"
    id: JustSalt_temp50_sensor

  - platform: template
    name: "temp51"
    id: JustSalt_temp51_sensor
  
  - platform: template
    name: "temp5F"
    id: JustSalt_temp5f_sensor
  
  - platform: template
    name: "temp69"
    id: JustSalt_temp69_sensor
  
  - platform: template
    name: "temp6A"
    id: JustSalt_temp6a_sensor
  
  - platform: template
    name: "temp8F"
    id: JustSalt_temp8f_sensor
  
  - platform: template
    name: "temp92"
    id: JustSalt_temp92_sensor
      
  - platform: template
    name: "temp93"
    id: JustSalt_temp93_sensor
      
  - platform: template
    name: "temp94"
    id: JustSalt_temp94_sensor
      
  - platform: template
    name: "temp9B"
    id: JustSalt_temp9b_sensor

  - platform: template
    name: "temp9C"
    id: JustSalt_temp9c_sensor

  - platform: template
    name: "temp9D"
    id: JustSalt_temp9d_sensor

  - platform: template
    name: "tempB0"
    id: JustSalt_tempb0_sensor
  
  - platform: template
    name: "tempD1"
    id: JustSalt_tempd1_sensor
  
  - platform: template
    name: "tempFE"
    id: JustSalt_tempfe_sensor


  - platform: ble_rssi
    mac_address:  ${mac_justsalt}
    name: "JustSalt RSSI"  

  - platform: template
    name: "volume piscine"
    id: JustSalt_volume_sensor
    unit_of_measurement: "m3"
  
  - platform: template
    name: "Alarme ORP"
    id: JustSalt_Alarmeorp_sensor
    unit_of_measurement: "h"
  
  - platform: template
    name: "inversion"
    id: JustSalt_inversion_sensor
    unit_of_measurement: "h"
    
  - platform: template
    name: "JustSalt Temperature"
    id: JustSalt_temperature_sensor
    unit_of_measurement: "°C"
    accuracy_decimals: 1
    state_class: measurement
    device_class: temperature
  
  - platform: template
    name: "JustSalt Temperature Int"
    id: JustSalt_temperature_int_sensor
    unit_of_measurement: "°C"
    accuracy_decimals: 1
    state_class: measurement
    device_class: temperature
  
  - platform: template
    name: "JustSalt pH"
    id: JustSalt_ph_sensor
    unit_of_measurement: "pH"
    accuracy_decimals: 1
    state_class: measurement
    icon: mdi:ph
  
  - platform: template
    name: "JustSalt pH consigne"
    id: JustSalt_ph_consigne_sensor
    unit_of_measurement: "pH"
    accuracy_decimals: 1
    state_class: measurement
    icon: mdi:ph

  - platform: template
    name: "JustSalt ORP"
    id: JustSalt_orp_sensor
    unit_of_measurement: "mV"
    accuracy_decimals: 0
    state_class: measurement
    device_class: voltage
  
  - platform: template
    name: "JustSalt ORP consigne"
    id: JustSalt_orp_consigne_sensor
    unit_of_measurement: "mV"
    accuracy_decimals: 0
    state_class: measurement
    device_class: voltage
  
  - platform: template
    name: "JustSalt TDS"
    id: JustSalt_tds_sensor
    unit_of_measurement: "g/L"
    accuracy_decimals: 1
    state_class: measurement
    icon: mdi:water-opacity

  - platform: template
    name: "taux acide"
    id: JustSalt_acide_sensor
    unit_of_measurement: "%"
    accuracy_decimals: 0
    state_class: measurement
    icon: mdi:Skull-Crossbones

  - platform: template
    name: "production"
    id: JustSalt_production_sensor
    unit_of_measurement: "%"
    accuracy_decimals: 0
    state_class: measurement
    icon: mdi:Cog-Outline

  - platform: ble_client
    ble_client_id: JustSaltPro
    id: device_name
    service_uuid: '1800'  # Generic Access Profile
    characteristic_uuid: '2a00'  # Device Name
    type: characteristic
    lambda: |-
      std::string data_string(x.begin(), x.end());
      id(ble_name).publish_state(data_string.c_str());
      return (float)x.size();


  - platform: ble_client
    ble_client_id: JustSaltPro
    name: "traitement"
    id: sensor_state    
    service_uuid: ${service_uuid} #'09912756-7b32-4629-aeb1-b309d9a338ae'
    characteristic_uuid: ${characteristic_uuid} #'ef785c24-22bb-463d-b651-0b7445ba091c'
    type: characteristic
    update_interval: 60s
    notify: true
    lambda: |-      
      //ESP_LOGD("ble_client.receive", "start - value received with %d bytes: [%.*s]", x.size(), x.size(), &x[0]);
      std::string value2(x.begin(), x.end());
      std::string rawhex = format_hex_pretty((uint8_t *) value2.c_str(), value2.size()).c_str();
      ESP_LOGD("raw_hex", "%s", rawhex.c_str());
      rawhex.erase(std::remove(rawhex.begin(), rawhex.end(), '.'), rawhex.end());
      //ESP_LOGD("raw_hex_stripped", "value received with %d bytes: [%.*s]", rawhex.size(), rawhex.c_str());
      
      int index = 3;

      while (index +2 < x.size()) {
        uint8_t idvaleur = x[index];
        int taillevaleur = x[index + 1 ];
        //ESP_LOGD("raw_hex_boucle", "idvaleur %d", idvaleur);
        //ESP_LOGD("raw_hex_boucle", "taillevaleur %d", taillevaleur);
        // std::string rawvaleur = value2.substr(index + 2,  taillevaleur );
        //ESP_LOGD("raw_hex_boucle", "value received with %d bytes: [%.*s]", rawvaleur.size(), rawvaleur.c_str());
        //ESP_LOGD("raw_hex_boucle", "%s", rawvaleur.c_str());
      
        switch (idvaleur) {
          case 0x00: { 
            }break;
      
          case 0x01: {
            uint8_t phhex = x[index + 2];
            float ph = static_cast<float>(phhex)/10;
            id(JustSalt_ph_sensor).publish_state(ph);
            }break;

          case 0x02: {
            uint8_t temphex = ((x[index + 2]<< 8) + (x[index +3]));
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp02_sensor).publish_state(temp);
            }break;

          case 0x03: {
            uint8_t temphex = x[index + 2];
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp03_sensor).publish_state(temp);
            }break;

          case 0x06: {
            uint16_t orphex = ((x[index + 2]<< 8) + (x[index +3]));
            float orp = static_cast<float>(orphex);
            id(JustSalt_orp_sensor).publish_state(orp);
            }break;

          case 0x08: {
            uint8_t temphex = x[index + 2];
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp08_sensor).publish_state(temp);
            }break;

          case 0x09: {
            uint16_t tempeauhex = ((x[index + 2]<< 8) + (x[index +3]));
            float tempeau = static_cast<float>(tempeauhex)/10;
            id(JustSalt_temperature_sensor).publish_state(tempeau);
            }break;
          
          case 0x0A: {
            uint8_t selhex = x[index + 2] ;
            float sel = static_cast<float>(selhex)/10;
            id(JustSalt_tds_sensor).publish_state(sel);
            }break;

          case 0x0B: {
            uint8_t temphex = x[index + 2];
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp0b_sensor).publish_state(temp);
            }break;
          
          case 0x0C: {
            uint8_t temphex = x[index + 2];
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp0c_sensor).publish_state(temp);
            }break;

          case 0x0D: {
            uint8_t temphex = ((x[index + 2]<< 8) + (x[index +3]));
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp0d_sensor).publish_state(temp);
            }break;

          case 0x0E: {
            uint8_t temphex = ((x[index + 2]<< 8) + (x[index +3]));
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp0e_sensor).publish_state(temp);
            }break;

          case 0x0F: {
            uint8_t temphex = ((x[index + 2]<< 8) + (x[index +3]));
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp0f_sensor).publish_state(temp);
            }break;
          
          case 0x10: {
            uint8_t temphex = ((x[index + 2]<< 8) + (x[index +3]));
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp10_sensor).publish_state(temp);
            }break;

          case 0x11: {
            uint16_t volhex = ((x[index + 2]<< 8) + (x[index +3]));
            float vol = static_cast<float>(volhex);
            id(JustSalt_volume_sensor).publish_state(vol);
            }break;
          
          case 0x12: {
            uint32_t temphex = (x[index + 2]<< 24) + (x[index + 3]<< 16)+ (x[index + 4]<< 8) + (x[index +5]);
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp12_sensor).publish_state(temp);
            }break;

          case 0x13: {
            uint32_t temphex = (x[index + 2]<< 24) + (x[index + 3]<< 16)+ (x[index + 4]<< 8) + (x[index +5]);
            float temp = static_cast<float>(temphex);
            //std::string tempstr = value_accuracy_to_string (temp,0);
            id(JustSalt_temp13_sensor).publish_state(temp);
            }break;

          case 0x1F: {
            uint8_t temphex = ((x[index + 2]<< 8) + (x[index +3]));
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp1f_sensor).publish_state(temp);
            }break;
          
          case 0x28: {
            uint8_t temphex = ((x[index + 2]<< 8) + (x[index +3]));
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp28_sensor).publish_state(temp);
            }break;
          
          case 0x29: {
            uint8_t temphex = x[index + 2];
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp29_sensor).publish_state(temp);
            }break;
        
          case 0x2A: {
            uint8_t temphex = x[index + 2];
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp2a_sensor).publish_state(temp);
            }break;
          
          case 0x30: {
            uint8_t phchex = x[index + 2] ;
            float phc = static_cast<float>(phchex)/10;
            auto phcstr = value_accuracy_to_string (phc,1);
            id(JustSalt_ph_consigne_sensor).publish_state(phc);
            id(JustSalt_ph_consigne_select).publish_state(phcstr);
            }break;
          
          case 0x31: {
            uint8_t temphex = x[index + 2];
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp31_sensor).publish_state(temp);
            }break;         

          case 0x32: {
            uint8_t acidehex = x[index + 2] ;
            float acide = static_cast<float>(acidehex);
            id(JustSalt_acide_sensor).publish_state(acide);
            }break;
          
          case 0x33: {
            uint8_t prodhex = x[index + 2] ;
            float prod = static_cast<float>(prodhex);
            id(JustSalt_production_sensor).publish_state(prod);
            }break;

          case 0x35: {
            uint8_t orpchex = x[index + 2] ;
            float orpc = static_cast<float>(orpchex)*10;
            id(JustSalt_orp_consigne_sensor).publish_state(orpc);
            }break;
          
          case 0x37: {
            uint8_t alarmeorphex = x[index + 2] ;
            float alarmeorp = static_cast<float>(alarmeorphex);
            id(JustSalt_Alarmeorp_sensor).publish_state(alarmeorp);
            }break;
 
          case 0x39: {
            uint8_t inversionhex = x[index + 2] ;
            float inversionval = static_cast<float>(inversionhex);
            id(JustSalt_inversion_sensor).publish_state(inversionval);
            }break;

          case 0x50: {
            uint8_t temphex = x[index + 2];
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp50_sensor).publish_state(temp);
            }break;

          case 0x51: {
            uint8_t temphex = x[index + 2];
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp51_sensor).publish_state(temp);
            }break;

          case 0x5F: {
            uint8_t temphex = x[index + 2];
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp5f_sensor).publish_state(temp);
            }break;
          
          case 0x69: {
            uint32_t temphex = (x[index + 2]<< 24) + (x[index + 3]<< 16)+ (x[index + 4]<< 8) + (x[index +5]);
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp69_sensor).publish_state(temp);
            }break;

          case 0x6A: {
            uint8_t temphex = x[index + 2];
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp6a_sensor).publish_state(temp);
            }break;

          case 0x8F: {
            uint8_t temphex = x[index + 2];
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp8f_sensor).publish_state(temp);
            }break;
  
          case 0x92: {
            uint8_t temphex = x[index + 2];
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp92_sensor).publish_state(temp);
            }break;

          case 0x93: {
            uint8_t temphex = ((x[index + 2]<< 8) + (x[index +3]));
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp93_sensor).publish_state(temp);
            }break;

          case 0x94: {
            uint8_t temphex = ((x[index + 2]<< 8) + (x[index +3]));
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp94_sensor).publish_state(temp);
            }break;

          case 0x95: {
            uint32_t idcodehex = (x[index + 2]<< 24) + (x[index + 3]<< 16)+ (x[index + 4]<< 8) + (x[index +5]);
            float idcodefloat = static_cast<float>(idcodehex);
            std::string idcodestr = value_accuracy_to_string (idcodefloat,0);
            id(idcode).publish_state(idcodestr);
            }break;
          
          case 0x96: {
            std::string verlog = rawhex.substr((index + 2 )* 2, 4);
            id(version_logiciel).publish_state(verlog);
            }break;
          
          case 0x97: {
            std::string slaveval = rawhex.substr((index + 2 )* 2, 4);
            id(slave).publish_state(slaveval);
            }break;

          case 0x99: {
          //  std::string tempstring = value2.substr((index + 2 )* 2, 32);
          //  id(JustSalt_nombt_textsensor).publish_state(tempstring.c_str());
            }break;

          case 0x9A: {
          //  std::string tempstring = value2.substr((index + 2 )* 2, 20);
          //  id(JustSalt_sn_textsensor).publish_state(tempstring.c_str());
            }break;

          case 0x9B: {
            uint8_t temphex = ((x[index + 2]<< 8) + (x[index +3]));
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp9b_sensor).publish_state(temp);
            }break;

          case 0x9C: {
            uint8_t temphex = ((x[index + 2]<< 8) + (x[index +3]));
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp9c_sensor).publish_state(temp);
            }break;

          case 0x9D: {
            //  9D.08.00.00.00.00.00.00.01.FF
            }break;
          
          case 0xA3: {
            //  A3.08.00.00.00.00.00.00.02
            }break;
          
          case 0xB0: {
            uint8_t temphex = x[index + 2];
            float temp = static_cast<float>(temphex);
            id(JustSalt_tempb0_sensor).publish_state(temp);
            }break;
  
          case 0xB1: {
            std::string tempstring = rawhex.substr((index + 2 )* 2, 12);
            id(JustSalt_macbt_textsensor).publish_state(tempstring);
            }break;
          
          case 0xD1: {
            uint8_t temphex = x[index + 2];
            float temp = static_cast<float>(temphex);
            id(JustSalt_tempd1_sensor).publish_state(temp);
            }break;
  
          
          case 0xFE: {
            uint8_t temphex = x[index + 2];
            float temp = static_cast<float>(temphex);
            id(JustSalt_tempfe_sensor).publish_state(temp);
            }break;
  
          case 0xE1: {
            //  E1.0F.18.04.11.11.00.33.00.00.88.00.F8.00.00.00.00
            }break;
  
          default: {
              ESP_LOGW("raw_hex_boucle", "idvaleur Non implementee %d", idvaleur);
            };
          }
        index = index + 2 + taillevaleur ;
      }
      return 1;


switch:      
  - platform: restart
    name: JustSalt_Gatway restart    

  - platform: ble_client
    id: ble_switch_com
    ble_client_id: JustSaltPro
    name: "Enable com JustSalt"
  
  - platform: template
    name: "PH write"
    id: phwrite
    turn_on_action:
    - ble_client.ble_write:
        id: JustSaltPro
        service_uuid: ${service_uuid}
        characteristic_uuid: ${characteristic_uuid_write}
        value: !lambda |-
          float state = std::stof(id(JustSalt_ph_consigne_select).state);
          ESP_LOGI("Switch_ph_consigne", "Option of my select: %d", state);
          uint8_t statehex = state * 10;
          return {0x00, 0x06, 0x03, 0x30, 0x01, statehex, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
          

Petite question il faut bien refaire l associtation après chaque recompilation ? J’ai injecter le code

en principe non mais ca m’arrive de devoir refaire l appairage :slight_smile:
il faudrait que tu me dise si les valeurs corresponde bien as tes infos sur ton appareil

bon niquel en effet les nouvelles valeurs, j’ai regardé dans les fonctions/menu j’ai pas trouvé de correspondance; la valeur tempb0 change tout le temps de 72 à 85, la pompe tourne en ce moment.

a noter que sur mon systeme j’ai pas branché de son de débit.

En tout cas toutes les valeurs identifiés correspondent

La température int ne remonte pas mais elle est à 27 sur l’afficheur

je suis en train de m apercevoir que Justsalt rebrand leur produit sur pas mal de marque
pouvez vous me dire vos marque et modèle
ce serrait cool qu’on face un truc compatible avec tout les matériel compatible E-pool
et en fonction des infos de chacun
et comme tout le monde n’a pas du justsalt je vais aussi renommer les capteurs pour la prochaine livraison :slight_smile: adieu l’historique :slight_smile: