Page 1 of 1

API for 123 solar

Posted: Wed Apr 25, 2018 2:13 pm
by andy
Dear jeanmarc
how difficult it will be to make API (like fronius API but much simpler)
for use in mobie apps, another sites etc.?

Re: API for 123 solar

Posted: Wed Apr 25, 2018 2:38 pm
by jeanmarc
Hi,
i don't know the Fronius API but that's quite simple to get data, check m.php example and also "programs" 123solar/programs/programday.php?invtnum=0 programproduction.php?invtnum=0...

Re: API for 123 solar

Posted: Sun Jun 17, 2018 11:34 am
by extreme79
Hi, there's a topic that explain in detail how to get data from 123solar?
I want to send data to my domotic controller on a regular basis, next I want to integrate also with consumption data installing meterN and a modbus device, wigth the target to balance consuption based on production.

I can read on regular basis from my domotic controller or (best I think) push values from 123solar to my controller (zipato).. but first I need to learn how to get values :P

Re: API for 123 solar

Posted: Sun Jun 17, 2018 3:52 pm
by jeanmarc
Hi,
Just make a http json query on 123solar/programs/programlive.php?invtnum=1.
For mN, it depend the value you wish : metern/programs/programlive.php , programindicator.php or programtotal.php

Re: API for 123 solar

Posted: Sun Jun 17, 2018 10:24 pm
by extreme79
seems simple :)
thanks

[OT] I have nodered installed on the rpi too.. so I can crate a flow that call the url, get the json, elaborate it and update virtual devices on my domotic controller with 123solar status and main data.. mm seems funny :geek: [/OT]