Hi
I've flashed your project succesfully to my ESP8266 and came to the point, where I can see the the Pylontech MQTT topics via HA auto-discovery under Sensors. In my case, the sensors become available for some time and then vanish again, this cycle repeats maybe in 30s intervals. Values always remain "unavailble" no matter if the sensors are active or not.
I've checked in the MQTT Browser and there is just a single topic: pylontech/sensor/grid_battery/availability (online/offline), nothing else.
Serial console of the Arduino IDE tells me, that the ESP is sending "pwr" in regular cylces followed by a line where characters won't be decrypted, not sure what's behind that line.
As to the physical connections: currently I'm running 2 Pylontechs US2000C (old and new chip version with each lastest, but different FW), CAN bus is used to communicate with "OpenTDUonBattery" and link ports to link both of them.
Aim is to have serial data like SoC from each battery, cause OpenDTUonBattery does only reflect a single SoC value from master battery.
I've already checked the connections of the RJ45 serial cable and also swapped Rx/Tx lines on the RS232/TTL converter board, but w/o success.
RS232 board is powered separatley via 5V USB cable.
Any idea how to debug the problem any further, cause I'm running out of ideas ?
Thanks in advance.
Hi
I've flashed your project succesfully to my ESP8266 and came to the point, where I can see the the Pylontech MQTT topics via HA auto-discovery under Sensors. In my case, the sensors become available for some time and then vanish again, this cycle repeats maybe in 30s intervals. Values always remain "unavailble" no matter if the sensors are active or not.
I've checked in the MQTT Browser and there is just a single topic: pylontech/sensor/grid_battery/availability (online/offline), nothing else.
Serial console of the Arduino IDE tells me, that the ESP is sending "pwr" in regular cylces followed by a line where characters won't be decrypted, not sure what's behind that line.
As to the physical connections: currently I'm running 2 Pylontechs US2000C (old and new chip version with each lastest, but different FW), CAN bus is used to communicate with "OpenTDUonBattery" and link ports to link both of them.
Aim is to have serial data like SoC from each battery, cause OpenDTUonBattery does only reflect a single SoC value from master battery.
I've already checked the connections of the RJ45 serial cable and also swapped Rx/Tx lines on the RS232/TTL converter board, but w/o success.
RS232 board is powered separatley via 5V USB cable.
Any idea how to debug the problem any further, cause I'm running out of ideas ?
Thanks in advance.