patience4711 / RPI-APS-inverters

a software for a raspberry pi zero to read the production of aps inverters yc600 and qs1
47 stars 4 forks source link

APSystems inverters monitoring

housing

A software for a Raspberry pi Zero and other Raspberry models to read the production of APS inverters yc600, qs1 and ds3. I should mention that the basics (the zigbee communication) has been reverse engineered by others who shared their results here: https://github.com/Koenkk/zigbee2mqtt/issues/4221
A very important detail is the software running on the zigbee module, developped by @kadzsol.

For information on building and use please see the WIKI

See it in action on YouTube

IMPORTANT TO KNOW

People keep asking for the ssh login, this is 'ecuuser' and 'ecuuser' as from v4_0. Please be aware that this is known to the whole world now. So never put the ssh port open 'to the world' or even better, change this.

The software can be updated by installing an upgrade tar file. Please see the wiki.

From outside your network you won't see the menu link. Maintenance can only be done from inside your own network.

The influx database system has the very annoying feature that it starts very slow, sometimes as much as 15 minutes after system boot. This means that you shouldn't backup or restore databases during this period! The values displayed on the webpage are the values reported by the inverter. In case of an inverter reset, these values start at zero so they seem to be incorrect. In the database / charts however, the values will be correct so there is no need for actions by the user. In case of a raspberry reboot there are initially no values written to the database, because it starts very slowly. This means that the chart of the power won't be correct. The energy value in the database will be correct the next day.

PURPOSE

This project is intended for reading APS Systems inverters. The program can pair and poll YC600, QS1 and DS3 inverters, up to 9 pieces. The read values are:

DOWNLOAD SD-CARD IMAGE

2024-09-03 A new sd-card image version RPI-ECU-v4_2 is available (see changelog). RPIECU-v4_2
This has to be installed by burning the disk image to an sdcard. Before you start please read the instructions in the wiki or readme. If you want to backup and restore your settings and databases, be sure you currently have version RPI-ECU-v2_3 or above. And schedule some time after midnight to perform the migration. Please follow the steps in installation via the sd-card image , in particular it is important that you expand the filesystem first and than wait for influxdb is running, before restoring your backup!!.

DOWNLOAD SOFTWARE UPDATES

2024-09-02: ecu_swupdate-v4_2c is available (see changelog). IMPORTANT Install this only when you are running version 4_0 or higher (please read instructions here .
If you experience malformed webpages, please clear your browser cache (delete web history saved pictures and files)

2023-01-12: ecu_swupdate-v3_10.tar is available (see changelog). IMPORTANT Install this only when you are running version 3_1 or higher (please see the expanation to version 3_1 below).
If you experience malformed webpages, please clear your browser cache (delete web history saved pictures and files)



In case someone wants to print the housing: https://1drv.ms/u/s!AkMG5FvUwhediwaPqGYXa7vMkXp8?e=kzkdHQ

Some webpages:
Examples

FEATURES:

(RE) INSTALLATION INSTRUCTIONS (see also the WIKI for further instructions)

installation via the sd-card image
step 1
Download the package, unzip and burn the image on an sd card. If you are new user of this software please continue with stap 3.
step 2
You already are using this software then you can make a backup of your system and databases first. You should do this after midnight. The backup is primarily intended for system migrations and have to be restored the same day as it was made. If you restore it on a later date you will miss data. So complete the next steps before sunrise in order to get a smooth migration.
step 3
Visit the WIKI for further instructions

INSTALL ON AN EXISTING RPI SYSTEM

You need to have the imagefile mounted or working so that you can copy the relevant files. Please follow the instructions here provided by a user who installed it this way.

HARDWARE

What you need for this project is:

estimates costs some 25 Euro. The zigbeemodule should be flashed with a firmware that can be found in the downloaded zip. Fore more info look here.

WIRING ZIGBEE MODULES

you need 5 dupont cables.

cc2530/31 (see wiki)
p02 -> gpio14 ( pin 8 )
p03 -> gpio15 ( pin 10 )
rst -> gpio18 ( pin 12 )
vcc -> 3.3V
gnd -> g

hardware:
rpi_minhw pwrsup

stats

TROUBLE SHOOTING

You forgot your admin password. If you type http://your_ecu_ip/recovery/recover.php you will enter a secret page where you can drop your wifi credentials. At reboot the accesspoint RadioAP is started.

CHANGELOG

version RPI-ECU-v4_2 sept 2 2024

version RPI-ECU-v4_1 aug 6 2024

version RPI-ECU-v3_10 jan 9 2024 upgrade archive:

version RPI-ECU-v3_9 dec 22 2023 upgrade archive:

version RPI-ECU-v3_8 9 oct 2023 upgrade archive:

version RPI-ECU-v3_7 14 feb 2023 upgrade archive:

version RPI-ECU-v3_6 03 oct 2022 upgrade archive:

version RPI-ECU-v3_5 13 aug 2022 upgrade archive:

version RPI-ECU-v3_4 10 aug 2022 upgrade archive:

version RPI-ECU-v3_3 27 july 2022 sdcard image and upgrade archive:

version RPI-ECU-v3_1 12 july 2022 upgrade archive:

version RPI-ECU-v3_0 30 june 2022 upgrade archive or sd image

version RPI-ECU-v2_9 23 june 2022 upgrade archive

version RPI-ECU-v2_8 13 june 2022 upgrade archive

version RPI-ECU-v2_7 08 june 2022 upgrade archive

version RPI-ECU-v2_6 30 may 2022 upgrade archive

version RPI-ECU-v2_5 27 may 2022 upgrade archive

version RPI-ECU-v2_4 19 april 2022 new sd image

version RPI-ECU-v2_3 22 march 20222 upgrade archive.

version RPI-ECU-v2_2 22 march 20222 upgrade archive.

version RPI-ECU-v2_1 25 feb 20222 upgrade archive.

version RPI-ECU-v2_0 15 feb 20222 Only installable as sd-image.