SolarEdge in Latest Beta / Port Number
Moderator: leecollings
-
- Posts: 10
- Joined: Thursday 26 November 2015 11:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: SolarEdge in Latest Beta / Port Number
did you fill in your SiteID?
please post the code of your script.
please post the code of your script.
- RATA1
- Posts: 19
- Joined: Tuesday 08 December 2015 15:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Taunton, UK
- Contact:
Re: SolarEdge in Latest Beta / Port Number
I have the same issue I think that the code doesn't handle odd/uncoded updates from the SE.i get in de log from domoticz:
Error: SolarEdge: Unknown Type: 0061
SolarEdge Something not handled correctly, having extra bytes!
Anyone got a clue what error 0061 might be
Am running Domoticz Stable; 3530
Also, like some others have reported I get periods of no updates (in the log) and in the dashboard - when it is not so sunny I get maybe 3 updates a day. Seems to tally at the end of the day OK though.
When I set it up it did take about 15 minutes to report the SE devices and I would say best to set this up on a sunny day
Pi + RFX433 + AEOTEC Gen5 ZWave + HGI80 + CM180i + sensors
SolarEdge Inverter and PVOutput
SolarEdge Inverter and PVOutput
- RATA1
- Posts: 19
- Joined: Tuesday 08 December 2015 15:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Taunton, UK
- Contact:
Re: SolarEdge in Latest Beta / Port Number
This appears to be happening constantly now and I get the following too:
2015-12-08 21:13:13.109 Error: SolarEdge: Unknown Type: 1283
2015-12-08 21:13:13.109 Error: SolarEdge: Something not handled correctly, having extra bytes!
2015-12-08 21:13:13.255 Error: SolarEdge: Unknown Type: 0061
2015-12-08 21:13:13.255 Error: SolarEdge: Something not handled correctly, having extra bytes!
The error 1283 is a new one I noticed and the usage has not updated since 12:05 today. Anyone else get this error and know how to resolve it to get it working?
The actual pass through works fine as I would expect and a reboot of the box has made no difference.
The only thing I did was add a HGI80 USB this morning, the updates were fine on solar for about 2 hours then stopped. The HGI works fine.
2015-12-08 21:13:13.109 Error: SolarEdge: Unknown Type: 1283
2015-12-08 21:13:13.109 Error: SolarEdge: Something not handled correctly, having extra bytes!
2015-12-08 21:13:13.255 Error: SolarEdge: Unknown Type: 0061
2015-12-08 21:13:13.255 Error: SolarEdge: Something not handled correctly, having extra bytes!
The error 1283 is a new one I noticed and the usage has not updated since 12:05 today. Anyone else get this error and know how to resolve it to get it working?
The actual pass through works fine as I would expect and a reboot of the box has made no difference.
The only thing I did was add a HGI80 USB this morning, the updates were fine on solar for about 2 hours then stopped. The HGI works fine.
Pi + RFX433 + AEOTEC Gen5 ZWave + HGI80 + CM180i + sensors
SolarEdge Inverter and PVOutput
SolarEdge Inverter and PVOutput
-
- Posts: 1
- Joined: Monday 22 December 2014 11:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: SolarEdge in Latest Beta / Port Number
If I run the python scripts from https://github.com/jbuehl/solaredge manually it seems to work fine. I run seconvert2 with -vvv options and then every update I see corresponds with values I see on the SolarEdge monitoring site. I had similar problems like extra bytes in the beginning,. It turned out that the python scripts were written for an older SolarEdge inverter which uses a slightly different protocol. After the writer of the script(s) made some updates it's working fine now. In this issue https://github.com/jbuehl/solaredge/issues/4 there is a description of the current protocol. Maybe someone can 'translate' the way the python scripts do the decoding into C++ so that it can be incorporated in Domoticz
-
- Posts: 13
- Joined: Saturday 31 January 2015 22:23
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Contact:
Re: SolarEdge in Latest Beta / Port Number
I've had HW-failure on my SE-3000 comm-interface, new card was installed few months ago, with that new firmware...since then previous method of Domoticz scraping data (port 2222 & Fwd to solaredge.com ) doesn't work anymore. Probably due to SE update/version on newly installed interface board.
As mentioned by others, FWD still works (I can read correct data from SE portal with App), but Domoticz(2.3530) isn't able to filter out the data anymore...
(Unknown type: 0061 | Something not handled correctly, having extra bytes)
So I want to move to API readout, but as it seems , the offered method in this thread writes to a file every update. I don't like that (R-pi with SD)...
Anybody already changed this to work without writing to file each cycle?
thx for yr suggestions/ideas?
rgds, Robert
As mentioned by others, FWD still works (I can read correct data from SE portal with App), but Domoticz(2.3530) isn't able to filter out the data anymore...
(Unknown type: 0061 | Something not handled correctly, having extra bytes)
So I want to move to API readout, but as it seems , the offered method in this thread writes to a file every update. I don't like that (R-pi with SD)...
Anybody already changed this to work without writing to file each cycle?
thx for yr suggestions/ideas?
rgds, Robert
Domiticz 3.8153 on R-PI B+, Aeon Z-stick; RFX433-E, RFX868, Qubino, Aeon, Fibaro, Somfy, SolarEdge, X10, Visionic, NodeMCU, HarmonyHUB, MiLight
-
- Posts: 116
- Joined: Saturday 13 July 2013 13:28
- Target OS: Linux
- Domoticz version: Latest
- Location: Hilversum, The Netherlands
- Contact:
Re: SolarEdge in Latest Beta / Port Number
The unknow type 61 is under investigation.
I moved to the api and that is also working without problems.
I moved to the api and that is also working without problems.
Rasp Pi 2B: 3x DS18S20 (1-wire), BME280 (i2c)
Cubietruck 1: Aeotec Z-Wave+, RFXtrx433XL+P1, RFXtrx868, TE923 display, SolarEdge API
Cubietruck 2: Aeotec Z-Wave, Voltcraft CO-20
Cubietruck 1: Aeotec Z-Wave+, RFXtrx433XL+P1, RFXtrx868, TE923 display, SolarEdge API
Cubietruck 2: Aeotec Z-Wave, Voltcraft CO-20
-
- Posts: 13
- Joined: Saturday 31 January 2015 22:23
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Contact:
Re: SolarEdge in Latest Beta / Port Number
Antwan, I see you have R-pi also, not worried about the frequent write-operations to SD card ????
Domiticz 3.8153 on R-PI B+, Aeon Z-stick; RFX433-E, RFX868, Qubino, Aeon, Fibaro, Somfy, SolarEdge, X10, Visionic, NodeMCU, HarmonyHUB, MiLight
-
- Posts: 116
- Joined: Saturday 13 July 2013 13:28
- Target OS: Linux
- Domoticz version: Latest
- Location: Hilversum, The Netherlands
- Contact:
Re: SolarEdge in Latest Beta / Port Number
Nope, running for ages.
Rasp Pi 2B: 3x DS18S20 (1-wire), BME280 (i2c)
Cubietruck 1: Aeotec Z-Wave+, RFXtrx433XL+P1, RFXtrx868, TE923 display, SolarEdge API
Cubietruck 2: Aeotec Z-Wave, Voltcraft CO-20
Cubietruck 1: Aeotec Z-Wave+, RFXtrx433XL+P1, RFXtrx868, TE923 display, SolarEdge API
Cubietruck 2: Aeotec Z-Wave, Voltcraft CO-20
-
- Posts: 59
- Joined: Monday 02 November 2015 14:12
- Target OS: Linux
- Domoticz version: 2.2364
- Location: Netherlands
- Contact:
Re: SolarEdge in Latest Beta / Port Number
I've created a RAM-disk of 1 Mb through fstab, mounted somewhere in the filesystem and I'm writing the temp-file there. Works fine. I use Ubuntu Linux and a guide was here: http://www.jamescoyle.net/how-to/943-cr ... k-in-linuxRobertT wrote:I've had HW-failure on my SE-3000 comm-interface, new card was installed few months ago, with that new firmware...since then previous method of Domoticz scraping data (port 2222 & Fwd to solaredge.com ) doesn't work anymore. Probably due to SE update/version on newly installed interface board.
As mentioned by others, FWD still works (I can read correct data from SE portal with App), but Domoticz(2.3530) isn't able to filter out the data anymore...
(Unknown type: 0061 | Something not handled correctly, having extra bytes)
So I want to move to API readout, but as it seems , the offered method in this thread writes to a file every update. I don't like that (R-pi with SD)...
Anybody already changed this to work without writing to file each cycle?
thx for yr suggestions/ideas?
rgds, Robert
I expect this to work on a Pi as well
-
- Posts: 2
- Joined: Wednesday 23 December 2015 20:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: SolarEdge in Latest Beta / Port Number
I'm trying to get my solaredge inverter on Domoticz. Use the API method, I see a 'worker started' in the log files and checked the api key if it is delivering an xml. Everything seems to be ok.
the only thing I'm not sure about, I have a 3 phase 5000 inverter, I thought I read something that only single phase inverters are working at the moment?
Can somebody confirm? I Don't see devices added when I have configured the hardware.
the only thing I'm not sure about, I have a 3 phase 5000 inverter, I thought I read something that only single phase inverters are working at the moment?
Can somebody confirm? I Don't see devices added when I have configured the hardware.
-
- Posts: 11
- Joined: Monday 10 August 2015 21:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version: v2.4031
- Location: Netherlands
- Contact:
Re: SolarEdge in Latest Beta / Port Number
When using the API, the solaredge should report directly to prod.solaredge.com or could it be passed through through the raspberry.
(Otherwise i need to change it back to prod.solaredge.com)
When passed through the RPI2, the data gets to the Solaredge monitoring site.
But in the RPi2 Log, the API reports, Invalid data recieved?
What could that be?
and for the settings, on serial number, it should be the SN from converter i presume? and should it be with (7F123456-CC) or 7F123456-CC
Site ID and API are set
(Otherwise i need to change it back to prod.solaredge.com)
When passed through the RPI2, the data gets to the Solaredge monitoring site.
But in the RPi2 Log, the API reports, Invalid data recieved?
What could that be?
and for the settings, on serial number, it should be the SN from converter i presume? and should it be with (7F123456-CC) or 7F123456-CC
Site ID and API are set
-
- Posts: 59
- Joined: Monday 02 November 2015 14:12
- Target OS: Linux
- Domoticz version: 2.2364
- Location: Netherlands
- Contact:
Re: SolarEdge in Latest Beta / Port Number
With the curl command in the script and the correct parameters in it you can receive the data on the bash command line. If it matches the values that the SolarEdge gives (especially the total amount), than it works.SCS007 wrote:I'm trying to get my solaredge inverter on Domoticz. Use the API method, I see a 'worker started' in the log files and checked the api key if it is delivering an xml. Everything seems to be ok.
the only thing I'm not sure about, I have a 3 phase 5000 inverter, I thought I read something that only single phase inverters are working at the moment?
Can somebody confirm? I Don't see devices added when I have configured the hardware.
Did you create a virtual device after creating the dummy hardware? You need the idx from tha virtual device in the scripts, in order to let data be assigned and visible.
Re: SolarEdge in Latest Beta / Port Number
Hi all,
Recently we got a solaredge installation and i wanted to log the day and total kW production in domoticz which is running on a raspberry pi.
I did everything as Antwan described and in the domoticz log i see this every 15 min.:
2016-01-06 21:00:00.613 LUA: 2016-01-06 20:51:22 solar input E: 60291.0 P: 0.0
(during daylight is see some value at the end e.g. P: 35.5)
But the virtual device is not being updated and stays on 0 kWh for total and day production.
I tried both ID and IDX within the LUA script , but no effect.
Can anyone help me out?
Recently we got a solaredge installation and i wanted to log the day and total kW production in domoticz which is running on a raspberry pi.
I did everything as Antwan described and in the domoticz log i see this every 15 min.:
2016-01-06 21:00:00.613 LUA: 2016-01-06 20:51:22 solar input E: 60291.0 P: 0.0
(during daylight is see some value at the end e.g. P: 35.5)
But the virtual device is not being updated and stays on 0 kWh for total and day production.
I tried both ID and IDX within the LUA script , but no effect.
Can anyone help me out?
-
- Posts: 12
- Joined: Thursday 10 April 2014 9:18
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Contact:
Re: SolarEdge in Latest Beta / Port Number
If you have a recent beta of Domoticz, it may be easier to use use SolarEdge via Web API in Hardware. That way there's no need for scripts nor uservariables. Only the SiteID, API Key and Serial number of your inverter, which you can find on the Solaredge monitoring website.
Re: SolarEdge in Latest Beta / Port Number
Thanks for the tip!
Working now in just 40 seconds..
Working now in just 40 seconds..
-
- Posts: 11
- Joined: Monday 10 August 2015 21:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version: v2.4031
- Location: Netherlands
- Contact:
Re: SolarEdge in Latest Beta / Port Number
Does the solaredge reports directly to the prod.solaredge.com
Or does it work also when passed through through the Raspberry? (This is how my setup is working now, or used to work.)
EDIT: Addition
The API, should that be a users API, or an Site API?
http://www.solaredge.com/files/pdfs/se_ ... ng_api.pdf (Page 5)
I Got a (new?) api key, but i still get invalid data. so i might got the wrong API?
Or does it work also when passed through through the Raspberry? (This is how my setup is working now, or used to work.)
EDIT: Addition
The API, should that be a users API, or an Site API?
http://www.solaredge.com/files/pdfs/se_ ... ng_api.pdf (Page 5)
I Got a (new?) api key, but i still get invalid data. so i might got the wrong API?
Last edited by Zwollenaar on Monday 11 January 2016 18:30, edited 1 time in total.
Re: SolarEdge in Latest Beta / Port Number
It does report directly to prod.solaredge.com.Zwollenaar wrote:Does the solaredge reports directly to the prod.solaredge.com
Or does it work also when passed through through the Raspberry? (This is how my setup is working now, or used to work.)
I didn't try to pass it throught the pi.
-
- Posts: 14
- Joined: Saturday 25 January 2014 14:06
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2.3790
- Contact:
Re: SolarEdge in Latest Beta / Port Number
After using the lua api script (working fine) I wanted to use SolarEdge via Web API in Hardware.
I did configured on two domoticz devices but no luck.
I mailed a long email with my supplier and he even had contact with SolarEdge helpdesk and they stated I have the site API. But still I get those errors:
2016-01-20 17:17:28.334 Error: SolarEdgeAPI: Invalid data received, or invalid SiteID/Serial/APIKey
2016-01-20 17:34:15.739 Error: SolarEdgeAPI: Invalid data received, or invalid SiteID/Serial/APIKey
2016-01-20 17:39:15.987 Error: SolarEdgeAPI: Invalid data received, or invalid SiteID/Serial/APIKey
2016-01-20 17:44:16.214 Error: SolarEdgeAPI: Invalid data received, or invalid SiteID/Serial/APIKey
2016-01-20 17:49:16.450 Error: SolarEdgeAPI: Invalid data received, or invalid SiteID/Serial/APIKey
2016-01-20 17:54:16.673 Error: SolarEdgeAPI: Invalid data received, or invalid SiteID/Serial/APIKey
2016-01-20 17:59:16.883 Error: SolarEdgeAPI: Invalid data received, or invalid SiteID/Serial/APIKey
2016-01-20 18:04:17.294 Error: SolarEdgeAPI: Invalid data received, or invalid SiteID/Serial/APIKey
What is wrong the api key is working on my mobile phone and on /lua/script_time_SolarEdge.lua?
Twimpy
I did configured on two domoticz devices but no luck.
I mailed a long email with my supplier and he even had contact with SolarEdge helpdesk and they stated I have the site API. But still I get those errors:
2016-01-20 17:17:28.334 Error: SolarEdgeAPI: Invalid data received, or invalid SiteID/Serial/APIKey
2016-01-20 17:34:15.739 Error: SolarEdgeAPI: Invalid data received, or invalid SiteID/Serial/APIKey
2016-01-20 17:39:15.987 Error: SolarEdgeAPI: Invalid data received, or invalid SiteID/Serial/APIKey
2016-01-20 17:44:16.214 Error: SolarEdgeAPI: Invalid data received, or invalid SiteID/Serial/APIKey
2016-01-20 17:49:16.450 Error: SolarEdgeAPI: Invalid data received, or invalid SiteID/Serial/APIKey
2016-01-20 17:54:16.673 Error: SolarEdgeAPI: Invalid data received, or invalid SiteID/Serial/APIKey
2016-01-20 17:59:16.883 Error: SolarEdgeAPI: Invalid data received, or invalid SiteID/Serial/APIKey
2016-01-20 18:04:17.294 Error: SolarEdgeAPI: Invalid data received, or invalid SiteID/Serial/APIKey
What is wrong the api key is working on my mobile phone and on /lua/script_time_SolarEdge.lua?
Twimpy
-
- Posts: 14
- Joined: Saturday 25 January 2014 14:06
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2.3790
- Contact:
Re: SolarEdge in Latest Beta / Port Number
Anyone can help?
Domoticz on Intel V2.4273
Domoticz on Raspberry V2.4222
When something is wrong on my API key SolarEdge NL like to know to helping other customers.
Domoticz on Intel V2.4273
Domoticz on Raspberry V2.4222
When something is wrong on my API key SolarEdge NL like to know to helping other customers.
-
- Posts: 12
- Joined: Thursday 10 April 2014 9:18
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Contact:
Re: SolarEdge in Latest Beta / Port Number
Some possible reasons:
Does this work in your browser? (substitute {siteId}, {serial} and {apiKey} with your own values)
[fixed]
- Did you use quotes when you shouldn't
or spaces/tabs before/after
Does this work in your browser? (substitute {siteId}, {serial} and {apiKey} with your own values)
Code: Select all
https://monitoringapi.solaredge.com/equipment/{siteId}/{serial}/data?startTime=2016-01-21%2011:00:00&endTime=2016-01-21%2013:00:00&api_key={apiKey}
Last edited by Yobby on Friday 22 January 2016 16:29, edited 1 time in total.
Who is online
Users browsing this forum: No registered users and 1 guest