Re: Ginlong, Omnik Solar, Solarman and Trannergy Inverters
Posted: Monday 19 June 2017 8:08
Do you think you get this working again??galadril wrote:Hmm lijkt erop dat de api url niet meer werkt voor Omnik Solar..
Open source Home Automation System
https://forum.domoticz.com/
Do you think you get this working again??galadril wrote:Hmm lijkt erop dat de api url niet meer werkt voor Omnik Solar..
I let it working with setup:nwessels wrote:Hi,
@underscore4 or someone else: did you solved your problem? I have the same problem. like to hear your solution.
Grtz Niels
Code: Select all
Getting Info...
TodayIncome: 6.918
ActualPower: 872.00
etoday: 30.08
etotal: 14534.0
etotal 1000: 14534000.0
Code: Select all
linaro@odroidxu4:~/domoticz/scripts/python$ ./SofarSolar.py
Traceback (most recent call last):
File "./SofarSolar.py", line 34, in <module>
root = ET.parse(urllib.urlopen(requestURL)).getroot()
File "/usr/lib/python2.7/urllib.py", line 87, in urlopen
return opener.open(url)
File "/usr/lib/python2.7/urllib.py", line 210, in open
return self.open_unknown(fullurl, data)
File "/usr/lib/python2.7/urllib.py", line 222, in open_unknown
raise IOError, ('url error', 'unknown url type', type)
IOError: [Errno url error] unknown url type: 'www.solarmanpv.com'
linaro@odroidxu4:~/domoticz/scripts/python$
Please post your full file please.Derik wrote:Code: Select all
linaro@odroidxu4:~/domoticz/scripts/python$ ./SofarSolar.py Traceback (most recent call last): File "./SofarSolar.py", line 34, in <module> root = ET.parse(urllib.urlopen(requestURL)).getroot() File "/usr/lib/python2.7/urllib.py", line 87, in urlopen return opener.open(url) File "/usr/lib/python2.7/urllib.py", line 210, in open return self.open_unknown(fullurl, data) File "/usr/lib/python2.7/urllib.py", line 222, in open_unknown raise IOError, ('url error', 'unknown url type', type) IOError: [Errno url error] unknown url type: 'www.solarmanpv.com' linaro@odroidxu4:~/domoticz/scripts/python$
Still got errors....
Where do i go wrong.?
Did try this in the cli with manual activate.
Copy paste all script.
And change my locals..
sincze wrote:Mmm what happens if you change:
baseURL = 'www.solarmanpv.com/' #base url
to:
baseURL = 'http://www.solarmanpv.com' #base url
I tried to look up about your error and i believe i have found the problem.sincze wrote:Please post your full file please.Derik wrote:Code: Select all
linaro@odroidxu4:~/domoticz/scripts/python$ ./SofarSolar.py Traceback (most recent call last): File "./SofarSolar.py", line 34, in <module> root = ET.parse(urllib.urlopen(requestURL)).getroot() File "/usr/lib/python2.7/urllib.py", line 87, in urlopen return opener.open(url) File "/usr/lib/python2.7/urllib.py", line 210, in open return self.open_unknown(fullurl, data) File "/usr/lib/python2.7/urllib.py", line 222, in open_unknown raise IOError, ('url error', 'unknown url type', type) IOError: [Errno url error] unknown url type: 'www.solarmanpv.com' linaro@odroidxu4:~/domoticz/scripts/python$
Still got errors....
Where do i go wrong.?
Did try this in the cli with manual activate.
Copy paste all script.
And change my locals..
Currently working on the Shinemonitor and able to retrieve the following data from their API. I was able to retrieve the data using PHP and Python3.devros wrote:hello, any chance to support this portal
im using invertor with limiter and USB-PLUG (witch is registred to this page)
http://www.shinemonitor.com/main.html
looks similar to omnik
tried restfull page http://www.shinemonitor.com:10000/
but number is propablly diferent.... any idea how to find right number?
thanks
devros wrote:wow you made my daythanks a lot
Well at the moment my script is in as-is fase meaning you need to enter a lot of values or login to the shinemonitor website to retrieve a few. The guy on the other side of the world is implementing http://api.shinemonitor.com, but he speaks Chineese.devros wrote:thats perfect news..., i did my own python sihinemonitor scraper, but is really buggy and works only for current watt. Can you share script that you already have? Im quite curios how did you managed to get json data.
Native domoticz plugin is not so important but would be also great.
Code: Select all
usr='' #your username
pwd='' #your password
companykey='' #your companykey
# needed to retrieve data, can be obtained from portal
pn='' #your plant id
sn='' #your serial number
O yes I did, first I thought that it was me, but they are experiencing some problems and are working on it.devros wrote: BTW: Did you noticed, that shinemonitor.com have quite often conection problems (error 502) ?