squarefoot
New Member
Hi everyone, I just signed up to the forum; not sure about where to post my question, so here it is:
After moving to a new house and paying a few absurdly high heating bills this winter, I rushed to do what I already had planned to do in a few months and had a complete solar system installed, with a Deye SUN-6K-SG05LP1-EU inverter plus 3xUS5000 Pylontech batteries. I'm not 100% sure about the exact inverter model because all papers are upstairs, but it's a single phase model for EU market. Now the problem: I don't want to share my solar data with external servers, or have apps or other software messing with my home network, so I didn't connect the provided small RS232->WiFi data logger but instead set up a small SBC (Orange Pi Zero) with Armbian Linux and the necessary software to ssh into it and open a terminal to /dev/ttyUSB0 where I have a USB to RS232 cable connected to the same port the data logger would be connected to. My problem is that I can't get anything out of that port, not a single char, just like the cable was disconnected on the RS232 side, which is not the case. As the inverter manual says nothing about that, do I have to enable the port somewhere to read data about the inverter and batteries status?
My goal is for starters to be able to read raw data, then write some code to transform that data in a network packet that i can transmit on my home network and have it shown somewhere. I don't plan to modify any of the inverter settings, therefore it will be a read only and safe operation. I saw there is a lot of stuff around to do the same, although being that old, I feel much more comfortable writing some code to open sockets and sendto() data rather than using Home Assistant or similar (powerful, yet so complicated) software.
But now my problem is that I can't get anything out of the serial port, so I wonder if it has to be enabled somewhere; the manual doesn't seem to cover that.
Any help much appreciated, thanks!
edit: Confirmed, my inverter model is the Deye SUN-6K-SG05LP1-EU.
After moving to a new house and paying a few absurdly high heating bills this winter, I rushed to do what I already had planned to do in a few months and had a complete solar system installed, with a Deye SUN-6K-SG05LP1-EU inverter plus 3xUS5000 Pylontech batteries. I'm not 100% sure about the exact inverter model because all papers are upstairs, but it's a single phase model for EU market. Now the problem: I don't want to share my solar data with external servers, or have apps or other software messing with my home network, so I didn't connect the provided small RS232->WiFi data logger but instead set up a small SBC (Orange Pi Zero) with Armbian Linux and the necessary software to ssh into it and open a terminal to /dev/ttyUSB0 where I have a USB to RS232 cable connected to the same port the data logger would be connected to. My problem is that I can't get anything out of that port, not a single char, just like the cable was disconnected on the RS232 side, which is not the case. As the inverter manual says nothing about that, do I have to enable the port somewhere to read data about the inverter and batteries status?
My goal is for starters to be able to read raw data, then write some code to transform that data in a network packet that i can transmit on my home network and have it shown somewhere. I don't plan to modify any of the inverter settings, therefore it will be a read only and safe operation. I saw there is a lot of stuff around to do the same, although being that old, I feel much more comfortable writing some code to open sockets and sendto() data rather than using Home Assistant or similar (powerful, yet so complicated) software.
But now my problem is that I can't get anything out of the serial port, so I wonder if it has to be enabled somewhere; the manual doesn't seem to cover that.
Any help much appreciated, thanks!
edit: Confirmed, my inverter model is the Deye SUN-6K-SG05LP1-EU.
Last edited: