Toon app: mySolar (FP4ALL)

Forum about forum-provided applications on Toon

Moderators: marcelr, TheHogNL, TerrorSource, Toonz

Re: Toon app: mySolar (FP4ALL)

Postby Marek320 » Sun Mar 10, 2019 6:42 pm

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?
Marek320
Starting Member
Starting Member
 
Posts: 3
Joined: March 2019

Re: Toon app: mySolar (FP4ALL)

Postby Marek320 » Sun Mar 10, 2019 7:08 pm

Marek320
Starting Member
Starting Member
 
Posts: 3
Joined: March 2019

Re: Toon app: mySolar (FP4ALL)

Postby SDeath » Mon Mar 11, 2019 4:50 pm

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?
Toon1 running firmware 5.2.11 (rooted)
SDeath
Starting Member
Starting Member
 
Posts: 49
Joined: January 2019

Re: Toon app: mySolar (FP4ALL)

Postby TheHogNL » Mon Mar 11, 2019 4:58 pm

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).
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 1303
Joined: August 2017

Re: Toon app: mySolar (FP4ALL)

Postby SDeath » Mon Mar 11, 2019 5:08 pm

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.
Toon1 running firmware 5.2.11 (rooted)
SDeath
Starting Member
Starting Member
 
Posts: 49
Joined: January 2019

Re: Toon app: mySolar (FP4ALL)

Postby TheHogNL » Mon Mar 11, 2019 5:30 pm

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
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 1303
Joined: August 2017

Re: Toon app: mySolar (FP4ALL)

Postby SDeath » Mon Mar 11, 2019 5:42 pm

How would that be connected to the meteradapter?
I have analog gas and power sensors, not a P1 capable meter.
Toon1 running firmware 5.2.11 (rooted)
SDeath
Starting Member
Starting Member
 
Posts: 49
Joined: January 2019

Re: Toon app: mySolar (FP4ALL)

Postby TheHogNL » Mon Mar 11, 2019 5:54 pm

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? :-)
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 1303
Joined: August 2017

Re: Toon app: mySolar (FP4ALL)

Postby Arnolddebeer » Sun Jun 02, 2019 12:13 pm

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
Arnolddebeer
Starting Member
Starting Member
 
Posts: 1
Joined: March 2019

Re: Toon app: mySolar (FP4ALL)

Postby marcelr » Sun Jun 02, 2019 3:29 pm

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.
marcelr
Global Moderator
Global Moderator
 
Posts: 1080
Joined: May 2012
Location: Ehv

Re: Toon app: mySolar (FP4ALL)

Postby Chris83 » Mon Oct 28, 2019 9:43 am

i have a steca 500 logger from FP4all, Will this also work?
Chris83
Starting Member
Starting Member
 
Posts: 4
Joined: October 2019

Re: Toon app: mySolar (FP4ALL)

Postby Toonz » Wed Nov 06, 2019 11:08 pm

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
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1253
Joined: December 2016

Previous

Return to Toon Apps

Who is online

Users browsing this forum: No registered users and 1 guest