Page 1 of 5

123solar 1.7.0

Posted: Wed Aug 23, 2017 5:09 pm
by jeanmarc
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

Re: 123solar 1.7.0

Posted: Thu Aug 24, 2017 7:11 pm
by kitenski
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

Re: 123solar 1.7.0

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

Re: 123solar 1.7.0

Posted: Fri Aug 25, 2017 9:33 am
by kitenski
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.

Re: 123solar 1.7.0

Posted: Sun Aug 27, 2017 9:41 am
by flane
I've updated it and it's all OK. :D

Great work as always Jean Marc ;)

PS: RPINotify works fine ;)

Re: 123solar 1.7.0

Posted: Sun Sep 17, 2017 1:18 pm
by flane
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

Re: 123solar 1.7.0

Posted: Sun Sep 17, 2017 2:07 pm
by jeanmarc
Hi Flane,
sdm120c protocol files were missing (and was missing in previous releases)
Thanks for letting me know.

Re: 123solar 1.7.0

Posted: Sun Sep 17, 2017 2:24 pm
by flane
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? :?:

Re: 123solar 1.7.0

Posted: Sun Sep 17, 2017 3:28 pm
by jeanmarc
sure ;)

Re: 123solar 1.7.0

Posted: Mon Sep 25, 2017 10:23 pm
by solarjerry
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