From f7aef7570d532da90f54f838780f383ce1120e23 Mon Sep 17 00:00:00 2001 From: Stefan Ostermann Date: Tue, 4 Feb 2025 10:43:06 +0000 Subject: [PATCH] new files --- ai/.gitignore | 2 + hass/homeassistant/.HA_VERSION | 1 + hass/homeassistant/.shopping_list.json | 67 ++++++ hass/homeassistant/automations.yaml | 21 ++ hass/homeassistant/groups.yaml | 0 hass/homeassistant/ip_bans.yaml | 3 + hass/homeassistant/scenes.yaml | 282 +++++++++++++++++++++++++ hass/homeassistant/scripts.yaml | 9 + hass/homeassistant/secrets.yaml | 4 + hass/homeassistant/shell_commands.yaml | 1 + hass/zb2mqttdata/.gitignore | 2 + hass/zb2mqttdata/state.json | 189 +++++++++++++++++ wikimd/wiki | 1 + 13 files changed, 582 insertions(+) create mode 100644 ai/.gitignore create mode 100644 hass/homeassistant/.HA_VERSION create mode 100644 hass/homeassistant/.shopping_list.json create mode 100644 hass/homeassistant/groups.yaml create mode 100644 hass/homeassistant/ip_bans.yaml create mode 100644 hass/homeassistant/scenes.yaml create mode 100644 hass/homeassistant/scripts.yaml create mode 100644 hass/homeassistant/secrets.yaml create mode 100644 hass/homeassistant/shell_commands.yaml create mode 100644 hass/zb2mqttdata/.gitignore create mode 100644 hass/zb2mqttdata/state.json create mode 160000 wikimd/wiki diff --git a/ai/.gitignore b/ai/.gitignore new file mode 100644 index 0000000..9e67bd4 --- /dev/null +++ b/ai/.gitignore @@ -0,0 +1,2 @@ +data + diff --git a/hass/homeassistant/.HA_VERSION b/hass/homeassistant/.HA_VERSION new file mode 100644 index 0000000..c50e97c --- /dev/null +++ b/hass/homeassistant/.HA_VERSION @@ -0,0 +1 @@ +2025.1.4 \ No newline at end of file diff --git a/hass/homeassistant/.shopping_list.json b/hass/homeassistant/.shopping_list.json new file mode 100644 index 0000000..e5a9c90 --- /dev/null +++ b/hass/homeassistant/.shopping_list.json @@ -0,0 +1,67 @@ +[ + { + "name": "Gaslampe", + "id": "a5f5b13c090b474da34c8d1c9d1e25bd", + "complete": false + }, + { + "name": "Thermoskanne ", + "id": "09dff852ad894d4d95dc2e8c247f985a", + "complete": false + }, + { + "name": "Roller", + "id": "6cfd3565ff3f43c6bde6352e06b9f872", + "complete": false + }, + { + "name": "Fahrradhelm ", + "id": "c9406963918f456bbc221a81ecef1db7", + "complete": false + }, + { + "name": "Quixx", + "id": "e4442f3fb6634e62913e15246472bcea", + "complete": false + }, + { + "name": "Lätzchen ", + "id": "e1115e0792a448a9a46759cd377a4849", + "complete": false + }, + { + "name": "Balsamico", + "id": "ac3264e58c854ee98b96add172f27b48", + "complete": false + }, + { + "name": "Toast", + "id": "5560a1d7abf54b6b9c6ef736ccff2e28", + "complete": false + }, + { + "name": "Brot", + "id": "81be0cb8c53e48f89be49c049429ff7f", + "complete": false + }, + { + "name": "Kerze", + "id": "4067e98f758549b0bc82275faf46742a", + "complete": false + }, + { + "name": "Frischhaltebeutel", + "id": "4e64b39030fa449885c30256b1a9f961", + "complete": false + }, + { + "name": "Hotspot", + "id": "ef6d2ab1e24846c3b89dbb85fec1a87d", + "complete": false + }, + { + "name": "Gasflasche prüfen", + "id": "803120da5c994813be568bd646c170e0", + "complete": false + } +] \ No newline at end of file diff --git a/hass/homeassistant/automations.yaml b/hass/homeassistant/automations.yaml index ccc717b..8c21ee3 100644 --- a/hass/homeassistant/automations.yaml +++ b/hass/homeassistant/automations.yaml @@ -480,3 +480,24 @@ entity_id: d212bffda3c532f2e43ea9d08b1fd008 domain: switch mode: single +- id: '1738532142576' + alias: Keller Strom sparen + description: '' + triggers: + - trigger: time + at: '23:39:00' + conditions: + - condition: state + entity_id: switch.remotepc + state: 'off' + - condition: numeric_state + entity_id: sensor.keller_schreibtisch_switch_0_power + above: 0 + below: 60 + actions: + - action: switch.turn_off + metadata: {} + data: {} + target: + device_id: 8124b41a35198e5fce97345753af25a2 + mode: single diff --git a/hass/homeassistant/groups.yaml b/hass/homeassistant/groups.yaml new file mode 100644 index 0000000..e69de29 diff --git a/hass/homeassistant/ip_bans.yaml b/hass/homeassistant/ip_bans.yaml new file mode 100644 index 0000000..3ab9184 --- /dev/null +++ b/hass/homeassistant/ip_bans.yaml @@ -0,0 +1,3 @@ + +149.233.216.67: + banned_at: '2025-01-25T22:20:51.019426+00:00' diff --git a/hass/homeassistant/scenes.yaml b/hass/homeassistant/scenes.yaml new file mode 100644 index 0000000..a9ca16f --- /dev/null +++ b/hass/homeassistant/scenes.yaml @@ -0,0 +1,282 @@ +- id: '1713896676123' + name: Maximales Licht + entities: + light.kuchentisch: + effect_list: + - blink + - breathe + - okay + - channel_change + - finish_effect + - stop_effect + supported_color_modes: + - brightness + effect: + color_mode: brightness + brightness: 153 + friendly_name: Küchentisch + supported_features: 44 + state: 'on' + select.bogenlampe_effect: + options: + - blink + - breathe + - okay + - channel_change + - finish_effect + - stop_effect + - colorloop + - stop_colorloop + assumed_state: true + icon: mdi:palette + friendly_name: Bogenlampe Effect + state: stop_effect + light.bogenlampe: + min_color_temp_kelvin: 2702 + max_color_temp_kelvin: 6535 + min_mireds: 153 + max_mireds: 370 + effect_list: + - blink + - breathe + - okay + - channel_change + - finish_effect + - stop_effect + - colorloop + - stop_colorloop + supported_color_modes: + - color_temp + - xy + effect: + color_mode: color_temp + brightness: 255 + color_temp_kelvin: 2702 + color_temp: 370 + hs_color: + - 28.391 + - 65.659 + rgb_color: + - 255 + - 167 + - 88 + xy_color: + - 0.524 + - 0.388 + friendly_name: Bogenlampe + supported_features: 44 + state: 'on' + light.lichtschlauch_rgb: + min_color_temp_kelvin: 2000 + max_color_temp_kelvin: 6535 + min_mireds: 153 + max_mireds: 500 + effect_list: + - blink + - breathe + - okay + - channel_change + - finish_effect + - stop_effect + - colorloop + - stop_colorloop + supported_color_modes: + - color_temp + - xy + effect: + color_mode: color_temp + brightness: 26 + color_temp_kelvin: 5025 + color_temp: 199 + hs_color: + - 27.028 + - 18.905 + rgb_color: + - 255 + - 229 + - 207 + xy_color: + - 0.37 + - 0.35 + friendly_name: Lichtschlauch Rgb + supported_features: 44 + state: 'on' + light.lichtschlauch_white: + min_color_temp_kelvin: 2000 + max_color_temp_kelvin: 6535 + min_mireds: 153 + max_mireds: 500 + effect_list: + - blink + - breathe + - okay + - channel_change + - finish_effect + - stop_effect + - colorloop + - stop_colorloop + supported_color_modes: + - color_temp + - xy + effect: + color_mode: color_temp + brightness: 255 + color_temp_kelvin: 2739 + color_temp: 365 + hs_color: + - 28.312 + - 64.491 + rgb_color: + - 255 + - 168 + - 91 + xy_color: + - 0.521 + - 0.387 + friendly_name: Lichtschlauch White + supported_features: 44 + state: 'on' + icon: mdi:alarm-light-outline + metadata: {} +- id: '1733170893427' + name: Hanna Schlafmodus + entities: + light.kuchentisch: + min_color_temp_kelvin: 2000 + max_color_temp_kelvin: 6666 + min_mireds: 150 + max_mireds: 500 + effect_list: + - blink + - breathe + - okay + - channel_change + - finish_effect + - stop_effect + supported_color_modes: + - color_temp + effect: + color_mode: + brightness: + color_temp_kelvin: + color_temp: + hs_color: + rgb_color: + xy_color: + friendly_name: Küchentisch + supported_features: 44 + state: 'off' + select.bogenlampe_effect: + options: + - blink + - breathe + - okay + - channel_change + - finish_effect + - stop_effect + - colorloop + - stop_colorloop + assumed_state: true + icon: mdi:palette + friendly_name: Bogenlampe Effect + state: stop_effect + light.bogenlampe: + min_color_temp_kelvin: 2702 + max_color_temp_kelvin: 6535 + min_mireds: 153 + max_mireds: 370 + effect_list: + - blink + - breathe + - okay + - channel_change + - finish_effect + - stop_effect + - colorloop + - stop_colorloop + supported_color_modes: + - color_temp + - xy + effect: + color_mode: color_temp + brightness: 105 + color_temp_kelvin: 2702 + color_temp: 370 + hs_color: + - 28.391 + - 65.659 + rgb_color: + - 255 + - 166 + - 87 + xy_color: + - 0.526 + - 0.387 + friendly_name: Bogenlampe + supported_features: 44 + state: 'on' + light.lichtschlauch_rgb: + min_color_temp_kelvin: 2000 + max_color_temp_kelvin: 6535 + min_mireds: 153 + max_mireds: 500 + effect_list: + - blink + - breathe + - okay + - channel_change + - finish_effect + - stop_effect + - colorloop + - stop_colorloop + supported_color_modes: + - color_temp + - xy + effect: + color_mode: + brightness: + color_temp_kelvin: + color_temp: + hs_color: + rgb_color: + xy_color: + friendly_name: Lichtschlauch Rgb + supported_features: 44 + state: 'off' + light.lichtschlauch_white: + min_color_temp_kelvin: 2000 + max_color_temp_kelvin: 6535 + min_mireds: 153 + max_mireds: 500 + effect_list: + - blink + - breathe + - okay + - channel_change + - finish_effect + - stop_effect + - colorloop + - stop_colorloop + supported_color_modes: + - color_temp + - xy + effect: + color_mode: color_temp + brightness: 76 + color_temp_kelvin: 3521 + color_temp: 284 + hs_color: + - 27.152 + - 44.32 + rgb_color: + - 255 + - 193 + - 141 + xy_color: + - 0.453 + - 0.374 + friendly_name: Lichtschlauch White + supported_features: 44 + state: 'on' + icon: mdi:alarm-light-off + metadata: {} diff --git a/hass/homeassistant/scripts.yaml b/hass/homeassistant/scripts.yaml new file mode 100644 index 0000000..d16fbca --- /dev/null +++ b/hass/homeassistant/scripts.yaml @@ -0,0 +1,9 @@ +open_door: + alias: Open Door + sequence: + - device_id: a09e187443b3e078dc03468e539309a6 + domain: lock + entity_id: lock.heim + type: open + mode: single + icon: mdi:boom-gate-up-outline diff --git a/hass/homeassistant/secrets.yaml b/hass/homeassistant/secrets.yaml new file mode 100644 index 0000000..c5b900c --- /dev/null +++ b/hass/homeassistant/secrets.yaml @@ -0,0 +1,4 @@ + +# Use this file to store secrets like usernames and passwords. +# Learn more at https://www.home-assistant.io/docs/configuration/secrets/ +some_password: welcome diff --git a/hass/homeassistant/shell_commands.yaml b/hass/homeassistant/shell_commands.yaml new file mode 100644 index 0000000..67f03f6 --- /dev/null +++ b/hass/homeassistant/shell_commands.yaml @@ -0,0 +1 @@ +turn_off_remote_pc: "ssh -i /config/ssh_keys/id_rsa_homeassistant -o 'StrictHostKeyChecking=no' homeassistant@192.168.178.87 sudo shutdown -h now" diff --git a/hass/zb2mqttdata/.gitignore b/hass/zb2mqttdata/.gitignore new file mode 100644 index 0000000..203e3fb --- /dev/null +++ b/hass/zb2mqttdata/.gitignore @@ -0,0 +1,2 @@ +log + diff --git a/hass/zb2mqttdata/state.json b/hass/zb2mqttdata/state.json new file mode 100644 index 0000000..988d40d --- /dev/null +++ b/hass/zb2mqttdata/state.json @@ -0,0 +1,189 @@ +{ + "0xf0d1b800001ffcf2": { + "color_mode": "color_temp", + "update": { + "state": "idle", + "installed_version": 51999504, + "latest_version": 51999504 + }, + "brightness": 105, + "state": "OFF", + "color": { + "x": 0.4599, + "y": 0.4106 + }, + "color_temp": 370, + "linkquality": 207, + "update_available": false + }, + "0xa4c138570b1956d9": { + "temperature": 22.35, + "humidity": 64.87, + "battery": 20, + "linkquality": 7 + }, + "0xa4c1383ec7aa7d95": { + "temperature": 23.41, + "humidity": 51.95, + "battery": 21, + "linkquality": 255 + }, + "0xa4c1383db5531833": { + "temperature": 21.2, + "humidity": 72.9, + "battery": 16, + "linkquality": 95, + "update": { + "state": "idle", + "installed_version": 268513281, + "latest_version": 268513281 + }, + "update_available": false + }, + "0x000d6f00109eb214": { + "linkquality": 255, + "voltage": 3000, + "battery": 100 + }, + "0x00212effff0cb8b6": { + "color_mode": "xy", + "state": "OFF", + "state_rgb": "OFF", + "brightness_white": 76, + "state_white": "OFF", + "brightness_rgb": 26, + "color_mode_rgb": "color_temp", + "color_temp_rgb": 199, + "color_mode_white": "color_temp", + "color_temp_white": 284, + "color": { + "x": 0.6942, + "y": 0.2963 + }, + "color_white": { + "x": 0.4042, + "y": 0.3902 + }, + "color_rgb": { + "x": 0.3445, + "y": 0.3512 + }, + "linkquality": 255, + "state_10": "OFF" + }, + "0x0ceff6fffebf4739": { + "linkquality": 119 + }, + "0xa4c138541ec8ddd2": { + "state": "ON", + "brightness": 152, + "linkquality": 255 + }, + "0xa4c1384187f0960d": { + "water_leak": false, + "tamper": false, + "battery_low": false, + "battery": 100, + "voltage": 2700, + "linkquality": 255 + }, + "0x001788010d1c884e": { + "color_mode": "color_temp", + "update": { + "state": "available", + "installed_version": 16784652, + "latest_version": 16786434 + }, + "state": "ON", + "brightness": 254, + "linkquality": 71, + "color_temp": 366, + "update_available": true + }, + "0x001788010e8a8be7": { + "battery": 100, + "update": { + "state": "idle", + "installed_version": 33565954, + "latest_version": 33565954 + }, + "linkquality": 87, + "update_available": false + }, + "0xa4c13864e6c8c400": { + "battery": 93, + "voltage": 2900, + "occupancy": false, + "tamper": false, + "battery_low": false, + "linkquality": 255 + }, + "0xa4c138ef60e2fdbe": { + "contact": true, + "tamper": false, + "battery_low": false, + "voltage": 2800, + "battery": 100, + "linkquality": 255 + }, + "0x00158d00053a1aab": { + "color_mode": "xy", + "linkquality": 255 + }, + "0x00158d00053c6311": { + "color_mode": "xy", + "state": "ON", + "linkquality": 255 + }, + "0xf0d1b800001388f0": { + "update": { + "state": "idle", + "installed_version": 17130496, + "latest_version": 17130496 + }, + "state": "OFF", + "brightness": 229, + "linkquality": 255, + "update_available": false + }, + "0x7cb03eaa0a0176bd": { + "update": { + "state": "idle", + "installed_version": 16909584, + "latest_version": 16909584 + }, + "brightness": 152, + "state": "OFF", + "linkquality": 255, + "update_available": false + }, + "0x000d6f001417c142": { + "voltage": 3000, + "battery": 100, + "linkquality": 255 + }, + "0xa4c138e68023f4c6": { + "battery": 100, + "water_leak": false, + "battery_low": false, + "linkquality": 255 + }, + "0xa4c1389d42e94844": { + "temperature": 20.3, + "humidity": 40, + "temperature_unit": "fahrenheit", + "temperature_calibration": 0, + "humidity_calibration": 0, + "battery": 50, + "linkquality": 255 + }, + "0xa4c13838ba59a1b2": { + "battery": 50, + "temperature": 29.8, + "humidity": 35, + "temperature_unit": "celsius", + "temperature_calibration": 0, + "humidity_calibration": 0, + "linkquality": 239 + } +} \ No newline at end of file diff --git a/wikimd/wiki b/wikimd/wiki new file mode 160000 index 0000000..f8bda21 --- /dev/null +++ b/wikimd/wiki @@ -0,0 +1 @@ +Subproject commit f8bda2145c9be6505212fc1959f04f2342dbdb4a