Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change maxTemp for thermostat #46

Closed
iCarl opened this issue Dec 1, 2017 · 5 comments
Closed

Change maxTemp for thermostat #46

iCarl opened this issue Dec 1, 2017 · 5 comments

Comments

@iCarl
Copy link

iCarl commented Dec 1, 2017

Can i change the maxTemp for the target temperature in any way?
I'd like it to go to 99°C and not the standard 38°C.
EDIT: I'll try to edit https://github.com/KhaosT/HAP-NodeJS/blob/master/accessories/Thermostat_accessory.js

@hobbyquaker
Copy link
Owner

As of today this isn't exposed to a config option by homekit2mqtt, minValue is, maxValue not. Is a small change, will try to implement it asap.

@hobbyquaker
Copy link
Owner

hobbyquaker commented Jan 24, 2018

Oh man :) I didn't realize that this is already possible! :-) You cant do it via the ui, but you can edit the .json file manually and just add a props object to your thermostat like e.g.

  "...": {
    "service": "Thermostat",
    "name": "...",
    "topic": {
      ...
    },
    "props": {
       "targetTemperature": {
         "maxValue": 99
      }
    }
  }

@NovaGL
Copy link

NovaGL commented Feb 14, 2018

This isn't working for me. I want to set a min and a maxvalue can you help?

@hobbyquaker
Copy link
Owner

Oops, sorry, typo. The leading T has to be capitalized.
Just tested this config - it works:

  "test/Heizung": {
    "service": "Thermostat",
    "name": "Heizung Test",
    "topic": {
      "setTargetTemperature": "test/set/TargetTemperature",
      "statusTargetTemperature": "test/status/TargetTemperature",
      "statusCurrentTemperature": "test/status/CurrentTemperature",
      "statusCurrentRelativeHumidity": "test/status/CurrentRelativeHumidity"
    },
    "props": {
      "TargetTemperature": {
        "maxValue": 20,
        "minValue": 0
      }
    }
  }

@NovaGL
Copy link

NovaGL commented Feb 15, 2018

Thanks, maybe that's all it is.

Why is this not on the readme?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants