Comments (3)
As far as I can see this is not a bug, but rather is by design as the current thermostat implementation does not use the thermostat-operating-status virtual device and thus it will always be hidden (it's hidden for my Honeywell thermostat as well).
Right now the way Current Heating Cooling State is updates is that it uses the current temperature, mode and set point to algorithmically "estimate" what the current operating state is likely to be. In other words, if the mode is "heat" and the current temperature is below the set point, then it assumes the state is "HEAT", if the mode was "cool" and the current temperature is above the set point, then it assumes the state is "COOL". The logic is a little more complex than this, but that's the jist of it, it doesn't use the actual reporting mode.
This is not a perfect implementation as it will not reflect the current operating state 100% of the time. For example, on my thermostat the Homebridge operating state will switch to "Off" as soon as the temperature rises to be the same as the set temperature, however, my thermostat will keep the unit running for quite a bit longer to get closer to the mid-point.
I'm not sure why it was implemented this way vs using the thermostat-operating-status. If I remember correctly it was contributed by another user many years ago (2020) and it doesn't appear to have had any significant changes in that time, so I assume it is mostly good enough for most users.
from ring.
Took another quick glance through the code and verified that the behavior above is correct/expected as the code is written today. The thermostat-operating-status will always show as a hidden accessory because it is not listed in ignoreHiddenDeviceTypes
but it has no specific class handler so it will be logged as a hidden accessory, however, as it is not used in the thermostat device this has no impact.
What probably should happen:
- Add a device
RingDeviceType
to ring-client-api for thermostat-operating-status - Add this type to
ignoreHiddenDeviceTypes
- Modify thermostat class to actually use thermostat-operating-status instead of ignoring it (should be ease as device is available via onComponentDevices which is already used for the Temperature Sensor
I know this works because I already use this same basic logic in ring-mqtt. I'll try to do this for the next version, however, that probably won't be until sometime next month as I have limited time available at the moment.
For now however, I'm going to close this issue since, as currently written, it is expected that the thermostat operating status is a hidden accessory so the request about unhiding an the accessory is invalid.
from ring.
Thanks, @tsightler for the looking into this and the explanation.
I had an IFTTT plugin and automation set up to log every time the thermostat changed current operating status to "heat" or "off". It was working in that it the current operating status would come on and the go off in 2 minutes even though the boiler was still heating. Based on your explanation, I now understand that to be by design or a function of the algorithm estimating the current operating status.
Thanks, again.
from ring.
Related Issues (20)
- onDoorbellPressed not sending updates HOT 1
- Response Code 422 HOT 1
- [Ring] Failed to reach Ring server at https://api.ring.com/clients_api/ring_devices. getaddrinfo ENOTFOUND api.ring.com. HOT 3
- Ring Intercom HOT 1
- The doorbell press and motion detection features seem to be ineffective with the jbox_v1 (Video Doorbell Elite) device type HOT 3
- Not getting doorbell notifications (doorbell_graham_cracker) HOT 2
- Support Setting Fan Control Of Honeywell T6 Pro Thermostat HOT 1
- Quick Responses Endpoints
- API no longer returning cameras or devices HOT 1
- Intercom - Ding event not available in ioBroker where I use your adapter HOT 1
- Ring Intercom - silence Ringtone when Delay Switch is triggered
- Ring panic buttons dont show up in Home
- Stream instantly closes after it opens HOT 9
- Intercom: It is not possible to disable HomeKit notifications when doorbell rings HOT 4
- Plugin doesnโt respect Ring app settings for Live View HOT 1
- rpc command unlock_door for ring HOT 1
- ring plugin stopped working, cant lovin anymore HOT 3
- Live stream fails/times out, snapshots work
- Error 500 in Ring API on Homebridge HOT 49
- No longer working (cannot arm and disarm) HOT 1
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 ring.