Open Vunaflow opened 1 week ago
Can you flash the debug and post the log?
debug-esp8266-example.yaml
That would show what your device is sending via data connection
It's much easier to do it twice. Once per connected device.
logs_esphome-web-6d688a_logs.txt Here is the log. It looks like the AC_OUT_I is being communicated as zero, so this is interpreted correctly by the ESP.
You've only uploaded the log from your inverter.
Use the code after the <<< "
to look up what details you can get via VE.direct
From your log:
[09:03:26][D][uart_debug:158]: <<< "PID\t0xA251\r\n"
[09:03:26][D][uart_debug:158]: <<< "FW\t0136\r\n"
[09:03:26][D][uart_debug:158]: <<< "SER#\tHQ2326P4A6Z\r\n"
[09:03:26][D][uart_debug:158]: <<< "MODE\t2\r\n"
[09:03:26][D][uart_debug:158]: <<< "CS\t9\r\n"
[09:03:26][D][uart_debug:158]: <<< "AC_OUT_V\t23001\r\n"
[09:03:26][D][uart_debug:158]: <<< "AC_OUT_I\t0\r\n"
[09:03:26][D][uart_debug:158]: <<< "AC_OUT_S\t0\r\n"
[09:03:26][D][uart_debug:158]: <<< "V\t12231\r\n"
[09:03:26][D][uart_debug:158]: <<< "AR\t0\r\n"
[09:03:26][D][uart_debug:158]: <<< "WARN\t0\r\n"
[09:03:26][D][uart_debug:158]: <<< "OR\t0x00000000\r\n"
Use this chart from the readme: https://github.com/KinDR007/VictronMPPT-ESPHOME?tab=readme-ov-file#entities
You have the following sensors available:
device_type
firmware_version
serial_number
device_mode
charging_mode
alarm_reason
warning
off_reason
ac_out_voltage
ac_out_current
ac_out_apparent_power
Can you try to do the same thing with your MPPT?
Thanks for the prompt ! I was able to solve all the issues for both the MPPT and inverter by rewriting the YAML starting from the examples. The one issues that is remaining is the output current/load. Interestingly, the output current/load is correctly picked up when I set the automatic transfer switch the inverter is connected to to the solar set up manually. But if the transfer switch is in automatic mode, it cannot pick up the output current/load from the inverter at all, even if the grid is down and the inverter is working. The Victron dongle however is showing the output load correctly. I have no idea how the presence of the transfer switch is affecting the serial output of the inverter...
Is the serial output different in these cases?
Hello, I am trying to set up an ESP8266 to monitor my Victron inverter and MPPT. Thanks for this component, this is going to be very helpful ! Right now, I can only see the battery voltage, product information and working mode for the inverter (similar challenges with the MPPT device). The Victron dongle works fine. How can I get the ESP8266 to correctly pick up information about the current/load and other parameters?
See screenshot and relevant yaml code
Yaml: