jonneytest / sma-bluetooth

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

Problem with SMA4000TL-20 and date range #100

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run smatool -v -from "2012-09-09 00:00:00" -to "2012-09-09 23:55:00" 
--inverter 4000TL
2.
3.

What is the expected output? What do you see instead?
 Expect to see output for date range specified.

What version of the product are you using? On what operating system?
 sma-bluetooth-18 on Raspberry Pi running archlinux with HAMA BT dongle

Please provide any additional information below.
 If I omit the -to and -from parameters I get values for the entire history.

 i.e. smatool -v --inverter 4000TL works

I've attached the output from 

 smatool -v --debug -from "2012-09-09 00:00:00" -to "2012-09-09 23:55:00" --inverter 4000TL

along with my smatool.conf

Excellent software thanks keep up the good work.  

Original issue reported on code.google.com by chris...@gmail.com on 12 Sep 2012 at 6:35

Attachments:

GoogleCodeExporter commented 8 years ago
In the debug log you see dateto=2011-09-09 ???

tzsecs=00 01
QUERY RANGE    from 2012-09-09 00:00:00 to 2011-09-09 23:55:00
Address 00:80:25:21:19:CA
datefrom=2012-09-09 00:00:00 dateto=2011-09-09 23:55:00
[18] 2012-09-12 07:29:27 Waiting for string

Original comment by s....@skynet.be on 12 Sep 2012 at 10:51

GoogleCodeExporter commented 8 years ago
Sorry, you're quite right my fault (it works if I use the right dates). Thanks

Original comment by chris...@gmail.com on 12 Sep 2012 at 11:46

GoogleCodeExporter commented 8 years ago
Hi Chris,

I'd be interested in learning how you got this to work with your SB4000TL-20.

I too am running this on a Raspberry Pi (Debian) with my SB4000TL-20 but I just 
keep on getting 'bad extracting timestring' every time.

see here: http://code.google.com/p/sma-bluetooth/issues/detail?id=96

Marc

Original comment by MarcCarn...@googlemail.com on 19 Sep 2012 at 9:39