kprestel / appdaemon-climate Goto Github PK
View Code? Open in Web Editor NEWappdaemon app to control your home's climate
License: MIT License
appdaemon app to control your home's climate
License: MIT License
Firstly thanks for door/windows sensor support :), but I have little problem. All my door and windows sensor have on/off not open/close state and I get error Unknown state: off / Unknown state: on
Can you add ability to change sensor open/close to on/off ?
I see similar options in automoli:
motion_state_on | True | integer | If using motion sensors which don't send events if already activated, like Xiaomi do, add this to your config with "on". This will listen to state changes instead | |
---|---|---|---|---|
motion_state_off | True | integer | If using motion sensors which don't send events if already activated, like Xiaomi do, add this to your config with "off". This will listen to the state changes instead. |
Maybe to thermostat: too, so I can change heat/off to on/off. And I can control heating valve (switch.heating).
Error when I open or close door/window?
Here is ERROR:
2022-03-27 15:37:11.960633 WARNING HASS: Code: 400, error: 400: Bad Request
2022-03-27 15:37:11.959779 WARNING HASS: Error calling Home Assistant service default/climate/turn_off
2022-03-27 15:36:58.080779 WARNING HASS: Code: 400, error: 400: Bad Request
2022-03-27 15:36:58.079044 WARNING HASS: Error calling Home Assistant service default/climate/turn_on
2022-03-27 15:35:20.740639 WARNING HASS: Code: 400, error: 400: Bad Request
2022-03-27 15:35:20.739262 WARNING HASS: Error calling Home Assistant service default/climate/turn_off
2022-03-27 15:34:10.860533 WARNING HASS: Code: 400, error: 400: Bad Request
2022-03-27 15:34:10.859587 WARNING HASS: Error calling Home Assistant service default/climate/turn_on
2022-03-27 15:32:55.314329 WARNING HASS: Code: 400, error: 400: Bad Request
2022-03-27 15:32:55.313392 WARNING HASS: Error calling Home Assistant service default/climate/turn_off
Here is my test configuration:
thermostat_livingroom:
module: climate
class: Climate
thermostat: climate.livingroom_thermostat
weather_sensor: sensor.home_temperature
mode_switching_enabled: input_boolean.thermostat_enable_mode_switching
max_temperature: input_number.thermostat_max_temperature
min_temperature: input_number.thermostat_min_temperature
inside_temperature_sensors:
livingroom:
sensors:
- sensor.livingroom_thermostat_current_temperature
open_close_sensors:
- binary_sensor.balcony_door
climate_off_timeout: "00:00:10"
preferences:
morning:
input_time: input_datetime.climate_morning
input_temperature: input_number.climate_morning_temp
target_area: livingroom
daytime:
input_time: input_datetime.climate_daytime
input_temperature: input_number.climate_daytime_temp
target_area: livingroom
evening:
input_time: input_datetime.climate_evening
input_temperature: input_number.climate_evening_temp
target_area: livingroom
bedtime:
input_time: input_datetime.climate_bedtime
input_temperature: input_number.climate_bedtime_temp
target_area: livingroom
Can you add function to turn off climate when temperature is reached?
For example:
When my climate.hallway reaches target sensor.living room temperature, turns off and waits until input_number.climate_temperature_difference is reached and then turn on climate.hallway again.
Thanks:)
Do you plan to add door / window sensors?
Hi,
Climate AC won't turn off after temperature is reached, just change temperature to value I set?
For start I try one climate, like this:
climatge_climate:
module: climatge
class: Climate
thermostat: climate.hallway_climate
weather_sensor: sensor.home_temperature
mode_switching_enabled: true
max_temperature: 26
min_temperature: 18
inside_temperature_sensors:
livingroom:
sensors:
- sensor.livingroom_thermostat_current_temperature
kitchen:
sensors:
- sensor.kitchen_thermostat_current_temperature
childrens:
sensors:
- sensor.childrens_current_temperature
bedroom:
sensors:
- sensor.bedroom_current_temperature
hallway:
sensors:
- sensor.hallway_climate_current_temperature
- sensor.hallway_thermostat_current_temperature
bathroom:
sensors:
- sensor.bathroom_current_temperature
- sensor.bathroom_thermostat_current_temperature
wc:
sensors:
- sensor.wc_current_temperature
preferences:
morning:
time: input_datetime.climatge_morning
temperature: input_number.climatge_morning_temp
target_area: livingroom, kitchen, childrens, bedroom, hallway, wc
daytime:
time: input_datetime.climatge_daytime
temperature: input_number.climatge_daytime_temp
target_area: livingroom, kitchen, childrens, bedroom, hallway, wc
evening:
time: input_datetime.climatge_evening
temperature: input_number.climatge_evening_temp
target_area: livingroom, kitchen, childrens, bedroom, hallway, wc
bedtime:
time: input_datetime.climatge_bedtime
temperature: input_number.climatge_bedtime_temp
target_area: livingroom, kitchen, childrens, bedroom, hallway, wc
morning_bathroom:
time: input_datetime.climatge_bathroom_morning
temperature: input_number.climatge_bathroom_morning_temp
target_area: bathroom
daytime_bathroom:
time: input_datetime.climatge_bathroom_daytime
temperature: input_number.climatge_bathroom_daytime_temp
target_area: bathroom
evening_bathroom:
time: input_datetime.climatge_bathroom_evening
temperature: input_number.climatge_bathroom_evening_temp
target_area: bathroom
bedtime_bathroom:
time: input_datetime.climatge_bathroom_bedtime
temperature: input_number.climatge_bathroom_bedtime_temp
target_area: bathroom
Is this correct configuration?
error:
2022-03-16 18:05:47.629845 WARNING AppDaemon: Unable to find module module climatge - 'climate' is not initialized
2022-03-16 18:05:47.632928 WARNING AppDaemon: Unable to find module climate - initialize() skipped
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.