Replies: 4 comments
-
Hi |
Beta Was this translation helpful? Give feedback.
-
I run ebusd for a ochsner heatpump. I use hex statements to pass the commands to the ebus To find out which hex code need to be passed to the ebus, I looked at the log file at When you submit your statement, that returns "no" a couple of times, then you should find the hex code in the log. Next step is the implementation in python: |
Beta Was this translation helpful? Give feedback.
-
Interesting, I tend to do the same thing when my ebus runs. So I cannot test your code but it seems you close the socket after debug 4 but try to read from it only after debug 5. Hopefully changing the order works out for you. |
Beta Was this translation helpful? Give feedback.
-
I found the awnser to the issue: you need to include a new line (\n) in the data send in order to conclude the command send. Here is a minimal example to request “info”, it includs some other fixes like accounting for message longer than 1024 bytes.
|
Beta Was this translation helpful? Give feedback.
-
somewhat unrelated question but I'm really stuck...
I can read ebucd from shell with netcat command:
The response received and "no" is correct.
But trying to do same thing from python - just returns empty string. And seems no connection errors. Here is code:
The output of above:
Anybopdy could point what is wrong? ( I'm novice - dumb things possible)
Beta Was this translation helpful? Give feedback.
All reactions