Comments (1)
Although I think you are right that "sendRequestAync" is probably a typo, method bool OpenTherm::sendRequestAync(unsigned long request) is not asynchronous, only the receive part is asynchronous. Therefor I think this typo is quite fortunate and renaming the method to sendRequestAsync is not a good idea because we can now implement an alternative, actual asynchronous send method, to match the asynchronous receive that was already partially implemented in process(). I am trying to build such an asynchronous send method now. I do not have experience with programming the hardware timer interrupt that is required to execute every 500us. I am trying however and once I have something I will create a PR.
Having an asynchronous send will enable easier combining with other libraries, plus it enables lower energy consumption for battery powered implementations. Albeit at the cost of one hardware timer and the associated loss of PWM functionality on some pins. Asynchronous sending is however optional: applications that require PWM or the hardware timer and do not need the power saving, can still use the existing API.
from opentherm_library.
Related Issues (20)
- ISR not in IRAM! HOT 2
- [question] Data timing HOT 3
- Compilation issue in Tasmota ESP32 build with BLE and OpenTherm enabled
- Room thermostat values not available HOT 24
- ported to esp-idf framework HOT 1
- Heating start / stop (no enable /disable) HOT 7
- Cannot communicate with Intergas Kompakt HR 22 HOT 3
- Add method getLastResponse HOT 3
- Setting hot water temperature fails (Tasmota) HOT 1
- Nest Thermostat
- Only getting invalid response on Master side HOT 2
- ICACHE_RAM_ATTR is deprecated
- Help needed - boiler not starting - viessman vitodens 100-w HOT 4
- Not compiling when "thingProperties.h" is used. HOT 4
- [HELP] OpenTherm Master Schematic HOT 1
- OpenTherm monitor HOT 5
- Protocol instability, request for help HOT 1
- OpenThermMessageID 50 missing HOT 2
- Can you add the possibility to invert the Pin signals, as some schematics are different
- [HELP] Boilers goes berserk when communication with opentherm is lost HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opentherm_library.