Skip to content
Discussion options

You must be logged in to vote

My goal is to use this data for another home automation system (Jeedom).
I managed to use your development to retrieve the data.
I'm using the ecu_api.py and ecu_helpers.py sources.
In ecu_api.py, I modified one line:
#from .ecu_helpers import (
from ecu_helpers import (

and this little piece of code allows me to retrieve the information:
`
from ecu_api import APsystemsSocket, APsystemsInvalidData

import asyncio
import logging
import json

ecu_ip = "192.168.1.120"
port_retries = 2
show_graphs = False

ecu = APsystemsSocket(ecu_ip)

try:
data = asyncio.run(ecu.query_ecu(port_retries, show_graphs))
print (json.dumps(data))
with open('solaire.json', 'w') as f:
f.write(json.dumps(data))
except E…

Replies: 5 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@HAEdwin
Comment options

Answer selected by vmath54
Comment options

You must be logged in to vote
1 reply
@HAEdwin
Comment options

Comment options

You must be logged in to vote
1 reply
@HAEdwin
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants