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

Thermostat Sensor example #37

Closed
faronov opened this issue Nov 22, 2017 · 3 comments
Closed

Thermostat Sensor example #37

faronov opened this issue Nov 22, 2017 · 3 comments

Comments

@faronov
Copy link

faronov commented Nov 22, 2017

Hi
I'm very interesting about this project, it looks very promise.
I'm not a developer guru, but can read and modify some code :)
I'm looking how to write thermostat code, I understand how to read temperature sensor
But can't understand how to store HEATING_THRESHOLD_TEMPERATURE_C
and where it can be stored

Also in your demo, I see how to get state from a sensor when it requested,
but how to get state continuously?
Like get the temperature from a sensor, compare with stored HEATING_THRESHOLD_TEMPERATURE_C and turn on or off relay when it needed, without interacting with homekit?

@ageorgios
Copy link

I cannot answer your question, but on which hardware you are trying to implement the thermostat? Sonoff?

@faronov
Copy link
Author

faronov commented Nov 22, 2017

It can be Sonoff
but I have some devices with esp12 or esp7 modules
I made ESPurna-H board
http://tinkerman.cat/the-espurna-board-a-smart-wall-switch-with-power-monitoring/

P.S.
I also interesting to add power usage monitoring but it seems to look like power usage not supported homekit directly.
Only in custom profile with Elgato EVE application.
But this is another story :)

@HomeACcessoryKid
Copy link
Owner

cloned this to HomeACcessoryKid/ESP8266-HomeKit-Demo#35
Please use demo repository for these type of questions

Repository owner locked and limited conversation to collaborators Nov 25, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants