johanmeijer / grott

Growatt inverter monitor
https://github.com/johanmeijer/grott/wiki
390 stars 109 forks source link

Synology NAS Setup Instructions #60

Closed paytah232 closed 1 year ago

paytah232 commented 3 years ago

Hi. I'm finding it hard to follow any instructions here really. Is anyone able to give details step by step instructions, perhaps with screenshots that I could follow along with? Thanks!

johanmeijer commented 3 years ago

@Paytah232 did you looked at the wiki (https://github.com/johanmeijer/grott/wiki) ?

I do not have created specific instructions for NAS ( I do not have one) but you can find a generic instruction and also information about how to set up a docker instance (that is I think what you need for a NAS).

There are people using Grott in combination with a NAS maybe they can help.

paytah232 commented 3 years ago

Would you be able to tag someone who might be able to help here? Like I said, I'm not sure confident trying by myself, but if we can document gettingit to work on my system hopefully it will help someone else one day!

mvank commented 3 years ago

If your Synology also support docker, you can use the docker container instead. Have you though about that? I am using Grott as docker container, which is working fine for me!

paytah232 commented 3 years ago

@mvank Where are the instructions to set up a docker container?

mvank commented 3 years ago

@Paytah232 How much do you need to know? Have you every worked with docker containers? Have you already installed docker on you synology?

paytah232 commented 3 years ago

I have docker installed and running on Synology. I can follow code and ssh into it if necessary, but ideally all setup done through the docker environment would be better. I just don't know what to run with what command and when to run it.

johanmeijer commented 3 years ago

How to start Grott with docker is describe here: https://github.com/johanmeijer/grott/wiki/Docker-support

But I might also a good idea to look for some dockers basics. Maybe this something: https://www.baitando.com/it/2019/09/22/using-docker-on-synology-nas

paytah232 commented 3 years ago

Okay so I took a look. I can set up using an external grott.ini file, however, what format does my .ini information have to be. Also, what should I be using; what is the difference between MQTT and PVOuput.org. For MQTT, there is an IP address, what IP address of mine would that be? The wireless monitor or somehow the inverter itself? For PVOuput.org, there is a gpvapikey and systemid; where do I get those from. Screenshot for easy reference: image

johanmeijer commented 3 years ago

Grott is an interface between the Growatt inverter and the system/application you want to use to monitor the performance of your solar panels.

It can write information to:

You have to choose one (or more) and can configure Grott for the use of it.

In the wiki (https://github.com/johanmeijer/grott/wiki) almost everything is documented so please use the wiki for more information how to configure.

The key/systemid can retrieve at the pvoutput.org website.

paytah232 commented 3 years ago

Okay so I think I would like to use InfluxDB so I can send it to a grafana docker. I have an influxDB/grafana docker setup following this video: https://www.youtube.com/watch?v=YtGSOLOg-LA

How do I link the grott docker to this influx db docker?

johanmeijer commented 3 years ago

How you can configure Grott for use with influxdb is described in the wiki:

https://github.com/johanmeijer/grott/wiki/InfluxDB-Support

paytah232 commented 3 years ago

How do i get org, bucket and token though?

johanmeijer commented 3 years ago

Via influxdb configuration eg: https://docs.influxdata.com/influxdb/v2.0/organizations/

johanmeijer commented 3 years ago

@Paytah232 I have to reinstall my influxdb environment (system crash after power outage) so if you still need it I can document some things.

Please let me know. We can then open a new issue for this.

paytah232 commented 3 years ago

Hi Johan,

Yes please if you could make some instructions I could follow that would be greatly appreciate.

Cheers, Peter


From: Johan Meijer @.> Sent: Monday, August 9, 2021 1:05:15 AM To: johanmeijer/grott @.> Cc: Paytah232 @.>; Mention @.> Subject: Re: [johanmeijer/grott] Synology NAS Setup Instructions (#60)

Reopened #60https://github.com/johanmeijer/grott/issues/60.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/johanmeijer/grott/issues/60#event-5126749916, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKQIURFFRA57CO2WVZAF4HDT32MKXANCNFSM5ANRHAKA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email.

ZonPV commented 3 years ago

This is how I configured the container for Grott on my Synology.Ledidobe-grott
photo free image

ZonPV commented 3 years ago

I succeeded in uploading some values to PVoutput.org. Only value that is not configured in the container is exporting the temperature, V5. Didn't figure out how to do that. Tried to add some variabelen like gextension and gextvar in the environment., see picture in the post above. No luck. Any suggestions?

johanmeijer commented 3 years ago

I think the temperature PVoutput.org is expecting is the outside temperature , so you can see how the efficiency of your panels is depending on the weather.

Grott Growatt inverter) does not have these temperature values (It only has inside inverter temp information). I use my outside thermometer values and send those via nodered to PVoutput.org.

ZonPV commented 3 years ago

I think the temperature PVoutput.org is expecting is the outside temperature , so you can see how the efficiency of your panels is depending on the weather.

Grott Growatt inverter) does not have these temperature values (It only has inside inverter temp information). I use my outside thermometer values and send those via nodered to PVoutput.org.

I don't understand your answer. You start with: I think the temperature PVoutput.org is expecting is the outside temperature , Never had the idea that PVoutput makes a selection by brand of the inverter and than disables/enables certain values. I have several other PV-output-accounts for my other two inverters (SMA and Omnik). These inverters and apps send the internal temperature to PVoutput and the result is shown in the graph.

My third inverter, the Growatt, sends even two temperatures to InfluxDB and through MQTT to Domoticz but both are not shown in PVoutput.org. Export-naar-Influx-DB

I will have a look for your suggestion to use Node-RED but that with the internal temperature. The relation with outside temperature, cold wind, clear sky and efficiency is clear to me.

I was wondering why this ommission and how to configure Grott for sending the internal temperature to PVoutput.org. Hoped you helped me out..

johanmeijer commented 3 years ago

Hmm oké. I assumed that v5 is ment for the outside temperature (and still think it is reading the posts and describtion about it). I would not call it an omissission but a conscious choice.

That is why I did not program Grott to sent it via Grott to pvoutput and use the nodered path for this.

You know that Grott is a hobby project and just my way to interpret the growatt inverter information and interface to other applicaties using mqtt or direct to influxdb and pvoutput?

I can make an option in the next grott version to send pvtemperature to pvoutput if you want.

ZonPV commented 3 years ago

H Johan, I know you spend probably a lot of time at this project. Sorry if I offended you. That was not my intention. Deep respect for your knowledge and spreading it. Thank you for that.

I saw a difference in the graphs of my other inverters. The app called SBFspot is talking to my SMA and the app of Wouterrrr does a request to my Omnik. A few weeks ago I bought a Growatt... So I am very glad I found your application with so many options!

It is of course your choice to write a program for your needs. Thanks for your offer to try to build an option to send the pvipmtemperature of the inverter in a next grott version. That would be nice. I can make a new issue for that if you like. But it is more a feature request. :-)

I send you a link https://pvoutput.org/help/extended_data.html?highlight=temperature with a list of different values. If I can help you, for instance how to configure your image for docker in Synology, just let me know.

Best regards,

paytah232 commented 3 years ago

@johanmeijer I appreciate the effort, but my problem was I didn't really understand doing these steps from start to finish. You've shown the finished product, what would be best for this questions is something like this: Step 1: - Instruction - Link/Image Step 2: as above, etc etc etc etc. The problem is I cannot bridge certain gaps as I don't know what to do, so a literal step by step instruction guide would be helpful, rather than the final settings.

johanmeijer commented 2 years ago

@ZonPV I made it possible to sent inverter temperature as temp value (V5) to pvoutput.

You can enable this by specifying:

Docker 2.7.1 build is not available yet. I will build it soon (after testing the regular version for a couple of days).

ZonPV commented 2 years ago

@johanmeijer Thank you Johan! As soon as the new Docker version is available I will install it and let you know. Still very glad with todays version!

johanmeijer commented 2 years ago

@ZonPV I have published the ledidobe/grott:beta (2.7.1) image!

ZonPV commented 2 years ago

Thank you Johan.

I will upgrade tomorrow and let you know!

Van: Johan Meijer @.> Verzonden: zondag 13 februari 2022 16:40 Aan: johanmeijer/grott @.> CC: Pieter @.>; Mention @.> Onderwerp: Re: [johanmeijer/grott] Synology NAS Setup Instructions (#60)

@ZonPV https://github.com/ZonPV I have published the ledidobe/grott:beta (2.7.1) iamage!

— Reply to this email directly, view it on GitHub https://github.com/johanmeijer/grott/issues/60#issuecomment-1038201445 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXU4OZOOYO2V3DTGVXB2Q3U27GD3ANCNFSM5ANRHAKA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . You are receiving this because you were mentioned. https://github.com/notifications/beacon/ACXU4O2F72AEQKZ3FQ2VUVLU27GD3A5CNFSM5ANRHAKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHXQ3EZI.gif Message ID: @. @.> >

ZonPV commented 2 years ago

@johanmeijer Just upgraded to latest version 2.7.1 and I can confirm that PVoutput has written the temperature of the inverter.

Thanks a lot for all your good work and communication!

mrairworthy commented 2 years ago

Hi!

Looks like I'm just as bad in combining docker + grott + Synology Diskstation + pvoutput.org as Paytah232. :) My setup: I have docker running on my Diskstation 1512+ (using it for openhab). Then I downloaded ledidobe/grott:latest to host the grott. My Growatt MIC 1000 TX-L is connected to my WIFI with the ShineWIFI-X stick. Last but not least I created an account on pvoutput.org and added my PV. Docker settings:

Bildschirmfoto 2022-06-12 um 23 50 38 Bildschirmfoto 2022-06-12 um 23 51 20 Bildschirmfoto 2022-06-12 um 23 51 48

Furthermore I set the WIFI-X IP to 192.168.1.100 (Synology NAS running docker/grott) Do I miss anything? PVoutput has not recorded any data so far.

Thanks a lot for your great work!

johanmeijer commented 2 years ago

I have no experience with a synology (can not have everything although I would like it).

Can you look in the docker log and see any Grott message's? That would make debugging a lot easier.

To be honest I am not sure we have already tested with a TL-X. If I look at the documentation it looks for the solar energy generating part to most at TL3-X. You can try that by specifing ginvtype=tl3. But we miss additional information if you also have a battery connected.

I need some information from you to create a layout record specific for the TL-X (from the grott log).

Remark: I see that a MIN3000TL-XE works ok, so maybe your's should work fine with the default setting as well (so no ginvtype). But then we have an other challenge!

ZonPV commented 2 years ago

I can confirm that my Growatt MIC 2000TL-X with ShineWifi-X are doiing very well in a docker container on my Synology. It runs on Grott version 2.7.1. @johanmeijer : You can add the model 2000TL-X with ShineWifi-X to the list of compatible models

johanmeijer commented 2 years ago

Nice! Thanks for the feedback :)

mrairworthy commented 2 years ago

Can you share your settings? I know u did before but unfortunately they don’t work for me. (I tried to copy all your environment settings)