Comments (3)
Hi Wim, this has already been implemented in the last firmware version, see this piece of code:
else {
if (strcmp(s_payload, "low") == 0) {
val = systemConfig.itho_low;
}
else if (strcmp(s_payload, "medium") == 0) {
val = systemConfig.itho_medium;
}
else if (strcmp(s_payload, "high") == 0) {
val = systemConfig.itho_high;
}
else {
val = strtoul (s_payload, NULL, 10);
}
So if the MQTT command is not low, medium or high then it will try to translate the input to a number. If that also fails nothing gets processed.
update: formatting was kinda bad, hopefully better readable now
from ithowifi.
Nice! Didn't see that, sorry.
I'll update my HA code to work with those values, thanks!
This issue can be closed then.
from ithowifi.
No problem! Documentation also needs to be updated on this point. Furthermore I'm working on implementing timer commands and the possibility to queue commands with a time2live on the queue.
from ithowifi.
Related Issues (20)
- [Request] Amber heat pump support HOT 6
- api.html?get=currentspeed not updating HOT 5
- [Request] AutoTemp fw 13 support HOT 7
- Minor typo in log message HOT 1
- Error on updating System Settings HOT 6
- Cannot switch off AP mode HOT 1
- long integer truncated in status JSON HOT 19
- [Feature Request] Support for WPU Version 41 HOT 32
- Virtual remote question HOT 2
- Rounding errors in statusvalues HOT 11
- [Feature] provide FW update available of add-on via MQTT HOT 2
- Frost valve opening and worrying sound coming from it after connecting module HOT 2
- Adding a RF remote: ID error, please use HEX notation separated by ',' (ie. 'A1,34,7F') HOT 2
- Domoticz Python Plugin HOT 1
- trigger status update when changing settings via API/MQTT HOT 7
- [Feature request] Add spider remote HOT 7
- MQTT settings are reset to defaults when module restarts HOT 1
- CVE-S ECO SP: init failed - please power cycle the Itho unit - HOT 1
- Is it possible to enable additional cooling for heat pumps using the API?
- [Minor] Opening left menu in new tab shows JSON or 404
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 ithowifi.