Waveshare 2.13'' (48x23mm) 250x122 pixels BlackWhite Cost is around 25$ I've found this one : www.berrybase.ch
To get the data, create a API account
Huawei Forum on how to
see other forums on how to
cd /home/admin
git clone https://github.com/waveshareteam/e-Paper
git clone https://github.com/k4nfr3/Fusionsolar_display
cd Fusionsolar_display
cp *.py /home/admin/e-Paper/RaspberryPi_JetsonNano/python/examples
cd /home/admin/e-Paper/RaspberryPi_JetsonNano/python/examples
git clone https://github.com/EnergieID/FusionSolar
- pandas
- PIL
- requests
- urllib3
- socket
change the details in file : pv_conf.ini
Fill-in user and password
cd fusionsolar
vi +88 client.py
change URL at line 88 : base_url: str = "https://intl.fusionsolar.huawei.com/thirdData"
run manually the script :
python PV.py
It should test the screen and connect with the Northbound API. It will show you the devices you have access.
Add the missing information in the config file :
- Add the Battery ID (for example : battery=100000000001561112)
- Add the Inverter ID (for example : inverter=10000000001551111)
- Add the StationCode (for example : station="NE-12345678")
python PV.py
cp /home/admin/FusionSolar_display/PV.service /usr/lib/systemd/system/PV.service
chmod 644 /usr/lib/systemd/system/PV.service
systemctl enable PV.service
crontab -e
add the following 2 lines
# m h dom mon dow command
59 3 * * * /usr/sbin/service PV stop
0 3 * * * /usr/sbin/service PV start
tail -f /var/log/PV.log
Add the following to /etc/ssh/sshd_config
IPQoS cs0 cs0
No security review has been done on this script.
Running this as admin isn't the best, and I didn't take time neither to harden neither to improve it much more.
The goal was to do a quick as possible script, and that it works.
Use it if you want or inspire yourself from it.
I accept pull requests. if you have time and energy to improve this little script.