KinDR007 / VictronMPPT-ESPHOME

Victron Mppt charger ve.direct to esphome node
MIT License
301 stars 67 forks source link

Values only updating one time #179

Open RoP09 opened 1 month ago

RoP09 commented 1 month ago

I newly installed this component. But somehow it only sends data over MQTT a single time after the start of the esp32.

Any idea? ( Below is a log after some time running already, shows these too long ago warnings all the time)

INFO ESPHome 2024.9.0
INFO Reading configuration /config/esphome/victron2mqtt.yaml...
INFO Updating https://github.com/KinDR007/VictronMPPT-ESPHOME.git@main
INFO Starting log output from victron2mqtt.local using esphome API
INFO Successfully connected to victron2mqtt @ 192.168.178.79 in 0.418s
INFO Successful handshake with victron2mqtt @ 192.168.178.79 in 0.102s
[08:27:39][I][app:100]: ESPHome version 2024.9.0 compiled on Sep 19 2024, 08:21:51
[08:27:39][C][wifi:600]: WiFi:
[08:27:39][C][wifi:428]:   Local MAC: 08:D1:F9:EB:E7:70
[08:27:39][C][wifi:433]:   SSID: [redacted]
[08:27:39][C][wifi:436]:   IP Address: 192.168.178.79
[08:27:39][C][wifi:440]:   BSSID: [redacted]
[08:27:39][C][wifi:441]:   Hostname: 'victron2mqtt'
[08:27:39][C][wifi:443]:   Signal strength: -66 dB ▂▄▆█
[08:27:39][C][wifi:447]:   Channel: 1
[08:27:39][C][wifi:448]:   Subnet: 255.255.255.0
[08:27:39][C][wifi:449]:   Gateway: 192.168.178.1
[08:27:39][C][wifi:450]:   DNS1: 192.168.178.1
[08:27:39][C][wifi:451]:   DNS2: 0.0.0.0
[08:27:39][C][logger:185]: Logger:
[08:27:40][C][logger:186]:   Level: DEBUG
[08:27:40][C][logger:188]:   Log Baud Rate: 0
[08:27:40][C][logger:189]:   Hardware UART: UART0
[08:27:41][C][uart.arduino_esp32:151]: UART Bus 0:
[08:27:41][C][uart.arduino_esp32:152]:   TX Pin: GPIO1
[08:27:41][C][uart.arduino_esp32:153]:   RX Pin: GPIO3
[08:27:41][C][uart.arduino_esp32:155]:   RX Buffer Size: 256
[08:27:41][C][uart.arduino_esp32:157]:   Baud Rate: 19200 baud
[08:27:41][C][uart.arduino_esp32:158]:   Data Bits: 8
[08:27:41][C][uart.arduino_esp32:159]:   Parity: NONE
[08:27:41][C][uart.arduino_esp32:160]:   Stop bits: 1
[08:27:41][C][victron:032]: Victron:
[08:27:41][C][victron:033]:   Load state 'victron-mppt load state'
[08:27:41][C][victron:034]:   Relay state 'victron-mppt relay state'
[08:27:41][C][victron:035]:   Max Power Yesterday 'victron-mppt max power yesterday'
[08:27:41][C][victron:035]:     Device Class: 'power'
[08:27:41][C][victron:035]:     State Class: ''
[08:27:41][C][victron:035]:     Unit of Measurement: 'W'
[08:27:41][C][victron:035]:     Accuracy Decimals: 0
[08:27:41][W][victron:093]: Last transmission too long ago
[08:27:42][W][victron:093]: Last transmission too long ago
[08:27:42][W][victron:093]: Last transmission too long ago
[08:27:43][W][victron:093]: Last transmission too long ago
[08:27:44][W][victron:093]: Last transmission too long ago
[08:27:45][W][victron:093]: Last transmission too long ago
[08:27:46][W][victron:093]: Last transmission too long ago
[08:27:47][W][victron:093]: Last transmission too long ago
[08:27:48][W][victron:093]: Last transmission too long ago
[08:27:49][W][victron:093]: Last transmission too long ago
[08:27:50][W][victron:093]: Last transmission too long ago
[08:27:51][W][victron:093]: Last transmission too long ago
[08:27:52][W][victron:093]: Last transmission too long ago
[08:27:53][W][victron:093]: Last transmission too long ago
[08:27:54][W][victron:093]: Last transmission too long ago
[08:27:55][W][victron:093]: Last transmission too long ago
[08:27:56][W][victron:093]: Last transmission too long ago
[08:27:57][W][victron:093]: Last transmission too long ago
[08:27:58][W][victron:093]: Last transmission too long ago
[08:27:59][W][victron:093]: Last transmission too long ago
[08:28:00][W][victron:093]: Last transmission too long ago
[08:28:01][W][victron:093]: Last transmission too long ago
[08:28:02][W][victron:093]: Last transmission too long ago
[08:28:03][W][victron:093]: Last transmission too long ago
[08:28:04][W][victron:093]: Last transmission too long ago
[08:28:05][W][victron:093]: Last transmission too long ago
[08:28:06][W][victron:093]: Last transmission too long ago
[08:28:07][W][victron:093]: Last transmission too long ago
[08:28:08][W][victron:093]: Last transmission too long ago
[08:28:09][W][victron:093]: Last transmission too long ago
[08:28:10][W][victron:093]: Last transmission too long ago
[08:28:11][W][victron:093]: Last transmission too long ago
[08:28:11][W][victron:093]: Last transmission too long ago
[08:28:12][W][victron:093]: Last transmission too long ago
[08:28:13][W][victron:093]: Last transmission too long ago
[08:28:14][W][victron:093]: Last transmission too long ago
[08:28:15][W][victron:093]: Last transmission too long ago
[08:28:16][W][victron:093]: Last transmission too long ago
[08:28:17][W][victron:093]: Last transmission too long ago
[08:28:18][W][victron:093]: Last transmission too long ago
[08:28:19][W][victron:093]: Last transmission too long ago
[08:28:20][W][victron:093]: Last transmission too long ago
[08:28:21][W][victron:093]: Last transmission too long ago
syssi commented 5 days ago

Could you enable the debug mode of the uart component, increase the log level to DEBUG and provide another log?

https://github.com/KinDR007/VictronMPPT-ESPHOME/blob/main/debug-esp32-example.yaml#L33-L43