bohdan-s / SunGather

GNU General Public License v3.0
167 stars 69 forks source link

SH8.0RT-V112: Include registers to Level 2 #144

Closed pejobo closed 1 year ago

pejobo commented 1 year ago

Hi, I own an SH8.0RT and the api works fine, but the registers I'm interested in are only available on level 3:

$ ../bin/python3 sungather.py --runonce -v 40 2> /dev/null | grep  "total_active_power\|load_power_hybrid\|export_power_hybrid" 
| 5031    | total_active_power                  | 1159 W               |
| 13008   | load_power_hybrid                   | 144 W                |
| 13010   | export_power_hybrid                 | 1015 W               |

Is this possible to include theses on level 2?

If someone would give me a code pointer I could also try to create a PR for this.

pejobo commented 1 year ago

The problem is, that my model is not auto-detected - if I configure it in my config.yaml I get some errors but also the desired output..

dmindfuse commented 6 months ago

@pejobo , has your issue been resolved? I can't get it to work with SH8.0RT either. And because I can't access the console in Portainer -issues with docker and ubuntu LTS- I'm unable to try the API.

I actually found out today in the isolarcloud web that the model is an SH8.0RT-V112... oddly enough.

pejobo commented 6 months ago

@dmindfuse as far as I remember I did just what I described above: manually configured my model in the config file. For this no console access inside a docker container should be necessary. See #145

dmindfuse commented 6 months ago

Hi @pejobo , yep, as you said. Forcing it worked. My sungrow reports SH8.0-V112, which isn’t listed as such. But it works almost perfectly trimming it SH8.0. My only remaining issue was to figure out why on mod is connection the charging/discharging was always negative. But I gave up on it, sadly, just using HTTP in the config now and that works fine.