Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KAIFA MA304H3E: No data #2

Closed
HyperDevil opened this issue Mar 28, 2019 · 1 comment
Closed

KAIFA MA304H3E: No data #2

HyperDevil opened this issue Mar 28, 2019 · 1 comment

Comments

@HyperDevil
Copy link

I can confirm serial is working.
But there is no output from your program, it stops here:

2019-03-28 21:18:12 - asyncio - DEBUG - Using selector: EpollSelector 2019-03-28 21:18:12 - aiosqlite - DEBUG - executing functools.partial(<function connect.<locals>.connector at 0x75db5fa8>) 2019-03-28 21:18:12 - aiosqlite - DEBUG - returning <sqlite3.Connection object at 0x75dae120> 2019-03-28 21:18:12 - aiosqlite - DEBUG - executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x75dae120>, 'CREATE TABLE "HANdata" (\n id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT UNIQUE,\n \'date\'\tSTRING,\n \'effect\' REAL\n )', []) 2019-03-28 21:18:12 - aiosqlite - ERROR - returning exception table "HANdata" already exists Traceback (most recent call last): File "/home/pi/berryconda3/lib/python3.6/site-packages/aiosqlite/core.py", line 153, in run result = function() sqlite3.OperationalError: table "HANdata" already exists 2019-03-28 21:18:12 - aiosqlite - DEBUG - executing functools.partial(<built-in method close of sqlite3.Connection object at 0x75dae120>) 2019-03-28 21:18:12 - aiosqlite - DEBUG - returning None 2019-03-28 21:18:12 - asyncio - DEBUG - Using selector: EpollSelector

When echoing txt buf it seems the buffer only fills itself and never gets to zero:

007E7EA027010201105A87E6E7000F40000000090C07E3031C0416133AFF8000000201060000033F15127E7EA079010201108093E6E7000F40000000090C07E3031C04161400FF800000020D09074B464D5F30303109103639373036333134303836313235383209084D41333034483345060000033F06000000000600000009060000000006000007340600000AC806000006BA0600000952060000000006000009519D7E7E7EA027010201105A87E6E7000F40000000090C07E3031C04161402FF8000000201060000033FD23E7E7EA027010201105A87E6E7000F40000000090C07E3031C04161404FF800000020106000003406FB27E7EA027010201105A87E6E7000F40000000090C07E3031C04161406FF800000020106000003
007E7EA027010201105A87E6E7000F40000000090C07E3031C0416133AFF8000000201060000033F15127E7EA079010201108093E6E7000F40000000090C07E3031C04161400FF800000020D09074B464D5F30303109103639373036333134303836313235383209084D41333034483345060000033F06000000000600000009060000000006000007340600000AC806000006BA0600000952060000000006000009519D7E7E7EA027010201105A87E6E7000F40000000090C07E3031C04161402FF8000000201060000033FD23E7E7EA027010201105A87E6E7000F40000000090C07E3031C04161404FF800000020106000003406FB27E7EA027010201105A87E6E7000F40000000090C07E3031C04161406FF800000020106000003434F82
007E7EA027010201105A87E6E7000F40000000090C07E3031C0416133AFF8000000201060000033F15127E7EA079010201108093E6E7000F40000000090C07E3031C04161400FF800000020D09074B464D5F30303109103639373036333134303836313235383209084D41333034483345060000033F06000000000600000009060000000006000007340600000AC806000006BA0600000952060000000006000009519D7E7E7EA027010201105A87E6E7000F40000000090C07E3031C04161402FF8000000201060000033FD23E7E7EA027010201105A87E6E7000F40000000090C07E3031C04161404FF800000020106000003406FB27E7EA027010201105A87E6E7000F40000000090C07E3031C04161406FF800000020106000003434F827E
@HyperDevil
Copy link
Author

Seems to work better all of a sudden, but now i have this:

2019-03-28 21:27:20 - __main__ - DEBUG - 7E
2019-03-28 21:27:20 - __main__ - INFO - meter id: None
2019-03-28 21:27:20 - __main__ - WARNING - Unknown type 07
2019-03-28 21:27:20 - __main__ - INFO - Decoded data {}:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant