Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synology NAS Setup Instructions #60

Closed
paytah232 opened this issue Jul 15, 2021 · 32 comments
Closed

Synology NAS Setup Instructions #60

paytah232 opened this issue Jul 15, 2021 · 32 comments

Comments

@paytah232
Copy link

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
Copy link
Owner

@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
Copy link
Author

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
Copy link

mvank commented Jul 22, 2021

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
Copy link
Author

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

@mvank
Copy link

mvank commented Jul 22, 2021

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

@paytah232
Copy link
Author

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
Copy link
Owner

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
Copy link
Author

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
Copy link
Owner

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:

  • MQTT (a message queuing system that can be used to send message to other applications like Domoticz, Openhab or Home Assistent).
  • InfluxDB (standard database that can be used to store data, that can be used by reporting software like Grafana),
  • PVOutput.org (website: https://pvoutput.org/ which will create reports for you)

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
Copy link
Author

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
Copy link
Owner

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

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

@paytah232
Copy link
Author

How do i get org, bucket and token though?

@johanmeijer
Copy link
Owner

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

@johanmeijer
Copy link
Owner

@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.

@johanmeijer johanmeijer reopened this Aug 8, 2021
@paytah232
Copy link
Author

paytah232 commented Aug 8, 2021 via email

@ZonPV
Copy link

ZonPV commented Aug 24, 2021

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

@ZonPV
Copy link

ZonPV commented Aug 24, 2021

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
Copy link
Owner

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
Copy link

ZonPV commented Aug 27, 2021

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
Copy link
Owner

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
Copy link

ZonPV commented Aug 27, 2021

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
Copy link
Author

@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 added a commit that referenced this issue Feb 6, 2022
2.7.1
- Add coding from Pull req #91 (csv export exentsion)
  Add a CSV export extension in the examples/extensions dir. Closes #76

  One CSV file per day is saved.

  extvar configuration:
  "outpath": path where to save CSV files, default: "/home/pi/grottlog"
  "csvheader": comma separated string with fields to store, defaults to all available fields
- Add parameter to enable message retain in MQTT (#84)
  - .ini [MQTT section] retain = True
  - environmental gmqttretain = "True" (docker: -e gmqttretain = "True") 
- Add parameter to enable sent inverter temperature as temperature value to pvoutput (not advised PVOutemp should be outside temperature) Issue #60
  - .ini [PVOutput section] pvtemp = True
  - environmental gpvtemp = "True" (docker: -e gpvtemp = "True")
- Add parameter to disable sending energytoday to pvoutput (disable V1 input). This should show better avarages. Issue: #51  
  - .ini [PVOutput section] pvdisv1 = True
  - environmental gpvdisv1 = "True" (docker: -e gpvdisv1 = "True")
@johanmeijer
Copy link
Owner

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

You can enable this by specifying:

  • .ini [PVOutput section] pvtemp = True
  • environmental gpvtemp = "True" (docker: -e gpvtemp = "True")

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
Copy link

ZonPV commented Feb 11, 2022

@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
Copy link
Owner

johanmeijer commented Feb 13, 2022

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

@ZonPV
Copy link

ZonPV commented Feb 13, 2022 via email

@ZonPV
Copy link

ZonPV commented Feb 14, 2022

@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
Copy link

mrairworthy commented Jun 12, 2022

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
Copy link
Owner

johanmeijer commented Jun 13, 2022

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
Copy link

ZonPV commented Jun 17, 2022

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
Copy link
Owner

Nice! Thanks for the feedback :)

@mrairworthy
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants