API for 123 solar

Talks about solar stuff
Post Reply
andy
Posts: 46
Joined: Wed May 04, 2016 10:25 am
Location: Ukraine
Contact:

API for 123 solar

Post by andy » Wed Apr 25, 2018 2:13 pm

Dear jeanmarc
how difficult it will be to make API (like fronius API but much simpler)
for use in mobie apps, another sites etc.?

jeanmarc
Posts: 1822
Joined: Thu Aug 29, 2013 7:16 am

Re: API for 123 solar

Post by jeanmarc » Wed Apr 25, 2018 2:38 pm

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...

extreme79
Posts: 4
Joined: Sat Jun 16, 2018 11:33 am

Re: API for 123 solar

Post by extreme79 » Sun Jun 17, 2018 11:34 am

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

jeanmarc
Posts: 1822
Joined: Thu Aug 29, 2013 7:16 am

Re: API for 123 solar

Post by jeanmarc » Sun Jun 17, 2018 3:52 pm

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

extreme79
Posts: 4
Joined: Sat Jun 16, 2018 11:33 am

Re: API for 123 solar

Post by extreme79 » Sun Jun 17, 2018 10:24 pm

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]

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest