Git Product home page Git Product logo

Comments (2)

IceaTronic avatar IceaTronic commented on August 21, 2024

I've just used this collector with great success (here in 2020) so I can help here, a little bit

Assuming that you have the inverter connected to your home network, it is likely getting a DHCP IP address. To check this, you will need to log in to your router and look for LAN Clients, or DHCP leases or something along those lines. My command looks like this:

fronius-exporter -u http://10.0.10.11/solar_api/v1/GetPowerFlowRealtimeData.fcgi --bindAddr ":8080"

10.0.10.11 is the IP of my inverter.

As for testing with out an inverter locally I don't believe this will work, unless you can find an "example" inverter out on the net somewhere.

from node-fronius-solar.

mwittig avatar mwittig commented on August 21, 2024

@IceaTronic Thanks for replying to this issue which I should have covered earlier. As you pointed out out the common case is that inverter is connected to the home network and the inverter obtains a dynamic IP address from the home router. So, as you have suggested one way of obtaining the IP is to log into the router and check the information available, e.g., list of local network clients, DHCP leases, or Log Messages. Unfortunately, this may involve a bit guess work as some users reported their inverters do not advertise a sensible host name like "Fronius ..." which would be helpful to spot the right entry. Depending on the type of the router the name field may be empty, may contain the IP address too, or contains some other placeholder value. Two thoughts on this:

  • Check if the inverter, provides the IP address as part of the configuration settings which can be accessed via the inverter setup panel. For me it'd make sense for the vendor to provide this information
  • Check if the MAC addresses of the inverter are documented somewhere, e.g. as of the product documentation or printed on the product itself. As most routers show the MAC address along with IP address for client connected to the LAN this will help to spot the right entry

Regarding point 2) raised by @arodriguezju the answer is Yes. The test folder which contains server.js providing a mockup used for testing. Simply start node server.js which listens on port 8001. This way you can query data from localhost as outlined in the usage example.

from node-fronius-solar.

Related Issues (5)

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.