123solar 1.7.0

Talks about solar stuff
jeanmarc
Posts: 1822
Joined: Thu Aug 29, 2013 7:16 am

123solar 1.7.0

Post by jeanmarc » Wed Aug 23, 2017 5:09 pm

Hello,

123solar 1.7.0 is out :

- Complete rewrite of notification
- Added rpinotify
- New updater, with backup and in one click !
- Bug boot123s several process instances
- Bugs squash and usual clean up

Bye

kitenski
Posts: 31
Joined: Mon May 12, 2014 10:01 pm

Re: 123solar 1.7.0

Post by kitenski » Thu Aug 24, 2017 7:11 pm

I see these errors trying to run the update from 1.6.9.3

Code: Select all

 Can't create /srv/http/_INSTALL. Make sure you didn't install 123solar on web server's root directory !
 Can't write in /srv/http/_INSTALL/ 
[root@Plugbox php]# cd /srv/http
[root@Plugbox http]# ls -al
total 532
drwxr-xr-x 5 root root 4096 Jul 19 13:04 .
drwxr-xr-x 4 root root 4096 Jul 8 22:56 ..
drwxrwxrwx 11 http http 4096 May 21 07:37 123solar

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

Re: 123solar 1.7.0

Post by jeanmarc » Thu Aug 24, 2017 8:27 pm

/srv/http/ is owned by root. You need to chown -R http:http /srv/http/

kitenski
Posts: 31
Joined: Mon May 12, 2014 10:01 pm

Re: 123solar 1.7.0

Post by kitenski » Fri Aug 25, 2017 9:33 am

jeanmarc wrote:
Thu Aug 24, 2017 8:27 pm
/srv/http/ is owned by root. You need to chown -R http:http /srv/http/
Thanks, all updated.

flane
Posts: 89
Joined: Mon Aug 11, 2014 7:22 am

Re: 123solar 1.7.0

Post by flane » Sun Aug 27, 2017 9:41 am

I've updated it and it's all OK. :D

Great work as always Jean Marc ;)

PS: RPINotify works fine ;)

flane
Posts: 89
Joined: Mon Aug 11, 2014 7:22 am

Re: 123solar 1.7.0

Post by flane » Sun Sep 17, 2017 1:18 pm

Hi Jeanmarc, there is a problem with sdm120c protocols and 123solar 1.7.0

The sdm120c protocol requires the fields:
  • Ports
  • rs485 adress
  • comunication options
With previous versions these fields were available.
With version 1.7.0, the Port and RS485 address fields are not fillable.

Image

sdm120c.php

Code: Select all

<?php
if(!defined('checkaccess')){die('Direct access not permitted');}
// sdm120c is a command line program for reading the parameters out of EASTRON SDM120C ModBus Smart meter.
// http://github.com/gianfrdp/SDM120C

$SDTE = date("Ymd H:i:s");

$I1V = null;
$I1A = null;
$I1P = null;

$errornum = null;

// Ask sdm120c: 
//      - Voltage (-v)
//      - Power (-p)
//      - Current (-c)
//      - Frequency (-f)
//      - Imported energy (-i)
 
$CMD_POOLING = "sdm120c -a ${'ADR'.$invt_num} ${'COMOPTION'.$invt_num} -vpcfi -q ${'PORT'.$invt_num}";

if ($DEBUG != 0) {
   error_log("$CMD_POOLING",0);
}

$CMD_RETURN = exec($CMD_POOLING);

.......
Only for aurora and 485solar-get protocols, "Port" and "rs485 adress" fields are available

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

Re: 123solar 1.7.0

Post by jeanmarc » Sun Sep 17, 2017 2:07 pm

Hi Flane,
sdm120c protocol files were missing (and was missing in previous releases)
Thanks for letting me know.

flane
Posts: 89
Joined: Mon Aug 11, 2014 7:22 am

Re: 123solar 1.7.0

Post by flane » Sun Sep 17, 2017 2:24 pm

Of course, I added it, but there is the problem mentioned above.

Would it be possible to integrate the sdm120c protocol into the next versions? :?:

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

Re: 123solar 1.7.0

Post by jeanmarc » Sun Sep 17, 2017 3:28 pm

sure ;)

solarjerry
Posts: 4
Joined: Mon Jun 12, 2017 10:14 pm

Re: 123solar 1.7.0

Post by solarjerry » Mon Sep 25, 2017 10:23 pm

A clean install and a bad memory module in the human sector.
Under the protocol section port was prefilled with /dev/solar, I got that one, it was /dev/ttyUSB0, but the rs-485 address has me stumped, how do I find that without having to test all the available?
thanks

Locked

Who is online

Users browsing this forum: No registered users and 3 guests