Code Monkey home page Code Monkey logo

appdaemon-climate's People

Contributors

kprestel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

jumping2000

appdaemon-climate's Issues

Request: Can you add ability to change open/close to on/off

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?

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

I can't get app to work

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.