Closed Pelbru closed 3 years ago
pzem004t source pzem004t issues pzem004t recent changes (message by IssueLinks)
Can you enable VERY_VERBOSE
logging and capture a section where the data comes in and then gives the error?
Hello, Here are the logs Best regards INFO Waiting for result...INFO OTA successfulINFO Successfully uploaded program.INFO Starting log output from pzem_ecs.local using esphome APIINFO Connecting to pzem_ecs.local:6053 (192.168.0.31)INFO Successfully connected to pzem_ecs.local[07:30:36][I][app:105]: ESPHome version 1.19.2 compiled on Jun 22 2021, 07:28:53[07:30:36][C][wifi:484]: WiFi:[07:30:36][C][wifi:344]: SSID: 'TP-Link_AP_NonoNet'[redacted][07:30:36][C][wifi:345]: IP Address: 192.168.0.31[07:30:36][C][wifi:347]: BSSID: D8:47:32:8F:D3:B6[redacted][07:30:36][C][wifi:348]: Hostname: 'pzem_ecs'[07:30:36][C][wifi:352]: Signal strength: -59 dB ▂▄▆█[07:30:36][V][wifi:354]: Priority: 0.0[07:30:36][C][wifi:356]: Channel: 1[07:30:36][C][wifi:357]: Subnet: 255.255.255.0[07:30:36][C][wifi:358]: Gateway: 192.168.0.254[07:30:36][C][wifi:359]: DNS1: 192.168.0.250[07:30:36][C][wifi:360]: DNS2: (IP unset)[07:30:36][VV][api.service:099]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'consommation_ph3' key: 2605271820 name: 'Consommation Ph3' unique_id: 'pzem_ecssensorconsommation_ph3' icon: '' unit_of_measurement: 'Wh' accuracy_decimals: 1 force_update: NO device_class: 'energy' state_class: STATE_CLASS_NONE }[07:30:36][C][uart_esp8266:075]: UART Bus:[07:30:36][C][uart_esp8266:077]: TX Pin: GPIO1[07:30:36][C][uart_esp8266:080]: RX Pin: GPIO3[07:30:36][C][uart_esp8266:081]: RX Buffer Size: 256[07:30:36][C][uart_esp8266:083]: Baud Rate: 9600 baud[07:30:36][C][uart_esp8266:084]: Data Bits: 8[07:30:36][C][uart_esp8266:085]: Parity: NONE[07:30:36][C][uart_esp8266:086]: Stop bits: 2[07:30:36][C][uart_esp8266:088]: Using hardware serial interface.[07:30:36][VV][api.service:099]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'frquence_ph3' key: 4148657984 name: 'Fréquence Ph3' unique_id: 'pzem_ecssensorfrquence_ph3' icon: 'mdi:current-ac' unit_of_measurement: 'Hz' accuracy_decimals: 2 force_update: NO device_class: '' state_class: STATE_CLASS_MEASUREMENT }[07:30:36][C][modbus:101]: Modbus:[07:30:36][VV][api.service:099]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'facteur_de_puissance_ph3' key: 2613146311 name: 'Facteur de puissance Ph3' unique_id: 'pzem_ecssensorfacteur_de_puissance_ph3' icon: '' unit_of_measurement: '' accuracy_decimals: 2 force_update: NO device_class: 'power_factor' state_class: STATE_CLASS_MEASUREMENT }[07:30:36][C][template.sensor:021]: Template Sensor 'Energie cumulée Ph1'[07:30:36][C][template.sensor:021]: State Class: ''[07:30:36][C][template.sensor:021]: Unit of Measurement: 'kWh'[07:30:36][C][template.sensor:021]: Accuracy Decimals: 1[07:30:36][C][template.sensor:021]: Icon: 'mdi:power'[07:30:36][C][template.sensor:022]: Update Interval: 5.0s[07:30:36][VV][api.service:111]: send_list_entities_switch_response: ListEntitiesSwitchResponse { object_id: 'restart_pzem_ecs' key: 3368780035 name: 'Restart Pzem ECS' unique_id: 'pzem_ecsswitchrestart_pzem_ecs' icon: 'mdi:restart' assumed_state: NO }[07:30:36][C][template.sensor:021]: Template Sensor 'Consommation Ph1 de la veille'[07:30:36][C][template.sensor:021]: State Class: ''[07:30:36][C][template.sensor:021]: Unit of Measurement: 'kwh'[07:30:36][C][template.sensor:021]: Accuracy Decimals: 2[07:30:36][C][template.sensor:021]: Icon: 'mdi:power'[07:30:36][C][template.sensor:022]: Update Interval: 10.0s[07:30:36][C][template.sensor:021]: Template Sensor 'Puissance Apparente Ph1'[07:30:36][C][template.sensor:021]: State Class: ''[07:30:36][C][template.sensor:021]: Unit of Measurement: 'VA'[07:30:36][C][template.sensor:021]: Accuracy Decimals: 2[07:30:36][C][template.sensor:021]: Icon: 'mdi:power'[07:30:36][C][template.sensor:022]: Update Interval: 10.0s[07:30:36][VV][api.service:125]: send_list_entities_text_sensor_response: ListEntitiesTextSensorResponse { object_id: 'version_pzem_ecs' key: 1196846780 name: 'Version Pzem ECS' unique_id: 'e8db84af36f6-version' icon: 'mdi:new-box' }[07:30:36][C][template.sensor:021]: Template Sensor 'Puissance Réactive Ph1'[07:30:36][C][template.sensor:021]: State Class: ''[07:30:36][C][template.sensor:021]: Unit of Measurement: 'VAr'[07:30:36][C][template.sensor:021]: Accuracy Decimals: 2[07:30:36][C][template.sensor:021]: Icon: 'mdi:power'[07:30:36][C][template.sensor:022]: Update Interval: 10.0s[07:30:36][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=10939 (now=15942)[07:30:36][VV][uart_esp8266:111]: Wrote 0b00000011 (0x03)[07:30:36][VV][uart_esp8266:111]: Wrote 0b00000100 (0x04)[07:30:36][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:30:36][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:30:36][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:30:36][VV][uart_esp8266:111]: Wrote 0b00001010 (0x0A)[07:30:36][VV][uart_esp8266:111]: Wrote 0b01110001 (0x71)[07:30:36][VV][uart_esp8266:111]: Wrote 0b11101111 (0xEF)[07:30:36][VV][uart_esp8266:182]: Flushing...[07:30:36][VV][api.service:125]: send_list_entities_text_sensor_response: ListEntitiesTextSensorResponse { object_id: 'uptime_pzem_fcs' key: 771846725 name: 'Uptime Pzem FCS' unique_id: 'pzem_ecstext_sensoruptime_pzem_fcs' icon: 'mdi:clock-start' }[07:30:36][C][template.sensor:021]: Template Sensor 'Energie cumulée Ph2'[07:30:36][C][template.sensor:021]: State Class: ''[07:30:36][C][template.sensor:021]: Unit of Measurement: 'kWh'[07:30:36][C][template.sensor:021]: Accuracy Decimals: 1[07:30:36][C][template.sensor:021]: Icon: 'mdi:power'[07:30:36][C][template.sensor:022]: Update Interval: 5.0s[07:30:36][C][template.sensor:021]: Template Sensor 'Consommation Ph2 de la veille'[07:30:36][C][template.sensor:021]: State Class: ''[07:30:36][C][template.sensor:021]: Unit of Measurement: 'kwh'[07:30:36][C][template.sensor:021]: Accuracy Decimals: 2[07:30:36][C][template.sensor:021]: Icon: 'mdi:power'[07:30:36][C][template.sensor:022]: Update Interval: 10.0s[07:30:36][C][template.sensor:021]: Template Sensor 'Puissance Apparente Ph2'[07:30:36][C][template.sensor:021]: State Class: ''[07:30:36][C][template.sensor:021]: Unit of Measurement: 'VA'[07:30:36][C][template.sensor:021]: Accuracy Decimals: 2[07:30:36][C][template.sensor:021]: Icon: 'mdi:power'[07:30:36][C][template.sensor:022]: Update Interval: 10.0s[07:30:36][VV][api.service:040]: send_list_entities_done_response: ListEntitiesDoneResponse {}[07:30:36][C][template.sensor:021]: Template Sensor 'Puissance Réactive Ph2'[07:30:36][C][template.sensor:021]: State Class: ''[07:30:36][C][template.sensor:021]: Unit of Measurement: 'VAr'[07:30:36][C][template.sensor:021]: Accuracy Decimals: 2[07:30:36][C][template.sensor:021]: Icon: 'mdi:power'[07:30:36][C][template.sensor:022]: Update Interval: 10.0s[07:30:36][VV][api.service:248]: on_subscribe_states_request: SubscribeStatesRequest {}[07:30:36][VV][api.service:298]: on_subscribe_homeassistant_services_request: SubscribeHomeassistantServicesRequest {}[07:30:36][VV][api.service:319]: on_subscribe_home_assistant_states_request: SubscribeHomeAssistantStatesRequest {}[07:30:36][C][template.sensor:021]: Template Sensor 'Energie cumulée Ph3'[07:30:36][C][template.sensor:021]: State Class: ''[07:30:36][C][template.sensor:021]: Unit of Measurement: 'kWh'[07:30:36][C][template.sensor:021]: Accuracy Decimals: 1[07:30:36][C][template.sensor:021]: Icon: 'mdi:power'[07:30:36][C][template.sensor:022]: Update Interval: 5.0s[07:30:36][VV][scheduler:152]: Running interval 'update' with interval=10000 last_execution=6042 (now=16054)[07:30:36][VV][api.service:051]: send_binary_sensor_state_response: BinarySensorStateResponse { key: 1459913732 state: YES missing_state: NO }[07:30:36][C][template.sensor:021]: Template Sensor 'Consommation Ph3 de la veille'[07:30:36][C][template.sensor:021]: State Class: ''[07:30:36][C][template.sensor:021]: Unit of Measurement: 'kwh'[07:30:36][C][template.sensor:021]: Accuracy Decimals: 2[07:30:36][C][template.sensor:021]: Icon: 'mdi:power'[07:30:36][C][template.sensor:022]: Update Interval: 10.0s[07:30:36][C][template.sensor:021]: Template Sensor 'Puissance Apparente Ph3'[07:30:36][C][template.sensor:021]: State Class: ''[07:30:36][C][template.sensor:021]: Unit of Measurement: 'VA'[07:30:36][C][template.sensor:021]: Accuracy Decimals: 2[07:30:36][C][template.sensor:021]: Icon: 'mdi:power'[07:30:36][C][template.sensor:022]: Update Interval: 10.0s[07:30:36][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 2746420358 state: nan missing_state: NO }[07:30:36][C][template.sensor:021]: Template Sensor 'Puissance Réactive Ph3'[07:30:36][C][template.sensor:021]: State Class: ''[07:30:36][C][template.sensor:021]: Unit of Measurement: 'VAr'[07:30:36][C][template.sensor:021]: Accuracy Decimals: 2[07:30:36][C][template.sensor:021]: Icon: 'mdi:power'[07:30:36][C][template.sensor:022]: Update Interval: 10.0s[07:30:36][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 4138680455 state: 0 missing_state: NO }[07:30:36][C][template.sensor:021]: Template Sensor 'Puissance Totale'[07:30:36][C][template.sensor:021]: State Class: ''[07:30:36][C][template.sensor:021]: Unit of Measurement: 'W'[07:30:36][C][template.sensor:021]: Accuracy Decimals: 2[07:30:36][C][template.sensor:021]: Icon: 'mdi:power'[07:30:36][C][template.sensor:022]: Update Interval: 10.0s[07:30:36][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 1242853932 state: nan missing_state: YES }[07:30:36][C][template.sensor:021]: Template Sensor 'Consommation de la veille'[07:30:36][C][template.sensor:021]: State Class: ''[07:30:36][C][template.sensor:021]: Unit of Measurement: 'kwh'[07:30:36][C][template.sensor:021]: Accuracy Decimals: 2[07:30:36][C][template.sensor:021]: Icon: 'mdi:power'[07:30:36][C][template.sensor:022]: Update Interval: 10.0s[07:30:36][VV][scheduler:152]: Running interval 'update' with interval=10000 last_execution=6159 (now=16163)[07:30:36][V][sensor:023]: 'Puissance Totale': Received new state nan[07:30:36][D][sensor:117]: 'Puissance Totale': Sending state nan W with 2 decimals of accuracy[07:30:36][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 33564042 state: nan missing_state: NO }[07:30:36][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 368748331 state: nan missing_state: NO }[07:30:36][C][uptime.sensor:030]: Uptime Sensor 'Up'[07:30:36][C][uptime.sensor:030]: State Class: ''[07:30:36][C][uptime.sensor:030]: Unit of Measurement: 's'[07:30:36][C][uptime.sensor:030]: Accuracy Decimals: 0[07:30:36][C][uptime.sensor:030]: Icon: 'mdi:timer-outline'[07:30:36][V][uptime.sensor:030]: Unique ID: 'e8db84af36f6-uptime'[07:30:36][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 1889074579 state: nan missing_state: NO }[07:30:36][C][template.text_sensor:020]: Template Sensor 'Uptime Pzem FCS'[07:30:36][C][template.text_sensor:020]: Icon: 'mdi:clock-start'[07:30:36][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 2746420357 state: nan missing_state: NO }[07:30:36][C][logger:189]: Logger:[07:30:36][C][logger:190]: Level: VERY_VERBOSE[07:30:36][C][logger:191]: Log Baud Rate: 0[07:30:36][C][logger:192]: Hardware UART: UART0[07:30:36][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 4260425004 state: 0 missing_state: NO }[07:30:36][C][pzemac:066]: PZEMAC:[07:30:36][C][pzemac:067]: Address: 0x01[07:30:36][C][pzemac:068]: Voltage 'Tension Ph1'[07:30:36][C][pzemac:068]: Device Class: 'voltage'[07:30:36][C][pzemac:068]: State Class: 'measurement'[07:30:36][C][pzemac:068]: Unit of Measurement: 'V'[07:30:36][C][pzemac:068]: Accuracy Decimals: 2[07:30:36][C][pzemac:069]: Current 'Courant Ph1'[07:30:36][C][pzemac:069]: Device Class: 'current'[07:30:36][C][pzemac:069]: State Class: 'measurement'[07:30:36][C][pzemac:069]: Unit of Measurement: 'A'[07:30:36][C][pzemac:069]: Accuracy Decimals: 2[07:30:36][C][pzemac:070]: Power 'Puissance Instantannée Ph1'[07:30:36][C][pzemac:070]: Device Class: 'power'[07:30:36][C][pzemac:070]: State Class: 'measurement'[07:30:36][C][pzemac:070]: Unit of Measurement: 'W'[07:30:36][C][pzemac:070]: Accuracy Decimals: 2[07:30:36][C][pzemac:071]: Energy 'Consommation Ph1'[07:30:36][C][pzemac:071]: Device Class: 'energy'[07:30:36][C][pzemac:071]: State Class: ''[07:30:36][C][pzemac:071]: Unit of Measurement: 'Wh'[07:30:36][C][pzemac:071]: Accuracy Decimals: 1[07:30:36][C][pzemac:072]: Frequency 'Fréquence Ph1'[07:30:36][C][pzemac:072]: State Class: 'measurement'[07:30:36][C][pzemac:072]: Unit of Measurement: 'Hz'[07:30:36][C][pzemac:072]: Accuracy Decimals: 2[07:30:36][C][pzemac:072]: Icon: 'mdi:current-ac'[07:30:36][C][pzemac:073]: Power Factor 'Facteur de puissance Ph1'[07:30:36][C][pzemac:073]: Device Class: 'power_factor'[07:30:36][C][pzemac:073]: State Class: 'measurement'[07:30:36][C][pzemac:073]: Unit of Measurement: ''[07:30:36][C][pzemac:073]: Accuracy Decimals: 2[07:30:36][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 867043477 state: nan missing_state: YES }[07:30:36][C][total_daily_energy:022]: Total Daily Energy 'Consommation Ph1 du jour'[07:30:36][C][total_daily_energy:022]: State Class: ''[07:30:36][C][total_daily_energy:022]: Unit of Measurement: 'kWh'[07:30:36][C][total_daily_energy:022]: Accuracy Decimals: 2[07:30:36][C][total_daily_energy:022]: Icon: 'mdi:counter'[07:30:36][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 368748328 state: nan missing_state: NO }[07:30:36][C][pzemac:066]: PZEMAC:[07:30:36][C][pzemac:067]: Address: 0x02[07:30:36][C][pzemac:068]: Voltage 'Tension Ph2'[07:30:36][C][pzemac:068]: Device Class: 'voltage'[07:30:36][C][pzemac:068]: State Class: 'measurement'[07:30:36][C][pzemac:068]: Unit of Measurement: 'V'[07:30:36][C][pzemac:068]: Accuracy Decimals: 2[07:30:36](Message skipped because it was too big to fit in TCP buffer - This is only cosmetic)[07:30:36](Message skipped because it was too big to fit in TCP buffer - This is only cosmetic)[07:30:36][C][pzemac:070]: Accuracy Decimals: 2[07:30:36][C][pzemac:071]: Energy 'Consommation Ph2'[07:30:36][C][pzemac:071]: Device Class: 'energy'[07:30:36][C][pzemac:071]: State Class: ''[07:30:36][C][pzemac:071]: Unit of Measurement: 'Wh'[07:30:36][C][pzemac:071]: Accuracy Decimals: 1[07:30:36][C][pzemac:072]: Frequency 'Fréquence Ph2'[07:30:36][C][pzemac:072]: State Class: 'measurement'[07:30:36][C][pzemac:072]: Unit of Measurement: 'Hz'[07:30:36][C][pzemac:072]: Accuracy Decimals: 2[07:30:36][C][pzemac:072]: Icon: 'mdi:current-ac'[07:30:36][C][pzemac:073]: Power Factor 'Facteur de puissance Ph2'[07:30:36][C][pzemac:073]: Device Class: 'power_factor'[07:30:36][C][pzemac:073]: State Class: 'measurement'[07:30:36][C][pzemac:073]: Unit of Measurement: ''[07:30:36][C][pzemac:073]: Accuracy Decimals: 2[07:30:36][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 1889074576 state: nan missing_state: NO }[07:30:36][C][total_daily_energy:022]: Total Daily Energy 'Consommation Ph2 du jour'[07:30:36][C][total_daily_energy:022]: State Class: ''[07:30:36][C][total_daily_energy:022]: Unit of Measurement: 'kWh'[07:30:36][C][total_daily_energy:022]: Accuracy Decimals: 2[07:30:36](Message skipped because it was too big to fit in TCP buffer - This is only cosmetic)[07:30:36](Message skipped because it was too big to fit in TCP buffer - This is only cosmetic)[07:30:36][C][pzemac:066]: PZEMAC:[07:30:36][C][pzemac:067]: Address: 0x03[07:30:36][C][pzemac:068]: Voltage 'Tension Ph3'[07:30:36][C][pzemac:068]: Device Class: 'voltage'[07:30:36][C][pzemac:068]: State Class: 'measurement'[07:30:36][C][pzemac:068]: Unit of Measurement: 'V'[07:30:36][C][pzemac:068]: Accuracy Decimals: 2[07:30:36][C][pzemac:069]: Current 'Courant Ph3'[07:30:36][C][pzemac:069]: Device Class: 'current'[07:30:36][C][pzemac:069]: State Class: 'measurement'[07:30:36][C][pzemac:069]: Unit of Measurement: 'A'[07:30:36][C][pzemac:069]: Accuracy Decimals: 2[07:30:36][C][pzemac:070]: Power 'Puissance Instantannée Ph3'[07:30:36][C][pzemac:070]: Device Class: 'power'[07:30:36][C][pzemac:070]: State Class: 'measurement'[07:30:36][C][pzemac:070]: Unit of Measurement: 'W'[07:30:36][C][pzemac:070]: Accuracy Decimals: 2[07:30:36][C][pzemac:071]: Energy 'Consommation Ph3'[07:30:36][C][pzemac:071]: Device Class: 'energy'[07:30:36][C][pzemac:071]: State Class: ''[07:30:36][C][pzemac:071]: Unit of Measurement: 'Wh'[07:30:36][C][pzemac:071]: Accuracy Decimals: 1[07:30:36][C][pzemac:072]: Frequency 'Fréquence Ph3'[07:30:36][C][pzemac:072]: State Class: 'measurement'[07:30:36][C][pzemac:072]: Unit of Measurement: 'Hz'[07:30:36](Message skipped because it was too big to fit in TCP buffer - This is only cosmetic)[07:30:36](Message skipped because it was too big to fit in TCP buffer - This is only cosmetic)[07:30:36](Message skipped because it was too big to fit in TCP buffer - This is only cosmetic)[07:30:36](Message skipped because it was too big to fit in TCP buffer - This is only cosmetic)[07:30:36](Message skipped because it was too big to fit in TCP buffer - This is only cosmetic)[07:30:36][C][pzemac:073]: Accuracy Decimals: 2[07:30:36][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 2810295705 state: 0 missing_state: NO }[07:30:36][C][total_daily_energy:022]: Total Daily Energy 'Consommation Ph3 du jour'[07:30:36][C][total_daily_energy:022]: State Class: ''[07:30:36][C][total_daily_energy:022]: Unit of Measurement: 'kWh'[07:30:36][C][total_daily_energy:022]: Accuracy Decimals: 2[07:30:36][C][total_daily_energy:022]: Icon: 'mdi:counter'[07:30:36][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 2306720526 state: nan missing_state: YES }[07:30:36][C][total_daily_energy:022]: Total Daily Energy 'Consommation du jour'[07:30:36][C][total_daily_energy:022]: State Class: ''[07:30:36][C][total_daily_energy:022]: Unit of Measurement: 'kWh'[07:30:36][C][total_daily_energy:022]: Accuracy Decimals: 2[07:30:36][C][total_daily_energy:022]: Icon: 'mdi:counter'[07:30:36][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 368748329 state: nan missing_state: NO }[07:30:36][C][restart:021]: Restart Switch 'Restart Pzem ECS'[07:30:36][C][restart:021]: Icon: 'mdi:restart'[07:30:36][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 1889074577 state: nan missing_state: NO }[07:30:36][C][status:034]: Status Binary Sensor 'status Pzem ECS'[07:30:36][C][status:034]: Device Class: 'connectivity'[07:30:36][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 33564042 state: nan missing_state: NO }[07:30:37][C][version.text_sensor:021]: Version Text Sensor 'Version Pzem ECS'[07:30:37][C][version.text_sensor:021]: Icon: 'mdi:new-box'[07:30:37][V][version.text_sensor:021]: Unique ID: 'e8db84af36f6-version'[07:30:37][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 2084912039 state: 0 missing_state: NO }[07:30:37][C][homeassistant.time:010]: Home Assistant Time:[07:30:37][C][homeassistant.time:011]: Timezone: 'CET-1CEST-2,M3.4.0/2,M10.5.0/3'[07:30:37][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 1630299020 state: nan missing_state: YES }[07:30:37][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 1159379565 state: -60 missing_state: NO }[07:30:37][C][captive_portal:148]: Captive Portal:[07:30:37][C][ota:029]: Over-The-Air Updates:[07:30:37][C][ota:030]: Address: pzem_ecs.local:8266[07:30:37][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 3551153189 state: nan missing_state: YES }[07:30:37][C][api:095]: API Server:[07:30:37][C][api:096]: Address: pzem_ecs.local:6053[07:30:37][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 3257545829 state: nan missing_state: YES }[07:30:37][C][wifi_signal.sensor:009]: WiFi Signal 'Puissance Wifi Pzem'[07:30:37][C][wifi_signal.sensor:009]: Device Class: 'signal_strength'[07:30:37][C][wifi_signal.sensor:009]: State Class: 'measurement'[07:30:37][C][wifi_signal.sensor:009]: Unit of Measurement: 'dBm'[07:30:37][C][wifi_signal.sensor:009]: Accuracy Decimals: 0[07:30:37][V][wifi_signal.sensor:009]: Unique ID: 'e8db84af36f6-wifisignal'[07:30:37][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 3977099474 state: nan missing_state: YES }[07:30:37][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 2605271822 state: nan missing_state: YES }[07:30:37][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 4148657986 state: nan missing_state: YES }[07:30:37][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 2613146309 state: nan missing_state: YES }[07:30:37][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 3551153190 state: nan missing_state: YES }[07:30:37][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 3257545830 state: nan missing_state: YES }[07:30:37][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 3977099473 state: nan missing_state: YES }[07:30:37][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 2605271821 state: nan missing_state: YES }[07:30:37][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 4148657985 state: nan missing_state: YES }[07:30:37][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 2613146310 state: nan missing_state: YES }[07:30:37][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 3551153191 state: nan missing_state: YES }[07:30:37][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 3257545831 state: nan missing_state: YES }[07:30:37][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 3977099472 state: nan missing_state: YES }[07:30:37][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 2605271820 state: nan missing_state: YES }[07:30:37][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 4148657984 state: nan missing_state: YES }[07:30:37][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 2613146311 state: nan missing_state: YES }[07:30:37][VV][api.service:117]: send_switch_state_response: SwitchStateResponse { key: 3368780035 state: NO }[07:30:37][VV][api.service:131]: send_text_sensor_state_response: TextSensorStateResponse { key: 1196846780 state: '1.19.2 Jun 22 2021, 07:28:53' missing_state: NO }[07:30:37][VV][api.service:131]: send_text_sensor_state_response: TextSensorStateResponse { key: 771846725 state: '0j 00h 00m 14s' missing_state: NO }[07:30:39][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=13838 (now=18838)[07:30:39][V][sensor:023]: 'Energie cumulée Ph2': Received new state nan[07:30:39][D][sensor:117]: 'Energie cumulée Ph2': Sending state nan kWh with 1 decimals of accuracy[07:30:39][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 2746420357 state: nan missing_state: NO }[07:30:39][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=13934 (now=18936)[07:30:39][V][sensor:023]: 'Energie cumulée Ph3': Received new state nan[07:30:39][D][sensor:117]: 'Energie cumulée Ph3': Sending state nan kWh with 1 decimals of accuracy[07:30:39][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 2746420356 state: nan missing_state: NO }[07:30:40][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=14524 (now=19525)[07:30:40][V][sensor:023]: 'Up': Received new state 19.527000[07:30:40][D][sensor:117]: 'Up': Sending state 19.52700 s with 0 decimals of accuracy[07:30:40][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=15310 (now=20315)[07:30:40][VV][uart_esp8266:111]: Wrote 0b00000001 (0x01)[07:30:40][VV][uart_esp8266:111]: Wrote 0b00000100 (0x04)[07:30:40][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:30:40][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:30:40][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:30:40][VV][uart_esp8266:111]: Wrote 0b00001010 (0x0A)[07:30:40][VV][uart_esp8266:111]: Wrote 0b01110000 (0x70)[07:30:40][VV][uart_esp8266:111]: Wrote 0b00001101 (0x0D)[07:30:40][VV][uart_esp8266:182]: Flushing...[07:30:40][VV][uart_esp8266:132]: Read 0b00000001 (0x01)[07:30:40][VV][uart_esp8266:132]: Read 0b01000000 (0x40)[07:30:40][VV][uart_esp8266:132]: Read 0b00000000 (0x00)[07:30:40][VV][uart_esp8266:132]: Read 0b00100100 (0x24)[07:30:40][VV][uart_esp8266:132]: Read 0b01000000 (0x40)[07:30:40][W][modbus:079]: Modbus CRC Check failed! C011!=4024[07:30:40][VV][uart_esp8266:132]: Read 0b00000000 (0x00)[07:30:40][VV][uart_esp8266:132]: Read 0b00000001 (0x01)[07:30:40][VV][uart_esp8266:132]: Read 0b11111100 (0xFC)[07:30:40][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=15438 (now=20443)[07:30:40][D][text_sensor:015]: 'Uptime Pzem FCS': Sending state '0j 00h 00m 19s'[07:30:40][VV][api.service:131]: send_text_sensor_state_response: TextSensorStateResponse { key: 771846725 state: '0j 00h 00m 19s' missing_state: NO }[07:30:41][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=15642 (now=20642)[07:30:41][V][sensor:023]: 'Energie cumulée Ph1': Received new state nan[07:30:41][D][sensor:117]: 'Energie cumulée Ph1': Sending state nan kWh with 1 decimals of accuracy[07:30:41][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 2746420358 state: nan missing_state: NO }[07:30:41][VV][scheduler:152]: Running interval 'update' with interval=10000 last_execution=10700 (now=20700)[07:30:41][V][sensor:023]: 'Puissance Wifi Pzem': Received new state -59.000000[07:30:41][D][sensor:117]: 'Puissance Wifi Pzem': Sending state -59.00000 dBm with 0 decimals of accuracy[07:30:41][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 1159379565 state: -59 missing_state: NO }[07:30:41][VV][api.service:220]: on_ping_request: PingRequest {}[07:30:41][VV][api.service:032]: send_ping_response: PingResponse {}[07:30:41][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=15734 (now=20736)[07:30:41][VV][uart_esp8266:111]: Wrote 0b00000010 (0x02)[07:30:41][VV][uart_esp8266:111]: Wrote 0b00000100 (0x04)[07:30:41][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:30:41][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:30:41][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:30:41][VV][uart_esp8266:111]: Wrote 0b00001010 (0x0A)[07:30:41][VV][uart_esp8266:111]: Wrote 0b01110000 (0x70)[07:30:41][VV][uart_esp8266:111]: Wrote 0b00111110 (0x3E)[07:30:41][VV][uart_esp8266:182]: Flushing...[07:30:41][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=15939 (now=20939)[07:30:41][VV][uart_esp8266:111]: Wrote 0b00000011 (0x03)[07:30:41][VV][uart_esp8266:111]: Wrote 0b00000100 (0x04)[07:30:41][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:30:41][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:30:41][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:30:41][VV][uart_esp8266:111]: Wrote 0b00001010 (0x0A)[07:30:41][VV][uart_esp8266:111]: Wrote 0b01110001 (0x71)[07:30:41][VV][uart_esp8266:111]: Wrote 0b11101111 (0xEF)[07:30:41][VV][uart_esp8266:182]: Flushing...[07:30:42][VV][scheduler:152]: Running interval 'update' with interval=10000 last_execution=11702 (now=21702)[07:30:42][VV][scheduler:152]: Running interval 'update' with interval=10000 last_execution=11950 (now=21950)[07:30:42][V][sensor:023]: 'Puissance Réactive Ph2': Received new state nan[07:30:42][D][sensor:117]: 'Puissance Réactive Ph2': Sending state nan VAr with 2 decimals of accuracy[07:30:42][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 1889074576 state: nan missing_state: NO }[07:30:43][VV][scheduler:152]: Running interval 'update' with interval=10000 last_execution=12663 (now=22670)[07:30:43][V][sensor:023]: 'Puissance Apparente Ph2': Received new state nan[07:30:43][D][sensor:117]: 'Puissance Apparente Ph2': Sending state nan VA with 2 decimals of accuracy[07:30:43][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 368748328 state: nan missing_state: NO }[07:30:43][VV][scheduler:152]: Running interval 'update' with interval=10000 last_execution=13074 (now=23074)[07:30:43][V][sensor:023]: 'Puissance Réactive Ph3': Received new state nan[07:30:43][D][sensor:117]: 'Puissance Réactive Ph3': Sending state nan VAr with 2 decimals of accuracy[07:30:43][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 1889074577 state: nan missing_state: NO }[07:30:43][VV][scheduler:152]: Running interval 'update' with interval=10000 last_execution=13281 (now=23281)[07:30:43][VV][scheduler:152]: Running interval 'update' with interval=10000 last_execution=13438 (now=23438)[07:30:43][V][sensor:023]: 'Puissance Réactive Ph1': Received new state nan[07:30:43][D][sensor:117]: 'Puissance Réactive Ph1': Sending state nan VAr with 2 decimals of accuracy[07:30:43][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 1889074579 state: nan missing_state: NO }[07:30:44][VV][scheduler:152]: Running interval 'update' with interval=10000 last_execution=13654 (now=23654)[07:30:44][V][sensor:023]: 'Puissance Apparente Ph3': Received new state nan[07:30:44][D][sensor:117]: 'Puissance Apparente Ph3': Sending state nan VA with 2 decimals of accuracy[07:30:44][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 368748329 state: nan missing_state: NO }[07:30:44][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=18838 (now=23838)[07:30:44][V][sensor:023]: 'Energie cumulée Ph2': Received new state nan[07:30:44][D][sensor:117]: 'Energie cumulée Ph2': Sending state nan kWh with 1 decimals of accuracy[07:30:44][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 2746420357 state: nan missing_state: NO }[07:30:44][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=18934 (now=23934)[07:30:44][V][sensor:023]: 'Energie cumulée Ph3': Received new state nan[07:30:44][D][sensor:117]: 'Energie cumulée Ph3': Sending state nan kWh with 1 decimals of accuracy[07:30:44][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 2746420356 state: nan missing_state: NO }[07:30:45][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=19524 (now=24524)[07:30:45][V][sensor:023]: 'Up': Received new state 24.526001[07:30:45][D][sensor:117]: 'Up': Sending state 24.52600 s with 0 decimals of accuracy[07:30:45][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=20310 (now=25310)[07:30:45][VV][uart_esp8266:111]: Wrote 0b00000001 (0x01)[07:30:45][VV][uart_esp8266:111]: Wrote 0b00000100 (0x04)[07:30:45][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:30:45][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:30:45][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:30:45][VV][uart_esp8266:111]: Wrote 0b00001010 (0x0A)[07:30:45][VV][uart_esp8266:111]: Wrote 0b01110000 (0x70)[07:30:45][VV][uart_esp8266:111]: Wrote 0b00001101 (0x0D)[07:30:45][VV][uart_esp8266:182]: Flushing...[07:30:45][VV][scheduler:152]: Running interval 'update' with interval=10000 last_execution=15329 (now=25330)[07:30:45][VV][uart_esp8266:132]: Read 0b00000001 (0x01)[07:30:45][VV][uart_esp8266:132]: Read 0b00010000 (0x10)[07:30:45][VV][uart_esp8266:132]: Read 0b00000100 (0x04)[07:30:45][VV][uart_esp8266:132]: Read 0b00000001 (0x01)[07:30:45][VV][uart_esp8266:132]: Read 0b00000000 (0x00)[07:30:45][VV][uart_esp8266:132]: Read 0b00101000 (0x28)[07:30:45][VV][uart_esp8266:132]: Read 0b00000001 (0x01)[07:30:45][VV][uart_esp8266:132]: Read 0b00000100 (0x04)[07:30:45][VV][uart_esp8266:132]: Read 0b00010010 (0x12)[07:30:45][W][modbus:079]: Modbus CRC Check failed! AC26!=1204[07:30:45][VV][uart_esp8266:132]: Read 0b11111110 (0xFE)[07:30:45][VV][scheduler:152]: Running interval 'update' with interval=10000 last_execution=15385 (now=25385)[07:30:45][V][sensor:023]: 'Puissance Apparente Ph1': Received new state nan[07:30:45][D][sensor:117]: 'Puissance Apparente Ph1': Sending state nan VA with 2 decimals of accuracy[07:30:45][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 368748331 state: nan missing_state: NO }[07:30:45][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=20438 (now=25438)[07:30:45][D][text_sensor:015]: 'Uptime Pzem FCS': Sending state '0j 00h 00m 24s'[07:30:45][VV][api.service:131]: send_text_sensor_state_response: TextSensorStateResponse { key: 771846725 state: '0j 00h 00m 24s' missing_state: NO }[07:30:46][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=20642 (now=25650)[07:30:46][V][sensor:023]: 'Energie cumulée Ph1': Received new state nan[07:30:46][D][sensor:117]: 'Energie cumulée Ph1': Sending state nan kWh with 1 decimals of accuracy[07:30:46][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 2746420358 state: nan missing_state: NO }[07:30:46][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=20734 (now=25734)[07:30:46][VV][uart_esp8266:111]: Wrote 0b00000010 (0x02)[07:30:46][VV][uart_esp8266:111]: Wrote 0b00000100 (0x04)[07:30:46][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:30:46][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:30:46][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:30:46][VV][uart_esp8266:111]: Wrote 0b00001010 (0x0A)[07:30:46][VV][uart_esp8266:111]: Wrote 0b01110000 (0x70)[07:30:46][VV][uart_esp8266:111]: Wrote 0b00111110 (0x3E)[07:30:46][VV][uart_esp8266:182]: Flushing...[07:30:46][VV][api.service:220]: on_ping_request: PingRequest {}[07:30:46][VV][api.service:032]: send_ping_response: PingResponse {}[07:30:46][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=20939 (now=25939)[07:30:46][VV][uart_esp8266:111]: Wrote 0b00000011 (0x03)[07:30:46][VV][uart_esp8266:111]: Wrote 0b00000100 (0x04)[07:30:46][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:30:46][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:30:46][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:30:46][VV][uart_esp8266:111]: Wrote 0b00001010 (0x0A)[07:30:46][VV][uart_esp8266:111]: Wrote 0b01110001 (0x71)[07:30:46][VV][uart_esp8266:111]: Wrote 0b11101111 (0xEF)[07:30:46][VV][uart_esp8266:182]: Flushing...[07:30:46][VV][scheduler:152]: Running interval 'update' with interval=10000 last_execution=16042 (now=26043)[07:30:46][VV][scheduler:152]: Running interval 'update' with interval=10000 last_execution=16159 (now=26159)[07:30:46][V][sensor:023]: 'Puissance Totale': Received new state nan[07:30:46][D][sensor:117]: 'Puissance Totale': Sending state nan W with 2 decimals of accuracy[07:30:46][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 33564042 state: nan missing_state: NO }[07:30:49][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=23838 (now=28838)[07:30:49][V][sensor:023]: 'Energie cumulée Ph2': Received new state nan[07:30:49][D][sensor:117]: 'Energie cumulée Ph2': Sending state nan kWh with 1 decimals of accuracy[07:30:49][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 2746420357 state: nan missing_state: NO }[07:30:49][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=23934 (now=28935)[07:30:49][V][sensor:023]: 'Energie cumulée Ph3': Received new state nan[07:30:49][D][sensor:117]: 'Energie cumulée Ph3': Sending state nan kWh with 1 decimals of accuracy[07:30:49][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 2746420356 state: nan missing_state: NO }[07:30:50][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=24524 (now=29524)[07:30:50][V][sensor:023]: 'Up': Received new state 29.526001[07:30:50][D][sensor:117]: 'Up': Sending state 29.52600 s with 0 decimals of accuracy[07:30:50][VV][api.service:220]: on_ping_request: PingRequest {}[07:30:50][VV][api.service:032]: send_ping_response: PingResponse {}[07:30:50][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=25310 (now=30310)[07:30:50][VV][uart_esp8266:111]: Wrote 0b00000001 (0x01)[07:30:50][VV][uart_esp8266:111]: Wrote 0b00000100 (0x04)[07:30:50][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:30:50][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:30:50][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:30:50][VV][uart_esp8266:111]: Wrote 0b00001010 (0x0A)[07:30:50][VV][uart_esp8266:111]: Wrote 0b01110000 (0x70)[07:30:50][VV][uart_esp8266:111]: Wrote 0b00001101 (0x0D)[07:30:50][VV][uart_esp8266:182]: Flushing...[07:30:50][VV][uart_esp8266:132]: Read 0b00000001 (0x01)[07:30:50][VV][uart_esp8266:132]: Read 0b00000000 (0x00)[07:30:50][VV][uart_esp8266:132]: Read 0b00000000 (0x00)[07:30:50][VV][uart_esp8266:132]: Read 0b00010001 (0x11)[07:30:50][VV][uart_esp8266:132]: Read 0b00000000 (0x00)[07:30:50][W][modbus:079]: Modbus CRC Check failed! 20!=11[07:30:50][VV][uart_esp8266:132]: Read 0b00000000 (0x00)[07:30:50][VV][uart_esp8266:132]: Read 0b00000001 (0x01)[07:30:50][VV][uart_esp8266:132]: Read 0b00010100 (0x14)[07:30:50][VV][uart_esp8266:132]: Read 0b00000000 (0x00)[07:30:50][VV][uart_esp8266:132]: Read 0b00010001 (0x11)[07:30:50][VV][uart_esp8266:132]: Read 0b11111110 (0xFE)[07:30:50][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=25438 (now=30439)[07:30:50][D][text_sensor:015]: 'Uptime Pzem FCS': Sending state '0j 00h 00m 29s'[07:30:50][VV][api.service:131]: send_text_sensor_state_response: TextSensorStateResponse { key: 771846725 state: '0j 00h 00m 29s' missing_state: NO }[07:30:51][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=25642 (now=30642)[07:30:51][V][sensor:023]: 'Energie cumulée Ph1': Received new state nan[07:30:51][D][sensor:117]: 'Energie cumulée Ph1': Sending state nan kWh with 1 decimals of accuracy[07:30:51][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 2746420358 state: nan missing_state: NO }[07:30:51][VV][scheduler:152]: Running interval 'update' with interval=10000 last_execution=20700 (now=30705)[07:30:51][V][sensor:023]: 'Puissance Wifi Pzem': Received new state -60.000000[07:30:51][D][sensor:117]: 'Puissance Wifi Pzem': Sending state -60.00000 dBm with 0 decimals of accuracy[07:30:51][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 1159379565 state: -60 missing_state: NO }[07:30:51][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=25734 (now=30738)[07:30:51][VV][uart_esp8266:111]: Wrote 0b00000010 (0x02)[07:30:51][VV][uart_esp8266:111]: Wrote 0b00000100 (0x04)[07:30:51][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:30:51][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:30:51][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:30:51][VV][uart_esp8266:111]: Wrote 0b00001010 (0x0A)[07:30:51][VV][uart_esp8266:111]: Wrote 0b01110000 (0x70)[07:30:51][VV][uart_esp8266:111]: Wrote 0b00111110 (0x3E)[07:30:51][VV][uart_esp8266:182]: Flushing...[07:30:51][VV][api.service:220]: on_ping_request: PingRequest {}[07:30:51][VV][api.service:032]: send_ping_response: PingResponse {}[07:30:51][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=25939 (now=30943)[07:30:51][VV][uart_esp8266:111]: Wrote 0b00000011 (0x03)[07:30:51][VV][uart_esp8266:111]: Wrote 0b00000100 (0x04)[07:30:51][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:30:51][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:30:51][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:30:51][VV][uart_esp8266:111]: Wrote 0b00001010 (0x0A)[07:30:51][VV][uart_esp8266:111]: Wrote 0b01110001 (0x71)[07:30:51][VV][uart_esp8266:111]: Wrote 0b11101111 (0xEF)[07:30:51][VV][uart_esp8266:182]: Flushing...[07:30:52][VV][scheduler:152]: Running interval 'update' with interval=10000 last_execution=21702 (now=31702)[07:30:52][VV][scheduler:152]: Running interval 'update' with interval=10000 last_execution=21950 (now=31954)[07:30:52][V][sensor:023]: 'Puissance Réactive Ph2': Received new state nan[07:30:52][D][sensor:117]: 'Puissance Réactive Ph2': Sending state nan VAr with 2 decimals of accuracy[07:30:52][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 1889074576 state: nan missing_state: NO }[07:30:53][VV][scheduler:152]: Running interval 'update' with interval=10000 last_execution=22663 (now=32663)[07:30:53][V][sensor:023]: 'Puissance Apparente Ph2': Received new state nan[07:30:53][D][sensor:117]: 'Puissance Apparente Ph2': Sending state nan VA with 2 decimals of accuracy[07:30:53][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 368748328 state: nan missing_state: NO }[07:30:53][VV][scheduler:152]: Running interval 'update' with interval=10000 last_execution=23074 (now=33074)[07:30:53][V][sensor:023]: 'Puissance Réactive Ph3': Received new state nan[07:30:53][D][sensor:117]: 'Puissance Réactive Ph3': Sending state nan VAr with 2 decimals of accuracy[07:30:53][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 1889074577 state: nan missing_state: NO }[07:30:53][VV][scheduler:152]: Running interval 'update' with interval=10000 last_execution=23281 (now=33285)[07:30:53][VV][scheduler:152]: Running interval 'update' with interval=10000 last_execution=23438 (now=33438)[07:30:53][V][sensor:023]: 'Puissance Réactive Ph1': Received new state nan[07:30:53][D][sensor:117]: 'Puissance Réactive Ph1': Sending state nan VAr with 2 decimals of accuracy[07:30:53][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 1889074579 state: nan missing_state: NO }[07:30:54][VV][scheduler:152]: Running interval 'update' with interval=10000 last_execution=23654 (now=33654)[07:30:54][V][sensor:023]: 'Puissance Apparente Ph3': Received new state nan[07:30:54][D][sensor:117]: 'Puissance Apparente Ph3': Sending state nan VA with 2 decimals of accuracy[07:30:54][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 368748329 state: nan missing_state: NO }[07:30:54][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=28838 (now=33838)[07:30:54][V][sensor:023]: 'Energie cumulée Ph2': Received new state nan[07:30:54][D][sensor:117]: 'Energie cumulée Ph2': Sending state nan kWh with 1 decimals of accuracy[07:30:54][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 2746420357 state: nan missing_state: NO }[07:30:54][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=28934 (now=33935)[07:30:54][V][sensor:023]: 'Energie cumulée Ph3': Received new state nan[07:30:54][D][sensor:117]: 'Energie cumulée Ph3': Sending state nan kWh with 1 decimals of accuracy[07:30:54][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 2746420356 state: nan missing_state: NO }[07:30:55][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=29524 (now=34524)[07:30:55][V][sensor:023]: 'Up': Received new state 34.525002[07:30:55][D][sensor:117]: 'Up': Sending state 34.52500 s with 0 decimals of accuracy[07:30:55][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=30310 (now=35311)[07:30:55][VV][uart_esp8266:111]: Wrote 0b00000001 (0x01)[07:30:55][VV][uart_esp8266:111]: Wrote 0b00000100 (0x04)[07:30:55][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:30:55][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:30:55][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:30:55][VV][uart_esp8266:111]: Wrote 0b00001010 (0x0A)[07:30:55][VV][uart_esp8266:111]: Wrote 0b01110000 (0x70)[07:30:55][VV][uart_esp8266:111]: Wrote 0b00001101 (0x0D)[07:30:55][VV][uart_esp8266:182]: Flushing...[07:30:55][VV][scheduler:152]: Running interval 'update' with interval=10000 last_execution=25329 (now=35331)[07:30:55][VV][uart_esp8266:132]: Read 0b00000001 (0x01)[07:30:55][VV][uart_esp8266:132]: Read 0b00010000 (0x10)[07:30:55][VV][uart_esp8266:132]: Read 0b00000000 (0x00)[07:30:55][VV][uart_esp8266:132]: Read 0b00001010 (0x0A)[07:30:55][VV][uart_esp8266:132]: Read 0b00001011 (0x0B)[07:30:55][W][modbus:079]: Modbus CRC Check failed! C02D!=B0A[07:30:55][VV][uart_esp8266:132]: Read 0b00000000 (0x00)[07:30:55][VV][uart_esp8266:132]: Read 0b00000111 (0x07)[07:30:55][VV][uart_esp8266:132]: Read 0b00100010 (0x22)[07:30:55][VV][scheduler:152]: Running interval 'update' with interval=10000 last_execution=25385 (now=35386)[07:30:55][V][sensor:023]: 'Puissance Apparente Ph1': Received new state nan[07:30:55][D][sensor:117]: 'Puissance Apparente Ph1': Sending state nan VA with 2 decimals of accuracy[07:30:55][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 368748331 state: nan missing_state: NO }[07:30:55][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=30438 (now=35438)[07:30:55][D][text_sensor:015]: 'Uptime Pzem FCS': Sending state '0j 00h 00m 34s'[07:30:55][VV][api.service:131]: send_text_sensor_state_response: TextSensorStateResponse { key: 771846725 state: '0j 00h 00m 34s' missing_state: NO }[07:30:56][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=30642 (now=35649)[07:30:56][V][sensor:023]: 'Energie cumulée Ph1': Received new state nan[07:30:56][D][sensor:117]: 'Energie cumulée Ph1': Sending state nan kWh with 1 decimals of accuracy[07:30:56][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 2746420358 state: nan missing_state: NO }[07:30:56][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=30734 (now=35734)[07:30:56][VV][uart_esp8266:111]: Wrote 0b00000010 (0x02)[07:30:56][VV][uart_esp8266:111]: Wrote 0b00000100 (0x04)[07:30:56][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:30:56][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:30:56][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:30:56][VV][uart_esp8266:111]: Wrote 0b00001010 (0x0A)[07:30:56][VV][uart_esp8266:111]: Wrote 0b01110000 (0x70)[07:30:56][VV][uart_esp8266:111]: Wrote 0b00111110 (0x3E)[07:30:56][VV][uart_esp8266:182]: Flushing...[07:30:56][VV][api.service:220]: on_ping_request: PingRequest {}[07:30:56][VV][api.service:032]: send_ping_response: PingResponse {}[07:30:56][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=30939 (now=35939)[07:30:56][VV][uart_esp8266:111]: Wrote 0b00000011 (0x03)[07:30:56][VV][uart_esp8266:111]: Wrote 0b00000100 (0x04)[07:30:56][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:30:56][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:30:56][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:30:56][VV][uart_esp8266:111]: Wrote 0b00001010 (0x0A)[07:30:56][VV][uart_esp8266:111]: Wrote 0b01110001 (0x71)[07:30:56][VV][uart_esp8266:111]: Wrote 0b11101111 (0xEF)[07:30:56][VV][uart_esp8266:182]: Flushing...[07:30:56][VV][scheduler:152]: Running interval 'update' with interval=10000 last_execution=26042 (now=36042)[07:30:56][VV][scheduler:152]: Running interval 'update' with interval=10000 last_execution=26159 (now=36159)[07:30:56][V][sensor:023]: 'Puissance Totale': Received new state nan[07:30:56][D][sensor:117]: 'Puissance Totale': Sending state nan W with 2 decimals of accuracy[07:30:56][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 33564042 state: nan missing_state: NO }[07:30:59][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=33838 (now=38838)[07:30:59][V][sensor:023]: 'Energie cumulée Ph2': Received new state nan[07:30:59][D][sensor:117]: 'Energie cumulée Ph2': Sending state nan kWh with 1 decimals of accuracy[07:30:59][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 2746420357 state: nan missing_state: NO }[07:30:59][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=33934 (now=38934)[07:30:59][V][sensor:023]: 'Energie cumulée Ph3': Received new state nan[07:30:59][D][sensor:117]: 'Energie cumulée Ph3': Sending state nan kWh with 1 decimals of accuracy[07:30:59][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 2746420356 state: nan missing_state: NO }[07:31:00][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=34524 (now=39524)[07:31:00][V][sensor:023]: 'Up': Received new state 39.526001[07:31:00][D][sensor:117]: 'Up': Sending state 39.52600 s with 0 decimals of accuracy[07:31:00][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=35310 (now=40311)[07:31:00][VV][uart_esp8266:111]: Wrote 0b00000001 (0x01)[07:31:00][VV][uart_esp8266:111]: Wrote 0b00000100 (0x04)[07:31:00][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:31:00][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:31:00][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:31:00][VV][uart_esp8266:111]: Wrote 0b00001010 (0x0A)[07:31:00][VV][uart_esp8266:111]: Wrote 0b01110000 (0x70)[07:31:00][VV][uart_esp8266:111]: Wrote 0b00001101 (0x0D)[07:31:00][VV][uart_esp8266:182]: Flushing...[07:31:00][VV][uart_esp8266:132]: Read 0b00000001 (0x01)[07:31:00][VV][uart_esp8266:132]: Read 0b00010000 (0x10)[07:31:00][VV][uart_esp8266:132]: Read 0b10010100 (0x94)[07:31:00][VV][uart_esp8266:132]: Read 0b00101001 (0x29)[07:31:00][VV][uart_esp8266:132]: Read 0b00000000 (0x00)[07:31:00][VV][uart_esp8266:132]: Read 0b00000000 (0x00)[07:31:00][VV][uart_esp8266:132]: Read 0b00000000 (0x00)[07:31:00][VV][uart_esp8266:132]: Read 0b00000000 (0x00)[07:31:00][VV][uart_esp8266:132]: Read 0b00100000 (0x20)[07:31:00][VV][uart_esp8266:132]: Read 0b00000000 (0x00)[07:31:00][VV][uart_esp8266:132]: Read 0b00000000 (0x00)[07:31:00][VV][uart_esp8266:132]: Read 0b00000000 (0x00)[07:31:00][VV][uart_esp8266:132]: Read 0b00000000 (0x00)[07:31:00][VV][uart_esp8266:132]: Read 0b00000001 (0x01)[07:31:00][VV][uart_esp8266:132]: Read 0b00000000 (0x00)[07:31:00][VV][uart_esp8266:132]: Read 0b01000000 (0x40)[07:31:00][VV][uart_esp8266:132]: Read 0b00011111 (0x1F)[07:31:00][VV][uart_esp8266:132]: Read 0b00000000 (0x00)[07:31:00][VV][uart_esp8266:132]: Read 0b00000000 (0x00)[07:31:00][VV][uart_esp8266:132]: Read 0b00100100 (0x24)[07:31:00][VV][uart_esp8266:132]: Read 0b11110111 (0xF7)[07:31:00][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=35438 (now=40443)[07:31:00][D][text_sensor:015]: 'Uptime Pzem FCS': Sending state '0j 00h 00m 39s'[07:31:00][VV][api.service:131]: send_text_sensor_state_response: TextSensorStateResponse { key: 771846725 state: '0j 00h 00m 39s' missing_state: NO }[07:31:01][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=35642 (now=40642)[07:31:01][V][sensor:023]: 'Energie cumulée Ph1': Received new state nan[07:31:01][D][sensor:117]: 'Energie cumulée Ph1': Sending state nan kWh with 1 decimals of accuracy[07:31:01][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 2746420358 state: nan missing_state: NO }[07:31:01][VV][scheduler:152]: Running interval 'update' with interval=10000 last_execution=30700 (now=40706)[07:31:01][V][sensor:023]: 'Puissance Wifi Pzem': Received new state -59.000000[07:31:01][D][sensor:117]: 'Puissance Wifi Pzem': Sending state -59.00000 dBm with 0 decimals of accuracy[07:31:01][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 1159379565 state: -59 missing_state: NO }[07:31:01][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=35734 (now=40739)[07:31:01][VV][uart_esp8266:111]: Wrote 0b00000010 (0x02)[07:31:01][VV][uart_esp8266:111]: Wrote 0b00000100 (0x04)[07:31:01][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:31:01][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:31:01][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:31:01][VV][uart_esp8266:111]: Wrote 0b00001010 (0x0A)[07:31:01][VV][uart_esp8266:111]: Wrote 0b01110000 (0x70)[07:31:01][VV][uart_esp8266:111]: Wrote 0b00111110 (0x3E)[07:31:01][VV][uart_esp8266:182]: Flushing...[07:31:01][VV][api.service:220]: on_ping_request: PingRequest {}[07:31:01][VV][api.service:032]: send_ping_response: PingResponse {}[07:31:01][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=35939 (now=40944)[07:31:01][VV][uart_esp8266:111]: Wrote 0b00000011 (0x03)[07:31:01][VV][uart_esp8266:111]: Wrote 0b00000100 (0x04)[07:31:01][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:31:01][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:31:01][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:31:01][VV][uart_esp8266:111]: Wrote 0b00001010 (0x0A)[07:31:01][VV][uart_esp8266:111]: Wrote 0b01110001 (0x71)[07:31:01][VV][uart_esp8266:111]: Wrote 0b11101111 (0xEF)[07:31:01][VV][uart_esp8266:182]: Flushing...[07:31:02][VV][scheduler:152]: Running interval 'update' with interval=10000 last_execution=31702 (now=41703)[07:31:02][VV][scheduler:152]: Running interval 'update' with interval=10000 last_execution=31950 (now=41951)[07:31:02][V][sensor:023]: 'Puissance Réactive Ph2': Received new state nan[07:31:02][D][sensor:117]: 'Puissance Réactive Ph2': Sending state nan VAr with 2 decimals of accuracy[07:31:02][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 1889074576 state: nan missing_state: NO }[07:31:03][VV][scheduler:152]: Running interval 'update' with interval=10000 last_execution=32663 (now=42671)[07:31:03][V][sensor:023]: 'Puissance Apparente Ph2': Received new state nan[07:31:03][D][sensor:117]: 'Puissance Apparente Ph2': Sending state nan VA with 2 decimals of accuracy[07:31:03][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 368748328 state: nan missing_state: NO }[07:31:03][VV][scheduler:152]: Running interval 'update' with interval=10000 last_execution=33074 (now=43074)[07:31:03][V][sensor:023]: 'Puissance Réactive Ph3': Received new state nan[07:31:03][D][sensor:117]: 'Puissance Réactive Ph3': Sending state nan VAr with 2 decimals of accuracy[07:31:03][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 1889074577 state: nan missing_state: NO }[07:31:03][VV][scheduler:152]: Running interval 'update' with interval=10000 last_execution=33281 (now=43281)[07:31:03][VV][scheduler:152]: Running interval 'update' with interval=10000 last_execution=33438 (now=43438)[07:31:03][V][sensor:023]: 'Puissance Réactive Ph1': Received new state nan[07:31:03][D][sensor:117]: 'Puissance Réactive Ph1': Sending state nan VAr with 2 decimals of accuracy[07:31:03][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 1889074579 state: nan missing_state: NO }[07:31:04][VV][scheduler:152]: Running interval 'update' with interval=10000 last_execution=33654 (now=43654)[07:31:04][V][sensor:023]: 'Puissance Apparente Ph3': Received new state nan[07:31:04][D][sensor:117]: 'Puissance Apparente Ph3': Sending state nan VA with 2 decimals of accuracy[07:31:04][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 368748329 state: nan missing_state: NO }[07:31:04][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=38838 (now=43838)[07:31:04][V][sensor:023]: 'Energie cumulée Ph2': Received new state nan[07:31:04][D][sensor:117]: 'Energie cumulée Ph2': Sending state nan kWh with 1 decimals of accuracy[07:31:04][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 2746420357 state: nan missing_state: NO }[07:31:04][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=38934 (now=43934)[07:31:04][V][sensor:023]: 'Energie cumulée Ph3': Received new state nan[07:31:04][D][sensor:117]: 'Energie cumulée Ph3': Sending state nan kWh with 1 decimals of accuracy[07:31:04][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 2746420356 state: nan missing_state: NO }[07:31:05][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=39524 (now=44524)[07:31:05][V][sensor:023]: 'Up': Received new state 44.526001[07:31:05][D][sensor:117]: 'Up': Sending state 44.52600 s with 0 decimals of accuracy[07:31:05][VV][api.service:220]: on_ping_request: PingRequest {}[07:31:05][VV][api.service:032]: send_ping_response: PingResponse {}[07:31:05][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=40310 (now=45311)[07:31:05][VV][uart_esp8266:111]: Wrote 0b00000001 (0x01)[07:31:05][VV][uart_esp8266:111]: Wrote 0b00000100 (0x04)[07:31:05][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:31:05][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:31:05][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:31:05][VV][uart_esp8266:111]: Wrote 0b00001010 (0x0A)[07:31:05][VV][uart_esp8266:111]: Wrote 0b01110000 (0x70)[07:31:05][VV][uart_esp8266:111]: Wrote 0b00001101 (0x0D)[07:31:05][VV][uart_esp8266:182]: Flushing...[07:31:05][VV][scheduler:152]: Running interval 'update' with interval=10000 last_execution=35329 (now=45332)[07:31:05][VV][uart_esp8266:132]: Read 0b00000000 (0x00)[07:31:05][VV][uart_esp8266:132]: Read 0b00000000 (0x00)[07:31:05][VV][uart_esp8266:132]: Read 0b00000000 (0x00)[07:31:05][VV][uart_esp8266:132]: Read 0b00010010 (0x12)[07:31:05][VV][uart_esp8266:132]: Read 0b00000000 (0x00)[07:31:05][W][modbus:079]: Modbus CRC Check failed! C071!=12[07:31:05][VV][uart_esp8266:132]: Read 0b00000000 (0x00)[07:31:05][VV][uart_esp8266:132]: Read 0b00000000 (0x00)[07:31:05][VV][uart_esp8266:132]: Read 0b00000000 (0x00)[07:31:05][VV][uart_esp8266:132]: Read 0b00000000 (0x00)[07:31:05][VV][uart_esp8266:132]: Read 0b00000011 (0x03)[07:31:05][W][modbus:079]: Modbus CRC Check failed! C071!=300[07:31:05][VV][uart_esp8266:132]: Read 0b00000000 (0x00)[07:31:05][VV][uart_esp8266:132]: Read 0b00000000 (0x00)[07:31:05][VV][uart_esp8266:132]: Read 0b00011110 (0x1E)[07:31:05][VV][uart_esp8266:132]: Read 0b00000000 (0x00)[07:31:05][VV][uart_esp8266:132]: Read 0b00000000 (0x00)[07:31:05][VV][uart_esp8266:132]: Read 0b00001100 (0x0C)[07:31:05][VV][uart_esp8266:132]: Read 0b11111111 (0xFF)[07:31:05][VV][scheduler:152]: Running interval 'update' with interval=10000 last_execution=35385 (now=45385)[07:31:05][V][sensor:023]: 'Puissance Apparente Ph1': Received new state nan[07:31:05][D][sensor:117]: 'Puissance Apparente Ph1': Sending state nan VA with 2 decimals of accuracy[07:31:05][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 368748331 state: nan missing_state: NO }[07:31:05][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=40438 (now=45438)[07:31:05][D][text_sensor:015]: 'Uptime Pzem FCS': Sending state '0j 00h 00m 44s'[07:31:05][VV][api.service:131]: send_text_sensor_state_response: TextSensorStateResponse { key: 771846725 state: '0j 00h 00m 44s' missing_state: NO }[07:31:06][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=40642 (now=45642)[07:31:06][V][sensor:023]: 'Energie cumulée Ph1': Received new state nan[07:31:06][D][sensor:117]: 'Energie cumulée Ph1': Sending state nan kWh with 1 decimals of accuracy[07:31:06][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 2746420358 state: nan missing_state: NO }[07:31:06][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=40734 (now=45734)[07:31:06][VV][uart_esp8266:111]: Wrote 0b00000010 (0x02)[07:31:06][VV][uart_esp8266:111]: Wrote 0b00000100 (0x04)[07:31:06][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:31:06][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:31:06][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:31:06][VV][uart_esp8266:111]: Wrote 0b00001010 (0x0A)[07:31:06][VV][uart_esp8266:111]: Wrote 0b01110000 (0x70)[07:31:06][VV][uart_esp8266:111]: Wrote 0b00111110 (0x3E)[07:31:06][VV][uart_esp8266:182]: Flushing...[07:31:06][VV][api.service:220]: on_ping_request: PingRequest {}[07:31:06][VV][api.service:032]: send_ping_response: PingResponse {}[07:31:06][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=40939 (now=45940)[07:31:06][VV][uart_esp8266:111]: Wrote 0b00000011 (0x03)[07:31:06][VV][uart_esp8266:111]: Wrote 0b00000100 (0x04)[07:31:06][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:31:06][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:31:06][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:31:06][VV][uart_esp8266:111]: Wrote 0b00001010 (0x0A)[07:31:06][VV][uart_esp8266:111]: Wrote 0b01110001 (0x71)[07:31:06][VV][uart_esp8266:111]: Wrote 0b11101111 (0xEF)[07:31:06][VV][uart_esp8266:182]: Flushing...[07:31:06][VV][scheduler:152]: Running interval 'update' with interval=10000 last_execution=36042 (now=46043)[07:31:06][VV][scheduler:152]: Running interval 'update' with interval=10000 last_execution=36159 (now=46159)[07:31:06][V][sensor:023]: 'Puissance Totale': Received new state nan[07:31:06][D][sensor:117]: 'Puissance Totale': Sending state nan W with 2 decimals of accuracy[07:31:06][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 33564042 state: nan missing_state: NO }[07:31:09][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=43838 (now=48846)[07:31:09][V][sensor:023]: 'Energie cumulée Ph2': Received new state nan[07:31:09][D][sensor:117]: 'Energie cumulée Ph2': Sending state nan kWh with 1 decimals of accuracy[07:31:09][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 2746420357 state: nan missing_state: NO }[07:31:09][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=43934 (now=48934)[07:31:09][V][sensor:023]: 'Energie cumulée Ph3': Received new state nan[07:31:09][D][sensor:117]: 'Energie cumulée Ph3': Sending state nan kWh with 1 decimals of accuracy[07:31:09][VV][api.service:105]: send_sensor_state_response: SensorStateResponse { key: 2746420356 state: nan missing_state: NO }[07:31:10][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=44524 (now=49524)[07:31:10][V][sensor:023]: 'Up': Received new state 49.526001[07:31:10][D][sensor:117]: 'Up': Sending state 49.52600 s with 0 decimals of accuracy[07:31:10][VV][scheduler:152]: Running interval 'update' with interval=5000 last_execution=45310 (now=50310)[07:31:10][VV][uart_esp8266:111]: Wrote 0b00000001 (0x01)[07:31:10][VV][uart_esp8266:111]: Wrote 0b00000100 (0x04)[07:31:10][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:31:10][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:31:10][VV][uart_esp8266:111]: Wrote 0b00000000 (0x00)[07:31:10][VV][uart_esp8266:111]: Wrote 0b00001010 (0x0A)[07:31:10][VV][uart_esp8266:111]: Wrote 0b01110000 (0x70)[07:31:10][VV][uart_esp8266:111
Have you ever had multiple pzem devices working on one uart? How are they wired?
No, the 3 devices on the same UART never worked. With just one it works. I addressed the pzem with ESP.Easy.Flasher.exe and the firmware ESP_Easy_mega-20191003_PZEM_core_ESP8266_4M1M.bin I tried with and without the diodes and it's the same problem
------ Message d'origine ------ De: "Samuel Sieb" @.> À: "esphome/issues" @.> Cc : "Bruno" @.>; "Author" @.> Envoyé : 24/06/2021 03:42:03 Objet : Re: [esphome/issues] PZEM-004T V3 Modbus CRC Check failed! (#2162)
Have you ever had multiple pzem devices working on one uart? How are they wired?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/esphome/issues/issues/2162#issuecomment-867267626, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOV7RMLU7JSTHAC4FVGMKBTTUKEOXANCNFSM47BGS4UQ.
------ Message d'origine ------ De: "Bruno PELLICIOLI" @.> À: "esphome/issues" @.> Envoyé : 24/06/2021 07:44:28 Objet : Re[2]: [esphome/issues] PZEM-004T V3 Modbus CRC Check failed! (#2162)
No, the 3 devices on the same UART never worked. With just one it works. I addressed the pzem with ESP.Easy.Flasher.exe and the firmware ESP_Easy_mega-20191003_PZEM_core_ESP8266_4M1M.bin I tried with and without the diodes and it's the same problem
------ Message d'origine ------ De: "Samuel Sieb" @.> À: "esphome/issues" @.> Cc : "Bruno" @.>; "Author" @.> Envoyé : 24/06/2021 03:42:03 Objet : Re: [esphome/issues] PZEM-004T V3 Modbus CRC Check failed! (#2162)
Have you ever had multiple pzem devices working on one uart? How are they wired?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/esphome/issues/issues/2162#issuecomment-867267626, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOV7RMLU7JSTHAC4FVGMKBTTUKEOXANCNFSM47BGS4UQ.
Without the diodes, you are likely to fry something and you also need a pullup. First make sure that a single pzem works with your config. Then you can use the circuit in https://github.com/xoseperez/espurna/issues/1051 to add the others.
Thank you for the new wiring plan I test with the new wiring and I inform you
------ Message d'origine ------ De: "Samuel Sieb" @.> À: "esphome/issues" @.> Cc : "Bruno" @.>; "Author" @.> Envoyé : 24/06/2021 07:58:36 Objet : Re: [esphome/issues] PZEM-004T V3 Modbus CRC Check failed! (#2162)
Without the diodes, you are likely to fry something and you also need a pullup. First make sure that a single pzem works with your config. Then you can use the circuit in xoseperez/espurna#1051 https://github.com/xoseperez/espurna/issues/1051 to add the others.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/esphome/issues/issues/2162#issuecomment-867357938, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOV7RML4FX3MQTKGEQKS32TTULCQZANCNFSM47BGS4UQ.
Thank you for the new wiring plan I test with the new wiring and I inform you
------ Message d'origine ------ De: "Samuel Sieb" @.> À: "esphome/issues" @.> Cc : "Bruno" @.>; "Author" @.> Envoyé : 24/06/2021 08:00:44 Objet : Re: [esphome/issues] PZEM-004T V3 Modbus CRC Check failed! (#2162)
multiple pzem circuit https://user-images.githubusercontent.com/289289/42666879-20e80928-861e-11e8-97ca-35f0992f9b1b.png
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/esphome/issues/issues/2162#issuecomment-867358769, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOV7RMI5LZQ7QSP7TGJJ3GDTULCYZANCNFSM47BGS4UQ.
Hi, I'm utilizing 3 of these on the same UART of an ESP01 module.
Logger is set to 0 as above, but uart config for me is different:
uart:
baud_rate: 9600
stop_bits: 1
I have diodes as the picture above showing, and also modded the resistors on all 3 boards. Tried using a level shifter before without success, because the high-low levels are a different (originally it is using 5V levels and I converted this to lower to 3.3V). Some say 8266s should tolerate 5V, i don't know. never tried.
Some people have found that 2 stop bits are needed and there's no harm in having an extra one. The 8266 is officially 5V tolerant on the GPIO pins.
It works! I set 1 stop bit (for ESP32 you need 2 stop bit but not for ESP 8266) I thought my pzem were addressed but they weren't there. Addressing with ESP.Easy.Flasher.exe and the firmware ESP_Easy_mega-20191003_PZEM_core_ESP8266_4M1M.bin does not work. I set the address of the pzem with software Pzem014 Master and a USB-TTL FTDI compatible with the CH340 driver and now everything works. Thanks to all of you who helped solve my problem Best regards
------ Message d'origine ------ De: "Samuel Sieb" @.> À: "esphome/issues" @.> Cc : "Bruno" @.>; "Author" @.> Envoyé : 24/06/2021 19:05:42 Objet : Re: [esphome/issues] PZEM-004T V3 Modbus CRC Check failed! (#2162)
Some people have found that 2 stop bits are needed and there's no harm in having an extra one. The 8266 is officially 5V tolerant on the GPIO pins.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/esphome/issues/issues/2162#issuecomment-867806776, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOV7RMKTARGYC6R7AB7YLJ3TUNQWNANCNFSM47BGS4UQ.
Operating environment/Installation (Hass.io/Docker/pip/etc.):
Debian GNU/Linux 10 (buster) / Version Docker 20.10.6 / Version supervisor-2021.06.3 / Version core-2021.6.5
ESP (ESP32/ESP8266, Board/Sonoff):
ESP8266 NodeMcu **ESPHome version (latest production, beta, dev branch)** ESPHome v1.19.1 **Affected component:** https://esphome.io/components/sensor/pzemac.html **Description of problem:** No reading of 3 pzem data. Modbus CRC Check failed! in the logs **Problem-relevant YAML-configuration entries:** ```yaml PASTE YAML FILE HERE esphome: name: pzem_ecs platform: ESP8266 board: nodemcuv2 wifi: ssid: "secret! esphome_ssid" password: "secret! esphome_password" # Enable fallback hotspot (captive portal) in case wifi connection fails ap: ssid: "Pzem Ecs Fallback Hotspot" password: "GZVhGXrhstXD" captive_portal: # Enable logging logger: level: debug baud_rate: 0 # Enable Home Assistant API api: ota: uart: - id: ubus tx_pin: GPIO1 # TXD0 rx_pin: GPIO3 # RXD0 baud_rate: 9600 stop_bits: 2 modbus: id: mbus uart_id: ubus time: platform: homeassistant id: homeassistant_time on_time: - seconds: 57 minutes: 59 hours: 23 then: - sensor.template.publish: id: conso_el_ecs_veille state: !lambda return id(conso_el_ecs_du_jour).state; - sensor.template.publish: id: conso_ecs_veille state: !lambda return id(conso_ecs_jour).state; dallas: - pin: GPIO4 update_interval: 10s sensor: #### PZEM-004T V3 #### ################################################################################## #### Phase 1 #### - platform: pzemac modbus_id: mbus address: 1 current: name: "Courant Ph1" accuracy_decimals: 2 voltage: name: "Tension Ph1" accuracy_decimals: 2 power: name: "Puissance Instantannée Ph1" unit_of_measurement: W accuracy_decimals: 2 id: ph1_puissance frequency: name: "Fréquence Ph1" unit_of_measurement: Hz accuracy_decimals: 2 power_factor: name: "Facteur de puissance Ph1" accuracy_decimals: 2 id: ph1_facteur_puissance energy: name: "Consommation Ph1" unit_of_measurement: Wh accuracy_decimals: 1 id: ph1_energy update_interval: 5s - platform: template name: "Energie cumulée Ph1" unit_of_measurement: "kWh" accuracy_decimals: 1 update_interval: 5s icon: mdi:power lambda: return (( (id(ph1_energy).state)/1000.0)); - platform: total_daily_energy name: "Consommation Ph1 du jour" power_id: ph1_puissance unit_of_measurement: "kWh" accuracy_decimals: 2 id: conso_du_jour_ph1 filters: # Multiplication factor from W to kW is 0.001 - multiply: 0.001 icon: mdi:counter - platform: template name: "Consommation Ph1 de la veille" id: template_ph1_veille unit_of_measurement: "kwh" accuracy_decimals: 2 icon: mdi:power update_interval: 10s - platform: template name: "Puissance Apparente Ph1" id: ph1_puissance_apparente unit_of_measurement: "VA" accuracy_decimals: 2 update_interval: 10s icon: mdi:power lambda: return ( (id(ph1_puissance).state/id(ph1_facteur_puissance).state)); - platform: template name: "Puissance Réactive Ph1" id: ph1_puissance_reactive unit_of_measurement: "VAr" accuracy_decimals: 2 update_interval: 10s icon: mdi:power lambda: return ( ( sqrt( (id(ph1_puissance_reactive).state)*(id(ph1_puissance_reactive).state) - (id(ph1_facteur_puissance).state)*(id(ph1_facteur_puissance).state) ) ) ); ################################################################################## #### Phase 2 #### - platform: pzemac modbus_id: mbus address: 2 current: name: "Courant Ph2" accuracy_decimals: 2 voltage: name: "Tension Ph2" accuracy_decimals: 2 power: name: "Puissance Instantannée Ph2" unit_of_measurement: W accuracy_decimals: 2 id: ph2_puissance frequency: name: "Fréquence Ph2" unit_of_measurement: Hz accuracy_decimals: 2 power_factor: name: "Facteur de puissance Ph2" accuracy_decimals: 2 id: ph2_facteur_puissance energy: name: "Consommation Ph2" unit_of_measurement: Wh accuracy_decimals: 1 id: ph2_energy update_interval: 5s - platform: template name: "Energie cumulée Ph2" unit_of_measurement: "kWh" accuracy_decimals: 1 update_interval: 5s icon: mdi:power lambda: return (( (id(ph2_energy).state)/1000.0)); - platform: total_daily_energy name: "Consommation Ph2 du jour" power_id: ph2_puissance unit_of_measurement: "kWh" accuracy_decimals: 2 id: conso_du_jour_ph2 filters: # Multiplication factor from W to kW is 0.001 - multiply: 0.001 icon: mdi:counter - platform: template name: "Consommation Ph2 de la veille" id: template_ph2_veille unit_of_measurement: "kwh" accuracy_decimals: 2 icon: mdi:power update_interval: 10s - platform: template name: "Puissance Apparente Ph2" id: ph2_puissance_apparente unit_of_measurement: "VA" accuracy_decimals: 2 update_interval: 10s icon: mdi:power lambda: return ( (id(ph2_puissance).state/id(ph2_facteur_puissance).state)); - platform: template name: "Puissance Réactive Ph2" id: ph2_puissance_reactive unit_of_measurement: "VAr" accuracy_decimals: 2 update_interval: 10s icon: mdi:power lambda: return ( ( sqrt( (id(ph2_puissance_reactive).state)*(id(ph2_puissance_reactive).state) - (id(ph2_facteur_puissance).state)*(id(ph2_facteur_puissance).state) ) ) ); ################################################################################## #### Phase 3 #### - platform: pzemac modbus_id: mbus address: 3 current: name: "Courant Ph3" accuracy_decimals: 2 voltage: name: "Tension Ph3" accuracy_decimals: 2 power: name: "Puissance Instantannée Ph3" unit_of_measurement: W accuracy_decimals: 2 id: ph3_puissance frequency: name: "Fréquence Ph3" unit_of_measurement: Hz accuracy_decimals: 2 power_factor: name: "Facteur de puissance Ph3" accuracy_decimals: 2 id: ph3_facteur_puissance energy: name: "Consommation Ph3" unit_of_measurement: Wh accuracy_decimals: 1 id: ph3_energy update_interval: 5s - platform: template name: "Energie cumulée Ph3" unit_of_measurement: "kWh" accuracy_decimals: 1 update_interval: 5s icon: mdi:power lambda: return (( (id(ph3_energy).state)/1000.0)); - platform: total_daily_energy name: "Consommation Ph3 du jour" power_id: ph3_puissance unit_of_measurement: "kWh" accuracy_decimals: 2 id: conso_du_jour_ph3 filters: # Multiplication factor from W to kW is 0.001 - multiply: 0.001 icon: mdi:counter - platform: template name: "Consommation Ph3 de la veille" id: template_Ph3_veille unit_of_measurement: "kwh" accuracy_decimals: 2 icon: mdi:power update_interval: 10s - platform: template name: "Puissance Apparente Ph3" id: ph3_puissance_apparente unit_of_measurement: "VA" accuracy_decimals: 2 update_interval: 10s icon: mdi:power lambda: return ( (id(ph3_puissance).state/id(ph3_facteur_puissance).state)); - platform: template name: "Puissance Réactive Ph3" id: ph3_puissance_reactive unit_of_measurement: "VAr" accuracy_decimals: 2 update_interval: 10s icon: mdi:power lambda: return ( ( sqrt( (id(ph3_puissance_reactive).state)*(id(ph3_puissance_reactive).state) - (id(ph3_facteur_puissance).state)*(id(ph3_facteur_puissance).state) ) ) ); - platform: template name: "Puissance Totale" id: puissance_totale unit_of_measurement: "W" accuracy_decimals: 2 update_interval: 10s icon: mdi:power lambda: return ( (id(ph1_puissance).state) + (id(ph2_puissance).state) + (id(ph3_puissance).state) ); - platform: total_daily_energy name: "Consommation du jour" power_id: puissance_totale unit_of_measurement: "kWh" accuracy_decimals: 2 id: conso_el_ecs_du_jour filters: # Multiplication factor from W to kW is 0.001 - multiply: 0.001 icon: mdi:counter - platform: template name: "Consommation de la veille" id: conso_el_ecs_veille unit_of_measurement: "kwh" accuracy_decimals: 2 icon: mdi:power update_interval: 10s ################################################################################## - platform: dallas address: 0x11012032D0EEAF28 name: "Température ECS" unit_of_measurement: "°C" accuracy_decimals: 2 ################################################################################## - platform: total_daily_energy name: "Conso ECS du jour" power_id: water_flow_meter unit_of_measurement: "l" accuracy_decimals: 2 id: conso_ecs_jour - platform: template name: "Conso ECS de la veille" id: conso_ecs_veille unit_of_measurement: "l" accuracy_decimals: 2 icon: mdi:water - platform: pulse_counter id: water_flow_meter pin: GPIO5 name: "water_flow_meter" update_interval: 1s icon: mdi:water filters: - lambda: return (x / 5.52); unit_of_measurement: "l" - platform: wifi_signal name: "Puissance Wifi Pzem" update_interval: 10s - platform: uptime name: "Up" id: uptime_sec internal: true update_interval: 5s switch: - platform: restart name: "Restart Pzem ECS" ################################################################################## binary_sensor: - platform: status name: "status Pzem ECS" # Text sensors with general information. text_sensor: # Expose ESPHome version as sensor. - platform: version name: "Version Pzem ECS" # Sensor to display uptime in Days/hours/minutes - platform: template name: "Uptime Pzem FCS" lambda: |- uint32_t dur = id(uptime_sec).state; int jrs = 0; int hrs = 0; int mnts = 0; if (dur > 86399) { jrs = trunc(dur / 86400); dur = dur - (jrs * 86400); } if (dur > 3599) { hrs = trunc(dur / 3600); dur = dur - (hrs * 3600); } if (dur > 59) { mnts = trunc(dur / 60); dur = dur - (mnts * 60); } char buffer[17]; sprintf(buffer, "%uj %02uh %02um %02us", jrs, hrs, mnts, dur); return {buffer}; icon: mdi:clock-start update_interval: 5s ``` **Logs (if applicable):**Additional information and things you've tried: