syssi / esphome-soyosource-gtn-virtual-meter

ESPHome component to simulate the current clamp to control the Soyosource GTN1200 limiter
Apache License 2.0
78 stars 21 forks source link

Request device status periodically #5

Closed syssi closed 2 years ago

syssi commented 2 years ago

https://secondlifestorage.com/index.php?threads/limiter-inverter-with-rs485-load-setting.7631/page-6

-> 24 00 00 00 00 00 00 00
syssi commented 2 years ago
[17:37:03][VV][scheduler:151]: Running interval 'update' with interval=5000 last_execution=63375 (now=68375)
[17:37:03][VV][uart_esp32:114]:     Wrote 0b00100100 (0x24)
[17:37:03][VV][uart_esp32:114]:     Wrote 0b00000000 (0x00)
[17:37:03][VV][uart_esp32:114]:     Wrote 0b00000000 (0x00)
[17:37:03][VV][uart_esp32:114]:     Wrote 0b00000000 (0x00)
[17:37:03][VV][uart_esp32:114]:     Wrote 0b00000000 (0x00)
[17:37:03][VV][uart_esp32:114]:     Wrote 0b00000000 (0x00)
[17:37:03][VV][uart_esp32:114]:     Wrote 0b00000000 (0x00)
[17:37:03][VV][uart_esp32:114]:     Wrote 0b00000000 (0x00)
[17:37:03][VV][uart_esp32:160]:     Flushing...
[17:37:03][VV][uart_esp32:125]:     Read 0b00100011 (0x23)
[17:37:03][VV][uart_esp32:125]:     Read 0b00000001 (0x01)
[17:37:03][VV][uart_esp32:125]:     Read 0b00000001 (0x01)
[17:37:03][VV][uart_esp32:125]:     Read 0b00000000 (0x00)
[17:37:03][VV][uart_esp32:125]:     Read 0b00000000 (0x00)
[17:37:03][VV][uart_esp32:125]:     Read 0b00000010 (0x02)
[17:37:03][VV][uart_esp32:125]:     Read 0b00111110 (0x3E)
[17:37:03][VV][uart_esp32:125]:     Read 0b00000000 (0x00)
[17:37:03][VV][uart_esp32:125]:     Read 0b00010111 (0x17)
[17:37:03][VV][uart_esp32:125]:     Read 0b00000000 (0x00)
[17:37:03][VV][uart_esp32:125]:     Read 0b11101111 (0xEF)
[17:37:03][VV][uart_esp32:125]:     Read 0b01100100 (0x64)
[17:37:03][VV][uart_esp32:125]:     Read 0b00000010 (0x02)
[17:37:03][VV][uart_esp32:125]:     Read 0b10011110 (0x9E)
[17:37:03][VV][uart_esp32:125]:     Read 0b10110101 (0xB5)