Page 2 of 2

Re: Toon app: mySolar (FP4ALL)

PostPosted: Sun Mar 10, 2019 6:42 pm
by Marek320
It is Solar Edge, and i'm totally unknown in this area.

How can I get the information about it and where should I search?

Re: Toon app: mySolar (FP4ALL)

PostPosted: Sun Mar 10, 2019 7:08 pm
by Marek320

Re: Toon app: mySolar (FP4ALL)

PostPosted: Mon Mar 11, 2019 4:50 pm
by SDeath
Hi Marek,

I've seen the same document indeed.
There are some limitations though:
Daily Limitation
Use of the monitoring server API is subject to a query limit of 300 requests for a specific account token and a parallel query limit
of 300 requests for each specific site ID from the same source IP.

Which means it isn't going to be realtime data, like I can do on my FP4All logger, which I can fetch every second for realtime data.
It will be every 5 minutes or something like that.
Will that be of any use?

Re: Toon app: mySolar (FP4ALL)

PostPosted: Mon Mar 11, 2019 4:58 pm
by TheHogNL
The Solaredge inverter doesn't push the data any time faster to the servers also, so 5 min. is probably enough. And gathering data while the sun is set isn't necessary also by the way :-)

But I'm wondering why you want this? ZonopToon can show this information (you only need to install a extra kWh meter, but that is not that expensive).

Re: Toon app: mySolar (FP4ALL)

PostPosted: Mon Mar 11, 2019 5:08 pm
by SDeath
So a direct pull from the inverter like I can do with the FP4All logger would more functional, hence the question if it would be usefull for him, and sure you can stop doing that during the night but still it would be delayed data for a few minutes. So live power readings would be useless.
Unless for total power for the day.

The kWh meter for my 3 fase installation would cost €199, not very cheap, according to the ZonopToon website.
And my dual cabinet breaker box is already full, so I have nowhere to put it in my situation.

Re: Toon app: mySolar (FP4ALL)

PostPosted: Mon Mar 11, 2019 5:30 pm
by TheHogNL
Realtime data from a solaredge inverter is available if you connect to modbus but that is another thing.


For zonoptoon you could use https://www.kwhmeter.nl/Webwinkel-Produ ... keurd.html also.
Probably you can feed your fp4logger data directy to the toon to skip this installation of the kWh meter. But for that you will need to simulate the pulses in to meteradapter. I am doing exactly that (from my own solar installation) in this python script. The raspberry pi GPIO 18 connects to my meteradapter. Result is a perfect running zonoptoon, near realtime data.

Code: Select all
import RPi.GPIO as GPIO
import requests
import time
import urllib


GPIO.setmode(GPIO.BCM)
GPIO.setup(18, GPIO.OUT)

# how long in seconds should the pulse set to HIGH to be detected by the connect equipment
ledPulseWidth = 0.01
# after how many seconds new realtime Watts should be collected from the solar installation
collectWattsInterval = 5
# Start watts, can not be zero due to division by zero so initial is a bit higher
watts = 0.01
# pulses per WattHour which the script should simulate (pwh = 2  is the same as 2000 imp/kWh)
pwh = 2
# value is used to calculate the last generated pulse
last = time.time()


def getWatts():
        r = requests.get('a url to get json data showing realtime generated solar data')
        json = r.json()
        value = json['results'][0]['series'][0]['values'][0][1]
        try:
                newwatts = float(value)
        except ValueError:
                newwatts = watts
        print "New watts: ",newwatts
        return newwatts

watts = getWatts()
lastWattsPull=time.time()
nextPulseTime = 3600/watts/pwh

while True:
        if (time.time() > (last+nextPulseTime)):
                last = time.time()
                nextPulseTime = float(3600/watts/pwh)
                if (watts > 10):
                        GPIO.output(18,GPIO.HIGH)
                        print "pulse"
                        time.sleep(ledPulseWidth)
                        GPIO.output(18,GPIO.LOW)
        if (time.time() > (lastWattsPull+collectWattsInterval)):
                watts = getWatts()
                lastWattsPull=time.time()
        time.sleep(0.01)
GPIO.cleanup()


The debug output is like this:
Code: Select all
pulse
New watts:  346.646002867
pulse
New watts:  346.646002867
pulse
New watts:  346.646002867
pulse
New watts:  344.85
pulse
New watts:  336.025598423
pulse
New watts:  336.025598423
pulse
New watts:  324.025598423
pulse
New watts:  316.45080388
pulse
New watts:  316.45080388
pulse
New watts:  316.45080388
pulse
New watts:  316.45080388
pulse
New watts:  306.674213404
New watts:  306.674213404
pulse

Re: Toon app: mySolar (FP4ALL)

PostPosted: Mon Mar 11, 2019 5:42 pm
by SDeath
How would that be connected to the meteradapter?
I have analog gas and power sensors, not a P1 capable meter.

Re: Toon app: mySolar (FP4ALL)

PostPosted: Mon Mar 11, 2019 5:54 pm
by TheHogNL
It should be connected as a normal S0 connection to the ZonopToon (see https://www.domoticaforum.eu/download/file.php?id=3515 and https://www.domoticaforum.eu/viewtopic. ... =15#p85351)

But you must have a smart P1 meter to do this (as zonoptoon requires also the delivered-to-the-grid counter from the smart meter) and the zonoptoon S0 connects to the analog port of the meteradapter (which you now are using for the normal kwh meter). No worries, within two years all houses should have P1 meters installed, isn't it? :-)

Re: Toon app: mySolar (FP4ALL)

PostPosted: Sun Jun 02, 2019 12:13 pm
by Arnolddebeer
Hi there.

I've got a new meter that has 4 counters 2 for what i use and 2 for what i diliver to the net

If i check in the toon the meter numbers i see all 4 of them does anyone know how to get them into zon op toon?
Regards

Re: Toon app: mySolar (FP4ALL)

PostPosted: Sun Jun 02, 2019 3:29 pm
by marcelr
The data will not show up in zon op toon. That module uses S0 signals coming from an optical sensor attached to a kWh meter or data from a zwave-enabled kWh meter.

Re: Toon app: mySolar (FP4ALL)

PostPosted: Mon Oct 28, 2019 9:43 am
by Chris83
i have a steca 500 logger from FP4all, Will this also work?

Re: Toon app: mySolar (FP4ALL)

PostPosted: Wed Nov 06, 2019 11:08 pm
by Toonz
hi all,

version 1.0.4 is available in the ToonStore, no new functionality but preparing for the future move to GitHub for all custom apps.
Changelog:
- settings json files moved to the /mnt/data/tsc folder
- firmware 5 compatible only, support for lower firmwares has been dropped

Kind regardz,

Toonz

Re: Toon app: mySolar (FP4ALL)

PostPosted: Tue Dec 10, 2019 8:31 am
by Ossegek
SDeath wrote:Hi Marek,

I've seen the same document indeed.
There are some limitations though:
Daily Limitation
Use of the monitoring server API is subject to a query limit of 300 requests for a specific account token and a parallel query limit
of 300 requests for each specific site ID from the same source IP.

Which means it isn't going to be realtime data, like I can do on my FP4All logger, which I can fetch every second for realtime data.
It will be every 5 minutes or something like that.
Will that be of any use?


Beter late than never, for me it's not a problem that there is a delay for 5 minutes. And i like the idea not to spend any € extra to read out the data.
So if you can, i like to have the option for SolarEdge in you're app.

Re: Toon app: mySolar (FP4ALL)

PostPosted: Wed Jan 15, 2020 6:45 pm
by ralph123
I found a pyton script that reads the api.

https://pypi.org/project/solaredge/