├── .gitignore ├── README.md ├── ScreenShots ├── actions.png ├── conditional_entity_1.png ├── conditional_entity_2.png ├── conditional_entity_3.png ├── cover_double_tap_action.png ├── cover_group.png ├── cover_group_double_tap_action.png ├── cover_group_hold_action.png ├── cover_hold_action.png ├── floorplan.png ├── hvac.png ├── hvac_1_scheduler.png ├── hvac_2_schedulers.png ├── hvac_3_schedulers.png ├── hvac_4_schedulers.png ├── hvac_double_tap_action.png ├── hvac_hold_action.png ├── hvac_on.png ├── hvac_tap_action.png ├── irrigation.png ├── irrigation_1_scheduler.png ├── irrigation_2_schedulers.png ├── irrigation_double_tap_action.png ├── irrigation_group.png ├── irrigation_group_cycle.png ├── irrigation_group_double_tap_action.png ├── irrigation_group_hold_action.png ├── irrigation_group_tap_action.png ├── irrigation_hold_action.png ├── light_double_tap_action.png ├── light_group.png ├── light_group_double_tap_action.png ├── light_group_hold_action.png ├── light_group_warning.png ├── light_hold_action.png ├── lights.png ├── refresh_reload.png ├── settings.png ├── settings_tap_action.png ├── status_bar.png ├── status_bar_hold_action_1.png ├── status_bar_hold_action_2.png ├── status_bar_hold_action_3.png ├── status_bar_tap_action_1.png ├── status_bar_tap_action_2.png ├── status_bar_tap_action_3.png ├── status_bar_tap_action_4.png ├── vacuum.png ├── vacuum_1_scheduler.png ├── vacuum_2_schedulers.png ├── vacuum_double_tap_action.png ├── vacuum_hold_action.png ├── vacuum_tap_action.png ├── water.png ├── water_boiler.png ├── water_boiler_1_scheduler.png ├── water_boiler_2_schedulers.png ├── water_boiler_double_tap_action.png ├── water_boiler_hold_action.png ├── water_boiler_information.png ├── water_boiler_tap_action.png ├── water_boiler_timer.png ├── water_boiler_timer_schedule.png └── weather_card_hourly_forecast.png ├── automations.yaml ├── blueprints └── automation │ ├── blueprint_hvac_scheduler.yaml │ ├── blueprint_irrigation_scheduler.yaml │ ├── blueprint_time_limit_activation.yaml │ └── blueprint_waterboiler_scheduler.yaml ├── configuration.yaml ├── customize.yaml ├── esphome ├── .gitignore ├── ble_tracker_downstairs.yaml ├── ble_tracker_upstairs.yaml ├── boiler_switch.yaml ├── current_measure.yaml ├── diningroom_light.yaml ├── diningroom_windowshutter.yaml ├── ella_windowshutter.yaml ├── garage_door_opener.yaml ├── garden_light.yaml ├── garden_shed_light.yaml ├── guest_bathroom_light.yaml ├── hallway_light.yaml ├── kitchen_light_ceiling.yaml ├── kitchen_light_klapa.yaml ├── laundryroom_light.yaml ├── livingroom_doorshutter.yaml ├── livingroom_light.yaml ├── livingroom_wall_light.yaml ├── livingroom_windowshutter.yaml ├── lobby_light.yaml ├── m5stack-atom-echo-104a70.yaml ├── m5stack-atom-echo-104af0.yaml ├── main-bathroom-light-nspanel.yaml ├── main_bathroom_heater.yaml ├── main_bathroom_light.yaml ├── master_bathroom_heater.yaml ├── master_bathroom_light.yaml ├── master_bedroom_left_light.yaml ├── master_bedroom_right_light.yaml ├── noga_windowshutter_north.yaml ├── noga_windowshutter_west.yaml ├── pantry_light.yaml ├── patio_light.yaml ├── playroom_light.yaml ├── playroom_windowshutter.yaml ├── porch_light.yaml ├── roof_light.yaml ├── roof_right_table_power.yaml ├── roof_trapdoor.yaml ├── sonoff-mini-3.yaml ├── sonoff-mini-4.yaml ├── sonoff_mini_1.yaml ├── sonoff_mini_2.yaml ├── spare_boiler_switch.yaml ├── spare_double_light.yaml ├── spare_single_light.yaml ├── spare_windowshutter.yaml ├── stairs_light.yaml ├── waterboiler_power.yaml ├── waterboiler_temperature.yaml ├── zzz_common_files │ ├── common.yaml │ ├── common_boilerswitch_ads_161.yaml │ ├── common_boilerswitch_wfbs01.yaml │ ├── common_dimmerswitch_wfds01.yaml │ ├── common_heaterswitch_wh100weu.yaml │ ├── common_lightswitch_wfws01.yaml │ ├── common_lightswitch_wfws02.yaml │ ├── common_nspanel.yaml │ ├── common_shutterswitch_wfcs01.yaml │ ├── common_sonoff_basic.yaml │ ├── common_sonoff_mini.yaml │ ├── common_sonoff_minir4.yaml │ ├── generic_d1_mini_pinout.yaml │ ├── platform_bk72xx.yaml │ ├── platform_esp32.yaml │ ├── platform_esp8266.yaml │ ├── testing_inputs.yaml │ └── testing_output.yaml ├── zzz_not_installed │ ├── playroom_dimmer_wfds01.yaml │ ├── sonoff_basic_1.yaml │ ├── temp.yaml │ ├── wittycloud_3.yaml │ └── work_display_wemosd1minipro.yaml └── zzz_resource_files │ ├── hp_logo.jpg │ └── times.ttf ├── lovelace_mobile_UI.yaml ├── lovelace_mobile_UI ├── covers.yaml ├── electricity_consumption.yaml ├── hvac.yaml ├── irrigation.yaml ├── lights.yaml ├── updates.yaml ├── vacuum.yaml ├── water_consumption.yaml ├── waterboiler.yaml └── weather_calendar.yaml ├── lovelace_new.yaml ├── lovelace_new_data.yaml ├── lovelace_new_test.yaml ├── lovelace_new_test_data.yaml ├── packages ├── package_away.yaml ├── package_awning.yaml ├── package_cover.yaml ├── package_goodnight.yaml ├── package_hvac.yaml ├── package_hvac_downstairs_scheduler_1.yaml ├── package_hvac_downstairs_scheduler_2.yaml ├── package_hvac_downstairs_scheduler_3.yaml ├── package_hvac_downstairs_scheduler_4.yaml ├── package_hvac_upstairs_scheduler_1.yaml ├── package_hvac_upstairs_scheduler_2.yaml ├── package_hvac_upstairs_scheduler_3.yaml ├── package_hvac_upstairs_scheduler_4.yaml ├── package_irrigation.yaml ├── package_irrigation_drips_scheduler_1.yaml ├── package_irrigation_drips_scheduler_2.yaml ├── package_irrigation_north_scheduler_1.yaml ├── package_irrigation_north_scheduler_2.yaml ├── package_irrigation_west_scheduler_1.yaml ├── package_irrigation_west_scheduler_2.yaml ├── package_light.yaml ├── package_navigation.yaml ├── package_printer.yaml ├── package_unraid.yaml ├── package_vacuum.yaml ├── package_vacuum_bottom_scheduler_1.yaml ├── package_vacuum_bottom_scheduler_2.yaml ├── package_vacuum_top_scheduler_1.yaml ├── package_vacuum_top_scheduler_2.yaml ├── package_waterboiler.yaml ├── package_waterboiler_scheduler_1.yaml ├── package_waterboiler_scheduler_2.yaml ├── package_waterboiler_scheduler_3.yaml ├── package_waterboiler_scheduler_4.yaml └── package_watermeter.yaml ├── scripts.yaml └── www └── images ├── floorplan ├── background.png ├── background_t.png ├── lights │ ├── diningroom_light.png │ ├── ella_light.png │ ├── garden_light_bottom.png │ ├── garden_light_top.png │ ├── garden_north_light.png │ ├── garden_shed_light.png │ ├── guest_bathroom_light.png │ ├── hallway_light.png │ ├── kitchen_light_ceiling.png │ ├── kitchen_light_klapa.png │ ├── kitchen_table_light.png │ ├── laundryroom_light.png │ ├── livingroom_light.png │ ├── livingroom_wall_light.png │ ├── lobby_light.png │ ├── main_bathroom_light_bottom.png │ ├── main_bathroom_light_top.png │ ├── master_bathroom_light_bottom.png │ ├── master_bathroom_light_top.png │ ├── master_bedroom_left_light.png │ ├── master_bedroom_right_light.png │ ├── noga_light.png │ ├── pantry_light.png │ ├── patio_light_bottom.png │ ├── patio_light_top.png │ ├── playroom_light.png │ ├── porch_light.png │ ├── roof_light_bottom.png │ ├── roof_light_top.png │ ├── stairs_light.png │ └── tomer_light.png ├── navigation │ ├── kfar_yona.png │ ├── petach_tikva.png │ ├── work_aviva.png │ └── work_dan.png ├── shutters │ ├── square_closed.png │ ├── square_closing.png │ ├── square_moving_horizontal.png │ ├── square_moving_vertical.png │ ├── square_open.png │ └── square_opening.png ├── transparent_square.png └── vacuum.png └── radio_stations ├── BET.png ├── ECO99FM.png ├── FFH_Die_80er.png ├── GALGALTZ.jpg ├── GIMEL.png ├── RADIOS100FM.png └── SKY_RADIO_101.png /.gitignore: -------------------------------------------------------------------------------- 1 | # Example .gitignore file for your config dir. 2 | # An * ensures that everything will be ignored. 3 | * 4 | 5 | # You can whitelist files/folders with !, these will not be ignored. 6 | !.gitignore 7 | !*.yaml 8 | !*.md 9 | !*.jpg 10 | !*.ttf 11 | !*.png 12 | !blueprints 13 | !blueprints/* 14 | !packages 15 | !ScreenShots 16 | !www 17 | !www/images 18 | !www/images/floorplan/ 19 | !www/images/floorplan/lights 20 | !www/images/floorplan/navigation 21 | !www/images/floorplan/shutters 22 | !www/images/radio_stations 23 | !esphome/ 24 | !esphome/zzz* 25 | !lovelace_mobile_UI/ 26 | 27 | #!esphome 28 | #!esphome/zzz_common_files 29 | #!esphome/zzz_resource_files 30 | 31 | # Ignore folders. 32 | 33 | # Ensure these YAML files are ignored, otherwise your secret data/credentials will leak. 34 | ip_bans.yaml 35 | secrets.yaml 36 | known_devices.yaml 37 | google_calendars.yaml 38 | lovelace storage mode UI original.yaml 39 | configMY_camera.yaml 40 | -------------------------------------------------------------------------------- /ScreenShots/actions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/actions.png -------------------------------------------------------------------------------- /ScreenShots/conditional_entity_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/conditional_entity_1.png -------------------------------------------------------------------------------- /ScreenShots/conditional_entity_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/conditional_entity_2.png -------------------------------------------------------------------------------- /ScreenShots/conditional_entity_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/conditional_entity_3.png -------------------------------------------------------------------------------- /ScreenShots/cover_double_tap_action.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/cover_double_tap_action.png -------------------------------------------------------------------------------- /ScreenShots/cover_group.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/cover_group.png -------------------------------------------------------------------------------- /ScreenShots/cover_group_double_tap_action.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/cover_group_double_tap_action.png -------------------------------------------------------------------------------- /ScreenShots/cover_group_hold_action.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/cover_group_hold_action.png -------------------------------------------------------------------------------- /ScreenShots/cover_hold_action.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/cover_hold_action.png -------------------------------------------------------------------------------- /ScreenShots/floorplan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/floorplan.png -------------------------------------------------------------------------------- /ScreenShots/hvac.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/hvac.png -------------------------------------------------------------------------------- /ScreenShots/hvac_1_scheduler.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/hvac_1_scheduler.png -------------------------------------------------------------------------------- /ScreenShots/hvac_2_schedulers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/hvac_2_schedulers.png -------------------------------------------------------------------------------- /ScreenShots/hvac_3_schedulers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/hvac_3_schedulers.png -------------------------------------------------------------------------------- /ScreenShots/hvac_4_schedulers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/hvac_4_schedulers.png -------------------------------------------------------------------------------- /ScreenShots/hvac_double_tap_action.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/hvac_double_tap_action.png -------------------------------------------------------------------------------- /ScreenShots/hvac_hold_action.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/hvac_hold_action.png -------------------------------------------------------------------------------- /ScreenShots/hvac_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/hvac_on.png -------------------------------------------------------------------------------- /ScreenShots/hvac_tap_action.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/hvac_tap_action.png -------------------------------------------------------------------------------- /ScreenShots/irrigation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/irrigation.png -------------------------------------------------------------------------------- /ScreenShots/irrigation_1_scheduler.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/irrigation_1_scheduler.png -------------------------------------------------------------------------------- /ScreenShots/irrigation_2_schedulers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/irrigation_2_schedulers.png -------------------------------------------------------------------------------- /ScreenShots/irrigation_double_tap_action.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/irrigation_double_tap_action.png -------------------------------------------------------------------------------- /ScreenShots/irrigation_group.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/irrigation_group.png -------------------------------------------------------------------------------- /ScreenShots/irrigation_group_cycle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/irrigation_group_cycle.png -------------------------------------------------------------------------------- /ScreenShots/irrigation_group_double_tap_action.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/irrigation_group_double_tap_action.png -------------------------------------------------------------------------------- /ScreenShots/irrigation_group_hold_action.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/irrigation_group_hold_action.png -------------------------------------------------------------------------------- /ScreenShots/irrigation_group_tap_action.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/irrigation_group_tap_action.png -------------------------------------------------------------------------------- /ScreenShots/irrigation_hold_action.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/irrigation_hold_action.png -------------------------------------------------------------------------------- /ScreenShots/light_double_tap_action.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/light_double_tap_action.png -------------------------------------------------------------------------------- /ScreenShots/light_group.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/light_group.png -------------------------------------------------------------------------------- /ScreenShots/light_group_double_tap_action.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/light_group_double_tap_action.png -------------------------------------------------------------------------------- /ScreenShots/light_group_hold_action.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/light_group_hold_action.png -------------------------------------------------------------------------------- /ScreenShots/light_group_warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/light_group_warning.png -------------------------------------------------------------------------------- /ScreenShots/light_hold_action.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/light_hold_action.png -------------------------------------------------------------------------------- /ScreenShots/lights.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/lights.png -------------------------------------------------------------------------------- /ScreenShots/refresh_reload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/refresh_reload.png -------------------------------------------------------------------------------- /ScreenShots/settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/settings.png -------------------------------------------------------------------------------- /ScreenShots/settings_tap_action.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/settings_tap_action.png -------------------------------------------------------------------------------- /ScreenShots/status_bar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/status_bar.png -------------------------------------------------------------------------------- /ScreenShots/status_bar_hold_action_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/status_bar_hold_action_1.png -------------------------------------------------------------------------------- /ScreenShots/status_bar_hold_action_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/status_bar_hold_action_2.png -------------------------------------------------------------------------------- /ScreenShots/status_bar_hold_action_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/status_bar_hold_action_3.png -------------------------------------------------------------------------------- /ScreenShots/status_bar_tap_action_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/status_bar_tap_action_1.png -------------------------------------------------------------------------------- /ScreenShots/status_bar_tap_action_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/status_bar_tap_action_2.png -------------------------------------------------------------------------------- /ScreenShots/status_bar_tap_action_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/status_bar_tap_action_3.png -------------------------------------------------------------------------------- /ScreenShots/status_bar_tap_action_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/status_bar_tap_action_4.png -------------------------------------------------------------------------------- /ScreenShots/vacuum.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/vacuum.png -------------------------------------------------------------------------------- /ScreenShots/vacuum_1_scheduler.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/vacuum_1_scheduler.png -------------------------------------------------------------------------------- /ScreenShots/vacuum_2_schedulers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/vacuum_2_schedulers.png -------------------------------------------------------------------------------- /ScreenShots/vacuum_double_tap_action.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/vacuum_double_tap_action.png -------------------------------------------------------------------------------- /ScreenShots/vacuum_hold_action.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/vacuum_hold_action.png -------------------------------------------------------------------------------- /ScreenShots/vacuum_tap_action.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/vacuum_tap_action.png -------------------------------------------------------------------------------- /ScreenShots/water.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/water.png -------------------------------------------------------------------------------- /ScreenShots/water_boiler.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/water_boiler.png -------------------------------------------------------------------------------- /ScreenShots/water_boiler_1_scheduler.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/water_boiler_1_scheduler.png -------------------------------------------------------------------------------- /ScreenShots/water_boiler_2_schedulers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/water_boiler_2_schedulers.png -------------------------------------------------------------------------------- /ScreenShots/water_boiler_double_tap_action.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/water_boiler_double_tap_action.png -------------------------------------------------------------------------------- /ScreenShots/water_boiler_hold_action.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/water_boiler_hold_action.png -------------------------------------------------------------------------------- /ScreenShots/water_boiler_information.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/water_boiler_information.png -------------------------------------------------------------------------------- /ScreenShots/water_boiler_tap_action.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/water_boiler_tap_action.png -------------------------------------------------------------------------------- /ScreenShots/water_boiler_timer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/water_boiler_timer.png -------------------------------------------------------------------------------- /ScreenShots/water_boiler_timer_schedule.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/water_boiler_timer_schedule.png -------------------------------------------------------------------------------- /ScreenShots/weather_card_hourly_forecast.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/ScreenShots/weather_card_hourly_forecast.png -------------------------------------------------------------------------------- /automations.yaml: -------------------------------------------------------------------------------- 1 | - alias: Roof Lights in sync with Roof Trapdoor OPEN 2 | trigger: 3 | - platform: state 4 | entity_id: cover.roof_trap_door 5 | to: open 6 | - platform: state 7 | entity_id: cover.roof_trap_door 8 | to: opening 9 | condition: [] 10 | action: 11 | - service: light.turn_on 12 | entity_id: light.roof_light_bottom 13 | - service: light.turn_on 14 | entity_id: light.roof_light_top 15 | id: 017f60047bb14564b5fb86529ceee472 16 | - alias: Roof Lights in sync with Roof Trapdoor CLOSE 17 | trigger: 18 | - platform: state 19 | entity_id: cover.roof_trap_door 20 | to: closed 21 | - platform: state 22 | entity_id: cover.roof_trap_door 23 | to: closing 24 | condition: [] 25 | action: 26 | - service: light.turn_off 27 | entity_id: light.roof_light_bottom 28 | - service: light.turn_off 29 | entity_id: light.roof_light_top 30 | - service: switch.turn_off 31 | entity_id: switch.roof_right_table_power_relay 32 | id: b9266f900ff54e1f943713d1a30763fe 33 | - id: '1706889626932' 34 | alias: Main Bathroom Light NSPanel Configuration 35 | description: '' 36 | use_blueprint: 37 | path: Blackymas/nspanel_blueprint.yaml 38 | input: 39 | weather_entity: weather.accuweather 40 | indoortemp: sensor.hallway_temperature 41 | climate: climate.hvac_upstairs 42 | left_button_entity: switch.main_bathroom_light_nspanel_relay_1 43 | left_button_name: Ceiling Light 44 | right_button_entity: switch.main_bathroom_light_nspanel_relay_2 45 | right_button_name: Wall Light 46 | entitypages_enabled: true 47 | nspanel_name: 62a05de4f818fc17d6faa360e9cfe490 48 | home_value03: sensor.water_boiler_temperature_in_from_panel 49 | chip01: binary_sensor.water_boiler_power_pump_controller_status 50 | relay_1_local_fallback: true 51 | relay_2_local_fallback: true 52 | climate_button08_icon: '' 53 | chip02: binary_sensor.water_boiler_power_wall_switch_status 54 | chip02_icon: mdi:water-boiler 55 | chip01_icon: mdi:pump 56 | entity01: light.ella_light 57 | entity02: light.tomer_light 58 | entity03: light.noga_light 59 | entity04: light.master_bedroom_left_light 60 | entity05: light.master_bedroom_right_light 61 | entities_entity01: sensor.water_boiler_temperature_in_from_panel 62 | entities_entity02: sensor.water_boiler_temperature_panel_out 63 | entities_entity03: sensor.water_boiler_temperature_out_to_panel 64 | entity_page01_label: Water Boiler Temperatures 65 | entities_entity01_icon: '' 66 | entities_entity02_name: Panel out 67 | entities_entity03_name: Out to panel 68 | entities_entity01_name: In from panel 69 | home_value03_icon: mdi:water-boiler 70 | chip02_inverted: false 71 | chip01_inverted: false 72 | chip07: binary_sensor.nuki_home_door_locked 73 | chip07_inverted: false 74 | chip07_icon: mdi:lock-open 75 | chip07_icon_color: 76 | - 255 77 | - 0 78 | - 0 79 | chip02_icon_color: 80 | - 255 81 | - 0 82 | - 0 83 | date_format: '%A, %d/%m' 84 | -------------------------------------------------------------------------------- /blueprints/automation/blueprint_hvac_scheduler.yaml: -------------------------------------------------------------------------------- 1 | blueprint: 2 | name: HVAC Scheduler 3 | description: Set the temperature, fan_mode and mode of the HVAC at a specific time 4 | domain: automation 5 | input: 6 | start_time: 7 | name: Start Time 8 | description: Trigger - The time the automation should start 9 | selector: 10 | entity: 11 | domain: input_datetime 12 | scheduler_enable: 13 | name: Scheduler Enable 14 | description: Condition - Enable the scheduler if 'on' (Must have 'on' state to work) 15 | selector: 16 | entity: 17 | domain: input_boolean 18 | virtual_climate: 19 | name: Virtual Climate 20 | description: The Climate entity from which the automation takes the HVAC settings 21 | selector: 22 | entity: 23 | domain: climate 24 | target_climate: 25 | name: Target Climate 26 | description: The target Climate entity that controls the actual HVAC 27 | selector: 28 | entity: 29 | domain: climate 30 | mode: restart 31 | max_exceeded: silent 32 | variables: 33 | virtual_climate: !input virtual_climate 34 | scheduler_enable: !input scheduler_enable 35 | trigger: 36 | platform: time 37 | at: !input start_time 38 | condition: 39 | - condition: state 40 | entity_id: !input scheduler_enable 41 | state: "on" 42 | action: 43 | - service: notify.send_message 44 | data: 45 | entity_id: notify.file_debug 46 | message: "{{ this.attributes.friendly_name }} - {{ states(scheduler_enable) }} - {{ state_attr(virtual_climate, 'temperature') }}/{{ state_attr(virtual_climate, 'fan_mode') }}/{{ states(virtual_climate) }}" 47 | - service: climate.set_fan_mode 48 | data: 49 | entity_id: !input target_climate 50 | fan_mode: "{{ state_attr(virtual_climate, 'fan_mode') }}" 51 | - service: climate.set_temperature 52 | data: 53 | entity_id: !input target_climate 54 | temperature: "{{ state_attr(virtual_climate, 'temperature') | float }}" 55 | hvac_mode: "{{ states(virtual_climate) }}" 56 | - service: input_boolean.turn_off 57 | entity_id: !input scheduler_enable 58 | 59 | -------------------------------------------------------------------------------- /blueprints/automation/blueprint_irrigation_scheduler.yaml: -------------------------------------------------------------------------------- 1 | blueprint: 2 | name: Irrigation Scheduler 3 | description: Turn on irrigation valve at a specific time 4 | domain: automation 5 | input: 6 | start_time: 7 | name: Start Time 8 | description: Trigger - The time the automation should start 9 | selector: 10 | entity: 11 | domain: input_datetime 12 | scheduler_enable: 13 | name: Scheduler Enable 14 | description: Condition - Enable the scheduler if 'on' (Must have 'on' state to work) 15 | selector: 16 | entity: 17 | domain: input_boolean 18 | switch: 19 | name: Switch 20 | description: The irrigation switch to control 21 | selector: 22 | entity: 23 | domain: switch 24 | timer: 25 | name: Timer 26 | description: The timer to keep track of the duration 27 | selector: 28 | entity: 29 | domain: timer 30 | duration: 31 | name: Duration 32 | description: The duration of the cycle 33 | selector: 34 | entity: 35 | domain: input_number 36 | scheduler_number: 37 | name: Scheduler Number 38 | description: The scheduler number of the specific irrigation valve (1/2/...) 39 | mode: restart 40 | max_exceeded: silent 41 | variables: 42 | scheduler_number: !input scheduler_number 43 | duration: !input duration 44 | timer: !input timer 45 | trigger: 46 | platform: time 47 | at: !input start_time 48 | condition: 49 | - condition: state # Do not start a schedule if the irrigation valve was already turned on manually 50 | entity_id: !input switch 51 | state: "off" 52 | - condition: state 53 | entity_id: !input scheduler_enable 54 | state: 'on' 55 | - condition: template 56 | value_template: > 57 | {% set sensor_names = [ 'monday', 'tuesday', 'wednesday','thursday','friday','saturday','sunday'] %} 58 | {% set today_name = sensor_names[now().weekday()] %} 59 | {% set entity_id = 'input_boolean.irrigation_drips_day_'+today_name+(scheduler_number|string) %} 60 | {{ is_state(entity_id, 'on') }} 61 | action: 62 | - service: notify.send_message 63 | data: 64 | entity_id: notify.file_debug 65 | message: "{{ this.attributes.friendly_name }} Started - Running for {{ states(duration) | int }} minutes" 66 | - service: switch.turn_on 67 | entity_id: !input switch 68 | - service: timer.start 69 | data: 70 | entity_id: !input timer 71 | duration: 72 | minutes: "{{ states(duration) | int }}" 73 | - wait_template: "{{ is_state(timer, 'idle' ) }}" 74 | - service: switch.turn_off 75 | entity_id: !input switch 76 | -------------------------------------------------------------------------------- /blueprints/automation/blueprint_time_limit_activation.yaml: -------------------------------------------------------------------------------- 1 | blueprint: 2 | name: Time Limit Activation 3 | description: Start a timer when entity is turned on and turn off when completes 4 | domain: automation 5 | input: 6 | switch: 7 | name: Switch 8 | description: The boiler switch to control 9 | selector: 10 | entity: 11 | domain: switch 12 | timer: 13 | name: Timer 14 | description: The timer to keep track of the duration 15 | selector: 16 | entity: 17 | domain: timer 18 | max_limit: 19 | name: Maximum Limit 20 | description: The maximum duration of the on cycle 21 | selector: 22 | entity: 23 | domain: input_number 24 | mode: restart 25 | max_exceeded: silent 26 | variables: 27 | timer: !input timer 28 | max_limit: !input max_limit 29 | trigger: 30 | platform: state 31 | entity_id: !input switch 32 | to: "on" 33 | condition: 34 | - not: 35 | - condition: state # Do not start a schedule if the boiler was already turned on manually 36 | entity_id: !input timer 37 | state: "active" 38 | action: 39 | - service: timer.start 40 | data: 41 | entity_id: !input timer 42 | duration: 43 | minutes: "{{ states(max_limit) | int }}" 44 | - wait_template: "{{ is_state(timer, 'idle' ) }}" 45 | - service: switch.turn_off 46 | entity_id: !input switch 47 | -------------------------------------------------------------------------------- /blueprints/automation/blueprint_waterboiler_scheduler.yaml: -------------------------------------------------------------------------------- 1 | blueprint: 2 | name: Boiler Scheduler 3 | description: Turn on Water Boiler at a specific time 4 | domain: automation 5 | input: 6 | start_time: 7 | name: Start Time 8 | description: Trigger - The time the automation should start 9 | selector: 10 | entity: 11 | domain: input_datetime 12 | scheduler_enable: 13 | name: Scheduler Enable 14 | description: Condition - Enable the scheduler if 'on' (Must have 'on' state to work) 15 | selector: 16 | entity: 17 | domain: input_boolean 18 | switch: 19 | name: Switch 20 | description: The boiler switch to control 21 | selector: 22 | entity: 23 | domain: switch 24 | timer: 25 | name: Timer 26 | description: The timer to keep track of the duration 27 | selector: 28 | entity: 29 | domain: timer 30 | duration: 31 | name: Duration 32 | description: The duration of the on cycle 33 | selector: 34 | entity: 35 | domain: input_number 36 | scheduler_number: 37 | name: Scheduler Number 38 | description: The scheduler number (1/2/...) 39 | mode: restart 40 | max_exceeded: silent 41 | variables: 42 | scheduler_number: !input scheduler_number 43 | duration: !input duration 44 | trigger: 45 | platform: time 46 | at: !input start_time 47 | condition: 48 | - condition: state # Do not start a schedule if the boiler was already turned on manually 49 | entity_id: !input switch 50 | state: "off" 51 | - condition: state 52 | entity_id: !input scheduler_enable 53 | state: 'on' 54 | - condition: template 55 | value_template: > 56 | {% set sensor_names = [ 'monday', 'tuesday', 'wednesday','thursday','friday','saturday','sunday'] %} 57 | {% set today_name = sensor_names[now().weekday()] %} 58 | {% set entity_id = 'input_boolean.boiler_switch_day_'+today_name+(scheduler_number|string) %} 59 | {{ is_state(entity_id, 'on') }} 60 | - condition: numeric_state 61 | entity_id: sensor.water_boiler_temperature_out_to_panel_maximum 62 | below: input_number.boiler_disable_schedulers_temperature 63 | action: 64 | - service: notify.send_message 65 | data: 66 | entity_id: notify.file_debug 67 | message: "{{ this.attributes.friendly_name }} Started - Running for {{ states(duration) | int }} minutes" 68 | - service: switch.turn_on 69 | entity_id: !input switch 70 | - service: timer.start 71 | data: 72 | entity_id: !input timer 73 | duration: 74 | minutes: "{{ states(duration) | int }}" 75 | -------------------------------------------------------------------------------- /customize.yaml: -------------------------------------------------------------------------------- 1 | switch.irrigation_sprinkler_west: 2 | icon: mdi:sprinkler 3 | switch.irrigation_sprinkler_north: 4 | icon: mdi:sprinkler 5 | switch.irrigation_drips: 6 | icon: mdi:water 7 | switch.relay4: 8 | icon: mdi:electric-switch 9 | switch.relay5: 10 | icon: mdi:electric-switch 11 | switch.relay6: 12 | icon: mdi:electric-switch 13 | switch.relay7: 14 | icon: mdi:electric-switch 15 | switch.relay8: 16 | icon: mdi:electric-switch 17 | climate.hvac_livingroom: 18 | icon: mdi:air-conditioner 19 | climate.hvac_hallway: 20 | icon: mdi:air-conditioner 21 | -------------------------------------------------------------------------------- /esphome/.gitignore: -------------------------------------------------------------------------------- 1 | # Gitignore settings for ESPHome 2 | # This is an example and may include too much for your use-case. 3 | # You can modify this file to suit your needs. 4 | /.esphome/ 5 | **/.pioenvs/ 6 | **/.piolibdeps/ 7 | **/lib/ 8 | **/src/ 9 | **/platformio.ini 10 | /secrets.yaml 11 | -------------------------------------------------------------------------------- /esphome/ble_tracker_downstairs.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | platform: ESP32 3 | board: nodemcu-32s 4 | device_name: ble-tracker-downstairs 5 | friendly_name: "BLE Tracker Downstairs" 6 | static_ip: 192.168.1.75 7 | hide_restart_switch: "FALSE" # "TRUE" / "FALSE" 8 | 9 | #MQTT_broker_topic_prefix: myhome/test # myhome//// 10 | 11 | packages: 12 | platform: !include zzz_common_files/platform_esp32.yaml 13 | common: !include zzz_common_files/common.yaml 14 | 15 | ############################################################## 16 | # Custom Boiler Power functionality 17 | ############################################################## 18 | # 19 | # Status LED: GPIO02 20 | # 21 | # Spare : Dx GPIOxx () 22 | # 23 | ############################################################## 24 | 25 | status_led: 26 | pin: 27 | number: GPIO02 28 | inverted: True 29 | 30 | esp32_ble_tracker: 31 | scan_parameters: 32 | interval: 2000ms 33 | window: 1500ms 34 | active: false 35 | 36 | bluetooth_proxy: 37 | active: false 38 | 39 | # sensor: 40 | # - platform: xiaomi_lywsd03mmc 41 | # mac_address: "A4:C1:38:CA:0C:2F" # #1 42 | # bindkey: "7956915a4bbf3daa28c0fa6ad8b9c140" 43 | # temperature: 44 | # name: "Livingroom TV Temperature" 45 | # humidity: 46 | # name: "Livingroom TV Humidity" 47 | # battery_level: 48 | # name: "Livingroom TV Battery Level" 49 | 50 | # - platform: xiaomi_lywsd03mmc 51 | # mac_address: "A4:C1:38:3B:9C:2F" # #2 52 | # bindkey: "910f1a5160335a5670100e89e2bfafac" 53 | # temperature: 54 | # name: "Livingroom Corner Temperature" 55 | # humidity: 56 | # name: "Livingroom Corner Humidity" 57 | # battery_level: 58 | # name: "Livingroom Corner Battery Level" 59 | -------------------------------------------------------------------------------- /esphome/ble_tracker_upstairs.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | platform: ESP32 3 | board: nodemcu-32s 4 | device_name: ble-tracker-upstairs 5 | friendly_name: "BLE Tracker Upstairs" 6 | static_ip: 192.168.1.74 7 | hide_restart_switch: "FALSE" # "TRUE" / "FALSE" 8 | 9 | #MQTT_broker_topic_prefix: myhome/test # myhome//// 10 | 11 | packages: 12 | platform: !include zzz_common_files/platform_esp32.yaml 13 | common: !include zzz_common_files/common.yaml 14 | 15 | ############################################################## 16 | # Custom Boiler Power functionality 17 | ############################################################## 18 | # 19 | # Status LED: GPIO02 20 | # 21 | # Spare : Dx GPIOxx () 22 | # 23 | ############################################################## 24 | 25 | status_led: 26 | pin: 27 | number: GPIO02 28 | inverted: True 29 | 30 | esp32_ble_tracker: 31 | scan_parameters: 32 | interval: 2000ms 33 | window: 1500ms 34 | 35 | bluetooth_proxy: 36 | active: false 37 | 38 | # sensor: 39 | # - platform: xiaomi_lywsd03mmc 40 | # mac_address: "A4:C1:38:61:B0:B0" # #1 41 | # bindkey: "1ec799ba6fe63062dbbfafb439a3aecc" 42 | # temperature: 43 | # name: "Master Bedroom Temperature" 44 | # humidity: 45 | # name: "Master Bedroom Humidity" 46 | # battery_level: 47 | # name: "Master Bedroom Battery Level" 48 | 49 | # - platform: xiaomi_lywsd03mmc 50 | # mac_address: "A4:C1:38:0A:90:F5" # #2 51 | # bindkey: "269aefdc0b46ff27bb52392085f712f8" 52 | # temperature: 53 | # name: "Noga Temperature" 54 | # humidity: 55 | # name: "Noga Humidity" 56 | # battery_level: 57 | # name: "Noga Battery Level" 58 | 59 | # - platform: xiaomi_lywsd03mmc 60 | # mac_address: "A4:C1:38:5C:DC:B6" # #3 61 | # bindkey: "6d65225b9360541e8bcec04672236fdd" 62 | # temperature: 63 | # name: "Ella Temperature" 64 | # humidity: 65 | # name: "Ella Humidity" 66 | # battery_level: 67 | # name: "Ella Battery Level" 68 | 69 | # - platform: xiaomi_lywsd03mmc 70 | # mac_address: "A4:C1:38:70:B2:37" # #4 71 | # bindkey: "f4578e1abfcf6c37c11aa0878e02d2a4" 72 | # temperature: 73 | # name: "Tomer Temperature" 74 | # humidity: 75 | # name: "Tomer Humidity" 76 | # battery_level: 77 | # name: "Tomer Battery Level" 78 | -------------------------------------------------------------------------------- /esphome/boiler_switch.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: boiler-switch 3 | friendly_name: "Boiler Switch" 4 | area: "Hallway" 5 | comment: "Boiler Switch based on ADS-161 BK7231n TuyaMCU" 6 | static_ip: 192.168.1.45 7 | max_duration_on: 240min # Limit switch ON time 8 | 9 | packages: 10 | common: !include zzz_common_files/common.yaml 11 | family: !include zzz_common_files/common_boilerswitch_ads_161.yaml 12 | 13 | time: 14 | - platform: sntp 15 | # ... 16 | on_time: 17 | # Every day @ 04:00 18 | - seconds: 0 19 | minutes: 0 20 | hours: 04 21 | then: 22 | - switch.turn_on: restart_device 23 | -------------------------------------------------------------------------------- /esphome/current_measure.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | platform: ESP8266 3 | board: d1_mini 4 | device_name: current-measure 5 | friendly_name: "Current Measure" 6 | static_ip: 192.168.1.52 7 | esp8266_restore_from_flash: "FALSE" # "TRUE" / "FALSE" !!! Make sure that all switches, lights, fans, globals, etc... are set to ALWAYS_ON/OFF to minimize flash write cycles 8 | 9 | #MQTT_broker_topic_prefix: myhome/test # myhome//// 10 | 11 | packages: 12 | platform: !include zzz_common_files/platform_esp8266.yaml 13 | common: !include zzz_common_files/common.yaml 14 | 15 | ############################################################## 16 | # Wemos D1 Mini * numbers are GPIO# 17 | ############################################################## 18 | # 19 | # Status LED: GPIO02 20 | # SDA: GPIO04 (D2) 21 | # SCL: GPIO05 (D1) 22 | # 23 | ############################################################## 24 | 25 | status_led: 26 | pin: 27 | number: GPIO02 28 | inverted: True 29 | 30 | i2c: 31 | sda: D2 32 | scl: D1 33 | frequency: 400kHz 34 | 35 | ads1115: 36 | - address: 0x48 37 | id: channel_01 38 | continuous_mode: True 39 | - address: 0x49 40 | id: channel_23 41 | continuous_mode: True 42 | 43 | sensor: 44 | - platform: ads1115 45 | ads1115_id: channel_01 46 | multiplexer: 'A0_A1' 47 | gain: 1.024 48 | name: "${friendly_name} Channel 0" 49 | id: channel_0 50 | update_interval: 10s 51 | 52 | # - platform: ads1115 53 | # ads1115_id: channel_01 54 | # multiplexer: 'A2_A3' 55 | # gain: 1.024 56 | # name: "${friendly_name} Channel 1" 57 | # id: channel_1 58 | # update_interval: 2s 59 | 60 | - platform: ads1115 61 | ads1115_id: channel_23 62 | multiplexer: 'A0_A1' 63 | gain: 1.024 64 | name: "${friendly_name} Channel 2" 65 | id: channel_2 66 | update_interval: 10s 67 | 68 | # - platform: ads1115 69 | # ads1115_id: channel_01 70 | # multiplexer: 'A2_A3' 71 | # gain: 1.024 72 | # name: "${friendly_name} Channel 3" 73 | # id: channel_3 74 | # update_interval: 2s 75 | 76 | - platform: ct_clamp 77 | sensor: channel_0 78 | name: "${friendly_name} Power 0 [W]" #" Current [A]" 79 | id: power_0 80 | unit_of_measurement: "W" 81 | sample_duration: 200ms 82 | update_interval: 5s 83 | accuracy_decimals: 2 84 | filters: 85 | - calibrate_linear: # Using 227VAC as reference voltage to calcualte current based on bulb Wattage 86 | - 0.00000 -> 0 87 | - 0.00308 -> 60 #0.2643 88 | - 0.00366 -> 75 #0.3304 89 | #- 0.00000 -> 2500 90 | - delta: 20 91 | 92 | # - platform: ct_clamp 93 | # sensor: channel_1 94 | # name: "${friendly_name} Power 1 [W]" #" Current [A]" 95 | # id: power_1 96 | # unit_of_measurement: "W" 97 | # sample_duration: 200ms 98 | # update_interval: 5s 99 | # accuracy_decimals: 2 100 | # filters: 101 | # - calibrate_linear: # Using 227VAC as reference voltage to calcualte current based on bulb Wattage 102 | # - 0.00000 -> 0 103 | # - 0.00308 -> 60 #0.2643 104 | # - 0.00366 -> 75 #0.3304 105 | # #- 0.00000 -> 2500 106 | # - delta: 20 107 | 108 | - platform: ct_clamp 109 | sensor: channel_2 110 | name: "${friendly_name} Power 2 [W]" #" Current [A]" 111 | id: power_2 112 | unit_of_measurement: "W" 113 | sample_duration: 200ms 114 | update_interval: 5s 115 | accuracy_decimals: 2 116 | filters: 117 | - calibrate_linear: # Using 227VAC as reference voltage to calcualte current based on bulb Wattage 118 | - 0.00000 -> 0 119 | - 0.00308 -> 60 #0.2643 120 | - 0.00366 -> 75 #0.3304 121 | #- 0.00000 -> 2500 122 | - delta: 20 123 | 124 | # - platform: ct_clamp 125 | # sensor: channel_3 126 | # name: "${friendly_name} Power 3 [W]" #" Current [A]" 127 | # id: power_3 128 | # unit_of_measurement: "W" 129 | # sample_duration: 200ms 130 | # update_interval: 5s 131 | # accuracy_decimals: 2 132 | # filters: 133 | # - calibrate_linear: # Using 227VAC as reference voltage to calcualte current based on bulb Wattage 134 | # - 0.00000 -> 0 135 | # - 0.00308 -> 60 #0.2643 136 | # - 0.00366 -> 75 #0.3304 137 | # #- 0.00000 -> 2500 138 | # - delta: 20 139 | 140 | display: 141 | - platform: ssd1306_i2c 142 | model: "SSD1306 64x48" 143 | #reset_pin: D0 144 | address: 0x3C 145 | lambda: |- 146 | it.printf(0, 6, id(times), "CH0: %.2fW", id(power_0).state); 147 | it.printf(0, 30, id(times), "CH2: %.2fW", id(power_2).state); 148 | 149 | font: 150 | - file: "zzz_resource_files/times.ttf" 151 | id: times 152 | size: 9 153 | -------------------------------------------------------------------------------- /esphome/diningroom_light.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: diningroom-light 3 | friendly_name: "Diningroom Light" 4 | comment: "Diningroom Light Wall Switch - ESP8266" 5 | area: "Diningroom" 6 | static_ip: 192.168.1.25 7 | 8 | #MQTT_broker_topic_prefix: myhome/test # myhome//// 9 | 10 | packages: 11 | common: !include zzz_common_files/common.yaml 12 | family: !include zzz_common_files/common_lightswitch_wfws01.yaml 13 | -------------------------------------------------------------------------------- /esphome/diningroom_windowshutter.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: diningroom-windowshutter 3 | friendly_name: "Diningroom Window Shutter" 4 | static_ip: 192.168.1.27 5 | 6 | # Applicable for Curtain Switches 7 | duration_open: "16" # Actually 15 8 | duration_close: "15" # Actually 14 9 | 10 | #MQTT_broker_topic_prefix: myhome/test # myhome//// 11 | 12 | packages: 13 | common: !include zzz_common_files/common.yaml 14 | family: !include zzz_common_files/common_shutterswitch_wfcs01.yaml 15 | -------------------------------------------------------------------------------- /esphome/ella_windowshutter.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: ella-windowshutter 3 | friendly_name: "Ella Window Shutter" 4 | static_ip: 192.168.1.34 5 | 6 | # Applicable for Curtain Switches 7 | duration_open: "18" # Actually 17 8 | duration_close: "17" # Actually 16 9 | 10 | #MQTT_broker_topic_prefix: myhome/test # myhome//// 11 | 12 | packages: 13 | common: !include zzz_common_files/common.yaml 14 | family: !include zzz_common_files/common_shutterswitch_wfcs01.yaml 15 | -------------------------------------------------------------------------------- /esphome/garage_door_opener.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | platform: ESP8266 3 | board: esp01_1m 4 | device_name: garage-door-opener 5 | friendly_name: "Garage Door" 6 | static_ip: 192.168.1.51 7 | esp8266_restore_from_flash: "FALSE" # "TRUE" / "FALSE" !!! Make sure that all switches, lights, fans, globals, etc... are set to ALWAYS_ON/OFF to minimize flash write cycles 8 | hide_restart_switch: "FALSE" # "TRUE" / "FALSE" 9 | 10 | #MQTT_broker_topic_prefix: myhome/test # myhome//// 11 | 12 | packages: 13 | platform: !include zzz_common_files/platform_esp8266.yaml 14 | common: !include zzz_common_files/common.yaml 15 | 16 | ############################################################## 17 | # Sonoff SV 18 | ############################################################## 19 | # 20 | # Status LED: GPIO13 21 | # Button: GPIO00 (Flash Button) 22 | # Ultrasonic HC-SR04 Echo: GPIO03 (RX) 23 | # Ultrasonic HC-SR04 Trig: GPIO01 (TX) 24 | # Reed Switch Close: GPIO04 25 | # Reed Switch Open: GPIO05 26 | # Spare: GPIO14 27 | # 28 | ############################################################## 29 | 30 | status_led: 31 | pin: 32 | number: GPIO13 33 | inverted: False 34 | 35 | binary_sensor: 36 | - platform: gpio 37 | id: open_sensor 38 | pin: 39 | number: GPIO4 40 | mode: INPUT_PULLUP 41 | inverted: True 42 | name: "${friendly_name} Close" 43 | device_class: garage_door 44 | - platform: gpio 45 | id: close_sensor 46 | pin: 47 | number: GPIO5 48 | mode: INPUT_PULLUP 49 | inverted: True 50 | name: "${friendly_name} Open" 51 | device_class: garage_door 52 | 53 | sensor: 54 | - platform: ultrasonic 55 | id: ultrasonic_sensor1 56 | trigger_pin: GPIO01 57 | echo_pin: GPIO03 58 | name: "${friendly_name} Distance" 59 | update_interval: 2s 60 | # filters: 61 | # filter_out: nan 62 | # timeout: 9m 63 | 64 | switch: 65 | - platform: gpio 66 | pin: GPIO12 67 | id: relay 68 | - platform: template 69 | id: relay_momentary 70 | name: "${friendly_name} Button" 71 | icon: "mdi:gate" 72 | turn_on_action: 73 | - switch.turn_on: relay 74 | - delay: 500ms 75 | - switch.turn_off: relay 76 | 77 | cover: 78 | - platform: endstop 79 | name: "${friendly_name}" 80 | device_class: garage 81 | max_duration: 40sec 82 | open_action: 83 | - switch.turn_on: relay_momentary 84 | open_duration: 30sec 85 | open_endstop: open_sensor 86 | close_action: 87 | - switch.turn_on: relay_momentary 88 | close_duration: 30sec 89 | close_endstop: close_sensor 90 | stop_action: 91 | - switch.turn_on: relay_momentary 92 | -------------------------------------------------------------------------------- /esphome/garden_light.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: garden-light 3 | friendly_name: "Garden Light" 4 | static_ip: 192.168.1.36 5 | 6 | #MQTT_broker_topic_prefix: myhome/test # myhome//// 7 | 8 | packages: 9 | common: !include zzz_common_files/common.yaml 10 | family: !include zzz_common_files/common_lightswitch_wfws02.yaml 11 | -------------------------------------------------------------------------------- /esphome/garden_shed_light.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: garden-shed-light 3 | friendly_name: "Garden Shed Light" 4 | static_ip: 192.168.1.40 5 | 6 | #MQTT_broker_topic_prefix: myhome/test # myhome//// 7 | 8 | packages: 9 | common: !include zzz_common_files/common.yaml 10 | family: !include zzz_common_files/common_lightswitch_wfws01.yaml 11 | -------------------------------------------------------------------------------- /esphome/guest_bathroom_light.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: guest-bathroom-light 3 | friendly_name: "Guest Bathroom Light" 4 | static_ip: 192.168.1.21 5 | 6 | #MQTT_broker_topic_prefix: myhome/test # myhome//// 7 | 8 | packages: 9 | common: !include zzz_common_files/common.yaml 10 | family: !include zzz_common_files/common_lightswitch_wfws01.yaml 11 | -------------------------------------------------------------------------------- /esphome/hallway_light.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: hallway-light 3 | friendly_name: "Hallway Light" 4 | static_ip: 192.168.1.58 5 | onoff_toggle: "toggle" 6 | 7 | packages: 8 | common: !include zzz_common_files/common.yaml 9 | family: !include zzz_common_files/common_sonoff_minir4.yaml 10 | -------------------------------------------------------------------------------- /esphome/kitchen_light_ceiling.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: kitchen-light-ceiling 3 | friendly_name: "Kitchen Light Ceiling" 4 | static_ip: 192.168.1.26 5 | 6 | #MQTT_broker_topic_prefix: myhome/test # myhome//// 7 | 8 | packages: 9 | common: !include zzz_common_files/common.yaml 10 | family: !include zzz_common_files/common_lightswitch_wfws01.yaml 11 | -------------------------------------------------------------------------------- /esphome/kitchen_light_klapa.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | platform: ESP8266 3 | board: d1_mini 4 | device_name: kitchen-light-klapa 5 | friendly_name: "Kitchen Light Klapa" 6 | static_ip: 192.168.1.48 7 | esp8266_restore_from_flash: "FALSE" # "TRUE" / "FALSE" !!! Make sure that all switches, lights, fans, globals, etc... are set to ALWAYS_ON/OFF to minimize flash write cycles 8 | comment: "DIY modules based on Wemos D1 Mini" 9 | area: "Kitchen" 10 | 11 | #MQTT_broker_topic_prefix: myhome/test # myhome//// 12 | 13 | packages: 14 | platform: !include zzz_common_files/platform_esp8266.yaml 15 | common: !include zzz_common_files/common.yaml 16 | 17 | ############################################################## 18 | # Wemos D1 Mini * numbers are GPIO# 19 | ############################################################## 20 | # 21 | # Status LED: GPIO02 22 | # Button: GPIO12 23 | # Relay: GPIO05 24 | # 25 | ############################################################## 26 | 27 | status_led: 28 | pin: 29 | number: GPIO02 30 | inverted: True 31 | 32 | binary_sensor: 33 | - platform: gpio 34 | id: button 35 | internal: TRUE 36 | pin: 37 | number: GPIO12 38 | inverted: TRUE 39 | mode: INPUT_PULLUP 40 | filters: 41 | - delayed_on: 100ms 42 | on_press: 43 | - light.toggle: light_output 44 | on_release: 45 | - light.toggle: light_output 46 | # on_click: 47 | # # - min_length: ${blue_led_hold_min}s 48 | # # max_length: ${blue_led_hold_max}s 49 | # # then: 50 | # # - switch.toggle: blue_led 51 | # - min_length: ${reset_hold_min}s 52 | # max_length: ${reset_hold_max}s 53 | # then: 54 | # - switch.turn_on: restart_device 55 | 56 | output: 57 | - platform: gpio 58 | pin: GPIO05 59 | inverted: false 60 | id: relay 61 | 62 | light: 63 | - platform: binary 64 | id: light_output 65 | name: "${friendly_name}" 66 | output: relay 67 | restore_mode: ALWAYS_OFF 68 | -------------------------------------------------------------------------------- /esphome/laundryroom_light.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: laundryroom-light 3 | friendly_name: "Laundryroom Light" 4 | static_ip: 192.168.1.39 5 | 6 | #MQTT_broker_topic_prefix: myhome/test # myhome//// 7 | 8 | packages: 9 | common: !include zzz_common_files/common.yaml 10 | family: !include zzz_common_files/common_lightswitch_wfws01.yaml 11 | -------------------------------------------------------------------------------- /esphome/livingroom_doorshutter.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: livingroom-doorshutter 3 | friendly_name: "Livingroom Door Shutter" 4 | static_ip: 192.168.1.32 5 | 6 | # Applicable for Curtain Switches 7 | duration_open: "25" # Actually 24 8 | duration_close: "23" # Actually 22 9 | 10 | #MQTT_broker_topic_prefix: myhome/test # myhome//// 11 | 12 | packages: 13 | common: !include zzz_common_files/common.yaml 14 | family: !include zzz_common_files/common_shutterswitch_wfcs01.yaml 15 | -------------------------------------------------------------------------------- /esphome/livingroom_light.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: livingroom-light 3 | friendly_name: "Livingroom Light" 4 | static_ip: 192.168.1.69 5 | onoff_toggle: "onoff" 6 | 7 | packages: 8 | common: !include zzz_common_files/common.yaml 9 | family: !include zzz_common_files/common_sonoff_mini.yaml 10 | -------------------------------------------------------------------------------- /esphome/livingroom_wall_light.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: livingroom-wall-light 3 | friendly_name: "Livingroom Wall Light" 4 | static_ip: 192.168.1.70 5 | onoff_toggle: "toggle" 6 | 7 | packages: 8 | common: !include zzz_common_files/common.yaml 9 | family: !include zzz_common_files/common_sonoff_mini.yaml 10 | -------------------------------------------------------------------------------- /esphome/livingroom_windowshutter.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: livingroom-windowshutter 3 | friendly_name: "Livingroom Window Shutter" 4 | static_ip: 192.168.1.28 5 | 6 | # Applicable for Curtain Switches 7 | duration_open: "18" # Actually 17 8 | duration_close: "17" # Actually 16 9 | 10 | #MQTT_broker_topic_prefix: myhome/test # myhome//// 11 | 12 | packages: 13 | common: !include zzz_common_files/common.yaml 14 | family: !include zzz_common_files/common_shutterswitch_wfcs01.yaml 15 | -------------------------------------------------------------------------------- /esphome/lobby_light.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: lobby-light 3 | friendly_name: "Lobby Light" 4 | static_ip: 192.168.1.73 5 | onoff_toggle: "toggle" 6 | 7 | packages: 8 | common: !include zzz_common_files/common.yaml 9 | family: !include zzz_common_files/common_sonoff_mini.yaml 10 | -------------------------------------------------------------------------------- /esphome/m5stack-atom-echo-104a70.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | name: m5stack-atom-echo-104a70 3 | friendly_name: M5Stack Atom Echo 104a70 1 4 | packages: 5 | m5stack.atom-echo-voice-assistant: github://esphome/firmware/voice-assistant/m5stack-atom-echo.yaml@main 6 | esphome: 7 | name: ${name} 8 | name_add_mac_suffix: false 9 | friendly_name: ${friendly_name} 10 | api: 11 | encryption: 12 | key: nnbrmcBt6IFuQodL2u57nU+9k/XP8PGuqupjao1Guf8= 13 | 14 | 15 | wifi: 16 | ssid: !secret WIFI_SSID_1 17 | password: !secret WIFI_Password_1 18 | -------------------------------------------------------------------------------- /esphome/m5stack-atom-echo-104af0.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | name: m5stack-atom-echo-104af0 3 | friendly_name: M5Stack Atom Echo 104af0 2 4 | packages: 5 | m5stack.atom-echo-voice-assistant: github://esphome/firmware/voice-assistant/m5stack-atom-echo.yaml@main 6 | esphome: 7 | name: ${name} 8 | name_add_mac_suffix: false 9 | friendly_name: ${friendly_name} 10 | api: 11 | encryption: 12 | key: WtxraqE3fmm7j9QipHokeOVQrOCIQxwZk/ULfgYa7KA= 13 | 14 | 15 | wifi: 16 | ssid: !secret WIFI_SSID_1 17 | password: !secret WIFI_Password_1 18 | -------------------------------------------------------------------------------- /esphome/main-bathroom-light-nspanel.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: main-bathroom-light-nspanel 3 | friendly_name: "Main Bathroom Light NSPanel" 4 | # static_ip: 192.168.1.24 5 | comment: "Main Bathroom Light Switch based on NSPanel" 6 | 7 | # Core and optional configurations 8 | packages: 9 | # common: !include zzz_common_files/common.yaml 10 | family: !include zzz_common_files/common_nspanel.yaml 11 | -------------------------------------------------------------------------------- /esphome/main_bathroom_heater.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: main-bathroom-heater 3 | friendly_name: "Main Bathroom Heater" 4 | static_ip: 192.168.1.46 5 | max_duration_on: 60 min # Limit switch ON time 6 | 7 | #MQTT_broker_topic_prefix: myhome/test # myhome//// 8 | 9 | packages: 10 | common: !include zzz_common_files/common.yaml 11 | family: !include zzz_common_files/common_heaterswitch_wh100weu.yaml 12 | -------------------------------------------------------------------------------- /esphome/main_bathroom_light.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: main-bathroom-light 3 | friendly_name: "Main Bathroom Light" 4 | static_ip: 192.168.1.24 5 | 6 | #MQTT_broker_topic_prefix: myhome/test # myhome//// 7 | 8 | packages: 9 | common: !include zzz_common_files/common.yaml 10 | family: !include zzz_common_files/common_lightswitch_wfws02.yaml -------------------------------------------------------------------------------- /esphome/master_bathroom_heater.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: master-bathroom-heater 3 | friendly_name: "Master Bathroom Heater" 4 | static_ip: 192.168.1.47 5 | max_duration_on: 60 min # Limit switch ON time 6 | 7 | #MQTT_broker_topic_prefix: myhome/test # myhome//// 8 | 9 | packages: 10 | common: !include zzz_common_files/common.yaml 11 | family: !include zzz_common_files/common_heaterswitch_wh100weu.yaml 12 | -------------------------------------------------------------------------------- /esphome/master_bathroom_light.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: master-bathroom-light 3 | friendly_name: "Master Bathroom Light" 4 | static_ip: 192.168.1.23 5 | 6 | #MQTT_broker_topic_prefix: myhome/test # myhome//// 7 | 8 | packages: 9 | common: !include zzz_common_files/common.yaml 10 | family: !include zzz_common_files/common_lightswitch_wfws02.yaml -------------------------------------------------------------------------------- /esphome/master_bedroom_left_light.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: master-bedroom-left-light 3 | friendly_name: "Master Bedroom Left Light" 4 | static_ip: 192.168.1.55 5 | onoff_toggle: "toggle" 6 | 7 | packages: 8 | common: !include zzz_common_files/common.yaml 9 | family: !include zzz_common_files/common_sonoff_minir4.yaml 10 | -------------------------------------------------------------------------------- /esphome/master_bedroom_right_light.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: master-bedroom-right-light 3 | friendly_name: "Master Bedroom Right Light" 4 | static_ip: 192.168.1.56 5 | onoff_toggle: "toggle" 6 | 7 | packages: 8 | common: !include zzz_common_files/common.yaml 9 | family: !include zzz_common_files/common_sonoff_minir4.yaml 10 | -------------------------------------------------------------------------------- /esphome/noga_windowshutter_north.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: noga-windowshutter-north 3 | friendly_name: "Noga Window Shutter North" 4 | static_ip: 192.168.1.30 5 | 6 | # Applicable for Curtain Switches 7 | duration_open: "18" # Actually 17 8 | duration_close: "17" # Actually 16 9 | 10 | #MQTT_broker_topic_prefix: myhome/test # myhome//// 11 | 12 | packages: 13 | common: !include zzz_common_files/common.yaml 14 | family: !include zzz_common_files/common_shutterswitch_wfcs01.yaml 15 | -------------------------------------------------------------------------------- /esphome/noga_windowshutter_west.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: noga-windowshutter-west 3 | friendly_name: "Noga Window Shutter West" 4 | static_ip: 192.168.1.31 5 | 6 | # Applicable for Curtain Switches 7 | duration_open: "18" # Actually 17 8 | duration_close: "17" # Actually 16 9 | 10 | #MQTT_broker_topic_prefix: myhome/test # myhome//// 11 | 12 | packages: 13 | common: !include zzz_common_files/common.yaml 14 | family: !include zzz_common_files/common_shutterswitch_wfcs01.yaml 15 | -------------------------------------------------------------------------------- /esphome/pantry_light.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: pantry-light 3 | friendly_name: "Pantry Light" 4 | static_ip: 192.168.1.44 5 | 6 | #MQTT_broker_topic_prefix: myhome/test # myhome//// 7 | 8 | packages: 9 | common: !include zzz_common_files/common.yaml 10 | family: !include zzz_common_files/common_lightswitch_wfws01.yaml -------------------------------------------------------------------------------- /esphome/patio_light.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: patio-light 3 | friendly_name: "Patio Light" 4 | static_ip: 192.168.1.35 5 | 6 | #MQTT_broker_topic_prefix: myhome/test # myhome//// 7 | 8 | packages: 9 | common: !include zzz_common_files/common.yaml 10 | family: !include zzz_common_files/common_lightswitch_wfws02.yaml -------------------------------------------------------------------------------- /esphome/playroom_light.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: playroom-light 3 | friendly_name: "Playroom Light" 4 | static_ip: 192.168.1.38 5 | 6 | #MQTT_broker_topic_prefix: myhome/test # myhome//// 7 | 8 | packages: 9 | common: !include zzz_common_files/common.yaml 10 | family: !include zzz_common_files/common_lightswitch_wfws01.yaml 11 | -------------------------------------------------------------------------------- /esphome/playroom_windowshutter.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: playroom-windowshutter 3 | friendly_name: "Playroom Window Shutter" 4 | static_ip: 192.168.1.33 5 | 6 | # Applicable for Curtain Switches 7 | duration_open: "18" # Actually 17 8 | duration_close: "17" # Actually 16 9 | 10 | #MQTT_broker_topic_prefix: myhome/test # myhome//// 11 | 12 | packages: 13 | common: !include zzz_common_files/common.yaml 14 | family: !include zzz_common_files/common_shutterswitch_wfcs01.yaml 15 | -------------------------------------------------------------------------------- /esphome/porch_light.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: porch-light 3 | friendly_name: "Porch Light" 4 | static_ip: 192.168.1.54 5 | onoff_toggle: "toggle" 6 | 7 | packages: 8 | common: !include zzz_common_files/common.yaml 9 | family: !include zzz_common_files/common_sonoff_minir4.yaml 10 | -------------------------------------------------------------------------------- /esphome/roof_light.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: roof-light 3 | friendly_name: "Roof Light" 4 | static_ip: 192.168.1.37 5 | 6 | #MQTT_broker_topic_prefix: myhome/test # myhome//// 7 | 8 | packages: 9 | common: !include zzz_common_files/common.yaml 10 | family: !include zzz_common_files/common_lightswitch_wfws02.yaml 11 | -------------------------------------------------------------------------------- /esphome/roof_right_table_power.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: roof-right-table-power 3 | friendly_name: "Roof Right Table Power" 4 | static_ip: 192.168.1.63 5 | 6 | #MQTT_broker_topic_prefix: myhome/test # myhome//// 7 | 8 | packages: 9 | common: !include zzz_common_files/common.yaml 10 | family: !include zzz_common_files/common_sonoff_basic.yaml 11 | -------------------------------------------------------------------------------- /esphome/roof_trapdoor.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: roof-trapdoor 3 | friendly_name: "Roof Trap-Door" 4 | static_ip: 192.168.1.29 5 | # platform: ESP8266 6 | # board: esp01_1m 7 | # esp8266_restore_from_flash: "TRUE" # "TRUE" / "FALSE" !!! Make sure that all switches, lights, fans, globals, etc... are set to ALWAYS_ON/OFF to minimize flash write cycles 8 | 9 | # Applicable for Curtain Switches 10 | duration_open: "22" # Actually 19 11 | duration_close: "22" # Actually 19 12 | 13 | #MQTT_broker_topic_prefix: myhome/test # myhome//// 14 | 15 | packages: 16 | common: !include zzz_common_files/common.yaml 17 | family: !include zzz_common_files/common_shutterswitch_wfcs01.yaml 18 | 19 | # binary_sensor: 20 | 21 | # - platform: gpio 22 | # id: button_open 23 | # internal: TRUE 24 | # pin: 25 | # number: GPIO12 26 | # inverted: TRUE 27 | # mode: INPUT_PULLUP 28 | # filters: 29 | # - delayed_on: 50ms 30 | # on_press: 31 | # - switch.turn_on: open_relay_l1 32 | # - switch.turn_off: close_relay_l3 33 | 34 | # - platform: gpio 35 | # id: button_stop 36 | # internal: TRUE 37 | # pin: 38 | # number: GPIO03 39 | # inverted: TRUE 40 | # mode: INPUT_PULLUP 41 | # filters: 42 | # - delayed_on: 50ms 43 | # on_press: 44 | # - switch.turn_off: open_relay_l1 45 | # - switch.turn_off: close_relay_l3 46 | # on_click: 47 | # - min_length: ${blue_led_hold_min}s 48 | # max_length: ${blue_led_hold_max}s 49 | # then: 50 | # - switch.toggle: blue_led 51 | # - min_length: ${reset_hold_min}s 52 | # max_length: ${reset_hold_max}s 53 | # then: 54 | # - switch.turn_on: restart_device 55 | 56 | # - platform: gpio 57 | # id: button_close 58 | # internal: TRUE 59 | # pin: 60 | # number: GPIO5 61 | # inverted: TRUE 62 | # mode: INPUT_PULLUP 63 | # filters: 64 | # - delayed_on: 50ms 65 | # on_press: 66 | # - switch.turn_off: open_relay_l1 67 | # - switch.turn_on: close_relay_l3 68 | 69 | # # - platform: gpio 70 | # # pin: GPIO04 71 | # # internal: TRUE 72 | 73 | 74 | # switch: 75 | 76 | # - platform: gpio 77 | # pin: GPIO01 78 | # id: blue_led 79 | # internal: TRUE 80 | # restore_mode: RESTORE_DEFAULT_OFF 81 | 82 | # - platform: gpio 83 | # pin: GPIO16 84 | # id: open_led 85 | # internal: TRUE 86 | # restore_mode: ALWAYS_OFF 87 | 88 | # - platform: gpio 89 | # pin: GPIO14 90 | # id: stop_led 91 | # internal: TRUE 92 | # restore_mode: ALWAYS_OFF 93 | 94 | # - platform: gpio 95 | # pin: GPIO2 96 | # id: close_led 97 | # internal: TRUE 98 | # restore_mode: ALWAYS_OFF 99 | 100 | # # - platform: gpio 101 | # # pin: GPIO04 102 | # # name: "${friendly_name} GPIO04" 103 | # # internal: TRUE 104 | # # restore_mode: ALWAYS_OFF 105 | 106 | # - platform: gpio 107 | # pin: GPIO13 108 | # id: open_relay_l1 109 | # internal: TRUE 110 | # restore_mode: ALWAYS_OFF 111 | 112 | # - platform: gpio 113 | # pin: GPIO15 114 | # id: close_relay_l3 115 | # internal: TRUE 116 | # restore_mode: ALWAYS_OFF 117 | -------------------------------------------------------------------------------- /esphome/sonoff-mini-3.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: sonoff-mini-3 #livingroom_tv_light 3 | friendly_name: "sonoff-mini-3" 4 | static_ip: 192.168.1.65 5 | onoff_toggle: "toggle" 6 | 7 | packages: 8 | common: !include zzz_common_files/common.yaml 9 | family: !include zzz_common_files/common_sonoff_mini.yaml 10 | -------------------------------------------------------------------------------- /esphome/sonoff-mini-4.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: sonoff-mini-4 #livingroom-light 3 | friendly_name: "Sonoff Mini 4" 4 | static_ip: 192.168.1.64 5 | onoff_toggle: "toggle" 6 | 7 | packages: 8 | common: !include zzz_common_files/common.yaml 9 | family: !include zzz_common_files/common_sonoff_mini.yaml 10 | -------------------------------------------------------------------------------- /esphome/sonoff_mini_1.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: sonoff-mini-1 #lobby-light 3 | friendly_name: "Sonoff Mini 1" 4 | static_ip: 192.168.1.68 5 | onoff_toggle: "toggle" 6 | 7 | packages: 8 | common: !include zzz_common_files/common.yaml 9 | family: !include zzz_common_files/common_sonoff_mini.yaml -------------------------------------------------------------------------------- /esphome/sonoff_mini_2.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: sonoff-mini-2 #livingroom_wall_light 3 | friendly_name: "Sonoff Mini 2" 4 | static_ip: 192.168.1.67 5 | onoff_toggle: "toggle" 6 | 7 | packages: 8 | common: !include zzz_common_files/common.yaml 9 | family: !include zzz_common_files/common_sonoff_mini.yaml -------------------------------------------------------------------------------- /esphome/spare_boiler_switch.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: spare-boiler-switch 3 | friendly_name: "Spare Boiler Switch" 4 | static_ip: 192.168.1.59 5 | max_duration_on: 240min # Limit switch ON time 6 | 7 | #MQTT_broker_topic_prefix: myhome/test # myhome//// 8 | 9 | packages: 10 | common: !include zzz_common_files/common.yaml 11 | family: !include zzz_common_files/common_boilerswitch_wfbs01.yaml 12 | -------------------------------------------------------------------------------- /esphome/spare_double_light.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: spare-double-light 3 | friendly_name: "Spare Double Light" 4 | static_ip: 192.168.1.62 5 | 6 | #MQTT_broker_topic_prefix: myhome/test # myhome//// 7 | 8 | packages: 9 | common: !include zzz_common_files/common.yaml 10 | family: !include zzz_common_files/common_lightswitch_wfws02.yaml 11 | -------------------------------------------------------------------------------- /esphome/spare_single_light.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: spare-single-light 3 | friendly_name: "Spare Single Light" 4 | static_ip: 192.168.1.61 5 | 6 | #MQTT_broker_topic_prefix: myhome/test # myhome//// 7 | 8 | packages: 9 | common: !include zzz_common_files/common.yaml 10 | family: !include zzz_common_files/common_lightswitch_wfws01.yaml 11 | -------------------------------------------------------------------------------- /esphome/spare_windowshutter.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: spare-windowshutter 3 | friendly_name: "Spare Window Shutter" 4 | static_ip: 192.168.1.60 5 | 6 | # Applicable for Curtain Switches 7 | duration_open: "18" # Actually 17 8 | duration_close: "17" # Actually 16 9 | 10 | #MQTT_broker_topic_prefix: myhome/test # myhome//// 11 | 12 | packages: 13 | common: !include zzz_common_files/common.yaml 14 | family: !include zzz_common_files/common_shutterswitch_wfcs01.yaml 15 | -------------------------------------------------------------------------------- /esphome/stairs_light.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | device_name: stairs-light 3 | friendly_name: "Stairs Light" 4 | static_ip: 192.168.1.57 5 | onoff_toggle: "toggle" 6 | 7 | packages: 8 | common: !include zzz_common_files/common.yaml 9 | family: !include zzz_common_files/common_sonoff_minir4.yaml 10 | -------------------------------------------------------------------------------- /esphome/waterboiler_power.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | platform: ESP8266 3 | board: d1_mini 4 | device_name: waterboiler-power 5 | friendly_name: "Water Boiler Power" 6 | static_ip: 192.168.1.49 7 | esp8266_restore_from_flash: "FALSE" # "TRUE" / "FALSE" !!! Make sure that all switches, lights, fans, globals, etc... are set to ALWAYS_ON/OFF to minimize flash write cycles 8 | hide_restart_switch: "FALSE" # "TRUE" / "FALSE" 9 | comment: "DIY modules based on Wemos D1 Mini" 10 | area: "Roof" 11 | 12 | #MQTT_broker_topic_prefix: myhome/test # myhome//// 13 | 14 | packages: 15 | platform: !include zzz_common_files/platform_esp8266.yaml 16 | common: !include zzz_common_files/common.yaml 17 | 18 | ############################################################## 19 | # Custom Boiler Power functionality 20 | ############################################################## 21 | # 22 | # Status LED: GPIO02 23 | # 24 | # DHT22/AM2302 Temperature & Humidity sensor: D3 GPIO00 (FLASH) 25 | # 26 | # SI7021 Temperature & Humidity sensor I2C SDA : D2 GPIO04 (address 0x40) 27 | # SI7021 Temperature & Humidity sensor I2C SCL : D1 GPIO05 (address 0x40) 28 | # 29 | # Heater Power Usage [W]: A0 30 | # 31 | # Input Power from Pump Control (1) : D5 GPIO14 (SCLK) 32 | # Input Power from Delay Relay (2) : D6 GPIO12 (MISO) 33 | # Input Power from Wall Switch (3) : D7 GPIO13 (MOSI) 34 | # Input Power from Boiler Thermostat (4) : RX GPIO03 (RX) 35 | # 36 | # Spare : D8 GPIO15 (CS) 37 | # Spare : D0 GPIO16 (WAKE) 38 | # Spare : TX GPIO01 (TX) 39 | # 40 | ############################################################## 41 | 42 | status_led: 43 | pin: 44 | number: GPIO02 45 | inverted: True 46 | 47 | i2c: 48 | id: bus_a 49 | sda: GPIO04 50 | scl: GPIO05 51 | scan: True 52 | 53 | sensor: 54 | 55 | - platform: dht 56 | model: AM2302 57 | pin: GPIO00 58 | temperature: 59 | name: "${friendly_name} AM2302 Temperature" 60 | filters: 61 | - median: 62 | window_size: 7 63 | send_every: 4 64 | send_first_at: 3 65 | humidity: 66 | name: "${friendly_name} AM2302 Humidity" 67 | filters: 68 | - median: 69 | window_size: 7 70 | send_every: 4 71 | send_first_at: 3 72 | update_interval: 20s 73 | 74 | - platform: htu21d 75 | i2c_id: bus_a 76 | address: 0x40 77 | temperature: 78 | name: "${friendly_name} SI7021 Temperature" 79 | filters: 80 | - median: 81 | window_size: 7 82 | send_every: 4 83 | send_first_at: 3 84 | humidity: 85 | name: "${friendly_name} SI7021 Humidity" 86 | filters: 87 | - median: 88 | window_size: 7 89 | send_every: 4 90 | send_first_at: 3 91 | update_interval: 20s 92 | 93 | - platform: adc 94 | id: adc_sensor 95 | pin: A0 96 | name: "${friendly_name} ADC" 97 | filters: 98 | - sliding_window_moving_average: 99 | window_size: 100 100 | send_every: 100 101 | send_first_at: 100 102 | # - median: 103 | # window_size: 7 104 | # send_every: 4 105 | # send_first_at: 3 106 | update_interval: 0.1s 107 | internal: FALSE # ${hide_extra_info} 108 | accuracy_decimals: 3 109 | 110 | - platform: ct_clamp 111 | sensor: adc_sensor 112 | name: "${friendly_name} Power [W]" #" Current [A]" 113 | unit_of_measurement: "W" 114 | sample_duration: 5s 115 | update_interval: 10s 116 | accuracy_decimals: 3 117 | filters: 118 | - calibrate_linear: # Using 227VAC as reference voltage to calcualte current based on bulb Wattage 119 | - 0.00000 -> 0 120 | - 0.00308 -> 60 #0.2643A 121 | - 0.00366 -> 75 #0.3304A 122 | # - 0.10638 -> 2500 123 | # - delta: 20 124 | 125 | 126 | binary_sensor: 127 | 128 | - platform: gpio 129 | name: "${friendly_name} Wall Switch Status" 130 | device_class: power 131 | pin: 132 | number: GPIO13 133 | inverted: TRUE 134 | mode: INPUT_PULLUP 135 | filters: 136 | - delayed_on_off: 200ms 137 | 138 | - platform: gpio 139 | name: "${friendly_name} Pump Controller Status" 140 | device_class: power 141 | pin: 142 | number: GPIO14 143 | inverted: TRUE 144 | mode: INPUT_PULLUP 145 | filters: 146 | - delayed_on_off: 200ms 147 | 148 | - platform: gpio 149 | name: "${friendly_name} Delay Relay Status" 150 | device_class: power 151 | pin: 152 | number: GPIO12 153 | inverted: TRUE 154 | mode: INPUT_PULLUP 155 | filters: 156 | - delayed_on_off: 200ms 157 | 158 | - platform: gpio 159 | name: "${friendly_name} input 4" 160 | device_class: power 161 | pin: 162 | number: GPIO03 163 | inverted: TRUE 164 | mode: INPUT_PULLUP 165 | filters: 166 | - delayed_on_off: 200ms 167 | -------------------------------------------------------------------------------- /esphome/zzz_common_files/common.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | hide_extra_info: "TRUE" # "TRUE" / "FALSE" 3 | hide_restart_switch: "TRUE" 4 | blue_led_hold_min: "5" # Turn ON/OFF button/s BLUE LEDs timing 5 | blue_led_hold_max: "10" 6 | reset_hold_min: "15" # Reset device timing 7 | reset_hold_max: "60" 8 | wifi_reboot_timeout: 60min 9 | api_reboot_timeout: 600min 10 | latitude: !secret latitude 11 | longitude: !secret longitude 12 | 13 | esphome: 14 | name: ${device_name} 15 | area: ${area} 16 | comment: ${comment} 17 | 18 | wifi: 19 | networks: 20 | - ssid: !secret WIFI_SSID_1 21 | password: !secret WIFI_Password_1 22 | # - ssid: !secret WIFI_SSID_2 23 | # password: !secret WIFI_Password_2 24 | # - ssid: !secret WIFI_SSID_3 25 | # password: !secret WIFI_Password_3 26 | use_address: ${static_ip} #192.168.1.xx waterboiler_power_wemosd1mini.local # 27 | reboot_timeout: ${wifi_reboot_timeout} 28 | manual_ip: 29 | static_ip: ${static_ip} 30 | gateway: 192.168.1.1 31 | subnet: 255.255.255.0 32 | # Enable fallback hotspot (captive portal) in case wifi connection fails 33 | ap: 34 | ssid: "AP_${device_name}" 35 | password: !secret AP_Password 36 | ap_timeout: 3min 37 | 38 | captive_portal: 39 | 40 | # Enable logging 41 | logger: 42 | baud_rate: 0 43 | level: DEBUG 44 | 45 | web_server: 46 | port: 80 47 | include_internal: true 48 | 49 | # Enable Home Assistant API 50 | api: 51 | reboot_timeout: ${api_reboot_timeout} 52 | 53 | ota: 54 | - platform: esphome 55 | 56 | text_sensor: 57 | - platform: wifi_info 58 | ip_address: 59 | name: "${friendly_name} ESP IP Address" 60 | internal: ${hide_extra_info} 61 | ssid: 62 | name: "${friendly_name} ESP Connected SSID" 63 | internal: ${hide_extra_info} 64 | bssid: 65 | name: "${friendly_name} ESP Connected BSSID" 66 | internal: ${hide_extra_info} 67 | mac_address: 68 | name: "${friendly_name} ESP Mac Wifi Address" 69 | internal: ${hide_extra_info} 70 | 71 | - platform: version 72 | name: "${friendly_name} ESPHome Version" 73 | internal: ${hide_extra_info} 74 | 75 | binary_sensor: 76 | - platform: status 77 | name: "${friendly_name} Status" 78 | internal: ${hide_extra_info} 79 | 80 | sensor: 81 | - platform: wifi_signal 82 | name: "${friendly_name} WiFi Signal Sensor" 83 | update_interval: 60s 84 | internal: ${hide_extra_info} 85 | 86 | - platform: uptime 87 | name: "${friendly_name} Uptime Sensor" 88 | internal: ${hide_extra_info} 89 | 90 | - platform: sun 91 | name: Sun Elevation 92 | id: sun_elevation 93 | type: elevation 94 | internal: ${hide_extra_info} 95 | 96 | time: 97 | - platform: homeassistant 98 | id: homeassistant_time 99 | timezone: "Asia/Jerusalem" 100 | 101 | sun: 102 | latitude: ${latitude} 103 | longitude: ${longitude} 104 | 105 | switch: 106 | - platform: restart 107 | id: restart_device 108 | name: "${friendly_name} Restart" 109 | internal: ${hide_restart_switch} 110 | icon: mdi:restart 111 | restore_mode: ALWAYS_OFF -------------------------------------------------------------------------------- /esphome/zzz_common_files/common_boilerswitch_ads_161.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | board: generic-bk7231n-qfn32-tuya 3 | 4 | ############################################################## 5 | # ADS-161 High Power (Boiler) Switch 6 | ############################################################## 7 | # 8 | # * Numbers are GPIO# 9 | # 10 | # | | Green LED - 00 11 | # --------------- Blue LED - ?? 12 | # Button | 03 | 13 | # --------------- 14 | # LED | 14 | 15 | # --------------- 16 | # Relay | 04 | 17 | # 18 | ############################################################## 19 | 20 | packages: 21 | platform: !include platform_bk72xx.yaml 22 | 23 | # Tuya MCU on UART1 (BK72xx example) 24 | uart: 25 | rx_pin: RX1 26 | tx_pin: TX1 27 | baud_rate: 9600 28 | 29 | tuya: 30 | 31 | switch: 32 | - platform: "tuya" 33 | name: "${friendly_name}" 34 | id: boiler 35 | restore_mode: ALWAYS_OFF 36 | icon: "mdi:water-boiler" 37 | switch_datapoint: 1 38 | on_turn_on: 39 | - script.execute: boiler_timer 40 | 41 | script: 42 | - id: boiler_timer 43 | mode: restart # Restart script when called 44 | then: 45 | - delay: ${max_duration_on} 46 | - switch.turn_off: boiler 47 | -------------------------------------------------------------------------------- /esphome/zzz_common_files/common_boilerswitch_wfbs01.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | platform: ESP8266 3 | board: esp01_1m 4 | esp8266_restore_from_flash: "FALSE" # "TRUE" / "FALSE" !!! Make sure that all switches, lights, fans, globals, etc... are set to ALWAYS_ON/OFF to minimize flash write cycles 5 | 6 | ############################################################## 7 | # WF-BS01 Boiler Switch 8 | ############################################################## 9 | # 10 | # * Numbers are GPIO# 11 | # 12 | # | | Green LED - 00 13 | # --------------- Blue LED - ?? 14 | # Button | 03 | 15 | # --------------- 16 | # LED | 14 | 17 | # --------------- 18 | # Relay | 04 | 19 | # 20 | ############################################################## 21 | 22 | packages: 23 | platform: !include platform_esp8266.yaml 24 | 25 | status_led: 26 | pin: 27 | number: GPIO00 28 | inverted: False 29 | 30 | 31 | binary_sensor: 32 | 33 | - platform: gpio 34 | id: button 35 | name: "${friendly_name} Button" 36 | internal: TRUE 37 | pin: 38 | number: GPIO03 39 | inverted: TRUE 40 | mode: INPUT_PULLUP 41 | filters: 42 | - delayed_on: 50ms 43 | on_press: 44 | - switch.toggle: boiler 45 | on_click: 46 | # - min_length: ${blue_led_hold_min}s 47 | # max_length: ${blue_led_hold_max}s 48 | # then: 49 | # - switch.toggle: blue_led 50 | - min_length: ${reset_hold_min}s 51 | max_length: ${reset_hold_max}s 52 | then: 53 | - switch.turn_on: restart_device 54 | 55 | 56 | switch: 57 | 58 | - platform: gpio 59 | id: red_led 60 | name: "${friendly_name} LED" 61 | internal: true 62 | pin: GPIO14 63 | restore_mode: ALWAYS_OFF 64 | 65 | - platform: gpio 66 | id: boiler 67 | name: "${friendly_name}" 68 | restore_mode: ALWAYS_OFF 69 | pin: GPIO04 70 | icon: "mdi:water-boiler" 71 | on_turn_on: 72 | # - script.execute: boiler_timer 73 | - switch.turn_on: red_led 74 | on_turn_off: 75 | - switch.turn_off: red_led 76 | 77 | # script: 78 | # - id: boiler_timer 79 | # mode: restart # Restart script when called 80 | # then: 81 | # - switch.turn_on: red_led 82 | # - delay: ${max_duration_on} 83 | # - switch.turn_off: boiler 84 | 85 | # interval: 86 | # - interval: 30s 87 | # then: 88 | # - lambda: |- 89 | # case 90 | # # - lambda: |- 91 | # # const char *days[7] = { "sunday1", "monday1", "tuesday1", "wednesday1", "thursday", "friday1", "saturday1" }; 92 | # # const char *today = days[id(homeassistant_time).now().day_of_week]; 93 | # # ESP_LOGI("interval", "Today is %s" and the input_boolean state is %s", today, id(today).state); 94 | -------------------------------------------------------------------------------- /esphome/zzz_common_files/common_dimmerswitch_wfds01.yaml: -------------------------------------------------------------------------------- 1 | # UART for TUYA Dimmer 2 | uart: 3 | rx_pin: GPIO3 4 | tx_pin: GPIO1 5 | baud_rate: 9600 6 | 7 | # Register the Tuya MCU connection 8 | tuya: 9 | 10 | light: 11 | - platform: tuya 12 | name: "${friendly_name}" 13 | switch_datapoint: 1 14 | dimmer_datapoint: 2 15 | min_value: 25 16 | max_value: 255 17 | restore_mode: ALWAYS_OFF 18 | -------------------------------------------------------------------------------- /esphome/zzz_common_files/common_heaterswitch_wh100weu.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | platform: ESP8266 3 | board: esp01_1m 4 | esp8266_restore_from_flash: "FALSE" # "TRUE" / "FALSE" !!! Make sure that all switches, lights, fans, globals, etc... are set to ALWAYS_ON/OFF to minimize flash write cycles 5 | 6 | ############################################################## 7 | # WH100W-EU Boiler Switch 8 | # * Replaced Realtek WR3E chip with ESP-12S 9 | ############################################################## 10 | # 11 | # * Numbers are GPIO# 12 | # 13 | # | Switch | Orange LED - 00 14 | # ----------------- 15 | # Button | 12 | 16 | # ----------------- 17 | # LED | 05 | 18 | # ----------------- 19 | # Relay | 13 | 20 | # 21 | ############################################################## 22 | 23 | packages: 24 | platform: !include platform_esp8266.yaml 25 | 26 | 27 | status_led: 28 | pin: 29 | number: GPIO00 30 | inverted: False 31 | 32 | 33 | binary_sensor: 34 | 35 | - platform: gpio 36 | id: button 37 | name: "${friendly_name} Button" 38 | internal: TRUE 39 | pin: 40 | number: GPIO12 41 | inverted: TRUE 42 | mode: INPUT_PULLUP 43 | filters: 44 | - delayed_on: 50ms 45 | on_press: 46 | - switch.toggle: heater 47 | on_click: 48 | # - min_length: ${blue_led_hold_min}s 49 | # max_length: ${blue_led_hold_max}s 50 | # then: 51 | # - switch.toggle: blue_led 52 | - min_length: ${reset_hold_min}s 53 | max_length: ${reset_hold_max}s 54 | then: 55 | - switch.turn_on: restart_device 56 | 57 | 58 | switch: 59 | 60 | - platform: gpio 61 | id: button_led 62 | name: "${friendly_name} LED" 63 | internal: true 64 | pin: 65 | number: GPIO05 66 | inverted: TRUE 67 | restore_mode: ALWAYS_OFF 68 | 69 | - platform: gpio 70 | id: heater 71 | name: "${friendly_name}" 72 | restore_mode: ALWAYS_OFF 73 | pin: GPIO13 74 | icon: mdi:radiator 75 | on_turn_on: 76 | - script.execute: heater_timer 77 | on_turn_off: 78 | - switch.turn_off: button_led 79 | 80 | script: 81 | - id: heater_timer 82 | mode: restart # Restart script when called 83 | then: 84 | - switch.turn_on: button_led 85 | - delay: ${max_duration_on} 86 | - switch.turn_off: heater 87 | -------------------------------------------------------------------------------- /esphome/zzz_common_files/common_lightswitch_wfws01.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | platform: ESP8266 3 | board: esp01_1m 4 | esp8266_restore_from_flash: "FALSE" # "TRUE" / "FALSE" !!! Make sure that all switches, lights, fans, globals, etc... are set to ALWAYS_ON/OFF to minimize flash write cycles 5 | 6 | ############################################################## 7 | # WF-WS01 Single Wall Light Switch 8 | ############################################################## 9 | # 10 | # * Numbers are GPIO# 11 | # 12 | # | | Green LED - 00 13 | # --------------- Blue LED - ?? 14 | # Button | 03 | 15 | # --------------- 16 | # LED | 14 | 17 | # --------------- 18 | # Relay | 04 | 19 | # 20 | ############################################################## 21 | 22 | packages: 23 | platform: !include platform_esp8266.yaml 24 | 25 | 26 | status_led: 27 | pin: 28 | number: GPIO00 29 | inverted: False 30 | 31 | 32 | binary_sensor: 33 | 34 | - platform: gpio 35 | id: button 36 | internal: TRUE 37 | pin: 38 | number: GPIO03 39 | inverted: TRUE 40 | mode: INPUT_PULLUP 41 | filters: 42 | - delayed_on: 50ms 43 | on_press: 44 | - light.toggle: light_output 45 | on_click: 46 | # - min_length: ${blue_led_hold_min}s 47 | # max_length: ${blue_led_hold_max}s 48 | # then: 49 | # - switch.toggle: blue_led 50 | - min_length: ${reset_hold_min}s 51 | max_length: ${reset_hold_max}s 52 | then: 53 | - switch.turn_on: restart_device 54 | 55 | 56 | switch: 57 | 58 | - platform: gpio 59 | id: red_led 60 | name: "${friendly_name}" 61 | internal: true 62 | pin: GPIO14 63 | restore_mode: ALWAYS_OFF 64 | 65 | 66 | output: 67 | 68 | - platform: gpio 69 | id: relay 70 | pin: GPIO04 71 | 72 | 73 | light: 74 | 75 | - platform: binary 76 | id: light_output 77 | name: "${friendly_name}" 78 | output: relay 79 | restore_mode: ALWAYS_OFF 80 | on_turn_on: 81 | - switch.turn_on: red_led 82 | on_turn_off: 83 | - switch.turn_off: red_led 84 | -------------------------------------------------------------------------------- /esphome/zzz_common_files/common_lightswitch_wfws02.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | platform: ESP8266 3 | board: esp01_1m 4 | esp8266_restore_from_flash: "FALSE" # "TRUE" / "FALSE" !!! Make sure that all switches, lights, fans, globals, etc... are set to ALWAYS_ON/OFF to minimize flash write cycles 5 | 6 | ############################################################## 7 | # WF-WS02 Double Wall Light Switch 8 | ############################################################## 9 | # 10 | # * Numbers are GPIO# 11 | # 12 | # | TOP | BOTTOM | Green LED - 00 13 | # ------------------------- Blue LED - ?? 14 | # Button | 12 | 05 | 15 | # ------------------------- 16 | # LED | 16 | 02 | 17 | # ------------------------- 18 | # Relay | 13 | 15 | 19 | # | L1 | L3 | 20 | # 21 | ############################################################## 22 | 23 | packages: 24 | platform: !include platform_esp8266.yaml 25 | 26 | 27 | status_led: 28 | pin: 29 | number: GPIO00 30 | inverted: False 31 | 32 | 33 | binary_sensor: 34 | 35 | - platform: gpio 36 | id: button_top 37 | internal: TRUE 38 | pin: 39 | number: GPIO12 40 | inverted: TRUE 41 | mode: INPUT_PULLUP 42 | filters: 43 | - delayed_on: 50ms 44 | on_press: 45 | - light.toggle: light_output_top 46 | on_click: 47 | # - min_length: ${blue_led_hold_min}s 48 | # max_length: ${blue_led_hold_max}s 49 | # then: 50 | # - switch.toggle: blue_led 51 | - min_length: ${reset_hold_min}s 52 | max_length: ${reset_hold_max}s 53 | then: 54 | - switch.turn_on: restart_device 55 | 56 | - platform: gpio 57 | id: button_bottom 58 | internal: TRUE 59 | pin: 60 | number: GPIO05 61 | inverted: TRUE 62 | mode: INPUT_PULLUP 63 | filters: 64 | - delayed_on: 50ms 65 | on_press: 66 | - light.toggle: light_output_bottom 67 | on_click: 68 | # - min_length: ${blue_led_hold_min}s 69 | # max_length: ${blue_led_hold_max}s 70 | # then: 71 | # - switch.toggle: blue_led 72 | - min_length: ${reset_hold_min}s 73 | max_length: ${reset_hold_max}s 74 | then: 75 | - switch.turn_on: restart_device 76 | 77 | 78 | switch: 79 | 80 | - platform: gpio 81 | id: red_led_top 82 | internal: true 83 | pin: GPIO16 84 | restore_mode: ALWAYS_OFF 85 | 86 | - platform: gpio 87 | id: red_led_bottom 88 | internal: true 89 | pin: GPIO02 90 | restore_mode: ALWAYS_OFF 91 | 92 | 93 | output: 94 | 95 | - platform: gpio 96 | id: relay_l1_top 97 | pin: GPIO13 98 | 99 | - platform: gpio 100 | id: relay_l3_bottom 101 | pin: GPIO15 102 | 103 | 104 | light: 105 | 106 | - platform: binary 107 | id: light_output_top 108 | name: "${friendly_name} Top" 109 | output: relay_l1_top 110 | restore_mode: ALWAYS_OFF 111 | on_turn_on: 112 | - switch.turn_on: red_led_top 113 | on_turn_off: 114 | - switch.turn_off: red_led_top 115 | 116 | - platform: binary 117 | id: light_output_bottom 118 | name: "${friendly_name} Bottom" 119 | output: relay_l3_bottom 120 | restore_mode: ALWAYS_OFF 121 | on_turn_on: 122 | - switch.turn_on: red_led_bottom 123 | on_turn_off: 124 | - switch.turn_off: red_led_bottom 125 | -------------------------------------------------------------------------------- /esphome/zzz_common_files/common_nspanel.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | wifi_ssid: !secret WIFI_SSID_1 3 | wifi_password: !secret WIFI_Password_1 4 | nextion_update_url: "http://homeassistant.local:8123/local/nspanel_eu.tft" # Optional for `esp-idf` framework 5 | # Add-on configuration (if needed) 6 | # heater_relay: "1" # Possible values: "1" or "2" 7 | 8 | # Core and optional configurations 9 | packages: 10 | remote_package: 11 | url: https://github.com/Blackymas/NSPanel_HA_Blueprint 12 | ref: main 13 | files: 14 | - nspanel_esphome.yaml # Core package 15 | # Optional advanced and add-on configurations 16 | # - advanced/esphome/nspanel_esphome_advanced.yaml 17 | # - nspanel_esphome_addon_climate_cool.yaml 18 | # - nspanel_esphome_addon_climate_heat.yaml 19 | # - nspanel_esphome_addon_climate_dual.yaml 20 | refresh: 300s 21 | 22 | esp32: 23 | framework: 24 | type: esp-idf -------------------------------------------------------------------------------- /esphome/zzz_common_files/common_sonoff_basic.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | platform: ESP8266 3 | board: esp8285 4 | esp8266_restore_from_flash: "FALSE" # "TRUE" / "FALSE" !!! Make sure that all switches, lights, fans, globals, etc... are set to ALWAYS_ON/OFF to minimize flash write cycles 5 | 6 | ############################################################## 7 | # Sonoff Basic 8 | ############################################################## 9 | # Green LED : GPIO13 10 | # Button: : GPIO00 11 | # Relay : GPIO12 12 | # Spare IO : GPIO14 13 | ############################################################## 14 | 15 | packages: 16 | platform: !include platform_esp8266.yaml 17 | 18 | status_led: 19 | pin: 20 | number: GPIO13 21 | inverted: True 22 | 23 | binary_sensor: 24 | - platform: gpio 25 | pin: 26 | number: GPIO0 27 | mode: INPUT_PULLUP 28 | inverted: True 29 | name: "${friendly_name} Button" 30 | on_press: 31 | - switch.toggle: relay 32 | on_click: 33 | - min_length: ${reset_hold_min}s 34 | max_length: ${reset_hold_max}s 35 | then: 36 | - switch.turn_on: restart_device 37 | 38 | switch: 39 | - platform: gpio 40 | name: "${friendly_name} Relay" 41 | pin: GPIO12 42 | id: relay 43 | -------------------------------------------------------------------------------- /esphome/zzz_common_files/common_sonoff_mini.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | platform: ESP8266 3 | board: esp8285 4 | esp8266_restore_from_flash: "FALSE" # "TRUE" / "FALSE" !!! Make sure that all switches, lights, fans, globals, etc... are set to ALWAYS_ON/OFF to minimize flash write cycles 5 | hide_restart_switch: "FALSE" 6 | onoff_toggle: "toggle" # onoff / toggle 7 | 8 | ############################################################## 9 | # Sonoff Mini 10 | ############################################################## 11 | # Blue LED : GPIO13 inverted 12 | # Button: : GPIO00 13 | # Relay & Red LED : GPIO12 14 | # Switch Input : GPIO04 Inverted 15 | # Spare : GPIO16 (OTA) 16 | # TX : GPIO01 17 | # RX : GPIO03 18 | ############################################################## 19 | 20 | packages: 21 | platform: !include platform_esp8266.yaml 22 | 23 | status_led: 24 | pin: 25 | number: GPIO13 26 | inverted: True 27 | 28 | binary_sensor: 29 | - platform: gpio 30 | id: button_input 31 | name: "${friendly_name} Button" 32 | pin: 33 | number: GPIO00 34 | inverted: TRUE 35 | internal: true 36 | filters: 37 | - delayed_off: 50ms 38 | on_click: 39 | - min_length: ${reset_hold_min}s 40 | max_length: ${reset_hold_max}s 41 | then: 42 | - switch.turn_on: restart_device 43 | 44 | - platform: gpio 45 | name: "${friendly_name} Switch" 46 | id: switch_input 47 | pin: 48 | number: GPIO04 49 | # inverted: TRUE 50 | internal: true 51 | filters: 52 | - delayed_off: 50ms 53 | on_press: 54 | then: 55 | - if: 56 | condition: 57 | lambda: if (strcmp("${onoff_toggle}", "toggle") == 0) { return true; } else { return false; } 58 | then: 59 | - light.toggle: light_output 60 | else: 61 | - light.turn_on: light_output 62 | on_release: 63 | then: 64 | - if: 65 | condition: 66 | lambda: if (strcmp("${onoff_toggle}", "toggle") == 0) { return true; } else { return false; } 67 | then: 68 | - light.toggle: light_output 69 | else: 70 | - light.turn_off: light_output 71 | 72 | output: 73 | - platform: gpio 74 | id: relay 75 | pin: GPIO12 76 | 77 | light: 78 | - platform: binary 79 | id: light_output 80 | name: "${friendly_name}" 81 | output: relay 82 | restore_mode: ALWAYS_OFF 83 | -------------------------------------------------------------------------------- /esphome/zzz_common_files/common_sonoff_minir4.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | platform: esp32 3 | board: esp32dev 4 | bluetooth_proxy_active: "TRUE" # "TRUE" / "FALSE" - Turn ON if device supports BlueTooth 5 | hide_restart_switch: "FALSE" 6 | onoff_toggle: "toggle" # on_off (for switch) / toggle (for momentary pushbutton) 7 | 8 | ############################################################## 9 | # Sonoff MiniR4 (Extreme) 10 | ############################################################## 11 | # Button : GPIO00 12 | # Link LED : GPIO19 (Inverted) 13 | # Relay : GPIO26 (Load) 14 | # Switch : GPIO27 (S2) 15 | ############################################################## 16 | 17 | packages: 18 | platform: !include platform_esp32.yaml 19 | 20 | esp32_ble_tracker: 21 | scan_parameters: 22 | interval: 300ms 23 | window: 100ms 24 | active: false 25 | 26 | bluetooth_proxy: 27 | active: false 28 | 29 | status_led: 30 | pin: 31 | number: GPIO19 32 | inverted: TRUE 33 | 34 | binary_sensor: 35 | - platform: gpio 36 | id: button_input 37 | name: "${friendly_name} Button" 38 | pin: 39 | number: GPIO00 40 | mode: INPUT_PULLUP 41 | inverted: FALSE 42 | internal: true 43 | filters: 44 | - delayed_off: 50ms 45 | on_click: 46 | - min_length: ${reset_hold_min}s 47 | max_length: ${reset_hold_max}s 48 | then: 49 | - switch.turn_on: restart_device 50 | 51 | - platform: gpio 52 | name: "${friendly_name} Switch" 53 | id: switch_input 54 | pin: 55 | number: GPIO27 56 | inverted: FALSE 57 | internal: TRUE 58 | filters: 59 | - delayed_off: 50ms 60 | - delayed_on: 50ms 61 | on_press: 62 | then: 63 | - if: 64 | condition: 65 | lambda: if (strcmp("${onoff_toggle}", "toggle") == 0) { return true; } else { return false; } 66 | then: 67 | - light.toggle: light_output 68 | else: 69 | - light.turn_on: light_output 70 | on_release: 71 | then: 72 | - if: 73 | condition: 74 | lambda: if (strcmp("${onoff_toggle}", "toggle") == 0) { return true; } else { return false; } 75 | then: 76 | - light.toggle: light_output 77 | else: 78 | - light.turn_off: light_output 79 | 80 | output: 81 | - platform: gpio 82 | id: relay 83 | pin: GPIO26 84 | inverted: FALSE 85 | 86 | light: 87 | - platform: binary 88 | id: light_output 89 | name: "${friendly_name}" 90 | output: relay 91 | restore_mode: ALWAYS_OFF -------------------------------------------------------------------------------- /esphome/zzz_common_files/generic_d1_mini_pinout.yaml: -------------------------------------------------------------------------------- 1 | ############################################################## 2 | # Custom Boiler Temperature functionality * numbers are GPIO# 3 | ############################################################## 4 | # 5 | # Spare : TX GPIO01 (TX) 6 | # Spare : RX GPIO03 (RX) 7 | # Spare : D1 GPIO05 (SCL) - IO 8 | # Spare : D2 GPIO04 (SDA) - IO 9 | # Spare : D3 GPIO00 (FLASH) - IO, 10K Pull-up 10 | # Spare : D4 GPIO02 () - IO, 10K Pull-up, Built-in LED 11 | 12 | # Spare : A0 ADC0 () - Max 3.3v internal 100/320 divider 13 | # Spare : D0 GPIO16 (WAKEUP) - IO 14 | # Spare : D5 GPIO14 (SCK) - IO 15 | # Spare : D6 GPIO12 (MISO) - IO 16 | # Spare : D7 GPIO13 (MOSI) - IO 17 | # Spare : D8 GPIO15 (CS/SS) - 10K Pull-down 18 | # 19 | # * All IOO have interrupt/pwm/I2C/one-wire support except D0 20 | # 21 | ############################################################## 22 | -------------------------------------------------------------------------------- /esphome/zzz_common_files/platform_bk72xx.yaml: -------------------------------------------------------------------------------- 1 | bk72xx: 2 | board: ${board} 3 | -------------------------------------------------------------------------------- /esphome/zzz_common_files/platform_esp32.yaml: -------------------------------------------------------------------------------- 1 | esp32: 2 | board: ${board} 3 | framework: 4 | type: arduino 5 | -------------------------------------------------------------------------------- /esphome/zzz_common_files/platform_esp8266.yaml: -------------------------------------------------------------------------------- 1 | esp8266: 2 | board: ${board} 3 | -------------------------------------------------------------------------------- /esphome/zzz_common_files/testing_inputs.yaml: -------------------------------------------------------------------------------- 1 | #All ESP8266 inputs 2 | 3 | binary_sensor: 4 | 5 | - platform: gpio 6 | id: input_gpio01 7 | pin: 8 | number: GPIO01 9 | 10 | - platform: gpio 11 | id: input_gpio03 12 | pin: 13 | number: GPIO03 14 | 15 | - platform: gpio 16 | id: input_gpio05 17 | pin: 18 | number: GPIO05 19 | 20 | - platform: gpio 21 | id: input_gpio04 22 | pin: 23 | number: GPIO04 24 | 25 | - platform: gpio 26 | id: input_gpio00 27 | pin: 28 | number: GPIO00 29 | 30 | - platform: gpio 31 | id: input_gpio02 32 | pin: 33 | number: GPIO02 34 | 35 | - platform: gpio 36 | id: input_gpio14 37 | pin: 38 | number: GPIO14 39 | 40 | - platform: gpio 41 | id: input_gpio12 42 | pin: 43 | number: GPIO12 44 | 45 | - platform: gpio 46 | id: input_gpio13 47 | pin: 48 | number: GPIO13 49 | 50 | - platform: gpio 51 | id: input_gpio15 52 | pin: 53 | number: GPIO15 54 | 55 | - platform: gpio 56 | id: input_gpio16 57 | pin: 58 | number: GPIO16 59 | -------------------------------------------------------------------------------- /esphome/zzz_common_files/testing_output.yaml: -------------------------------------------------------------------------------- 1 | #All ESP8266 outputs 2 | 3 | switch: 4 | 5 | - platform: gpio 6 | id: output_gpio01 7 | pin: GPIO01 8 | 9 | - platform: gpio 10 | id: output_gpio03 11 | pin: GPIO03 12 | 13 | - platform: gpio 14 | id: output_gpio05 15 | pin: GPIO05 16 | 17 | - platform: gpio 18 | id: output_gpio04 19 | pin: GPIO04 20 | 21 | - platform: gpio 22 | id: output_gpio00 23 | pin: GPIO00 24 | 25 | - platform: gpio 26 | id: output_gpio02 27 | pin: GPIO02 28 | 29 | - platform: gpio 30 | id: output_gpio14 31 | pin: GPIO14 32 | 33 | - platform: gpio 34 | id: output_gpio13 35 | pin: GPIO13 36 | 37 | - platform: gpio 38 | id: output_gpio12 39 | pin: GPIO12 40 | 41 | - platform: gpio 42 | id: output_gpio15 43 | pin: GPIO15 44 | 45 | - platform: gpio 46 | id: output_gpio16 47 | pin: GPIO16 48 | -------------------------------------------------------------------------------- /esphome/zzz_not_installed/playroom_dimmer_wfds01.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | platform: ESP8266 3 | board: esp01_1m 4 | device_name: playroom_dimmer_wfds01 5 | friendly_name: "Playroom Light Dimmer Ceiling" 6 | esp8266_restore_from_flash: "FALSE" # "TRUE" / "FALSE" !!! Make sure that all switches, lights, fans, globals, etc... are set to ALWAYS_ON/OFF to minimize flash write cycles 7 | hide_extra_info: "TRUE" # "TRUE" / "FALSE" 8 | 9 | # Blue LED and Reset Timing 10 | blue_led_hold_min: "5" 11 | blue_led_hold_max: "10" 12 | reset_hold_min: "20" 13 | reset_hold_max: "60" 14 | 15 | # Applicable for Curtain Switches 16 | duration_open: "xx" # Actually xx 17 | duration_close: "xx" # Actually xx 18 | 19 | #MQTT_broker_topic_prefix: myhome/test # myhome//// 20 | 21 | <<: !include zzz_common_files/common.yaml 22 | <<: !include zzz_common_files/common_dimmerswitch_wfds01.yaml 23 | -------------------------------------------------------------------------------- /esphome/zzz_not_installed/sonoff_basic_1.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | platform: ESP8266 3 | board: esp01_1m 4 | device_name: sonoff_basic_1 5 | friendly_name: "Sonoff Basic #1" 6 | esp8266_restore_from_flash: "FALSE" # "TRUE" / "FALSE" !!! Make sure that all switches, lights, fans, globals, etc... are set to ALWAYS_ON/OFF to minimize flash write cycles 7 | hide_extra_info: "TRUE" # "TRUE" / "FALSE" 8 | 9 | # Blue LED and Reset Timing 10 | blue_led_hold_min: "5" 11 | blue_led_hold_max: "10" 12 | reset_hold_min: "20" 13 | reset_hold_max: "60" 14 | 15 | # Applicable for Curtain Switches 16 | duration_open: "xx" # Actually xx 17 | duration_close: "xx" # Actually xx 18 | 19 | #MQTT_broker_topic_prefix: myhome/test # myhome//// 20 | 21 | <<: !include zzz_common_files/common.yaml 22 | 23 | status_led: 24 | pin: 25 | number: GPIO13 26 | inverted: yes 27 | 28 | binary_sensor: 29 | - platform: gpio 30 | pin: 31 | number: GPIO0 32 | mode: INPUT_PULLUP 33 | inverted: True 34 | name: "${friendly_name} Button" 35 | filters: 36 | - delayed_on: 50ms 37 | on_press: 38 | - switch.toggle: relay 39 | on_click: 40 | - min_length: ${reset_hold_min}s 41 | max_length: ${reset_hold_max}s 42 | then: 43 | - switch.turn_on: restart_device 44 | 45 | switch: 46 | - platform: gpio 47 | name: "${friendly_name} Relay" 48 | pin: GPIO12 49 | id: relay 50 | restore_mode: ALWAYS_OFF 51 | 52 | - platform: restart 53 | id: restart_device 54 | internal: True 55 | icon: mdi:restart 56 | -------------------------------------------------------------------------------- /esphome/zzz_not_installed/temp.yaml: -------------------------------------------------------------------------------- 1 | if ((id(panel_out).state != NAN) and (id(in_from_panel).state != NAN) and (id(out_to_panel).state != NAN) and (id(sun_elevation).state != NAN)) 2 | if (id(panel_out).state < 20) // Panel under 20C 3 | //{ 4 | //id(temperature_difference_state).state = "Cold Panel"; 5 | return -10; 6 | //} 7 | else if (id(sun_elevation).state < 17) // Panel over 20C and Low sun elevation 8 | //{ // https://www.suncalc.org/#/31.9401,34.7953,16/2021.04.17/18:34/1/3 9 | //id(temperature_difference_state).state = "Low Sun"; 10 | return -12; 11 | //} 12 | else if (id(panel_out).state > 45) // High sun elevation and Panel over 45C 13 | if (id(panel_out).state > (id(in_from_panel).state) + 1) // Panel warmer than Boiler Top by at least 1C 14 | //{ 15 | //id(temperature_difference_state).state = "Panel Hotter Top"; 16 | return 15; 17 | //} 18 | else // Panel colder than Boiler Top 19 | if (id(panel_out).state > (id(out_to_panel).state) + 1) // Panel warmer than Boiler Bottom by at least 1C 20 | //{ 21 | //id(temperature_difference_state).state = "Panel Hotter Bottom"; 22 | return 17; 23 | //} 24 | else // Panel colder than Boiler Top and Boiler Bottom 25 | //{ 26 | //id(temperature_difference_state).state = "Panel Colder"; 27 | return -14; 28 | //} 29 | else // Panel under 45C 30 | //{ 31 | //id(temperature_difference_state).state = "Panel <45C"; 32 | return (id(panel_out).state - id(in_from_panel).state); 33 | //} 34 | else // No temperature readings (NAN) 35 | //{ 36 | //id(temperature_difference_state).state = "NAN Error"; 37 | return -16; 38 | //} -------------------------------------------------------------------------------- /esphome/zzz_not_installed/wittycloud_3.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | platform: ESP8266 3 | board: esp12e 4 | device_name: wittycloud_3 5 | friendly_name: "WittyCloud 3" 6 | #MQTT_broker_topic_prefix: myhome/test # myhome//// 7 | 8 | <<: !include zzz_common_files/common.yaml 9 | 10 | status_led: 11 | pin: 12 | number: GPIO2 13 | inverted: True 14 | 15 | 16 | switch: 17 | - platform: restart 18 | id: restart_device 19 | internal: True 20 | icon: mdi:restart 21 | 22 | 23 | sensor: 24 | - platform: adc 25 | pin: A0 26 | name: "${friendly_name} Illuminance" 27 | unit_of_measurement: lux 28 | update_interval: 15s 29 | filters: 30 | lambda: 'return (x * 3.3 / 10000.0) * 2000000.0;' 31 | 32 | - platform: wifi_signal 33 | name: "${friendly_name} WiFi Signal Sensor" 34 | update_interval: 60s 35 | 36 | - platform: uptime 37 | name: "${friendly_name} Uptime Sensor" 38 | 39 | 40 | binary_sensor: 41 | - platform: gpio 42 | device_class: power 43 | name: "${friendly_name} Input 1" 44 | pin: 45 | number: GPIO5 46 | mode: INPUT_PULLUP 47 | inverted: FALSE 48 | filters: 49 | - delayed_on: 10ms 50 | 51 | - platform: gpio 52 | device_class: power 53 | name: "${friendly_name} Input 2" 54 | pin: 55 | number: GPIO14 56 | mode: INPUT_PULLUP 57 | inverted: FALSE 58 | filters: 59 | - delayed_on: 10ms 60 | 61 | # - platform: gpio 62 | # device_class: power 63 | # name: "${friendly_name} Input 3" 64 | # pin: 65 | # number: GPIO15 66 | # mode: INPUT_PULLUP 67 | # inverted: FALSE 68 | # filters: 69 | # - delayed_on: 10ms 70 | 71 | - platform: gpio 72 | name: "${friendly_name} Push-Button" 73 | pin: 74 | number: GPIO4 75 | inverted: True 76 | filters: 77 | - delayed_on: 10ms 78 | on_click: 79 | min_length: 10s 80 | max_length: 60s 81 | then: 82 | - switch.turn_on: restart_device 83 | 84 | - platform: status 85 | name: "${friendly_name} Status" 86 | 87 | 88 | light: 89 | - platform: rgb 90 | name: "${friendly_name} Onboard LED" 91 | red: output_component1 92 | green: output_component2 93 | blue: output_component3 94 | 95 | 96 | output: 97 | - platform: esp8266_pwm 98 | id: output_component1 99 | pin: GPIO15 100 | max_power: 100% 101 | 102 | - platform: esp8266_pwm 103 | id: output_component2 104 | pin: GPIO12 105 | max_power: 100% 106 | 107 | - platform: esp8266_pwm 108 | id: output_component3 109 | pin: GPIO13 110 | max_power: 100% 111 | -------------------------------------------------------------------------------- /esphome/zzz_not_installed/work_display_wemosd1minipro.yaml: -------------------------------------------------------------------------------- 1 | substitutions: 2 | platform: ESP8266 3 | board: d1_mini_pro #esp12e #esp01_1m 4 | device_name: work_display_wemosd1minipro 5 | friendly_name: "Work Display" 6 | static_ip: 192.168.1.99 7 | esp8266_restore_from_flash: "FALSE" # "TRUE" / "FALSE" !!! Make sure that all switches, lights, fans, globals, etc... are set to ALWAYS_ON/OFF to minimize flash write cycles 8 | hide_extra_info: "TRUE" # "TRUE" / "FALSE" 9 | 10 | # Blue LED and Reset Timing 11 | blue_led_hold_min: "5" 12 | blue_led_hold_max: "10" 13 | reset_hold_min: "20" 14 | reset_hold_max: "60" 15 | 16 | # Applicable for Curtain Switches 17 | duration_open: "xx" # Actually xx 18 | duration_close: "xx" # Actually xx 19 | 20 | #MQTT_broker_topic_prefix: myhome/test # myhome//// 21 | 22 | <<: !include zzz_common_files/common.yaml 23 | 24 | ############################################################## 25 | # WF-CS01 Curtain Switch functionality * numbers are GPIO# 26 | ############################################################## 27 | # 28 | # Status LED: GPIO02 29 | # 30 | # DHT22/AM2302 Temperature & Humidity sensor: GPIO00 31 | # SI7021 Temperature & Humidity sensor: I2C SDA-GPIO04 SCL-GPIO05 (address 0x40) 32 | # Water Sensor: A0 33 | # 34 | ############################################################## 35 | 36 | status_led: 37 | pin: 38 | number: GPIO02 39 | inverted: True 40 | 41 | output: 42 | - platform: esp8266_pwm 43 | pin: GPIO02 44 | inverted: true 45 | frequency: 1 Hz 46 | id: gpio02 47 | 48 | i2c: 49 | id: bus_a 50 | sda: GPIO04 #D2 51 | scl: GPIO05 #D1 52 | scan: True 53 | frequency: 400kHz 54 | 55 | sensor: 56 | - platform: wifi_signal 57 | name: "${friendly_name} WiFi Signal Sensor" 58 | update_interval: 60s 59 | internal: true 60 | 61 | - platform: uptime 62 | id: uptime_sensor 63 | name: "${friendly_name} Uptime Sensor" 64 | internal: true 65 | 66 | # - platform: dht 67 | # model: AM2302 68 | # pin: GPIO00 69 | # temperature: 70 | # name: "${friendly_name} AM2302 Temperature" 71 | # humidity: 72 | # name: "${friendly_name} AM2302 Humidity" 73 | # update_interval: 15s 74 | 75 | # - platform: htu21d 76 | # i2c_id: bus_a 77 | # address: 0x40 78 | # temperature: 79 | # name: "${friendly_name} SI7021 Temperature" 80 | # humidity: 81 | # name: "${friendly_name} SI7021 Humidity" 82 | # update_interval: 15s 83 | 84 | interval: 85 | - interval: 5sec 86 | then: 87 | - display.page.show_next: my_display 88 | - component.update: my_display 89 | 90 | font: 91 | - file: "zzz_resource_files/times.ttf" 92 | id: my_font 93 | size: 10 94 | 95 | image: 96 | - file: "zzz_resource_files/hp_logo.jpg" 97 | id: hp_logo 98 | resize: 64x48 99 | 100 | display: 101 | - platform: ssd1306_i2c 102 | id: my_display 103 | model: "SSD1306 64x48" 104 | address: 0x3C 105 | pages: 106 | - id: page1 107 | lambda: |- 108 | it.image(0, 0, id(hp_logo)); 109 | - id: page2 110 | lambda: |- 111 | it.printf(0, 10, id(my_font), "Uptime"); 112 | it.printf(0, 30, id(my_font), "%lf s", id(uptime_sensor).state); 113 | - id: page3 114 | lambda: |- 115 | it.rectangle(0, 0, 64, 48); 116 | it.rectangle(1, 1, 63, 47); 117 | it.rectangle(2, 2, 62, 46); 118 | it.circle(17,19,10); 119 | it.circle(33,19,10); 120 | it.circle(49,19,10); 121 | it.circle(26,31,10); 122 | it.circle(40,31,10); 123 | -------------------------------------------------------------------------------- /esphome/zzz_resource_files/hp_logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/esphome/zzz_resource_files/hp_logo.jpg -------------------------------------------------------------------------------- /esphome/zzz_resource_files/times.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/esphome/zzz_resource_files/times.ttf -------------------------------------------------------------------------------- /lovelace_mobile_UI.yaml: -------------------------------------------------------------------------------- 1 | # lovelace_gen 2 | 3 | #kiosk_mode: 4 | # hide_header: true 5 | # hide_menubutton: true 6 | # hide_overflow: true 7 | 8 | title: Mobile 9 | 10 | views: 11 | - !include lovelace_mobile_UI/weather_calendar.yaml 12 | - !include lovelace_mobile_UI/lights.yaml 13 | - !include lovelace_mobile_UI/covers.yaml 14 | - !include lovelace_mobile_UI/irrigation.yaml 15 | - !include lovelace_mobile_UI/hvac.yaml 16 | - !include lovelace_mobile_UI/vacuum.yaml 17 | - !include lovelace_mobile_UI/waterboiler.yaml 18 | - !include lovelace_mobile_UI/water_consumption.yaml 19 | - !include lovelace_mobile_UI/electricity_consumption.yaml 20 | - !include lovelace_mobile_UI/updates.yaml 21 | -------------------------------------------------------------------------------- /lovelace_mobile_UI/covers.yaml: -------------------------------------------------------------------------------- 1 | # lovelace_gen 2 | 3 | #-------------------------------------------------------------------------------------------------- 4 | # Covers 5 | # - List active area (windows/doors) 6 | # - List groups for group buttons 7 | #-------------------------------------------------------------------------------------------------- 8 | # entity , group , left, top, scaleX, scaleY, tap_action 9 | {% set covers = [("diningroom_window_shutter", "downstairs", 72.9 , 68.5, 0.3 , 1.8 , "toggle"), 10 | ("livingroom_window_shutter", "downstairs", 72.9 , 50.5, 0.3 , 1.8 , "toggle"), 11 | ("livingroom_door_shutter" , "downstairs", 62 , 42.2, 3.4 , 0.3 , "toggle"), 12 | ("playroom_window_shutter" , "downstairs", 54.5 , 42.35, 1.8 , 0.40, "toggle"), 13 | ("noga_window_shutter_north", "upstairs" , 47.75, 52 , 0.25, 1.4 , "toggle"), 14 | ("noga_window_shutter_west" , "upstairs" , 44.2 , 42.3, 1.4 , 0.3, "toggle"), 15 | ("ella_window_shutter" , "upstairs" , 37.2 , 40.7, 1.4 , 0.3, "toggle"), 16 | ("roof_trap_door" , "upstairs" , 12.8 , 60.3, 1.3 , 0.8 , "none")] %} 17 | 18 | # group , left, top 19 | {% set cover_groups = [("downstairs", 53, 68), 20 | ("upstairs" , 28, 68)] %} 21 | 22 | title: Shutters 23 | path: shutters 24 | icon: 'mdi:window-shutter' 25 | badges: [] 26 | cards: 27 | {% for group, left, top in cover_groups %} 28 | - type: grid 29 | title: {{ group.capitalize() }} 30 | columns: 1 31 | square: false 32 | cards: 33 | {% for entity, entity_group, left, top, scaleX, scaleY, deg in covers %} 34 | {% if entity_group == group %} 35 | - type: custom:mushroom-cover-card 36 | entity: cover.{{ entity }} 37 | show_position_control: true 38 | show_buttons_control: true 39 | show_tilt_position_control: false 40 | layout: default 41 | {% endif %} 42 | {% endfor %} 43 | {% endfor %} 44 | 45 | # - type: grid 46 | # columns: 1 47 | # square: false 48 | # cards: 49 | # {% for group, left, top in cover_groups %} 50 | # - type: entities 51 | # title: {{ group.capitalize() }} 52 | # show_header_toggle: true 53 | # entities: 54 | # {% for entity, entity_group, left, top, scaleX, scaleY, deg in covers %} 55 | # {% if entity_group == group %} 56 | # - entity: cover.{{ entity }} 57 | # - type: custom:slider-entity-row 58 | # entity: cover.{{ entity }} 59 | # full_row: true 60 | # hide_state: true 61 | # {% endif %} 62 | # {% endfor %} 63 | # {% endfor %} 64 | -------------------------------------------------------------------------------- /lovelace_mobile_UI/electricity_consumption.yaml: -------------------------------------------------------------------------------- 1 | # lovelace_gen 2 | 3 | title: Electricity Consumption 4 | path: electricity_consumption 5 | icon: 'mdi:flash' 6 | badges: [] 7 | cards: 8 | - type: grid 9 | columns: 1 10 | square: false 11 | cards: 12 | - type: grid 13 | columns: 3 14 | square: false 15 | cards: 16 | - type: tile 17 | entity: sensor.iec_kwh_tariff 18 | - type: tile 19 | entity: sensor.iec_yesterday_electric_consumption 20 | - type: tile 21 | entity: sensor.last_iec_bill_date 22 | - type: tile 23 | entity: sensor.last_iec_bill_electric_cost 24 | - type: tile 25 | entity: sensor.last_iec_bill_length_in_days 26 | - type: tile 27 | entity: sensor.next_bill_electric_forecasted_cost 28 | - type: grid 29 | columns: 1 30 | square: false 31 | cards: 32 | - type: history-graph 33 | entities: 34 | - entity: sensor.iec_today_electric_consumption 35 | - entity: sensor.next_bill_electric_forecasted_usage 36 | #hours_to_show: 12 37 | - type: history-graph 38 | entities: 39 | - entity: sensor.iec_this_month_electric_consumption 40 | - entity: sensor.iec_latest_meter_reading 41 | - entity: sensor.last_iec_bill_electric_usage_to_date 42 | - entity: sensor.last_iec_bill_meter_reading 43 | #hours_to_show: 12 44 | refresh_interval: 10 45 | -------------------------------------------------------------------------------- /lovelace_mobile_UI/hvac.yaml: -------------------------------------------------------------------------------- 1 | # lovelace_gen 2 | 3 | #-------------------------------------------------------------------------------------------------- 4 | # General 5 | #-------------------------------------------------------------------------------------------------- 6 | {% set days = [("sunday" , "1", "Sun", "ראשון"), 7 | ("monday" , "2", "Mon", "שני"), 8 | ("tuesday" , "3", "Tue", "שלישי"), 9 | ("wednesday", "4", "Wed", "רביעי"), 10 | ("thursday" , "5", "Thu", "חמישי"), 11 | ("friday" , "6", "Fri", "שישי"), 12 | ("saturday" , "7", "Sat", "שבת")] %} 13 | 14 | #-------------------------------------------------------------------------------------------------- 15 | # HVAC 16 | #-------------------------------------------------------------------------------------------------- 17 | # entity , left, top 18 | {% set hvacs = [("downstairs", 53 , 92), 19 | ("upstairs" , 28 , 92)] %} 20 | 21 | ######################################################### 22 | ######################################################### 23 | ######################################################### 24 | # types: DSD - Day Start Duration 25 | # DS - Day Start 26 | # S_HVAC - Start HVAC 27 | 28 | {% macro create_schedulers_popup(entity, scheduler_type) -%} 29 | {% if (scheduler_type == "S_HVAC") %} 30 | {% set num_schedulers = 4 %} 31 | {% set schedulers = ['1', '2', '3', '4'] %} 32 | {% else %} 33 | {% set num_schedulers = 2 %} 34 | {% set schedulers = ['1', '2'] %} 35 | {% endif %} 36 | {% for s in schedulers %} 37 | - type: grid 38 | columns: 1 39 | square: false 40 | title: Scheduler {{ s }} 41 | cards: 42 | - type: custom:mushroom-entity-card 43 | entity: input_boolean.{{ entity }}_scheduler_enable{{ s }} 44 | secondary_info: none 45 | fill_container: true 46 | tap_action: 47 | action: toggle 48 | {% if (scheduler_type == "DSD") or (scheduler_type == "DS") %} 49 | - type: grid 50 | columns: 7 51 | square: false 52 | cards: 53 | {% for day, number, name, name_he in days %} 54 | - type: custom:mushroom-entity-card 55 | entity: input_boolean.{{ entity }}_day_{{ day }}{{ s }} 56 | primary_info: none 57 | secondary_info: none 58 | name: {{ name_he }} 59 | icon: mdi:numeric-{{ number }}-box-outline 60 | layout: vertical 61 | fill_container: true 62 | tap_action: 63 | action: toggle 64 | {% endfor %} 65 | {% endif %} 66 | - type: 'custom:time-picker-card' 67 | entity: input_datetime.{{ entity }}_start_time{{ s }} 68 | layout: 69 | embedded: true 70 | name: inside 71 | align_controls: right 72 | {% if scheduler_type == "DSD" %} 73 | - type: custom:mushroom-number-card 74 | entity: input_number.{{ entity }}_timer_duration{{ s }} 75 | icon: 'mdi:timer-outline' 76 | fill_container: true 77 | layout: horizontal 78 | {% endif %} 79 | {% if (scheduler_type == "S_HVAC") %} 80 | - type: thermostat 81 | entity: climate.{{ entity }}_virtual{{ s }} 82 | features: 83 | - type: climate-hvac-modes 84 | style: icons 85 | hvac_modes: 86 | - 'off' 87 | - cool 88 | - heat 89 | - auto 90 | - type: climate-fan-modes 91 | style: icons 92 | fan_modes: 93 | - low 94 | - high 95 | - mid 96 | {% endif %} 97 | {% endfor %} 98 | {%- endmacro %} 99 | 100 | title: HVAC 101 | path: hvac 102 | icon: 'mdi:air-conditioner' 103 | badges: [] 104 | cards: 105 | - type: grid 106 | columns: 1 107 | square: false 108 | cards: 109 | - type: grid 110 | columns: 2 111 | square: false 112 | cards: 113 | {% for entity, left, top in hvacs %} 114 | - type: thermostat 115 | entity: climate.hvac_{{ entity }} 116 | features: 117 | - type: climate-hvac-modes 118 | style: icons 119 | hvac_modes: 120 | - 'off' 121 | - cool 122 | - heat 123 | - auto 124 | - type: climate-fan-modes 125 | style: icons 126 | fan_modes: 127 | - low 128 | - high 129 | - mid 130 | {% endfor %} 131 | 132 | {% for entity, left, top in hvacs %} 133 | - type: grid 134 | title: HVAC {{ entity.capitalize() }} Schedulers 135 | columns: 2 136 | square: false 137 | cards: 138 | {{ create_schedulers_popup("hvac_" ~ entity, "S_HVAC") }} 139 | {% endfor %} 140 | -------------------------------------------------------------------------------- /lovelace_mobile_UI/lights.yaml: -------------------------------------------------------------------------------- 1 | # lovelace_gen 2 | 3 | #-------------------------------------------------------------------------------------------------- 4 | # Lights 5 | # - List all active areas. 6 | # If more than one exists with the same name - must be consecutive 7 | # - List groups for group buttons 8 | #-------------------------------------------------------------------------------------------------- 9 | # entity , group , left, top, scaleX, scaleY, deg) 10 | {% set lights = [("diningroom_light" , "downstairs", 69 , 67 , 1.3, 2 , 0), 11 | ("kitchen_light_ceiling" , "downstairs", 62.5, 82 , 1.1, 1.2, 0), 12 | ("kitchen_light_klapa" , "downstairs", 59 , 84 , 0.7, 1.7, 0), 13 | ("kitchen_table_light" , "downstairs", 64 , 73.5, 0.6, 0.6, 0), 14 | ("garden_shed_light" , "outside" , 73.5, 58 , 0.7, 1.2, 0), 15 | ("garden_light_top" , "outside" , 89 , 24 , 2.4, 2.4, 0), 16 | ("garden_light_bottom" , "outside" , 85 , 56 , 1.3, 6.5, 23), 17 | ("playroom_light" , "downstairs", 54 , 51 , 2 , 2.6, 0), 18 | ("guest_bathroom_light" , "downstairs", 70.7, 82 , 0.7, 1.4, 0), 19 | ("patio_light_top" , "outside" , 65 , 32 , 2 , 2 , 0), 20 | ("patio_light_bottom" , "outside" , 58 , 32 , 2 , 2 , 0), 21 | ("master_bathroom_light_top" , "upstairs" , 44.5, 84 , 1.3, 0.7, 0), 22 | ("master_bathroom_light_bottom" , "upstairs" , 44.5, 79 , 1.3, 0.6, 0), 23 | ("laundryroom_light" , "upstairs" , 44.5, 72.5, 1.3, 1.1, 0), 24 | ("main_bathroom_light_bottom" , "upstairs" , 44.5, 66 , 1.3, 0.6, 0), 25 | ("main_bathroom_light_top" , "upstairs" , 44.5, 60.5, 1.3, 0.9, 0), 26 | ("noga_light" , "upstairs" , 43.2, 48.5, 1.6, 1.6, 0), 27 | ("ella_light" , "upstairs" , 36.5, 47 , 2 , 1.8, 0), 28 | ("tomer_light" , "upstairs" , 29 , 50.5, 1.9, 2.7, 0), 29 | ("roof_light_top" , "roof" , 5.5 , 51 , 2.6, 2.2, 0), 30 | ("roof_light_bottom" , "roof" , 10 , 76 , 2.2, 4.2, 0), 31 | ("pantry_light" , "downstairs", 61 , 73.5, 0.6, 0.6, 0), 32 | ("hallway_light" , "upstairs" , 41 , 66 , 0.6, 2.8, 0), 33 | ("stairs_light" , "upstairs" , 36.2, 67 , 2.3, 1.5, 0), 34 | ("master_bedroom_right_light" , "upstairs" , 40.5, 80.5, 1 , 1.8, 0), 35 | ("master_bedroom_left_light" , "upstairs" , 35.8, 83 , 1.9, 2.8, 0)] %} 36 | 37 | # group , left, top 38 | {% set light_groups = [("downstairs", 53, 74), 39 | ("upstairs" , 28, 74), 40 | ("outside" , 53, 37), 41 | ("roof" , 3 , 74)] %} 42 | 43 | title: Lights 44 | path: lights 45 | icon: 'mdi:lightbulb' 46 | badges: [] 47 | cards: 48 | {% for group, left, top in light_groups %} 49 | - type: grid 50 | title: {{ group.capitalize() }} 51 | columns: 2 52 | square: false 53 | cards: 54 | {% for entity, entity_group, left, top, scaleX, scaleY, deg in lights %} 55 | {% if entity_group == group %} 56 | - type: custom:mushroom-entity-card 57 | entity: light.{{ entity }} 58 | secondary_info: none 59 | layout: vertical 60 | fill_container: true 61 | tap_action: 62 | action: toggle 63 | {% endif %} 64 | {% endfor %} 65 | {% endfor %} 66 | 67 | # - type: grid 68 | # columns: 1 69 | # square: false 70 | # cards: 71 | # {% for group, left, top in light_groups %} 72 | # - type: entities 73 | # title: {{ group.capitalize() }} 74 | # show_header_toggle: true 75 | # entities: 76 | # {% for entity, entity_group, left, top, scaleX, scaleY, deg in lights %} 77 | # {% if entity_group == group %} 78 | # - entity: light.{{ entity }} 79 | # {% endif %} 80 | # {% endfor %} 81 | # {% endfor %} 82 | 83 | # {% for group, left, top in light_groups %} 84 | # - type: grid 85 | # title: {{ group.capitalize() }} 86 | # columns: 3 87 | # square: false 88 | # cards: 89 | # {% for entity, entity_group, left, top, scaleX, scaleY, deg in lights %} 90 | # {% if entity_group == group %} 91 | # - type: button 92 | # entity: light.{{ entity }} 93 | # show_name: true 94 | # {% endif %} 95 | # {% endfor %} 96 | # {% endfor %} 97 | -------------------------------------------------------------------------------- /lovelace_mobile_UI/vacuum.yaml: -------------------------------------------------------------------------------- 1 | # lovelace_gen 2 | 3 | #-------------------------------------------------------------------------------------------------- 4 | # General 5 | #-------------------------------------------------------------------------------------------------- 6 | {% set days = [("sunday" , "1", "Sun", "ראשון"), 7 | ("monday" , "2", "Mon", "שני"), 8 | ("tuesday" , "3", "Tue", "שלישי"), 9 | ("wednesday", "4", "Wed", "רביעי"), 10 | ("thursday" , "5", "Thu", "חמישי"), 11 | ("friday" , "6", "Fri", "שישי"), 12 | ("saturday" , "7", "Sat", "שבת")] %} 13 | 14 | #-------------------------------------------------------------------------------------------------- 15 | # Vacuums 16 | #-------------------------------------------------------------------------------------------------- 17 | # entity , left, top 18 | {% set vacuums = [("bottom", 53 , 80), 19 | ("top" , 28 , 80)] %} 20 | 21 | ######################################################### 22 | ######################################################### 23 | ######################################################### 24 | # types: DSD - Day Start Duration 25 | # DS - Day Start 26 | # S_HVAC - Start HVAC 27 | 28 | {% macro create_schedulers_popup(entity, scheduler_type) -%} 29 | {% if (scheduler_type == "S_HVAC") %} 30 | {% set num_schedulers = 4 %} 31 | {% set schedulers = ['1', '2', '3', '4'] %} 32 | {% else %} 33 | {% set num_schedulers = 2 %} 34 | {% set schedulers = ['1', '2'] %} 35 | {% endif %} 36 | {% for s in schedulers %} 37 | - type: grid 38 | columns: 1 39 | square: false 40 | title: Scheduler {{ s }} 41 | cards: 42 | - type: custom:mushroom-entity-card 43 | entity: input_boolean.{{ entity }}_scheduler_enable{{ s }} 44 | secondary_info: none 45 | fill_container: true 46 | tap_action: 47 | action: toggle 48 | {% if (scheduler_type == "DSD") or (scheduler_type == "DS") %} 49 | - type: grid 50 | columns: 7 51 | square: false 52 | cards: 53 | {% for day, number, name, name_he in days %} 54 | - type: custom:mushroom-entity-card 55 | entity: input_boolean.{{ entity }}_day_{{ day }}{{ s }} 56 | primary_info: none 57 | secondary_info: none 58 | name: {{ name_he }} 59 | icon: mdi:numeric-{{ number }}-box-outline 60 | layout: vertical 61 | fill_container: true 62 | tap_action: 63 | action: toggle 64 | {% endfor %} 65 | {% endif %} 66 | - type: 'custom:time-picker-card' 67 | entity: input_datetime.{{ entity }}_start_time{{ s }} 68 | layout: 69 | embedded: true 70 | name: inside 71 | align_controls: right 72 | {% if scheduler_type == "DSD" %} 73 | - type: custom:mushroom-number-card 74 | entity: input_number.{{ entity }}_timer_duration{{ s }} 75 | icon: 'mdi:timer-outline' 76 | fill_container: true 77 | layout: horizontal 78 | {% endif %} 79 | {% if (scheduler_type == "S_HVAC") %} 80 | - type: thermostat 81 | entity: climate.{{ entity }}_virtual{{ s }} 82 | features: 83 | - type: climate-hvac-modes 84 | style: icons 85 | hvac_modes: 86 | - 'off' 87 | - cool 88 | - heat 89 | - auto 90 | - type: climate-fan-modes 91 | style: icons 92 | fan_modes: 93 | - low 94 | - high 95 | - mid 96 | {% endif %} 97 | {% endfor %} 98 | {%- endmacro %} 99 | 100 | title: Vacuum 101 | path: vacuum 102 | icon: 'mdi:robot-vacuum' 103 | badges: [] 104 | cards: 105 | - type: grid 106 | columns: 1 107 | square: false 108 | cards: 109 | - type: grid 110 | columns: 2 111 | square: false 112 | cards: 113 | {% for entity, left, top in vacuums %} 114 | - type: custom:xiaomi-vacuum-map-card 115 | map_source: 116 | camera: camera.vacuum_{{ entity }} 117 | calibration_source: 118 | camera: true 119 | entity: vacuum.vacuum_{{ entity }} 120 | vacuum_platform: default 121 | map_locked: true 122 | {% endfor %} 123 | 124 | {% for entity, left, top in vacuums %} 125 | - type: grid 126 | title: Vacuum {{ entity.capitalize() }} Schedulers 127 | columns: 1 128 | square: false 129 | cards: 130 | {{ create_schedulers_popup("vacuum_" ~ entity, "DS") }} 131 | {% endfor %} 132 | -------------------------------------------------------------------------------- /lovelace_mobile_UI/water_consumption.yaml: -------------------------------------------------------------------------------- 1 | # lovelace_gen 2 | 3 | title: Water Consumption 4 | path: water_consumption 5 | icon: 'mdi:water-pump' 6 | badges: [] 7 | cards: 8 | - type: grid 9 | columns: 1 10 | square: false 11 | cards: 12 | - type: grid 13 | columns: 1 14 | square: false 15 | cards: 16 | - type: history-graph 17 | entities: 18 | - entity: sensor.ns_tsyvnh_lvn_4_16452690_today_s_consumption 19 | - entity: sensor.water_consumption_hourly 20 | #hours_to_show: 12 21 | refresh_interval: 10 22 | - type: history-graph 23 | entities: 24 | - entity: sensor.ns_tsyvnh_lvn_4_16452690_consumption_forecast 25 | - entity: sensor.ns_tsyvnh_lvn_4_16452690_monthly_consumption 26 | #hours_to_show: 12 27 | refresh_interval: 10 28 | - type: history-graph 29 | entities: 30 | - entity: sensor.ns_tsyvnh_lvn_4_16452690_last_read 31 | #hours_to_show: 12 32 | refresh_interval: 10 -------------------------------------------------------------------------------- /lovelace_mobile_UI/weather_calendar.yaml: -------------------------------------------------------------------------------- 1 | # lovelace_gen 2 | 3 | title: Weather 4 | path: weather 5 | icon: 'mdi:weather-cloudy-clock' 6 | badges: [] 7 | cards: 8 | - type: grid 9 | columns: 1 10 | square: false 11 | cards: 12 | - type: custom:weather-card 13 | entity: weather.accuweather 14 | icons: "/local/icons/weather_icons/static/" 15 | current: true 16 | details: true # true false 17 | number_of_forecasts: 5 18 | hourly_forecast: false 19 | - type: custom:hourly-weather 20 | entity: weather.openweathermap 21 | num_segments: '15' 22 | icons: true 23 | show_date: boundary 24 | show_precipitation_probability: true 25 | show_precipitation_amounts: true 26 | show_wind: false 27 | 28 | - type: 'custom:atomic-calendar-revive' 29 | entities: 30 | - entity: calendar.kessler_family 31 | name: calendar.kessler_family 32 | - entity: calendar.holidays_in_israel 33 | name: Holidays in Israel 34 | maxDaysToShow: 14 35 | maxEventCount: 6 36 | showLocation: true 37 | showMonth: false 38 | showWeekDay: true 39 | showDate: true 40 | showDescription: false 41 | showNoEventsForToday: false 42 | disableEventLink: true 43 | disableLocationLink: true 44 | defaultMode: Event 45 | refreshInterval: 60 46 | showHours: true 47 | showRelativeTime: false 48 | europeanDate: false 49 | dateFormat: 'LL' 50 | hoursFormat: 'HH:mm' 51 | showMultiDay: false 52 | showMultiDayEventParts: true 53 | -------------------------------------------------------------------------------- /lovelace_new.yaml: -------------------------------------------------------------------------------- 1 | # lovelace_gen 2 | 3 | kiosk_mode: 4 | hide_header: true 5 | # hide_menubutton: true 6 | # hide_overflow: true 7 | 8 | title: Home 9 | 10 | views: 11 | - !include lovelace_new_data.yaml 12 | -------------------------------------------------------------------------------- /lovelace_new_test.yaml: -------------------------------------------------------------------------------- 1 | # lovelace_gen 2 | 3 | kiosk_mode: 4 | hide_header: true 5 | # hide_menubutton: true 6 | # hide_overflow: true 7 | 8 | title: Test 9 | 10 | views: 11 | - !include lovelace_new_test_data.yaml 12 | -------------------------------------------------------------------------------- /packages/package_away.yaml: -------------------------------------------------------------------------------- 1 | ##################################### 2 | ########## E N T I T I E S ########## 3 | ##################################### 4 | 5 | input_boolean: 6 | away: 7 | name: Away 8 | icon: mdi:home-export-outline 9 | 10 | ########################################### 11 | ########## A U T O M A T I O N S ########## 12 | ########################################### 13 | 14 | automation: 15 | 16 | # Trigger - Away Button OFF -> ON (input_boolean.away) 17 | # Conditions - 18 | # Actions - Run script.away 19 | - alias: leave home 20 | description: Leave Home 21 | trigger: 22 | - entity_id: input_boolean.away 23 | platform: state 24 | from: 'off' 25 | to: 'on' 26 | condition: [] 27 | action: 28 | - service: script.turn_on 29 | entity_id: script.away 30 | 31 | # Trigger - Sunset 32 | # Conditions - Away button ON 33 | # Actions - Set away lights ON 34 | - alias: away sunset 35 | description: Turn away lights ON if away and SUNSET 36 | trigger: 37 | - platform: sun 38 | event: sunset 39 | condition: 40 | - condition: state 41 | entity_id: input_boolean.away 42 | state: 'on' 43 | action: 44 | - service: light.turn_on 45 | data: 46 | entity_id: light.kitchen_table_light 47 | brightness: 127 48 | 49 | # Trigger - Sunrise 50 | # Conditions - Away button ON 51 | # Actions - Set away lights OFF 52 | - alias: away sunrise 53 | description: Turn away lights OFF if away and SUNRISE 54 | trigger: 55 | - platform: sun 56 | event: sunrise 57 | condition: 58 | - condition: state 59 | entity_id: input_boolean.away 60 | state: 'on' 61 | action: 62 | - service: light.turn_off 63 | entity_id: light.kitchen_table_light 64 | 65 | # Trigger - Away Button ON -> OFF (input_boolean.away) 66 | # Conditions - 67 | # Actions - Turn ON kitchen lights 68 | - alias: arrive home 69 | description: Arrive Home 70 | trigger: 71 | - entity_id: input_boolean.away 72 | platform: state 73 | from: 'on' 74 | to: 'off' 75 | condition: [] 76 | action: 77 | - service: light.turn_on 78 | data: 79 | entity_id: light.kitchen_table_light 80 | brightness: 255 81 | - service: light.turn_on 82 | entity_id: light.kitchen_light_ceiling 83 | 84 | ################################### 85 | ########## S C R I P T S ########## 86 | ################################### 87 | 88 | script: 89 | away: 90 | sequence: 91 | # Turn OFF all light 92 | - service: light.turn_off 93 | entity_id: all 94 | 95 | # Turn OFF all heaters 96 | - service: switch.turn_off 97 | entity_id: switch.main_bathroom_heater 98 | - service: switch.turn_off 99 | entity_id: switch.master_bathroom_heater 100 | 101 | # Close all covers !!! EXCEPT !!! roof trapdoor - can be damaged if ladder open 102 | - service: cover.close_cover 103 | entity_id: cover.downstairs_shutters 104 | - service: cover.close_cover 105 | entity_id: cover.upstairs_shutters 106 | 107 | # Turn OFF all HVACs 108 | - service: climate.turn_off 109 | entity_id: all 110 | 111 | # Turn ON night light if leaving during DARK hours (>sunset, 57 | {%- if trigger.entity_id == 'input_boolean.backyard_awning_open_full' -%} 58 | open_full 59 | {%- elif trigger.entity_id == 'input_boolean.backyard_awning_open_half' -%} 60 | open_half 61 | {%- elif trigger.entity_id == 'input_boolean.backyard_awning_close_full' -%} 62 | close_full 63 | {%- elif trigger.entity_id == 'input_boolean.backyard_awning_close_half' -%} 64 | close_half 65 | {% endif %} 66 | - delay: 67 | milliseconds: 250 68 | - service: input_boolean.turn_off 69 | data: 70 | entity_id: "{{ trigger.entity_id }}" 71 | 72 | ################################### 73 | ########## S C R I P T S ########## 74 | ################################### 75 | 76 | # script: 77 | # # --------------------- 78 | -------------------------------------------------------------------------------- /packages/package_cover.yaml: -------------------------------------------------------------------------------- 1 | ##################################### 2 | ########## E N T I T I E S ########## 3 | ##################################### 4 | 5 | cover: 6 | - platform: group 7 | name: Upstairs Shutters 8 | entities: 9 | - cover.noga_window_shutter_north 10 | - cover.noga_window_shutter_west 11 | - cover.ella_window_shutter 12 | 13 | - platform: group 14 | name: Downstairs Shutters 15 | entities: 16 | - cover.diningroom_window_shutter 17 | - cover.livingroom_window_shutter 18 | - cover.livingroom_door_shutter 19 | - cover.playroom_window_shutter 20 | 21 | sensor: 22 | - platform: template 23 | sensors: 24 | upstairs_shutters_problem: 25 | icon_template: mdi:window-shutter-alert 26 | value_template: > 27 | {% set devices = state_attr('cover.upstairs_shutters', 'entity_id') %} 28 | {% set upstairs_shutters_problem = namespace(count=0) %} 29 | {% for entity_id in devices -%} 30 | {% if (not has_value(entity_id)) %} 31 | {% set upstairs_shutters_problem.count = upstairs_shutters_problem.count + 1 %} 32 | {% endif %} 33 | {% endfor %} 34 | {{ upstairs_shutters_problem.count }} 35 | downstairs_shutters_problem: 36 | icon_template: mdi:window-shutter-alert 37 | value_template: > 38 | {% set devices = state_attr('cover.downstairs_shutters', 'entity_id') %} 39 | {% set downstairs_shutters_problem = namespace(count=0) %} 40 | {% for entity_id in devices -%} 41 | {% if (not has_value(entity_id)) %} 42 | {% set downstairs_shutters_problem.count = downstairs_shutters_problem.count + 1 %} 43 | {% endif %} 44 | {% endfor %} 45 | {{ downstairs_shutters_problem.count }} 46 | 47 | ########################################### 48 | ########## A U T O M A T I O N S ########## 49 | ########################################### 50 | 51 | # automation: 52 | 53 | # Trigger - 54 | # Conditions - 55 | # Actions - 56 | 57 | ################################### 58 | ########## S C R I P T S ########## 59 | ################################### 60 | 61 | # script: 62 | # # --------------------- 63 | -------------------------------------------------------------------------------- /packages/package_goodnight.yaml: -------------------------------------------------------------------------------- 1 | ##################################### 2 | ########## E N T I T I E S ########## 3 | ##################################### 4 | 5 | input_boolean: 6 | goodnight: 7 | name: Goodnight 8 | icon: mdi:sleep 9 | 10 | ########################################### 11 | ########## A U T O M A T I O N S ########## 12 | ########################################### 13 | 14 | automation: 15 | 16 | # Trigger - Goodnight Button OFF -> ON (input_boolean.goodnight) 17 | # Conditions - 18 | # Actions - Run script.goodnight 19 | - alias: goodnight on 20 | description: Goodnight 21 | trigger: 22 | - entity_id: input_boolean.goodnight 23 | platform: state 24 | from: 'off' 25 | to: 'on' 26 | condition: [] 27 | action: 28 | - service: script.turn_on 29 | entity_id: script.goodnight 30 | 31 | # Trigger - Goodnight Button ON -> OFF (input_boolean.away) 32 | # Conditions - 33 | # Actions - 34 | - alias: goodnight off 35 | description: Morning 36 | trigger: 37 | - entity_id: input_boolean.goodnight 38 | platform: state 39 | from: 'on' 40 | to: 'off' 41 | condition: [] 42 | action: [] 43 | 44 | ################################### 45 | ########## S C R I P T S ########## 46 | ################################### 47 | 48 | script: 49 | goodnight: 50 | sequence: 51 | # Turn OFF all light 52 | - service: light.turn_off 53 | entity_id: all 54 | 55 | # Turn OFF all heaters 56 | - service: switch.turn_off 57 | entity_id: switch.main_bathroom_heater 58 | - service: switch.turn_off 59 | entity_id: switch.master_bathroom_heater 60 | 61 | # Close all covers !!! EXCEPT !!! roof trapdoor - can be damaged if ladder open 62 | - service: cover.close_cover 63 | entity_id: cover.downstairs_shutters 64 | - service: cover.close_cover 65 | entity_id: cover.upstairs_shutters 66 | 67 | # Turn OFF Livingroom HVAC 68 | - service: climate.turn_off 69 | entity_id: climate.hvac_livingroom 70 | -------------------------------------------------------------------------------- /packages/package_hvac.yaml: -------------------------------------------------------------------------------- 1 | ##################################### 2 | ########## E N T I T I E S ########## 3 | ##################################### 4 | 5 | sensor: 6 | - platform: template 7 | sensors: 8 | hvac_downstairs_problem: 9 | icon_template: mdi:air-conditioner 10 | value_template: > 11 | {% if (has_value('sensor.livingroom_temperature')) %} 12 | {{ 0 }} 13 | {% else %} 14 | {{ 1 }} 15 | {% endif %} 16 | hvac_upstairs_problem: 17 | icon_template: mdi:air-conditioner 18 | value_template: > 19 | {% if (has_value('sensor.hallway_temperature')) %} 20 | {{ 0 }} 21 | {% else %} 22 | {{ 1 }} 23 | {% endif %} 24 | 25 | - platform: min_max 26 | name: upstairs_average_temperature 27 | type: mean 28 | round_digits: 1 29 | entity_ids: 30 | - sensor.ella_sensor_temperature 31 | - sensor.tomer_sensor_temperature 32 | - sensor.noga_sensor_temperature 33 | - sensor.master_bedroom_sensor_temperature 34 | # - sensor.hallway_temperature 35 | 36 | - platform: min_max 37 | name: downstairs_average_temperature 38 | type: mean 39 | round_digits: 1 40 | entity_ids: 41 | - sensor.livingroom_corner_sensor_temperature 42 | - sensor.livingroom_tv_sensor_temperature 43 | - sensor.kitchen_sensor_temperature 44 | # - sensor.livingroom_temperature 45 | 46 | climate: 47 | - platform: smartir 48 | name: HVAC Downstairs 49 | unique_id: hvac_downstairs 50 | device_code: 1620 51 | controller_data: remote.downstairs 52 | temperature_sensor: sensor.downstairs_avg_temperature 53 | 54 | - platform: smartir 55 | name: HVAC Upstairs 56 | unique_id: hvac_upstairs 57 | device_code: 1620 58 | controller_data: remote.upstairs 59 | temperature_sensor: sensor.upstairs_avg_temperature 60 | 61 | ########################################### 62 | ########## A U T O M A T I O N S ########## 63 | ########################################### 64 | 65 | # automation: 66 | 67 | ################################### 68 | ########## S C R I P T S ########## 69 | ################################### 70 | 71 | # script: 72 | # # --------------------- 73 | -------------------------------------------------------------------------------- /packages/package_hvac_downstairs_scheduler_1.yaml: -------------------------------------------------------------------------------- 1 | ##################################### 2 | ########## E N T I T I E S ########## 3 | ##################################### 4 | 5 | input_boolean: 6 | hvac_downstairs_scheduler_enable1: 7 | name: Enable 8 | icon: mdi:power 9 | 10 | input_datetime: 11 | hvac_downstairs_start_time1: 12 | name: Start Time 13 | has_date: false 14 | has_time: true 15 | 16 | climate: 17 | - platform: smartir 18 | name: HVAC Downstairs Virtual 1 19 | unique_id: hvac_downstairs_virtual1 20 | device_code: 1621 21 | controller_data: remote.downstairs_remote 22 | # temperature_sensor: 23 | delay: 10 24 | 25 | ########################################### 26 | ########## A U T O M A T I O N S ########## 27 | ########################################### 28 | 29 | automation: 30 | description: "HVAC Downstairs Scheduler 1" 31 | alias: hvac_downstairs_scheduler1 32 | use_blueprint: 33 | path: blueprint_hvac_scheduler.yaml 34 | input: 35 | start_time: input_datetime.hvac_downstairs_start_time1 36 | scheduler_enable: input_boolean.hvac_downstairs_scheduler_enable1 37 | virtual_climate: climate.hvac_downstairs_virtual1 38 | target_climate: climate.hvac_downstairs 39 | 40 | ################################### 41 | ########## S C R I P T S ########## 42 | ################################### 43 | 44 | # script: 45 | # # --------------------- 46 | -------------------------------------------------------------------------------- /packages/package_hvac_downstairs_scheduler_2.yaml: -------------------------------------------------------------------------------- 1 | ##################################### 2 | ########## E N T I T I E S ########## 3 | ##################################### 4 | 5 | input_boolean: 6 | hvac_downstairs_scheduler_enable2: 7 | name: Enable 8 | icon: mdi:power 9 | 10 | input_datetime: 11 | hvac_downstairs_start_time2: 12 | name: Start Time 13 | has_date: false 14 | has_time: true 15 | 16 | climate: 17 | - platform: smartir 18 | name: HVAC Downstairs Virtual 2 19 | unique_id: hvac_downstairs_virtual2 20 | device_code: 1621 21 | controller_data: remote.downstairs_remote 22 | # temperature_sensor: 23 | delay: 10 24 | 25 | ########################################### 26 | ########## A U T O M A T I O N S ########## 27 | ########################################### 28 | 29 | automation: 30 | description: "HVAC Downstairs Scheduler 2" 31 | alias: hvac_downstairs_scheduler2 32 | use_blueprint: 33 | path: blueprint_hvac_scheduler.yaml 34 | input: 35 | start_time: input_datetime.hvac_downstairs_start_time2 36 | scheduler_enable: input_boolean.hvac_downstairs_scheduler_enable2 37 | virtual_climate: climate.hvac_downstairs_virtual2 38 | target_climate: climate.hvac_downstairs 39 | 40 | ################################### 41 | ########## S C R I P T S ########## 42 | ################################### 43 | 44 | # script: 45 | # # --------------------- 46 | -------------------------------------------------------------------------------- /packages/package_hvac_downstairs_scheduler_3.yaml: -------------------------------------------------------------------------------- 1 | ##################################### 2 | ########## E N T I T I E S ########## 3 | ##################################### 4 | 5 | input_boolean: 6 | hvac_downstairs_scheduler_enable3: 7 | name: Enable 8 | icon: mdi:power 9 | 10 | input_datetime: 11 | hvac_downstairs_start_time3: 12 | name: Start Time 13 | has_date: false 14 | has_time: true 15 | 16 | climate: 17 | - platform: smartir 18 | name: HVAC Downstairs Virtual 3 19 | unique_id: hvac_downstairs_virtual3 20 | device_code: 1621 21 | controller_data: remote.downstairs_remote 22 | # temperature_sensor: 23 | delay: 10 24 | 25 | ########################################### 26 | ########## A U T O M A T I O N S ########## 27 | ########################################### 28 | 29 | automation: 30 | description: "HVAC Downstairs Scheduler 3" 31 | alias: hvac_downstairs_scheduler3 32 | use_blueprint: 33 | path: blueprint_hvac_scheduler.yaml 34 | input: 35 | start_time: input_datetime.hvac_downstairs_start_time3 36 | scheduler_enable: input_boolean.hvac_downstairs_scheduler_enable3 37 | virtual_climate: climate.hvac_downstairs_virtual3 38 | target_climate: climate.hvac_downstairs 39 | 40 | ################################### 41 | ########## S C R I P T S ########## 42 | ################################### 43 | 44 | # script: 45 | # # --------------------- 46 | -------------------------------------------------------------------------------- /packages/package_hvac_downstairs_scheduler_4.yaml: -------------------------------------------------------------------------------- 1 | ##################################### 2 | ########## E N T I T I E S ########## 3 | ##################################### 4 | 5 | input_boolean: 6 | hvac_downstairs_scheduler_enable4: 7 | name: Enable 8 | icon: mdi:power 9 | 10 | input_datetime: 11 | hvac_downstairs_start_time4: 12 | name: Start Time 13 | has_date: false 14 | has_time: true 15 | 16 | climate: 17 | - platform: smartir 18 | name: HVAC Downstairs Virtual 4 19 | unique_id: hvac_downstairs_virtual4 20 | device_code: 1621 21 | controller_data: remote.downstairs_remote 22 | # temperature_sensor: 23 | delay: 10 24 | 25 | ########################################### 26 | ########## A U T O M A T I O N S ########## 27 | ########################################### 28 | 29 | automation: 30 | description: "HVAC Downstairs Scheduler 4" 31 | alias: hvac_downstairs_scheduler4 32 | use_blueprint: 33 | path: blueprint_hvac_scheduler.yaml 34 | input: 35 | start_time: input_datetime.hvac_downstairs_start_time4 36 | scheduler_enable: input_boolean.hvac_downstairs_scheduler_enable4 37 | virtual_climate: climate.hvac_downstairs_virtual4 38 | target_climate: climate.hvac_downstairs 39 | 40 | ################################### 41 | ########## S C R I P T S ########## 42 | ################################### 43 | 44 | # script: 45 | # # --------------------- 46 | -------------------------------------------------------------------------------- /packages/package_hvac_upstairs_scheduler_1.yaml: -------------------------------------------------------------------------------- 1 | ##################################### 2 | ########## E N T I T I E S ########## 3 | ##################################### 4 | 5 | input_boolean: 6 | hvac_upstairs_scheduler_enable1: 7 | name: Enable 8 | icon: mdi:power 9 | 10 | input_datetime: 11 | hvac_upstairs_start_time1: 12 | name: Start Time 13 | has_date: false 14 | has_time: true 15 | 16 | climate: 17 | - platform: smartir 18 | name: HVAC Upstairs Virtual 1 19 | unique_id: hvac_upstairs_virtual1 20 | device_code: 1621 21 | controller_data: remote.upstairs_remote 22 | # temperature_sensor: 23 | delay: 10 24 | 25 | ########################################### 26 | ########## A U T O M A T I O N S ########## 27 | ########################################### 28 | 29 | automation: 30 | description: "HVAC Upstairs Scheduler 1" 31 | alias: hvac_upstairs_scheduler1 32 | use_blueprint: 33 | path: blueprint_hvac_scheduler.yaml 34 | input: 35 | start_time: input_datetime.hvac_upstairs_start_time1 36 | scheduler_enable: input_boolean.hvac_upstairs_scheduler_enable1 37 | virtual_climate: climate.hvac_upstairs_virtual1 38 | target_climate: climate.hvac_upstairs 39 | 40 | ################################### 41 | ########## S C R I P T S ########## 42 | ################################### 43 | 44 | # script: 45 | # # --------------------- 46 | -------------------------------------------------------------------------------- /packages/package_hvac_upstairs_scheduler_2.yaml: -------------------------------------------------------------------------------- 1 | ##################################### 2 | ########## E N T I T I E S ########## 3 | ##################################### 4 | 5 | input_boolean: 6 | hvac_upstairs_scheduler_enable2: 7 | name: Enable 8 | icon: mdi:power 9 | 10 | input_datetime: 11 | hvac_upstairs_start_time2: 12 | name: Start Time 13 | has_date: false 14 | has_time: true 15 | 16 | climate: 17 | - platform: smartir 18 | name: HVAC Upstairs Virtual 2 19 | unique_id: hvac_upstairs_virtual2 20 | device_code: 1621 21 | controller_data: remote.upstairs_remote 22 | # temperature_sensor: 23 | delay: 10 24 | 25 | ########################################### 26 | ########## A U T O M A T I O N S ########## 27 | ########################################### 28 | 29 | automation: 30 | description: "HVAC Upstairs Scheduler 2" 31 | alias: hvac_upstairs_scheduler_2 32 | use_blueprint: 33 | path: blueprint_hvac_scheduler.yaml 34 | input: 35 | start_time: input_datetime.hvac_upstairs_start_time2 36 | scheduler_enable: input_boolean.hvac_upstairs_scheduler_enable2 37 | virtual_climate: climate.hvac_upstairs_virtual2 38 | target_climate: climate.hvac_upstairs 39 | 40 | ################################### 41 | ########## S C R I P T S ########## 42 | ################################### 43 | 44 | # script: 45 | # # --------------------- 46 | -------------------------------------------------------------------------------- /packages/package_hvac_upstairs_scheduler_3.yaml: -------------------------------------------------------------------------------- 1 | ##################################### 2 | ########## E N T I T I E S ########## 3 | ##################################### 4 | 5 | input_boolean: 6 | hvac_upstairs_scheduler_enable3: 7 | name: Enable 8 | icon: mdi:power 9 | 10 | input_datetime: 11 | hvac_upstairs_start_time3: 12 | name: Start Time 13 | has_date: false 14 | has_time: true 15 | 16 | climate: 17 | - platform: smartir 18 | name: HVAC Upstairs Virtual 3 19 | unique_id: hvac_upstairs_virtual3 20 | device_code: 1621 21 | controller_data: remote.upstairs_remote 22 | # temperature_sensor: 23 | delay: 10 24 | 25 | ########################################### 26 | ########## A U T O M A T I O N S ########## 27 | ########################################### 28 | 29 | automation: 30 | description: "HVAC Upstairs Scheduler 3" 31 | alias: hvac_upstairs_scheduler3 32 | use_blueprint: 33 | path: blueprint_hvac_scheduler.yaml 34 | input: 35 | start_time: input_datetime.hvac_upstairs_start_time3 36 | scheduler_enable: input_boolean.hvac_upstairs_scheduler_enable3 37 | virtual_climate: climate.hvac_upstairs_virtual3 38 | target_climate: climate.hvac_upstairs 39 | 40 | ################################### 41 | ########## S C R I P T S ########## 42 | ################################### 43 | 44 | # script: 45 | # # --------------------- 46 | -------------------------------------------------------------------------------- /packages/package_hvac_upstairs_scheduler_4.yaml: -------------------------------------------------------------------------------- 1 | ##################################### 2 | ########## E N T I T I E S ########## 3 | ##################################### 4 | 5 | input_boolean: 6 | hvac_upstairs_scheduler_enable4: 7 | name: Enable 8 | icon: mdi:power 9 | 10 | input_datetime: 11 | hvac_upstairs_start_time4: 12 | name: Start Time 13 | has_date: false 14 | has_time: true 15 | 16 | climate: 17 | - platform: smartir 18 | name: HVAC Upstairs Virtual 4 19 | unique_id: hvac_upstairs_virtual4 20 | device_code: 1621 21 | controller_data: remote.upstairs_remote 22 | # temperature_sensor: 23 | delay: 10 24 | 25 | ########################################### 26 | ########## A U T O M A T I O N S ########## 27 | ########################################### 28 | 29 | automation: 30 | description: "HVAC Upstairs Scheduler 4" 31 | alias: hvac_upstairs_scheduler4 32 | use_blueprint: 33 | path: blueprint_hvac_scheduler.yaml 34 | input: 35 | start_time: input_datetime.hvac_upstairs_start_time4 36 | scheduler_enable: input_boolean.hvac_upstairs_scheduler_enable4 37 | virtual_climate: climate.hvac_upstairs_virtual4 38 | target_climate: climate.hvac_upstairs 39 | 40 | ################################### 41 | ########## S C R I P T S ########## 42 | ################################### 43 | 44 | # script: 45 | # # --------------------- 46 | -------------------------------------------------------------------------------- /packages/package_irrigation_drips_scheduler_1.yaml: -------------------------------------------------------------------------------- 1 | ##################################### 2 | ########## E N T I T I E S ########## 3 | ##################################### 4 | 5 | input_boolean: 6 | irrigation_drips_scheduler_enable1: 7 | name: Enable 8 | icon: mdi:power 9 | irrigation_drips_day_sunday1: 10 | name: Sunday 11 | icon: mdi:calendar-today 12 | irrigation_drips_day_monday1: 13 | name: Monday 14 | icon: mdi:calendar-today 15 | irrigation_drips_day_tuesday1: 16 | name: Tuesday 17 | icon: mdi:calendar-today 18 | irrigation_drips_day_wednesday1: 19 | name: Wednesday 20 | icon: mdi:calendar-today 21 | irrigation_drips_day_thursday1: 22 | name: Thursday 23 | icon: mdi:calendar-today 24 | irrigation_drips_day_friday1: 25 | name: Friday 26 | icon: mdi:calendar-today 27 | irrigation_drips_day_saturday1: 28 | name: Saturday 29 | icon: mdi:calendar-today 30 | 31 | input_datetime: 32 | irrigation_drips_start_time1: 33 | name: Start Time 34 | has_date: false 35 | has_time: true 36 | 37 | input_number: 38 | irrigation_drips_timer_duration1: 39 | name: Duration 40 | unit_of_measurement: "min" 41 | min: 0 42 | max: 60 43 | step: 5 44 | 45 | ########################################### 46 | ########## A U T O M A T I O N S ########## 47 | ########################################### 48 | 49 | automation: 50 | description: "Irrigation Drips Scheduler 1" 51 | alias: irrigation_drips_scheduler1 52 | use_blueprint: 53 | path: blueprint_irrigation_scheduler.yaml 54 | input: 55 | start_time: input_datetime.irrigation_drips_start_time1 56 | scheduler_enable: input_boolean.irrigation_drips_scheduler_enable1 57 | switch: switch.irrigation_drips 58 | timer: timer.irrigation_drips 59 | duration: input_number.irrigation_drips_timer_duration1 60 | scheduler_number: 1 61 | 62 | ################################### 63 | ########## S C R I P T S ########## 64 | ################################### 65 | 66 | # script: 67 | # # --------------------- 68 | -------------------------------------------------------------------------------- /packages/package_irrigation_drips_scheduler_2.yaml: -------------------------------------------------------------------------------- 1 | ##################################### 2 | ########## E N T I T I E S ########## 3 | ##################################### 4 | 5 | input_boolean: 6 | irrigation_drips_scheduler_enable2: 7 | name: Enable 8 | icon: mdi:power 9 | irrigation_drips_day_sunday2: 10 | name: Sunday 11 | icon: mdi:calendar-today 12 | irrigation_drips_day_monday2: 13 | name: Monday 14 | icon: mdi:calendar-today 15 | irrigation_drips_day_tuesday2: 16 | name: Tuesday 17 | icon: mdi:calendar-today 18 | irrigation_drips_day_wednesday2: 19 | name: Wednesday 20 | icon: mdi:calendar-today 21 | irrigation_drips_day_thursday2: 22 | name: Thursday 23 | icon: mdi:calendar-today 24 | irrigation_drips_day_friday2: 25 | name: Friday 26 | icon: mdi:calendar-today 27 | irrigation_drips_day_saturday2: 28 | name: Saturday 29 | icon: mdi:calendar-today 30 | 31 | input_datetime: 32 | irrigation_drips_start_time2: 33 | name: Start Time 34 | has_date: false 35 | has_time: true 36 | 37 | input_number: 38 | irrigation_drips_timer_duration2: 39 | name: Duration 40 | unit_of_measurement: "min" 41 | min: 0 42 | max: 60 43 | step: 5 44 | 45 | ########################################### 46 | ########## A U T O M A T I O N S ########## 47 | ########################################### 48 | 49 | automation: 50 | description: "Irrigation Drips Scheduler 2" 51 | alias: irrigation_drips_scheduler2 52 | use_blueprint: 53 | path: blueprint_irrigation_scheduler.yaml 54 | input: 55 | start_time: input_datetime.irrigation_drips_start_time2 56 | scheduler_enable: input_boolean.irrigation_drips_scheduler_enable2 57 | switch: switch.irrigation_drips 58 | timer: timer.irrigation_drips 59 | duration: input_number.irrigation_drips_timer_duration2 60 | scheduler_number: 2 61 | 62 | ################################### 63 | ########## S C R I P T S ########## 64 | ################################### 65 | 66 | # script: 67 | # # --------------------- 68 | -------------------------------------------------------------------------------- /packages/package_irrigation_north_scheduler_1.yaml: -------------------------------------------------------------------------------- 1 | ##################################### 2 | ########## E N T I T I E S ########## 3 | ##################################### 4 | 5 | input_boolean: 6 | irrigation_sprinkler_north_scheduler_enable1: 7 | name: Enable 8 | icon: mdi:power 9 | irrigation_sprinkler_north_day_sunday1: 10 | name: Sunday 11 | icon: mdi:calendar-today 12 | irrigation_sprinkler_north_day_monday1: 13 | name: Monday 14 | icon: mdi:calendar-today 15 | irrigation_sprinkler_north_day_tuesday1: 16 | name: Tuesday 17 | icon: mdi:calendar-today 18 | irrigation_sprinkler_north_day_wednesday1: 19 | name: Wednesday 20 | icon: mdi:calendar-today 21 | irrigation_sprinkler_north_day_thursday1: 22 | name: Thursday 23 | icon: mdi:calendar-today 24 | irrigation_sprinkler_north_day_friday1: 25 | name: Friday 26 | icon: mdi:calendar-today 27 | irrigation_sprinkler_north_day_saturday1: 28 | name: Saturday 29 | icon: mdi:calendar-today 30 | 31 | input_datetime: 32 | irrigation_sprinkler_north_start_time1: 33 | name: Start Time 34 | has_date: false 35 | has_time: true 36 | 37 | input_number: 38 | irrigation_sprinkler_north_timer_duration1: 39 | name: Duration 40 | unit_of_measurement: "min" 41 | min: 0 42 | max: 30 43 | step: 5 44 | 45 | ########################################### 46 | ########## A U T O M A T I O N S ########## 47 | ########################################### 48 | 49 | automation: 50 | description: "Irrigation Sprinkler North Scheduler 1" 51 | alias: irrigation_sprinkler_north_scheduler1 52 | use_blueprint: 53 | path: blueprint_irrigation_scheduler.yaml 54 | input: 55 | start_time: input_datetime.irrigation_sprinkler_north_start_time1 56 | scheduler_enable: input_boolean.irrigation_sprinkler_north_scheduler_enable1 57 | switch: switch.irrigation_sprinkler_north 58 | timer: timer.irrigation_sprinkler_north 59 | duration: input_number.irrigation_sprinkler_north_timer_duration1 60 | scheduler_number: 1 61 | 62 | ################################### 63 | ########## S C R I P T S ########## 64 | ################################### 65 | 66 | # script: 67 | # # --------------------- 68 | -------------------------------------------------------------------------------- /packages/package_irrigation_north_scheduler_2.yaml: -------------------------------------------------------------------------------- 1 | ##################################### 2 | ########## E N T I T I E S ########## 3 | ##################################### 4 | 5 | input_boolean: 6 | irrigation_sprinkler_north_scheduler_enable2: 7 | name: Enable 8 | icon: mdi:power 9 | irrigation_sprinkler_north_day_sunday2: 10 | name: Sunday 11 | icon: mdi:calendar-today 12 | irrigation_sprinkler_north_day_monday2: 13 | name: Monday 14 | icon: mdi:calendar-today 15 | irrigation_sprinkler_north_day_tuesday2: 16 | name: Tuesday 17 | icon: mdi:calendar-today 18 | irrigation_sprinkler_north_day_wednesday2: 19 | name: Wednesday 20 | icon: mdi:calendar-today 21 | irrigation_sprinkler_north_day_thursday2: 22 | name: Thursday 23 | icon: mdi:calendar-today 24 | irrigation_sprinkler_north_day_friday2: 25 | name: Friday 26 | icon: mdi:calendar-today 27 | irrigation_sprinkler_north_day_saturday2: 28 | name: Saturday 29 | icon: mdi:calendar-today 30 | 31 | input_datetime: 32 | irrigation_sprinkler_north_start_time2: 33 | name: Start Time 34 | has_date: false 35 | has_time: true 36 | 37 | input_number: 38 | irrigation_sprinkler_north_timer_duration2: 39 | name: Duration 40 | unit_of_measurement: "min" 41 | min: 0 42 | max: 30 43 | step: 5 44 | 45 | ########################################### 46 | ########## A U T O M A T I O N S ########## 47 | ########################################### 48 | 49 | automation: 50 | description: "Irrigation Sprinkler North Scheduler 2" 51 | alias: irrigation_sprinkler_north_scheduler2 52 | use_blueprint: 53 | path: blueprint_irrigation_scheduler.yaml 54 | input: 55 | start_time: input_datetime.irrigation_sprinkler_north_start_time2 56 | scheduler_enable: input_boolean.irrigation_sprinkler_north_scheduler_enable2 57 | switch: switch.irrigation_sprinkler_north 58 | timer: timer.irrigation_sprinkler_north 59 | duration: input_number.irrigation_sprinkler_north_timer_duration2 60 | scheduler_number: 2 61 | 62 | ################################### 63 | ########## S C R I P T S ########## 64 | ################################### 65 | 66 | # script: 67 | # # --------------------- 68 | -------------------------------------------------------------------------------- /packages/package_irrigation_west_scheduler_1.yaml: -------------------------------------------------------------------------------- 1 | ##################################### 2 | ########## E N T I T I E S ########## 3 | ##################################### 4 | 5 | input_boolean: 6 | irrigation_sprinkler_west_scheduler_enable1: 7 | name: Enable 8 | icon: mdi:power 9 | irrigation_sprinkler_west_day_sunday1: 10 | name: Sunday 11 | icon: mdi:calendar-today 12 | irrigation_sprinkler_west_day_monday1: 13 | name: Monday 14 | icon: mdi:calendar-today 15 | irrigation_sprinkler_west_day_tuesday1: 16 | name: Tuesday 17 | icon: mdi:calendar-today 18 | irrigation_sprinkler_west_day_wednesday1: 19 | name: Wednesday 20 | icon: mdi:calendar-today 21 | irrigation_sprinkler_west_day_thursday1: 22 | name: Thursday 23 | icon: mdi:calendar-today 24 | irrigation_sprinkler_west_day_friday1: 25 | name: Friday 26 | icon: mdi:calendar-today 27 | irrigation_sprinkler_west_day_saturday1: 28 | name: Saturday 29 | icon: mdi:calendar-today 30 | 31 | input_datetime: 32 | irrigation_sprinkler_west_start_time1: 33 | name: Start Time 34 | has_date: false 35 | has_time: true 36 | 37 | input_number: 38 | irrigation_sprinkler_west_timer_duration1: 39 | name: Duration 40 | unit_of_measurement: "min" 41 | min: 0 42 | max: 30 43 | step: 5 44 | 45 | ########################################### 46 | ########## A U T O M A T I O N S ########## 47 | ########################################### 48 | 49 | automation: 50 | description: "Irrigation Sprinkler West Scheduler 1" 51 | alias: irrigation_sprinkler_west_scheduler1 52 | use_blueprint: 53 | path: blueprint_irrigation_scheduler.yaml 54 | input: 55 | start_time: input_datetime.irrigation_sprinkler_west_start_time1 56 | scheduler_enable: input_boolean.irrigation_sprinkler_west_scheduler_enable1 57 | switch: switch.irrigation_sprinkler_west 58 | timer: timer.irrigation_sprinkler_west 59 | duration: input_number.irrigation_sprinkler_west_timer_duration1 60 | scheduler_number: 1 61 | 62 | ################################### 63 | ########## S C R I P T S ########## 64 | ################################### 65 | 66 | # script: 67 | # # --------------------- 68 | -------------------------------------------------------------------------------- /packages/package_irrigation_west_scheduler_2.yaml: -------------------------------------------------------------------------------- 1 | ##################################### 2 | ########## E N T I T I E S ########## 3 | ##################################### 4 | 5 | input_boolean: 6 | irrigation_sprinkler_west_scheduler_enable2: 7 | name: Enable 8 | icon: mdi:power 9 | irrigation_sprinkler_west_day_sunday2: 10 | name: Sunday 11 | icon: mdi:calendar-today 12 | irrigation_sprinkler_west_day_monday2: 13 | name: Monday 14 | icon: mdi:calendar-today 15 | irrigation_sprinkler_west_day_tuesday2: 16 | name: Tuesday 17 | icon: mdi:calendar-today 18 | irrigation_sprinkler_west_day_wednesday2: 19 | name: Wednesday 20 | icon: mdi:calendar-today 21 | irrigation_sprinkler_west_day_thursday2: 22 | name: Thursday 23 | icon: mdi:calendar-today 24 | irrigation_sprinkler_west_day_friday2: 25 | name: Friday 26 | icon: mdi:calendar-today 27 | irrigation_sprinkler_west_day_saturday2: 28 | name: Saturday 29 | icon: mdi:calendar-today 30 | 31 | input_datetime: 32 | irrigation_sprinkler_west_start_time2: 33 | name: Start Time 34 | has_date: false 35 | has_time: true 36 | 37 | input_number: 38 | irrigation_sprinkler_west_timer_duration2: 39 | name: Duration 40 | unit_of_measurement: "min" 41 | min: 0 42 | max: 30 43 | step: 5 44 | 45 | ########################################### 46 | ########## A U T O M A T I O N S ########## 47 | ########################################### 48 | 49 | automation: 50 | description: "Irrigation Sprinkler West Scheduler 2" 51 | alias: irrigation_sprinkler_west_scheduler2 52 | use_blueprint: 53 | path: blueprint_irrigation_scheduler.yaml 54 | input: 55 | start_time: input_datetime.irrigation_sprinkler_west_start_time2 56 | scheduler_enable: input_boolean.irrigation_sprinkler_west_scheduler_enable2 57 | switch: switch.irrigation_sprinkler_west 58 | timer: timer.irrigation_sprinkler_west 59 | duration: input_number.irrigation_sprinkler_west_timer_duration2 60 | scheduler_number: 2 61 | 62 | ################################### 63 | ########## S C R I P T S ########## 64 | ################################### 65 | 66 | # script: 67 | # # --------------------- 68 | -------------------------------------------------------------------------------- /packages/package_light.yaml: -------------------------------------------------------------------------------- 1 | ##################################### 2 | ########## E N T I T I E S ########## 3 | ##################################### 4 | 5 | light: 6 | - platform: group 7 | name: Upstairs Lights 8 | entities: 9 | - light.main_bathroom_light_top 10 | - light.main_bathroom_light_bottom 11 | - light.master_bathroom_light_top 12 | - light.master_bathroom_light_bottom 13 | - light.noga_light 14 | - light.ella_light 15 | - light.tomer_light 16 | - light.laundryroom_light 17 | - light.hallway_light 18 | - light.master_bedroom_left_light 19 | - light.master_bedroom_right_light 20 | - light.stairs_light 21 | 22 | - platform: group 23 | name: Downstairs Lights 24 | entities: 25 | - light.kitchen_light_klapa 26 | - light.kitchen_light_ceiling 27 | - light.kitchen_table_light 28 | - light.kitchen_table_light_ambilight 29 | - light.diningroom_light 30 | - light.guest_bathroom_light 31 | - light.playroom_light 32 | - light.pantry_light 33 | - light.stairs_light 34 | 35 | - platform: group 36 | name: Outside Lights 37 | entities: 38 | - light.patio_light_top 39 | - light.patio_light_bottom 40 | - light.garden_light_top 41 | - light.garden_light_bottom 42 | - light.garden_shed_light 43 | 44 | - platform: group 45 | name: Roof Lights 46 | entities: 47 | - light.roof_light_top 48 | - light.roof_light_bottom 49 | 50 | sensor: 51 | - platform: template 52 | sensors: 53 | upstairs_lights_problem: 54 | icon_template: mdi:lightbulb-off 55 | value_template: > 56 | {% set devices = state_attr('light.upstairs_lights', 'entity_id') %} 57 | {% set upstairs_lights_problem = namespace(count=0) %} 58 | {% for entity_id in devices -%} 59 | {% if (not has_value(entity_id)) %} 60 | {% set upstairs_lights_problem.count = upstairs_lights_problem.count + 1 %} 61 | {% endif %} 62 | {% endfor %} 63 | {{ upstairs_lights_problem.count }} 64 | downstairs_lights_problem: 65 | icon_template: mdi:lightbulb-off 66 | value_template: > 67 | {% set devices = state_attr('light.downstairs_lights', 'entity_id') %} 68 | {% set downstairs_lights_problem = namespace(count=0) %} 69 | {% for entity_id in devices -%} 70 | {% if (not has_value(entity_id)) %} 71 | {% set downstairs_lights_problem.count = downstairs_lights_problem.count + 1 %} 72 | {% endif %} 73 | {% endfor %} 74 | {{ downstairs_lights_problem.count }} 75 | outside_lights_problem: 76 | icon_template: mdi:lightbulb-off 77 | value_template: > 78 | {% set devices = state_attr('light.outside_lights', 'entity_id') %} 79 | {% set outside_lights_problem = namespace(count=0) %} 80 | {% for entity_id in devices -%} 81 | {% if (not has_value(entity_id)) %} 82 | {% set outside_lights_problem.count = outside_lights_problem.count + 1 %} 83 | {% endif %} 84 | {% endfor %} 85 | {{ outside_lights_problem.count }} 86 | roof_lights_problem: 87 | icon_template: mdi:lightbulb-off 88 | value_template: > 89 | {% set devices = state_attr('light.roof_lights', 'entity_id') %} 90 | {% set roof_lights_problem = namespace(count=0) %} 91 | {% for entity_id in devices -%} 92 | {% if (not has_value(entity_id)) %} 93 | {% set roof_lights_problem.count = roof_lights_problem.count + 1 %} 94 | {% endif %} 95 | {% endfor %} 96 | {{ roof_lights_problem.count }} 97 | 98 | ########################################### 99 | ########## A U T O M A T I O N S ########## 100 | ########################################### 101 | 102 | # automation: 103 | 104 | ################################### 105 | ########## S C R I P T S ########## 106 | ################################### 107 | 108 | # script: 109 | # # --------------------- 110 | -------------------------------------------------------------------------------- /packages/package_navigation.yaml: -------------------------------------------------------------------------------- 1 | ##################################### 2 | ########## E N T I T I E S ########## 3 | ##################################### 4 | 5 | sensor: 6 | - platform: template 7 | sensors: 8 | work_dan_ui: 9 | unit_of_measurement: 'm' 10 | value_template: "{{ states('sensor.work_dan') | round(0, default = '') }}" 11 | work_aviva_ui: 12 | unit_of_measurement: 'm' 13 | value_template: "{{ states('sensor.work_aviva') | round(0, default = '') }}" 14 | kfar_yona_ui: 15 | unit_of_measurement: 'm' 16 | value_template: "{{ states('sensor.kfar_yona') | round(0, default = '') }}" 17 | petach_tikva_ui: 18 | unit_of_measurement: 'm' 19 | value_template: "{{ states('sensor.petach_tikva') | round(0, default = '') }}" 20 | 21 | ########################################### 22 | ########## A U T O M A T I O N S ########## 23 | ########################################### 24 | 25 | # automation: 26 | 27 | ################################### 28 | ########## S C R I P T S ########## 29 | ################################### 30 | 31 | # script: 32 | # # --------------------- 33 | -------------------------------------------------------------------------------- /packages/package_printer.yaml: -------------------------------------------------------------------------------- 1 | ##################################### 2 | ########## E N T I T I E S ########## 3 | ##################################### 4 | 5 | input_number: 6 | mfc_j470dw_ink_low_limit: 7 | name: Brother MFC-J470DW Ink Low Level Limit 8 | unit_of_measurement: "%" 9 | min: 0 10 | max: 100 11 | step: 10 12 | 13 | sensor: 14 | - platform: template 15 | sensors: 16 | mfc_j470dw_ink_low: 17 | icon_template: mdi:printer-alert 18 | value_template: > 19 | {% set devices =['sensor.mfc_j470dw_black_ink_remaining', 20 | 'sensor.mfc_j470dw_cyan_ink_remaining', 21 | 'sensor.mfc_j470dw_magenta_ink_remaining', 22 | 'sensor.mfc_j470dw_yellow_ink_remaining'] %} 23 | {% set mfc_j470dw_ink_low = namespace(count=0) %} 24 | {% for entity_id in devices %} 25 | {% if (has_value(entity_id)) and ((states(entity_id) | int) <= (states('input_number.mfc_j470dw_ink_low_limit') | int)) %} 26 | {% set mfc_j470dw_ink_low.count = mfc_j470dw_ink_low.count + 1 %} 27 | {% endif %} 28 | {% endfor %} 29 | {{ mfc_j470dw_ink_low.count }} 30 | 31 | ########################################### 32 | ########## A U T O M A T I O N S ########## 33 | ########################################### 34 | 35 | automation: 36 | - alias: Printer Ink Level Below Limit 37 | description: Printer Ink Level Below Limit 38 | trigger: 39 | platform: numeric_state 40 | entity_id: sensor.mfc_j470dw_ink_low 41 | above: 0 42 | condition: "{{ has_value('sensor.mfc_j470dw_ink_low') }}" 43 | action: 44 | - service: notify.email 45 | data: 46 | message: Printer ink level below limit. Black={{ states('sensor.mfc_j470dw_black_ink_remaining') }}%, Cyan={{ states('sensor.mfc_j470dw_cyan_ink_remaining') }}%, Magenta={{ states('sensor.mfc_j470dw_magenta_ink_remaining') }}%, Yellow={{ states('sensor.mfc_j470dw_yellow_ink_remaining') }}% 47 | 48 | ################################### 49 | ########## S C R I P T S ########## 50 | ################################### 51 | 52 | # script: 53 | # # --------------------- 54 | -------------------------------------------------------------------------------- /packages/package_unraid.yaml: -------------------------------------------------------------------------------- 1 | ##################################### 2 | ########## E N T I T I E S ########## 3 | ##################################### 4 | 5 | #binary_sensor: 6 | # - platform: ping 7 | # name: unRAID 8 | # host: 192.168.1.104 9 | # count: 2 10 | # scan_interval: 600 11 | 12 | sensor: 13 | - platform: template 14 | sensors: 15 | unraid_problem: 16 | icon_template: mdi:server 17 | value_template: > 18 | {% if has_value('binary_sensor.unraid') %} 19 | {{ 0 }} 20 | {% else %} 21 | {{ 1 }} 22 | {% endif %} 23 | 24 | ########################################### 25 | ########## A U T O M A T I O N S ########## 26 | ########################################### 27 | 28 | # automation: 29 | 30 | # Trigger - 31 | # Conditions - 32 | # Actions - 33 | 34 | ################################### 35 | ########## S C R I P T S ########## 36 | ################################### 37 | 38 | # script: 39 | # # --------------------- 40 | -------------------------------------------------------------------------------- /packages/package_vacuum.yaml: -------------------------------------------------------------------------------- 1 | ##################################### 2 | ########## E N T I T I E S ########## 3 | ##################################### 4 | 5 | camera: 6 | - platform: xiaomi_cloud_map_extractor 7 | name: "Vacuum Bottom" 8 | host: !secret vacuum_bottom_host 9 | token: !secret vacuum_bottom_token 10 | username: !secret xiaomi_username 11 | password: !secret xiaomi_password 12 | country: !secret xiaomi_country 13 | draw: ['all'] 14 | attributes: 15 | - calibration_points 16 | scan_interval: 17 | seconds: 60 18 | 19 | - platform: xiaomi_cloud_map_extractor 20 | name: "Vacuum Top" 21 | host: !secret vacuum_top_host 22 | token: !secret vacuum_top_token 23 | username: !secret xiaomi_username 24 | password: !secret xiaomi_password 25 | country: !secret xiaomi_country 26 | draw: ['all'] 27 | attributes: 28 | - calibration_points 29 | scan_interval: 30 | seconds: 60 31 | 32 | sensor: 33 | - platform: template 34 | sensors: 35 | vacuum_bottom_problem: 36 | icon_template: mdi:robot-vacuum 37 | value_template: > 38 | {% if has_value('vacuum.vacuum_bottom') %} 39 | {{ 0 }} 40 | {% else %} 41 | {{ 1 }} 42 | {% endif %} 43 | vacuum_top_problem: 44 | icon_template: mdi:robot-vacuum 45 | value_template: > 46 | {% if has_value('vacuum.vacuum_top') %} 47 | {{ 0 }} 48 | {% else %} 49 | {{ 1 }} 50 | {% endif %} 51 | 52 | ########################################### 53 | ########## A U T O M A T I O N S ########## 54 | ########################################### 55 | 56 | ################################### 57 | ########## S C R I P T S ########## 58 | ################################### 59 | -------------------------------------------------------------------------------- /packages/package_vacuum_bottom_scheduler_1.yaml: -------------------------------------------------------------------------------- 1 | ##################################### 2 | ########## E N T I T I E S ########## 3 | ##################################### 4 | 5 | input_boolean: 6 | vacuum_bottom_scheduler_enable1: 7 | name: Enable 8 | icon: mdi:power 9 | vacuum_bottom_day_sunday1: 10 | name: Sunday 11 | icon: mdi:calendar-today 12 | vacuum_bottom_day_monday1: 13 | name: Monday 14 | icon: mdi:calendar-today 15 | vacuum_bottom_day_tuesday1: 16 | name: Tuesday 17 | icon: mdi:calendar-today 18 | vacuum_bottom_day_wednesday1: 19 | name: Wednesday 20 | icon: mdi:calendar-today 21 | vacuum_bottom_day_thursday1: 22 | name: Thursday 23 | icon: mdi:calendar-today 24 | vacuum_bottom_day_friday1: 25 | name: Friday 26 | icon: mdi:calendar-today 27 | vacuum_bottom_day_saturday1: 28 | name: Saturday 29 | icon: mdi:calendar-today 30 | 31 | input_datetime: 32 | vacuum_bottom_start_time1: 33 | name: Start Time 34 | has_date: false 35 | has_time: true 36 | 37 | ########################################### 38 | ########## A U T O M A T I O N S ########## 39 | ########################################### 40 | 41 | automation: 42 | 43 | # Trigger - Start Time 1 44 | # Conditions - 45 | # Actions - turn on Vacuum Bottom 46 | - alias: vacuum_bottom_start1 47 | description: Vacuum Bottom Start 1 48 | trigger: 49 | platform: time 50 | at: input_datetime.vacuum_bottom_start_time1 51 | condition: 52 | - condition: state 53 | entity_id: input_boolean.vacuum_bottom_scheduler_enable1 54 | state: 'on' 55 | - condition: template 56 | value_template: > 57 | {% set sensor_names = [ 'monday', 'tuesday', 'wednesday','thursday','friday','saturday','sunday'] %} 58 | {% set today_name = sensor_names[now().weekday()] %} 59 | {% set entity_id = 'input_boolean.vacuum_bottom_day_'+today_name+'1' %} 60 | {{ is_state(entity_id, 'on') }} 61 | actions: 62 | - action: vacuum.start 63 | entity_id: vacuum.vacuum_bottom 64 | 65 | ################################### 66 | ########## S C R I P T S ########## 67 | ################################### 68 | -------------------------------------------------------------------------------- /packages/package_vacuum_bottom_scheduler_2.yaml: -------------------------------------------------------------------------------- 1 | ##################################### 2 | ########## E N T I T I E S ########## 3 | ##################################### 4 | 5 | input_boolean: 6 | vacuum_bottom_scheduler_enable2: 7 | name: Enable 8 | icon: mdi:power 9 | vacuum_bottom_day_sunday2: 10 | name: Sunday 11 | icon: mdi:calendar-today 12 | vacuum_bottom_day_monday2: 13 | name: Monday 14 | icon: mdi:calendar-today 15 | vacuum_bottom_day_tuesday2: 16 | name: Tuesday 17 | icon: mdi:calendar-today 18 | vacuum_bottom_day_wednesday2: 19 | name: Wednesday 20 | icon: mdi:calendar-today 21 | vacuum_bottom_day_thursday2: 22 | name: Thursday 23 | icon: mdi:calendar-today 24 | vacuum_bottom_day_friday2: 25 | name: Friday 26 | icon: mdi:calendar-today 27 | vacuum_bottom_day_saturday2: 28 | name: Saturday 29 | icon: mdi:calendar-today 30 | 31 | input_datetime: 32 | vacuum_bottom_start_time2: 33 | name: Start Time 34 | has_date: false 35 | has_time: true 36 | 37 | ########################################### 38 | ########## A U T O M A T I O N S ########## 39 | ########################################### 40 | 41 | automation: 42 | 43 | # Trigger - Start Time 2 44 | # Conditions - 45 | # Actions - turn on Vacuum Bottom 46 | - alias: vacuum_bottom_start2 47 | description: Vacuum Bottom Start 2 48 | trigger: 49 | platform: time 50 | at: input_datetime.vacuum_bottom_start_time2 51 | condition: 52 | - condition: state 53 | entity_id: input_boolean.vacuum_bottom_scheduler_enable2 54 | state: 'on' 55 | - condition: template 56 | value_template: > 57 | {% set sensor_names = [ 'monday', 'tuesday', 'wednesday','thursday','friday','saturday','sunday'] %} 58 | {% set today_name = sensor_names[now().weekday()] %} 59 | {% set entity_id = 'input_boolean.vacuum_bottom_day_'+today_name+'2' %} 60 | {{ is_state(entity_id, 'on') }} 61 | actions: 62 | - action: vacuum.start 63 | entity_id: vacuum.vacuum_bottom 64 | 65 | ################################### 66 | ########## S C R I P T S ########## 67 | ################################### 68 | -------------------------------------------------------------------------------- /packages/package_vacuum_top_scheduler_1.yaml: -------------------------------------------------------------------------------- 1 | ##################################### 2 | ########## E N T I T I E S ########## 3 | ##################################### 4 | 5 | input_boolean: 6 | vacuum_top_scheduler_enable1: 7 | name: Enable 8 | icon: mdi:power 9 | vacuum_top_day_sunday1: 10 | name: Sunday 11 | icon: mdi:calendar-today 12 | vacuum_top_day_monday1: 13 | name: Monday 14 | icon: mdi:calendar-today 15 | vacuum_top_day_tuesday1: 16 | name: Tuesday 17 | icon: mdi:calendar-today 18 | vacuum_top_day_wednesday1: 19 | name: Wednesday 20 | icon: mdi:calendar-today 21 | vacuum_top_day_thursday1: 22 | name: Thursday 23 | icon: mdi:calendar-today 24 | vacuum_top_day_friday1: 25 | name: Friday 26 | icon: mdi:calendar-today 27 | vacuum_top_day_saturday1: 28 | name: Saturday 29 | icon: mdi:calendar-today 30 | 31 | input_datetime: 32 | vacuum_top_start_time1: 33 | name: Start Time 34 | has_date: false 35 | has_time: true 36 | 37 | ########################################### 38 | ########## A U T O M A T I O N S ########## 39 | ########################################### 40 | 41 | automation: 42 | 43 | # Trigger - Start Time 1 44 | # Conditions - 45 | # Actions - turn on Vacuum top 46 | - alias: vacuum_top_start1 47 | description: Vacuum top Start 1 48 | trigger: 49 | platform: time 50 | at: input_datetime.vacuum_top_start_time1 51 | condition: 52 | - condition: state 53 | entity_id: input_boolean.vacuum_top_scheduler_enable1 54 | state: 'on' 55 | - condition: template 56 | value_template: > 57 | {% set sensor_names = [ 'monday', 'tuesday', 'wednesday','thursday','friday','saturday','sunday'] %} 58 | {% set today_name = sensor_names[now().weekday()] %} 59 | {% set entity_id = 'input_boolean.vacuum_top_day_'+today_name+'1' %} 60 | {{ is_state(entity_id, 'on') }} 61 | actions: 62 | - action: vacuum.start 63 | entity_id: vacuum.vacuum_top 64 | 65 | ################################### 66 | ########## S C R I P T S ########## 67 | ################################### 68 | -------------------------------------------------------------------------------- /packages/package_vacuum_top_scheduler_2.yaml: -------------------------------------------------------------------------------- 1 | ##################################### 2 | ########## E N T I T I E S ########## 3 | ##################################### 4 | 5 | input_boolean: 6 | vacuum_top_scheduler_enable2: 7 | name: Enable 8 | icon: mdi:power 9 | vacuum_top_day_sunday2: 10 | name: Sunday 11 | icon: mdi:calendar-today 12 | vacuum_top_day_monday2: 13 | name: Monday 14 | icon: mdi:calendar-today 15 | vacuum_top_day_tuesday2: 16 | name: Tuesday 17 | icon: mdi:calendar-today 18 | vacuum_top_day_wednesday2: 19 | name: Wednesday 20 | icon: mdi:calendar-today 21 | vacuum_top_day_thursday2: 22 | name: Thursday 23 | icon: mdi:calendar-today 24 | vacuum_top_day_friday2: 25 | name: Friday 26 | icon: mdi:calendar-today 27 | vacuum_top_day_saturday2: 28 | name: Saturday 29 | icon: mdi:calendar-today 30 | 31 | input_datetime: 32 | vacuum_top_start_time2: 33 | name: Start Time 34 | has_date: false 35 | has_time: true 36 | 37 | ########################################### 38 | ########## A U T O M A T I O N S ########## 39 | ########################################### 40 | 41 | automation: 42 | 43 | # Trigger - Start Time 2 44 | # Conditions - 45 | # Actions - turn on Vacuum top 46 | - alias: vacuum_top_start2 47 | description: Vacuum top Start 2 48 | trigger: 49 | platform: time 50 | at: input_datetime.vacuum_top_start_time2 51 | condition: 52 | - condition: state 53 | entity_id: input_boolean.vacuum_top_scheduler_enable2 54 | state: 'on' 55 | - condition: template 56 | value_template: > 57 | {% set sensor_names = [ 'monday', 'tuesday', 'wednesday','thursday','friday','saturday','sunday'] %} 58 | {% set today_name = sensor_names[now().weekday()] %} 59 | {% set entity_id = 'input_boolean.vacuum_top_day_'+today_name+'2' %} 60 | {{ is_state(entity_id, 'on') }} 61 | actions: 62 | - action: vacuum.start 63 | entity_id: vacuum.vacuum_top 64 | 65 | ################################### 66 | ########## S C R I P T S ########## 67 | ################################### 68 | -------------------------------------------------------------------------------- /packages/package_waterboiler_scheduler_1.yaml: -------------------------------------------------------------------------------- 1 | ##################################### 2 | ########## E N T I T I E S ########## 3 | ##################################### 4 | 5 | input_boolean: 6 | boiler_switch_scheduler_enable1: 7 | name: Enable 8 | icon: mdi:power 9 | boiler_switch_day_sunday1: 10 | name: Sunday 11 | icon: mdi:calendar-today 12 | boiler_switch_day_monday1: 13 | name: Monday 14 | icon: mdi:calendar-today 15 | boiler_switch_day_tuesday1: 16 | name: Tuesday 17 | icon: mdi:calendar-today 18 | boiler_switch_day_wednesday1: 19 | name: Wednesday 20 | icon: mdi:calendar-today 21 | boiler_switch_day_thursday1: 22 | name: Thursday 23 | icon: mdi:calendar-today 24 | boiler_switch_day_friday1: 25 | name: Friday 26 | icon: mdi:calendar-today 27 | boiler_switch_day_saturday1: 28 | name: Saturday 29 | icon: mdi:calendar-today 30 | 31 | input_datetime: 32 | boiler_switch_start_time1: 33 | name: Start Time 34 | has_date: false 35 | has_time: true 36 | 37 | input_number: 38 | boiler_switch_timer_duration1: 39 | name: Duration 40 | unit_of_measurement: "min" 41 | min: 0 42 | max: 180 43 | step: 5 44 | 45 | ########################################### 46 | ########## A U T O M A T I O N S ########## 47 | ########################################### 48 | 49 | automation: 50 | description: "Water Boiler Scheduler 1" 51 | alias: water_boiler_scheduler1 52 | use_blueprint: 53 | path: blueprint_waterboiler_scheduler.yaml 54 | input: 55 | start_time: input_datetime.boiler_switch_start_time1 56 | scheduler_enable: input_boolean.boiler_switch_scheduler_enable1 57 | switch: switch.boiler_switch 58 | timer: timer.boiler_switch 59 | duration: input_number.boiler_switch_timer_duration1 60 | scheduler_number: 1 61 | 62 | ################################### 63 | ########## S C R I P T S ########## 64 | ################################### 65 | 66 | # script: 67 | # # --------------------- 68 | -------------------------------------------------------------------------------- /packages/package_waterboiler_scheduler_2.yaml: -------------------------------------------------------------------------------- 1 | ##################################### 2 | ########## E N T I T I E S ########## 3 | ##################################### 4 | 5 | input_boolean: 6 | boiler_switch_scheduler_enable2: 7 | name: Enable 8 | icon: mdi:power 9 | boiler_switch_day_sunday2: 10 | name: Sunday 11 | icon: mdi:calendar-today 12 | boiler_switch_day_monday2: 13 | name: Monday 14 | icon: mdi:calendar-today 15 | boiler_switch_day_tuesday2: 16 | name: Tuesday 17 | icon: mdi:calendar-today 18 | boiler_switch_day_wednesday2: 19 | name: Wednesday 20 | icon: mdi:calendar-today 21 | boiler_switch_day_thursday2: 22 | name: Thursday 23 | icon: mdi:calendar-today 24 | boiler_switch_day_friday2: 25 | name: Friday 26 | icon: mdi:calendar-today 27 | boiler_switch_day_saturday2: 28 | name: Saturday 29 | icon: mdi:calendar-today 30 | 31 | input_datetime: 32 | boiler_switch_start_time2: 33 | name: Start Time 34 | has_date: false 35 | has_time: true 36 | 37 | input_number: 38 | boiler_switch_timer_duration2: 39 | name: Duration 40 | unit_of_measurement: "min" 41 | min: 0 42 | max: 180 43 | step: 5 44 | 45 | ########################################### 46 | ########## A U T O M A T I O N S ########## 47 | ########################################### 48 | 49 | automation: 50 | description: "Water Boiler Scheduler 2" 51 | alias: water_boiler_scheduler2 52 | use_blueprint: 53 | path: blueprint_waterboiler_scheduler.yaml 54 | input: 55 | start_time: input_datetime.boiler_switch_start_time2 56 | scheduler_enable: input_boolean.boiler_switch_scheduler_enable2 57 | switch: switch.boiler_switch 58 | timer: timer.boiler_switch 59 | duration: input_number.boiler_switch_timer_duration2 60 | scheduler_number: 2 61 | 62 | ################################### 63 | ########## S C R I P T S ########## 64 | ################################### 65 | 66 | # script: 67 | # # --------------------- 68 | -------------------------------------------------------------------------------- /packages/package_waterboiler_scheduler_3.yaml: -------------------------------------------------------------------------------- 1 | ##################################### 2 | ########## E N T I T I E S ########## 3 | ##################################### 4 | 5 | input_boolean: 6 | boiler_switch_scheduler_enable3: 7 | name: Enable 8 | icon: mdi:power 9 | boiler_switch_day_sunday3: 10 | name: Sunday 11 | icon: mdi:calendar-today 12 | boiler_switch_day_monday3: 13 | name: Monday 14 | icon: mdi:calendar-today 15 | boiler_switch_day_tuesday3: 16 | name: Tuesday 17 | icon: mdi:calendar-today 18 | boiler_switch_day_wednesday3: 19 | name: Wednesday 20 | icon: mdi:calendar-today 21 | boiler_switch_day_thursday3: 22 | name: Thursday 23 | icon: mdi:calendar-today 24 | boiler_switch_day_friday3: 25 | name: Friday 26 | icon: mdi:calendar-today 27 | boiler_switch_day_saturday3: 28 | name: Saturday 29 | icon: mdi:calendar-today 30 | 31 | input_datetime: 32 | boiler_switch_start_time3: 33 | name: Start Time 34 | has_date: false 35 | has_time: true 36 | 37 | input_number: 38 | boiler_switch_timer_duration3: 39 | name: Duration 40 | unit_of_measurement: "min" 41 | min: 0 42 | max: 180 43 | step: 5 44 | 45 | ########################################### 46 | ########## A U T O M A T I O N S ########## 47 | ########################################### 48 | 49 | automation: 50 | description: "Water Boiler Scheduler 3" 51 | alias: water_boiler_scheduler3 52 | use_blueprint: 53 | path: blueprint_waterboiler_scheduler.yaml 54 | input: 55 | start_time: input_datetime.boiler_switch_start_time3 56 | scheduler_enable: input_boolean.boiler_switch_scheduler_enable3 57 | switch: switch.boiler_switch 58 | timer: timer.boiler_switch 59 | duration: input_number.boiler_switch_timer_duration3 60 | scheduler_number: 3 61 | 62 | ################################### 63 | ########## S C R I P T S ########## 64 | ################################### 65 | 66 | # script: 67 | # # --------------------- 68 | -------------------------------------------------------------------------------- /packages/package_waterboiler_scheduler_4.yaml: -------------------------------------------------------------------------------- 1 | ##################################### 2 | ########## E N T I T I E S ########## 3 | ##################################### 4 | 5 | input_boolean: 6 | boiler_switch_scheduler_enable4: 7 | name: Enable 8 | icon: mdi:power 9 | boiler_switch_day_sunday4: 10 | name: Sunday 11 | icon: mdi:calendar-today 12 | boiler_switch_day_monday4: 13 | name: Monday 14 | icon: mdi:calendar-today 15 | boiler_switch_day_tuesday4: 16 | name: Tuesday 17 | icon: mdi:calendar-today 18 | boiler_switch_day_wednesday4: 19 | name: Wednesday 20 | icon: mdi:calendar-today 21 | boiler_switch_day_thursday4: 22 | name: Thursday 23 | icon: mdi:calendar-today 24 | boiler_switch_day_friday4: 25 | name: Friday 26 | icon: mdi:calendar-today 27 | boiler_switch_day_saturday4: 28 | name: Saturday 29 | icon: mdi:calendar-today 30 | 31 | input_datetime: 32 | boiler_switch_start_time4: 33 | name: Start Time 34 | has_date: false 35 | has_time: true 36 | 37 | input_number: 38 | boiler_switch_timer_duration4: 39 | name: Duration 40 | unit_of_measurement: "min" 41 | min: 0 42 | max: 180 43 | step: 5 44 | 45 | ########################################### 46 | ########## A U T O M A T I O N S ########## 47 | ########################################### 48 | 49 | automation: 50 | description: "Water Boiler Scheduler 4" 51 | alias: water_boiler_scheduler4 52 | use_blueprint: 53 | path: blueprint_waterboiler_scheduler.yaml 54 | input: 55 | start_time: input_datetime.boiler_switch_start_time4 56 | scheduler_enable: input_boolean.boiler_switch_scheduler_enable4 57 | switch: switch.boiler_switch 58 | timer: timer.boiler_switch 59 | duration: input_number.boiler_switch_timer_duration4 60 | scheduler_number: 4 61 | 62 | ################################### 63 | ########## S C R I P T S ########## 64 | ################################### 65 | 66 | # script: 67 | # # --------------------- 68 | -------------------------------------------------------------------------------- /scripts.yaml: -------------------------------------------------------------------------------- 1 | '1586449615879': 2 | alias: HA Restart 3 | icon: mdi:restart 4 | sequence: 5 | - data: {} 6 | service: homeassistant.restart 7 | -------------------------------------------------------------------------------- /www/images/floorplan/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/background.png -------------------------------------------------------------------------------- /www/images/floorplan/background_t.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/background_t.png -------------------------------------------------------------------------------- /www/images/floorplan/lights/diningroom_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/lights/diningroom_light.png -------------------------------------------------------------------------------- /www/images/floorplan/lights/ella_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/lights/ella_light.png -------------------------------------------------------------------------------- /www/images/floorplan/lights/garden_light_bottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/lights/garden_light_bottom.png -------------------------------------------------------------------------------- /www/images/floorplan/lights/garden_light_top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/lights/garden_light_top.png -------------------------------------------------------------------------------- /www/images/floorplan/lights/garden_north_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/lights/garden_north_light.png -------------------------------------------------------------------------------- /www/images/floorplan/lights/garden_shed_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/lights/garden_shed_light.png -------------------------------------------------------------------------------- /www/images/floorplan/lights/guest_bathroom_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/lights/guest_bathroom_light.png -------------------------------------------------------------------------------- /www/images/floorplan/lights/hallway_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/lights/hallway_light.png -------------------------------------------------------------------------------- /www/images/floorplan/lights/kitchen_light_ceiling.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/lights/kitchen_light_ceiling.png -------------------------------------------------------------------------------- /www/images/floorplan/lights/kitchen_light_klapa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/lights/kitchen_light_klapa.png -------------------------------------------------------------------------------- /www/images/floorplan/lights/kitchen_table_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/lights/kitchen_table_light.png -------------------------------------------------------------------------------- /www/images/floorplan/lights/laundryroom_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/lights/laundryroom_light.png -------------------------------------------------------------------------------- /www/images/floorplan/lights/livingroom_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/lights/livingroom_light.png -------------------------------------------------------------------------------- /www/images/floorplan/lights/livingroom_wall_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/lights/livingroom_wall_light.png -------------------------------------------------------------------------------- /www/images/floorplan/lights/lobby_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/lights/lobby_light.png -------------------------------------------------------------------------------- /www/images/floorplan/lights/main_bathroom_light_bottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/lights/main_bathroom_light_bottom.png -------------------------------------------------------------------------------- /www/images/floorplan/lights/main_bathroom_light_top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/lights/main_bathroom_light_top.png -------------------------------------------------------------------------------- /www/images/floorplan/lights/master_bathroom_light_bottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/lights/master_bathroom_light_bottom.png -------------------------------------------------------------------------------- /www/images/floorplan/lights/master_bathroom_light_top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/lights/master_bathroom_light_top.png -------------------------------------------------------------------------------- /www/images/floorplan/lights/master_bedroom_left_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/lights/master_bedroom_left_light.png -------------------------------------------------------------------------------- /www/images/floorplan/lights/master_bedroom_right_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/lights/master_bedroom_right_light.png -------------------------------------------------------------------------------- /www/images/floorplan/lights/noga_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/lights/noga_light.png -------------------------------------------------------------------------------- /www/images/floorplan/lights/pantry_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/lights/pantry_light.png -------------------------------------------------------------------------------- /www/images/floorplan/lights/patio_light_bottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/lights/patio_light_bottom.png -------------------------------------------------------------------------------- /www/images/floorplan/lights/patio_light_top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/lights/patio_light_top.png -------------------------------------------------------------------------------- /www/images/floorplan/lights/playroom_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/lights/playroom_light.png -------------------------------------------------------------------------------- /www/images/floorplan/lights/porch_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/lights/porch_light.png -------------------------------------------------------------------------------- /www/images/floorplan/lights/roof_light_bottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/lights/roof_light_bottom.png -------------------------------------------------------------------------------- /www/images/floorplan/lights/roof_light_top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/lights/roof_light_top.png -------------------------------------------------------------------------------- /www/images/floorplan/lights/stairs_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/lights/stairs_light.png -------------------------------------------------------------------------------- /www/images/floorplan/lights/tomer_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/lights/tomer_light.png -------------------------------------------------------------------------------- /www/images/floorplan/navigation/kfar_yona.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/navigation/kfar_yona.png -------------------------------------------------------------------------------- /www/images/floorplan/navigation/petach_tikva.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/navigation/petach_tikva.png -------------------------------------------------------------------------------- /www/images/floorplan/navigation/work_aviva.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/navigation/work_aviva.png -------------------------------------------------------------------------------- /www/images/floorplan/navigation/work_dan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/navigation/work_dan.png -------------------------------------------------------------------------------- /www/images/floorplan/shutters/square_closed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/shutters/square_closed.png -------------------------------------------------------------------------------- /www/images/floorplan/shutters/square_closing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/shutters/square_closing.png -------------------------------------------------------------------------------- /www/images/floorplan/shutters/square_moving_horizontal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/shutters/square_moving_horizontal.png -------------------------------------------------------------------------------- /www/images/floorplan/shutters/square_moving_vertical.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/shutters/square_moving_vertical.png -------------------------------------------------------------------------------- /www/images/floorplan/shutters/square_open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/shutters/square_open.png -------------------------------------------------------------------------------- /www/images/floorplan/shutters/square_opening.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/shutters/square_opening.png -------------------------------------------------------------------------------- /www/images/floorplan/transparent_square.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/transparent_square.png -------------------------------------------------------------------------------- /www/images/floorplan/vacuum.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/floorplan/vacuum.png -------------------------------------------------------------------------------- /www/images/radio_stations/BET.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/radio_stations/BET.png -------------------------------------------------------------------------------- /www/images/radio_stations/ECO99FM.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/radio_stations/ECO99FM.png -------------------------------------------------------------------------------- /www/images/radio_stations/FFH_Die_80er.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/radio_stations/FFH_Die_80er.png -------------------------------------------------------------------------------- /www/images/radio_stations/GALGALTZ.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/radio_stations/GALGALTZ.jpg -------------------------------------------------------------------------------- /www/images/radio_stations/GIMEL.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/radio_stations/GIMEL.png -------------------------------------------------------------------------------- /www/images/radio_stations/RADIOS100FM.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/radio_stations/RADIOS100FM.png -------------------------------------------------------------------------------- /www/images/radio_stations/SKY_RADIO_101.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theone11/HomeAssistantConfig/f24c9d1756f6eab87021d9053fa783edc40f9b2c/www/images/radio_stations/SKY_RADIO_101.png --------------------------------------------------------------------------------