jonneytest / sma-bluetooth

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

Command not found #25

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. ./smatool -d
2.  ./smatool -v -from "2011-04-28 00:00:00" -to "2011-04-30 23:55:00"
3.

What is the expected output? What do you see instead?
When using -d
7e 5c 00
Receiving
    00000000: .. .. .. .. .. .. .. .. .. .. .. .. 7e 5c 00 22
    00000010: 88 92 17 25 80 00 22 16 12 83 15 00 01 00 7e ff
    00000020: 03 60 65 10 d0 78 00 3f 10 fb 39 00 a0 4e 00 1a
    00000030: c1 30 7d 5d 00 00 00 00 00 00 50 ad 0a 02 00 f0
    00000040: 00 00 00 00 00 00 00 00 00 6d 23 00 02 e0 bf 4d
    00000050: 56 66 b9 4d 02 e0 bf 4d 80 70 00 00 31 fe 7d 5e
    00000060: 00 01 00 00 00 66 78 7e  rr=92

22 88 92 17 25 80 00 22 16 12 83 15 00 01 00 7e ff 03 60 65 10 d0 78 00 3f 10 
fb 39 00 a0 4e 00 1a c1 30 7d 00 00 00 00 00 00 50 ad 0a 02 00 f0 00 00 00 00 
00 00 00 00 00 6d 23 00 02 e0 bf 4d 56 66 b9 4d 02 e0 bf 4d 80 70 00 00 31 fe 
7e 00 01 00 00 00 66 78 7e sum=7elength change from 5c to 5a

7e 5a 00 24 88 92 17 25 80 00 22 16 12 83 15 00 01 00 7e ff 03 60 65 10 d0 78 
00 3f 10 fb 39 00 a0 4e 00 1a c1 30 7d 00 00 00 00 00 00 50 ad 0a 02 00 f0 00 
00 00 00 00 00 00 00 00 6d 23 00 02 e0 bf 4d 56 66 b9 4d 02 e0 bf 4d 80 70 00 
00 31 fe 7e 00 01 00 00 00 66 78 7e

  [42] looking for: 7e 5a 00 24 88 92 17 25 80 00 22 16 12 83 15 00 01 00 7e ff 03 60 65
  [42] received:    7e 5a 00 24 88 92 17 25 80 00 22 16 12 83 15 00 01 00 7e ff 03 60 65 10 d0 78 00 3f 10 fb 39 00 a0 4e 00 1a c1 30 7d 00 00 00 00 00 00 50 ad 0a 02 00 f0 00 00 00 00 00 00 00 00 00 6d 23 00 02 e0 bf 4d 56 66 b9 4d 02 e0 bf 4d 80 70 00 00 31 fe 7e 00 01 00 00 00 66 78 7e

[42] Found string we are waiting for
7e 5a 00 24 88 92 17 25 80 00 22 16 12 83 15 00 01 00 7e ff 03 60 65

[43] Extracting
extracting timestring
delay=115

When using -v
QUERY RANGE    from 2011-04-28 00:00:00 to 2011-04-30 23:55:00
Address 00:80:25:17:92:88
Timeout reading bluetooth socket
Timeout reading bluetooth socket
bluetooth signal = 65%
Timeout reading bluetooth socket
Timeout reading bluetooth socket
Timeout reading bluetooth socket
Timeout reading bluetooth socket
Timeout reading bluetooth socket
serial=7d:30:c1:1a
Timeout reading bluetooth socket
bluetooth signal = 65%
Timeout reading bluetooth socket
Timeout reading bluetooth socket
Timeout reading bluetooth socket
Timeout reading bluetooth socket
bluetooth signal = 65%
Timeout reading bluetooth socket
Timeout reading bluetooth socket
Timeout reading bluetooth socket
Timeout reading bluetooth socket
Timeout reading bluetooth socket
Timeout reading bluetooth socket

What version of the product are you using? On what operating system?
both 0.11 and 0.09 on ubuntu 10.04 headless server.

Please provide any additional information below.
Not sure what other information to provide. I have a ritmo CB715 bluetooth 
dongle that was recommended by whirlpool forum

Original issue reported on code.google.com by masd...@gmail.com on 3 May 2011 at 11:04

Attachments:

GoogleCodeExporter commented 8 years ago
I have downloaded version 12 and re-compiled.
I then ran ./smatool -d and I have attached the output in a TXT file.
This was run in a putty session. I hope this helps?

Original comment by masd...@gmail.com on 9 May 2011 at 5:21

Attachments:

GoogleCodeExporter commented 8 years ago
Hi,
are you sure your inverter password is OK? I had a similar problem - See defect 
18

Original comment by luc.van....@skynet.be on 9 May 2011 at 9:00

GoogleCodeExporter commented 8 years ago
thanks for the info Luc, I will try this tomorrow. is there a problem using tab 
to seperate the 1111 from password.
is someone able to post the single line from smatool.conf so I have a better 
idea of what it is meant to look like.

Original comment by masd...@gmail.com on 9 May 2011 at 3:15

GoogleCodeExporter commented 8 years ago
tabs are ok, but I think you need user password (0000 by default) not the 
installer password

Original comment by luc.van....@skynet.be on 10 May 2011 at 8:21

GoogleCodeExporter commented 8 years ago
Okay, Update. I downloaded and configured SMATOOL 0.12 before going on holidays.
I changed the password to 0000 and it seems to be working now.
Now I have to figure out how to setup and configure MYSQL.

Original comment by masd...@gmail.com on 26 Jun 2011 at 10:22