jonneytest / sma-bluetooth

Automatically exported from code.google.com/p/sma-bluetooth
0 stars 0 forks source link

--INSTALL fails #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
bad news... --INSTALL fails..

--
nekobasu:/usr/local/src/sma-bluetooth# ./smatool --INSTALL
--INSTALL MUST be the last argument

nekobasu:/usr/local/src/sma-bluetooth# ./smatool -v -d
variable=Inverter value=3000TL
variable=BTAddress value=00:80:25:09:E0:06
variable=BTTimeout value=15
variable=Password value=xxxxxxxxxxxxx
variable=Config value=
variable=File value=sma.in.new
variable=Latitude value=-32.0031
variable=Longitude value=116.04982
variable=MySqlHost value=localhost
variable=MySqlDatabase value=local_data
variable=MySqlUser value=smatool
variable=MySqlPwd value=xxxxxxx
variable=PVOutputURL value=http://pvoutput.org/service/r1/addstatus.jsp
variable=PVOutputKey value=xxxxxxxxxxxxxxxxxxc7bec0db716a9a5333d7ff
variable=PVOutputSid value=822
SELECT sunrise FROM Almanac WHERE date=DATE_FORMAT( NOW(), "%Y%m%d" ) 
SELECT data FROM settings WHERE value='schema' 

Original issue reported on code.google.com by b...@ticm.com on 12 Jan 2011 at 1:23

GoogleCodeExporter commented 8 years ago
Hmm - it seems it requires it requires -D smatool -U mysqluser -P mysqlpass 
--INSTALL as it doesn't read config. 

Original comment by stephenb...@gmail.com on 13 Jan 2011 at 6:10

GoogleCodeExporter commented 8 years ago
will push up

Original comment by stephenb...@gmail.com on 13 Jan 2011 at 6:56