Comments (7)
Can you compare with the value from the logs ? The value is well defined as a float
this.currentTemperature = parseFloat(json.currentTemperature);
from homebridge-thermostat.
This is partly to do with the HomeKit and partly to do with the plugin. HomeKit currently has a maximum resolution of 0.5
°C so you can't expect anything more than this.
However, the plugin is currently setting the resolution to 1
°C on line 276
: minStep: 1
. Thus, this issue can be partially resolved by changing the line to: minStep: 0.5
.
It is worth noting that you could change the line to: minStep: 0.1
as I have done in my homebridge-web-thermostat plugin but this will have no further effect but could be useful in future versions of HomeKit where finer resolutions are supported.
from homebridge-thermostat.
If I run Homebridge from command line then the output shows the following when getting status.
0|homebridge | [8/20/2019, 8:24:29 PM] [Thermostat-Livingroom] [*] currentTemperature: 22.4
but HomeKit shows 22.0.
Just seen your message @Tommrodrigues , that is interesting to know, I will look at that now.
from homebridge-thermostat.
ok, I have updated this line as you suggested, now it works (to nearest 0.5), good enough for me for now.
Thanks 👍
from homebridge-thermostat.
Hello guys,
I just updated the code and published on NPM a version were both values are 0.5 instead of 1
Don't hesitate to perform pull request in such a situation ;)
Best,
from homebridge-thermostat.
Hello @PJCzx
I could adjust minStep value but couldn't solve the temperature rounding issue yet.
Currently, the temperatures are rounded. As example if homebridge finds 21.28°C from the API , it still shows 21.5 in the home app.
Someone reported me that it is possible to show temperatures without rounding in Apple Home App. Do you have any idea to fix this? Thanks in advance.
from homebridge-thermostat.
Hello @smartechru, Unfortunately I have no more information than what @Tommrodrigues mentioned in his comment bellow.
Best,
@PJCzx
from homebridge-thermostat.
Related Issues (20)
- homebridge doesnt get the data HOT 3
- dummy thermostat HOT 5
- Does thermostat support adjust the fan state? HOT 1
- Error: connect EALREADY HOT 4
- Thermostat not working with Siri, but OK with Home app HOT 3
- Can't get it working with Infinitude HOT 5
- No Response error HOT 2
- Update status with one request HOT 4
- Pull request not merged HOT 2
- Fake.js not working HOT 2
- getting error message HOT 5
- Significant Variance in Temperatures in Home App HOT 3
- One click activation of thermostat devices HOT 3
- Work with Honeywell home t series thermostats HOT 1
- heatOnly option HOT 10
- pollInterval does not work HOT 5
- Cannot pair Homebridge bridge in Home app when homebridge-thermostat accessories are present in config.json HOT 1
- "heatOnly": true - ignores auto mode HOT 1
- Not working with Dantherm
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 homebridge-thermostat.