-
Notifications
You must be signed in to change notification settings - Fork 94
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
Asynchronous requests example? #13
Comments
I know it's been a while since the above post, but I thought I'd add my recent observations. I flashed the following Arduino sketch by the same author as above to my ESP32-DevkitC-V4 board with DiyLess ESP32/ESP8266 Thermostat Shield, connected to my (nearly new) Baxi 824 System Boiler. https://github.com/miksumin/OpenTherm/tree/master/examples/OpenThermTestIDs This produced the attached output, but worringly, left the boiler flashing an E83 (Communication Error) message, which repeatedly returned after disconnecting the ESP32 kit and power cycling the boiler to return to Hive 230v control. I couldn't find anything online on how to clear this error message, but eventually reasoned that it might have been due to the final request/response in the above sketch returning an error, as shown in the log. So, I then flashed the ESP32 with a simple sketch that periodically just gets the boiler temperature as shown below, and to my great relief, this cleared the boiler error message.
Looking at the output log, it seems that my Baxi 824 System Boiler is OpenTherm 4.0, information I surprisingly couldn't find in any of the manuals or online! Hope this helps someone. |
Hi there,
I'm currently developing a script which aims to integrate an OpenTherm boiler with Homebridge.
In this script, I attempt to make quite a few requests at the same time and have noticed that there is a large delay in doing so, causing the script to run slowly. After doing some looking around, I saw that you mentioned asynchronous requests on your website and assume that these will be able to fix the issue by implementing them on all of the requests I make to OpenTherm.
However, whilst you did write some basic instructions on how to implement these requests, I am still struggling to understand exactly how to do so. Would you be able to give a short example showing how exactly to implement asynchronous requests?
To help illustrate, here is a simplified version of my script (
delay(1000);
is purely there for simplicity - look here for clarity):Thank you in advance for your help,
Kind regards, Tom
The text was updated successfully, but these errors were encountered: