Giter VIP home page Giter VIP logo

Comments (13)

johanmeijer avatar johanmeijer commented on July 30, 2024

At first sight It doesnot look wrong to me. Did you rerouted the data from the inverter?

Did you saw the first time installation description in the wiki?

https://github.com/johanmeijer/grott/wiki/@-First-time-installation

from grott.

jeroenvanrensen avatar jeroenvanrensen commented on July 30, 2024

@johanmeijer Yes I saw that article and it really helped.

You say it looks good, but where can I find the data?

Thank you! Jeroen

from grott.

johanmeijer avatar johanmeijer commented on July 30, 2024

Hi Jeroen. The data can be written to 3 places:

  • MQTT (to be processed with nodered, or passed to home automation tooling like domoticz, openhab or home assistent)
  • PVOutput.org
  • Influxdb (from version 2.3.x) (to save and process the data by e.g. grafana)

You have to do something additional to use the data,

from grott.

jeroenvanrensen avatar jeroenvanrensen commented on July 30, 2024

@johanmeijer Ok thanks for your answer. I would like to send an HTTP request with the data. Is that in some way possible?

from grott.

johanmeijer avatar johanmeijer commented on July 30, 2024

Not yet directly. It is always possible via MQTT and nodered (ar an other program that can read message from the MQTT queue and translate it to a http/request, like telegraf) but then you have to learn (and install) other things.

Where do you want to sent your data. Do you have an example of the http request (put/get).

I sent a json string to mqtt and influxdb. It should not be very difficult to send a http request with the json string. The complexity is always in the security and that kind of things. I should be a very generic request that can be used for different use cases otherwise it will be hard to support.

from grott.

jeroenvanrensen avatar jeroenvanrensen commented on July 30, 2024

@johanmeijer I have set up this endpoint:

192.168.178.192:83/grott

It is a post endpoint.

How can I send the data to that endpoint?

Thank you! Jeroen

from grott.

johanmeijer avatar johanmeijer commented on July 30, 2024

@jeroenvanrensen as described above at this moment it is not an option to write directly to an http end point.

I will open an issue for adding HTTP request support to Grott.

At this moment I think of an add on that any one can add their own code for additional processing (an exit point in grott). We can then create an example with a http request.

from grott.

jeroenvanrensen avatar jeroenvanrensen commented on July 30, 2024

@johanmeijer Yeah that sounds smart. Thanks for your help, I will have a look at the three options you mentioned. Thank you very much!

from grott.

jeroenvanrensen avatar jeroenvanrensen commented on July 30, 2024

@johanmeijer I have one last question: Do I have to configure something in the [Generic] and [Growatt] sections of grott.ini, and if yes, what? Thank you!

from grott.

johanmeijer avatar johanmeijer commented on July 30, 2024

@jeroenvanrensen I tried to describe the configuration of grott in:

https://github.com/johanmeijer/grott/wiki/Grott-Configuration

If you want to use grott only for mqtt and mqtt is running at the same machine then you donot have to specify anything in grott.ini.

from grott.

johanmeijer avatar johanmeijer commented on July 30, 2024

@jeroenvanrensen I created a new version: 2.4.0 that support extensions.

With this you can add your own data processing to Grott. I created an example extension that writes(Http put) the Grott data to a http server.

You can find 2.4.0 in the 2.4 branche.

Short how to use: (I will document it in the wiki soon).

Copy grottext.py from the example directory into the Grott main directory (change the coding if you want).

Add in the grott ini:

[extension]
extension = True
extname = grottext
extvar = {"ip": "<your server url>", "port": "<your server port>"}

Please let me know if this is where you looking for.

Be aware: It is under development and might not work as expected.

from grott.

johanmeijer avatar johanmeijer commented on July 30, 2024

@jeroenvanrensen is this where you were looking for?

from grott.

johanmeijer avatar johanmeijer commented on July 30, 2024

Extension is available and works and can be used for sending data to a server.

See: https://github.com/johanmeijer/grott/wiki/Extensions

This issue will be closed.

from grott.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.