Comments (8)
after some digging into the code, I found the right combination:
curl -s http://itho.local/api.html?vremotecmd=auto; curl -s http://itho.local/api.html?vremotecmd=31DA
so, as I said before, the key is to trigger an internal status update; i.e. to send 31DA
command which internally calls sendQuery31DA
which forces an update of ithoMeasurements
vector which queries ITHO status and provide up-to-date information for get=ithostatus
.
In my opinion, these routines should happen as part of handing any fan speed updates. But, vremotecmd=31DA
should work as well.
from ithowifi.
Hi, thx for the issue! The only known way to get the info sooner is the decrease the update value. The info needs to be obtained from itho firmware, I do not know any other way to retrieve this info.
from ithowifi.
The info needs to be obtained from itho firmware, I do not know any other way to retrieve this info.
Sure. This is expected. I'm talking about triggering internal update right after processing vremotecmd
command.
Essentially, one need to call the same function/procedure which is trigger by schedule at the end of vremotecmd
command.
from ithowifi.
you could use apit.html?get?lastcmd
for this. I just noticed that it fell put of documentation somehow but it is still in code for the WebAPI:
https://github.com/arjenhiemstra/ithowifi/blob/2c554d5c0de098dc65df4e87d9ed043d4d604a4a/software/NRG_itho_wifi/main/tasks/task_web.cpp#L603C16-L603C22
and the MQTTAPI on the "lastcmd" subtopic
from ithowifi.
Thanks for the suggestion. But I don't think it works.
what I do is the following:
terminal #1
$ watch -n 1 curl -s http://itho.local/api.html?get=ithostatus`
terminal #2
curl -s http://itho.local/api.html?vremotecmd=auto; curl -s http://itho.local/api.html?get=lastcmd
what I expect:
ithostatus
shows me fan-info: auto
right after command finishes in terminal 2
what I get:
ithostatus
updates the value of fan-info
after dozens of seconds. Effectively, when the periodical update happens.
from ithowifi.
"get=ithostatus" retrieves data directly from the itho firmware, one can expect other values but we are limited to what the itho firmware reports back. There is no way to influence this behavior I'm afraid...
from ithowifi.
I'll add sendQuery31DA and sendQuery31D9 to the queue after each i2c remote command. That should fix it I think
from ithowifi.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from ithowifi.
Related Issues (20)
- Adding a RF remote: ID error, please use HEX notation separated by ',' (ie. 'A1,34,7F') HOT 3
- Domoticz Python Plugin HOT 2
- [Feature request] Add spider remote HOT 9
- MQTT settings are reset to defaults when module restarts HOT 5
- CVE-S ECO SP: init failed - please power cycle the Itho unit - HOT 2
- Is it possible to enable additional cooling for heat pumps using the API? HOT 1
- [Minor] Opening left menu in new tab shows JSON or 404 HOT 3
- Losing System status (2401) counters after a while HOT 4
- Low ventilation setpoint setting results in '-1%' setpoint HOT 1
- Same SSID on multiple access points in a cluster is seen as multiple different wifi networks. HOT 2
- HA MQTT: received on topic itho/ithostatus. 'high' is not a valid preset mode HOT 7
- Homey fanspeed insights HOT 2
- Link to Domoticz does not work when using Publish topic other than flat HOT 1
- NON-CVE 1 Software Update not working HOT 1
- unit suddenly flipped outdoor and room temperatures HOT 1
- itho RFT-RV commands are always being send to the itho unit. HOT 1
- Wiki says WPU heat pump is experimental HOT 3
- Cards in HA HOT 1
- Feature request: enlarge number of RF remotes to 12 or make setting configurable
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.