Delta Solivia
Delta Solivia
Hello jeanmarc.
I want ask you if it's possible to write a protocol file for the DeltaSolivia inverters. I found a script (DeltaPVOutput) that is a python script that can extract data from this inverter and send them to pvoutput site.
Do you think it's possible to do a protocol file for this kind of inverters ?
I desire install 123solar on the my friend's raspberry.
Thanks in advance.
I want ask you if it's possible to write a protocol file for the DeltaSolivia inverters. I found a script (DeltaPVOutput) that is a python script that can extract data from this inverter and send them to pvoutput site.
Do you think it's possible to do a protocol file for this kind of inverters ?
I desire install 123solar on the my friend's raspberry.
Thanks in advance.
Re: Delta Solivia
Hello,
Yes, if you are able at least to get the total kWh counter and power. You can check how other protocols files are created to get an idea. Good luck
Yes, if you are able at least to get the total kWh counter and power. You can check how other protocols files are created to get an idea. Good luck

Re: Delta Solivia
JeanMarc, i am not able to do a protocol file. I ask if You can do a protocol file for this inverter.jeanmarc wrote:Hello,
Yes, if you are able at least to get the total kWh counter and power. You can check how other protocols files are created to get an idea. Good luck
You can see how data where are stored observing the DeltaPVOutput Python. If you can add this protocol to your fantastic software, i simply be able to install 123solar on my friend's raspberry. This is the only thing i can do. Thanks in advance.
Re: Delta Solivia
Hi,
Sorry i can't reply now. I am abroad (Italy lago di garda) with almost no connection..
Sorry i can't reply now. I am abroad (Italy lago di garda) with almost no connection..
Re: Delta Solivia
You must relax now. You must enjoy Italy and its food. I am an italian man ( Sardina Island ).jeanmarc wrote:Hi,
Sorry i can't reply now. I am abroad (Italy lago di garda) with almost no connexion..
But I hope that, when you return home, you can study for the new protocol, because it's very important for us.
Good vacations in Italy.
Re: Delta Solivia
Hi Tony,
I am back. Could you provide some data sample outputs of this sript ?
Thanks
I am back. Could you provide some data sample outputs of this sript ?
Thanks
Re: Delta Solivia
Hello JeanMarc.
I hope you have spent happy Days in Italy.
If you examine the DeltaPVOutput.py file, you can see that it don't write any output file.
Perhaps it write directly on the MySQL Database and then send data to pvoutput.org.
The only way i have found , is a verbose mode that give this output on screen:
python DeltaPVOutput.py -v
Date: d=20150719, Time: t=10:36
Energy Today: v1=8142Wh, Instantaneous Power: v2=2570W
Volts: v6=239, Temp: v5=47 oC
OK 200: Added Status
pi@raspberrypi ~/DeltaPVOutput $
I hope you can find any solution, because i'll be very happy if my friend can use your fantastic software.
thanks for your patience.
Regards,
Tony
I hope you have spent happy Days in Italy.
If you examine the DeltaPVOutput.py file, you can see that it don't write any output file.
Perhaps it write directly on the MySQL Database and then send data to pvoutput.org.
The only way i have found , is a verbose mode that give this output on screen:
python DeltaPVOutput.py -v
Date: d=20150719, Time: t=10:36
Energy Today: v1=8142Wh, Instantaneous Power: v2=2570W
Volts: v6=239, Temp: v5=47 oC
OK 200: Added Status
pi@raspberrypi ~/DeltaPVOutput $
I hope you can find any solution, because i'll be very happy if my friend can use your fantastic software.
thanks for your patience.
Regards,
Tony
Re: Delta Solivia
Hi,
Italy was pleasant, thanks
You may try this in protocols/scripts/delta.php. Make sure DeltaPVOutput.py is executable as http user
That would be better to request from the db though.
Also create this scripts/protocols/delta_startup.php
and as delta_checks.php
Italy was pleasant, thanks

You may try this in protocols/scripts/delta.php. Make sure DeltaPVOutput.py is executable as http user
Code: Select all
<?php
if (!defined('checkaccess')) {
// comment this line to test from command line
die('Direct access not permitted');
}
$CMD_RETURN = '';
$CMD_POOLING = 'python DeltaPVOutput.py -v';
$CMD_RETURN = exec($CMD_POOLING);
/* Test line
$CMD_RETURN = "
Date: d=20150719, Time: t=10:36
Energy Today: v1=8142Wh, Instantaneous Power: v2=2570W
Volts: v6=239, Temp: v5=47 oC
OK 200: Added Status";
*/
$dataarray = preg_split('/[[:space:]]+/', $CMD_RETURN);
// uncomment this line to test
//print_r($dataarray);
if ($dataarray[16] == 'OK') {
$KWHT = $dataarray[7];
$KWHT = substr($KWHT, 3);
settype($KWHT, 'float');
$G1P = $dataarray[10];
$G1P = substr($G1P, 3);
settype($G1P, 'float');
$G1V = $dataarray[12];
$G1V = substr($G1V, 3);
settype($G1V, 'float');
$INVT = $dataarray[14];
$INVT = substr($INVT, 3);
settype($INVT, 'float');
// uncomment this line to test
//echo "kwh $KWHT g1p $G1P g1v $G1V temp $INVT ";
$RET = 'OK';
} else {
$RET = 'NOK';
}
?>
Also create this scripts/protocols/delta_startup.php
Code: Select all
<?php
if(!defined('checkaccess')){die('Direct access not permitted');}
// Info file
$CMD_INFO = 'no info';
// Sync inverter
$CMD_SYNC = '';
?>
Code: Select all
<?php
if(!defined('checkaccess')){die('Direct access not permitted');}
// State
$STATE = "no invt status";
// Alarms
$ALARM = null;
$MESSAGE = null;
// Riso, iLeak - Peak Powers
$RISO = 0;
$ILEAK = 0;
$PPEAK= 0;
$PPEAKOTD= 0;
?>
Re: Delta Solivia
btw, it look like the DeltaPVOutput script only request data on 5min basis. So, you won't have real live values.. 

Re: Delta Solivia
You're simply the best.
My friend and I , don't know how to thanks you for your good work.
The protocol return me an error ( / ) but i'm sure that i can understand where is the problem and i can solve it.
Now i have another AUTH problem with his apache server and i have removed Apache2.
I want try to install NGINX on my firnd's raspi , next week and try to reinstall 123solar. I hope this fresh install can work fine with new protocol.
Many many thanks, JeanMarc.
My friend and I , don't know how to thanks you for your good work.
The protocol return me an error ( / ) but i'm sure that i can understand where is the problem and i can solve it.
Now i have another AUTH problem with his apache server and i have removed Apache2.
I want try to install NGINX on my firnd's raspi , next week and try to reinstall 123solar. I hope this fresh install can work fine with new protocol.
Many many thanks, JeanMarc.
Who is online
Users browsing this forum: No registered users and 1 guest