Voice stuff

This commit is contained in:
Martin Bauer 2020-10-04 20:57:16 +00:00
parent 2e8508a625
commit 5aaabec3b1
25 changed files with 7946 additions and 6067 deletions

View File

@ -1 +1 @@
0.112.4
0.115.6

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
{
"data": {
"users": {
"2ffcb10d3db745b396789364fdef72ec": "H7HEWSCB7DLJD4SE"
"2ffcb10d3db745b396789364fdef72ec": "VSSLF24TFVBBITYM"
}
},
"key": "auth_module.totp",

View File

@ -1,200 +1,156 @@
{
"version": 1,
"key": "core.config_entries",
"data": {
"entries": [
{
"connection_class": "local_poll",
"entry_id": "e0ebcf51d57b4df4baaf36894d59979d",
"version": 1,
"domain": "hue",
"title": "Philips hue",
"data": {
"bridge_id": "001788FFFE284411",
"host": "192.168.178.20",
"username": "dElg-A-1TtbLThgrsNxEn5FoBcB9pUFSA7JDGXls"
},
"domain": "hue",
"entry_id": "e0ebcf51d57b4df4baaf36894d59979d",
"options": {},
"source": "discovery",
"system_options": {
"disable_new_entities": false
},
"title": "Philips hue",
"unique_id": "001788284411",
"version": 1
"source": "discovery",
"connection_class": "local_poll",
"unique_id": "001788284411"
},
{
"connection_class": "local_poll",
"entry_id": "c4adbdd188db4f34ad27d14ba2d71abe",
"version": 1,
"domain": "upnp",
"title": "UPnP/IGD",
"data": {
"st": "urn:schemas-upnp-org:device:InternetGatewayDevice:1",
"udn": "uuid:75802409-bccb-40e7-8e6c-3431C416294A"
},
"domain": "upnp",
"entry_id": "c4adbdd188db4f34ad27d14ba2d71abe",
"options": {},
"source": "discovery",
"system_options": {
"disable_new_entities": false
},
"title": "UPnP/IGD",
"unique_id": "uuid:75802409-bccb-40e7-8e6c-3431C416294A::urn:schemas-upnp-org:device:InternetGatewayDevice:1",
"version": 1
"source": "discovery",
"connection_class": "local_poll",
"unique_id": "uuid:75802409-bccb-40e7-8e6c-3431C416294A::urn:schemas-upnp-org:device:InternetGatewayDevice:1"
},
{
"connection_class": "unknown",
"entry_id": "663be35bc88343568ce876c17f04d781",
"version": 1,
"domain": "owntracks",
"title": "OwnTracks",
"data": {
"cloudhook": false,
"secret": "aeadeeba342839fe6836608c866a40c7",
"webhook_id": "6a1bb2901d9de0766b306c697bbeea3969a17a974fcc97e7bbd63d61b5efd0cb"
},
"domain": "owntracks",
"entry_id": "663be35bc88343568ce876c17f04d781",
"options": {},
"system_options": {
"disable_new_entities": false
},
"source": "user",
"system_options": {
"disable_new_entities": false
},
"title": "OwnTracks",
"unique_id": null,
"version": 1
"connection_class": "unknown",
"unique_id": null
},
{
"connection_class": "cloud_push",
"data": {},
"domain": "ios",
"entry_id": "c07d023c89d248198b049d2e29edf01d",
"options": {},
"source": "import",
"system_options": {
"disable_new_entities": false
},
"version": 1,
"domain": "ios",
"title": "Home Assistant iOS",
"unique_id": null,
"version": 1
},
{
"connection_class": "cloud_push",
"data": {
"app_data": {
"push_token": "ezhgpsuLtyE:APA91bH3H7WgLLXFDu3gYx5oAdVIoq3zsgQmBu5oZ2IZtbEtkQ1RBC6-2g-nOMCOVsZ2NIKXI-Uo6Jnzl15a9UQUlJASRwsYwoZQ3rXsvZ2skSIs9GSZJUWbb-y1yQt9BLMyqRvtzYMy",
"push_url": "https://ariela.surodev.com/notification/"
},
"app_id": "com.surodev.arielapro",
"app_name": "Ariela",
"app_version": "1.3.8.1",
"device_id": "6573bb8e7f2842d1bdabe060223c136c",
"device_name": "Martin_Handy",
"manufacturer": "HUAWEI",
"model": "HWVTR",
"os_name": "9",
"os_version": "9",
"supports_encryption": false,
"user_id": "2ffcb10d3db745b396789364fdef72ec",
"webhook_id": "ae3a0e7cab7f3e46a059749b4fb0db38d925aca81176ba5d6e08fbc3938b48e6"
},
"domain": "mobile_app",
"entry_id": "097ef837b95141ee9ae508a9bb030c5e",
"data": {},
"options": {},
"source": "registration",
"system_options": {
"disable_new_entities": false
},
"title": "Martin_Handy",
"unique_id": null,
"version": 1
"source": "import",
"connection_class": "cloud_push",
"unique_id": null
},
{
"connection_class": "local_push",
"entry_id": "5939b357c7df412a8393a2dad15b684c",
"version": 1,
"domain": "zwave",
"title": "Z-Wave",
"data": {
"network_key": "0x1A, 0x21, 0x4B, 0xBA, 0x37, 0x0C, 0x15, 0xE4, 0x8E, 0x54, 0x60, 0x07, 0xEF, 0xC5, 0xCF, 0x3C",
"usb_path": "/dev/zwave-stick"
},
"domain": "zwave",
"entry_id": "5939b357c7df412a8393a2dad15b684c",
"options": {},
"system_options": {
"disable_new_entities": false
},
"source": "user",
"system_options": {
"disable_new_entities": false
},
"title": "Z-Wave",
"unique_id": null,
"version": 1
},
{
"connection_class": "cloud_push",
"data": {
"app_data": {
"push_token": "cmWRr9MOr9CyOTxUde3d_v:APA91bE1iDK8I-AQXUEJZBhexNNsUnPOWoDCjyaYdlRw960imUQZvRsH3z8v0mnnpgDVG7wXQww8d0IrLPPSBO5iTENG_r_h07FeCHlAIQrQq1wSv-nXLwTmBJ3P_5s4QYgou7hN6SLE",
"push_url": "https://mobile-apps.home-assistant.io/api/sendPushNotification"
},
"app_id": "io.robbie.HomeAssistant",
"app_name": "Home Assistant",
"app_version": "2020.3.1 (1)",
"device_id": "ACCCEFC0-AAF4-4BE3-8D98-721EDDAC52F1",
"device_name": "Martin\u2019s iPad",
"manufacturer": "Apple",
"model": "iPad Pro (10.5-inch)",
"os_name": "iOS",
"os_version": "13.5.1",
"secret": "68cb47041e7afd11e2a80983726cd6930082094606c68c7983125f9511eb8c14",
"supports_encryption": true,
"user_id": "2ffcb10d3db745b396789364fdef72ec",
"webhook_id": "1056cf8eb746283e1477bd0da7b21d2b9f0007dc5de22cfc468e1459ae7796b8"
},
"domain": "mobile_app",
"entry_id": "2af077aab6c54a4789e108489654b90e",
"options": {},
"source": "registration",
"system_options": {
"disable_new_entities": false
},
"title": "Martin\u2019s iPad",
"unique_id": "io.robbie.HomeAssistant-ACCCEFC0-AAF4-4BE3-8D98-721EDDAC52F1",
"version": 1
},
{
"connection_class": "local_push",
"unique_id": null
},
{
"entry_id": "e1101f79ce9b41a28359a95f85e57b63",
"version": 1,
"domain": "homekit",
"title": "BauerHome:51827",
"data": {
"name": "BauerHome",
"port": 51827
},
"domain": "homekit",
"entry_id": "e1101f79ce9b41a28359a95f85e57b63",
"options": {
"auto_start": true,
"entity_config": {},
"filter": {
"exclude_domains": [],
"exclude_entities": [],
"exclude_entity_globs": [],
"include_domains": [
"scene"
"include_entities": [
"light.arbeitszimmer_deckenlampe",
"light.arbeitszimmer_fluter",
"light.arbeitszimmer_stehlampe_unten",
"light.arbeitszimmer_stehlampe_oben",
"cover.arbeitszimmer_rollo",
"scene.arbeitszimmer_orange",
"scene.arbeitszimmer_blau_grun",
"scene.arbeitszimmer_hell",
"light.gang_bogen",
"light.gang_licht",
"light.gang_einganglicht",
"cover.wohnzimmer_fenster_rollo",
"cover.wohnzimmer_terrassentur_rollo",
"cover.kuche_fenster_rollo",
"cover.esszimmer_fenster_rollo"
],
"include_entities": [],
"include_entity_globs": []
"exclude_entity_globs": [],
"include_entity_globs": [],
"exclude_domains": [],
"include_domains": [],
"exclude_entities": []
},
"safe_mode": false
"auto_start": true,
"safe_mode": false,
"entity_config": {}
},
"source": "import",
"system_options": {
"disable_new_entities": false
},
"title": "BauerHome:51827",
"unique_id": null,
"version": 1
"source": "import",
"connection_class": "local_push",
"unique_id": null
},
{
"connection_class": "local_push",
"data": {},
"domain": "shopping_list",
"entry_id": "2a43c64e3cef45f0b86f47557ed60e97",
"version": 1,
"domain": "shopping_list",
"title": "Shopping List",
"data": {},
"options": {},
"source": "import",
"system_options": {
"disable_new_entities": false
},
"title": "Shopping List",
"unique_id": "shopping_list",
"version": 1
"source": "import",
"connection_class": "local_push",
"unique_id": "shopping_list"
},
{
"connection_class": "local_push",
"entry_id": "4fe874f0bdd44d0a906e76428d63b87a",
"version": 1,
"domain": "mqtt",
"title": "Mosquitto broker",
"data": {
"broker": "core-mosquitto",
"discovery": false,
@ -203,19 +159,164 @@
"protocol": "3.1.1",
"username": "homeassistant"
},
"domain": "mqtt",
"entry_id": "4fe874f0bdd44d0a906e76428d63b87a",
"options": {},
"source": "hassio",
"system_options": {
"disable_new_entities": false
},
"title": "Mosquitto broker",
"unique_id": null,
"version": 1
"source": "hassio",
"connection_class": "local_push",
"unique_id": null
},
{
"entry_id": "3af1e592e74341f8bdb3aa8c9f43ae3d",
"version": 1,
"domain": "squeezebox",
"title": "Ignored",
"data": {},
"options": {},
"system_options": {
"disable_new_entities": false
},
"source": "ignore",
"connection_class": "local_poll",
"unique_id": "25b48604-fbf3-418c-91c5-321c6c2553f7"
},
{
"entry_id": "edc09884ed7f4473999d4e58f7268ba3",
"version": 1,
"domain": "squeezebox",
"title": "Ignored",
"data": {},
"options": {},
"system_options": {
"disable_new_entities": false
},
"source": "ignore",
"connection_class": "local_poll",
"unique_id": "f13994e3-7c03-4cb1-b020-d7ef3ad798cc"
},
{
"entry_id": "13d3c92b3262435e965ed1064e2a0d59",
"version": 1,
"domain": "hue",
"title": "Ignored",
"data": {
"host": "192.168.178.20"
},
"options": {},
"system_options": {
"disable_new_entities": false
},
"source": "ignore",
"connection_class": "local_poll",
"unique_id": "41937324e002"
},
{
"entry_id": "e4a47914ce604433a857d9100241bdf3",
"version": 1,
"domain": "ipp",
"title": "HP Officejet Pro 8610 [9B7880]",
"data": {
"base_path": "/ipp/print",
"host": "192.168.178.74",
"name": "HP Officejet Pro 8610 [9B7880]",
"port": 631,
"ssl": false,
"uuid": "1c852a4d-b800-1f08-abcd-9457a59b7880",
"verify_ssl": false
},
"options": {},
"system_options": {
"disable_new_entities": true
},
"source": "zeroconf",
"connection_class": "local_poll",
"unique_id": "1c852a4d-b800-1f08-abcd-9457a59b7880"
},
{
"entry_id": "043eba930fc74b1699b91532ce83c490",
"version": 1,
"domain": "onvif",
"title": "BabyCamera - D8:07:B6:25:E0:E4",
"data": {
"host": "192.168.178.114",
"name": "BabyCamera",
"password": "1238djie!d24yu",
"port": 2020,
"username": "camera",
"snapshot_auth": "digest"
},
"options": {
"extra_arguments": "-pred 1",
"rtsp_transport": "tcp"
},
"system_options": {
"disable_new_entities": false
},
"source": "user",
"connection_class": "local_poll",
"unique_id": "D8:07:B6:25:E0:E4"
},
{
"entry_id": "d1c945fcb5b44a069d53586985da8e9b",
"version": 1,
"domain": "mobile_app",
"title": "MartinHandyP30",
"data": {
"app_data": {
"push_token": "ckSTknpJRqyUSbSvM_zr9Q:APA91bE79K_wlJfkLAQwkKU4qK6aTFahehG3RBfk06bEdZGcJTeO3Qfk9XAezXaFmSfj2-65JoIeBb5s-Xztio1Kc2miqaovquePASnz6WZoGPVfnDqlwjkp9fGR46o58uPRzz6g0tkr",
"push_url": "https://mobile-apps.home-assistant.io/api/sendPush/android/v1"
},
"app_id": "io.homeassistant.companion.android",
"app_name": "Home Assistant",
"app_version": "2.5.0-full (400)",
"device_id": "3889c45a8d9e2c62",
"device_name": "MartinHandy",
"manufacturer": "HUAWEI",
"model": "ELE-L29",
"os_name": "Android",
"os_version": "29",
"supports_encryption": false,
"user_id": "2ffcb10d3db745b396789364fdef72ec",
"webhook_id": "cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e"
},
"options": {},
"system_options": {
"disable_new_entities": false
},
"source": "registration",
"connection_class": "cloud_push",
"unique_id": "io.homeassistant.companion.android-3889c45a8d9e2c62"
},
{
"entry_id": "c41bc99e068311eb93f751000202d9b1",
"version": 1,
"domain": "mobile_app",
"title": "Martin\u2019s iPad",
"data": {
"device_id": "8191AC71-330B-4784-8634-E6F4F0C2DFA2",
"app_version": "2020.6.2 (1)",
"app_name": "Home Assistant",
"manufacturer": "Apple",
"os_version": "14.0.1",
"supports_encryption": true,
"device_name": "Martin\u2019s iPad",
"os_name": "iOS",
"app_id": "io.robbie.HomeAssistant",
"model": "iPad7,4",
"app_data": {},
"webhook_id": "2c1e087aa21f2de29ea717b0af4d5de61621ba42229d570cb93181e61c6dc72a",
"secret": "923e6bce56d69c3bff64277187aaeb439ed0eb2c65ff7e4df39e6809504cf3b4",
"user_id": "2ffcb10d3db745b396789364fdef72ec"
},
"options": {},
"system_options": {
"disable_new_entities": false
},
"source": "registration",
"connection_class": "cloud_push",
"unique_id": "io.robbie.HomeAssistant-8191AC71-330B-4784-8634-E6F4F0C2DFA2"
}
]
},
"key": "core.config_entries",
"version": 1
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -135,7 +135,7 @@
{
"entities": [
{
"entity": "switch.mobile_steckdose_schalter_1",
"entity": "switch.poolpumpesteckdose",
"icon": "mdi:water",
"name": "Pool Pumpe"
},
@ -484,6 +484,14 @@
],
"show_header_toggle": false,
"type": "entities"
},
{
"aspect_ratio": "0%",
"camera_image": "camera.babycamera_mainstream",
"entity": "camera.babycamera_mainstream",
"image": "https://demo.home-assistant.io/stub_config/bedroom.png",
"name": "BabyCam",
"type": "picture-entity"
}
],
"icon": "mdi:star-face",

View File

@ -3,7 +3,7 @@
"items": [
{
"id": "2dd231ecf4fa46d1b9ba696f28da7731",
"type": "js",
"type": "module",
"url": "/local/custom_ui/state-card-custom-cover.js"
},
{
@ -23,7 +23,7 @@
},
{
"id": "55ef5e325ab444d19e15a1183a97fb35",
"type": "js",
"type": "module",
"url": "/local/custom_ui/room-glance-card.js?v=1.0"
},
{

View File

@ -1,19 +1,48 @@
{
"version": 1,
"key": "mobile_app",
"data": {
"binary_sensor": {},
"deleted_ids": [],
"binary_sensor": {
"cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e_headphone_state": {
"added": true,
"attributes": {},
"icon": "mdi:headphones-off",
"name": "Kopfh\u00f6rer",
"state": false,
"type": "binary_sensor",
"unique_id": "headphone_state",
"webhook_id": "cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e"
},
"cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e_is_charging": {
"added": true,
"attributes": {},
"device_class": "plug",
"icon": "mdi:power-plug-off",
"name": "Is Charging",
"state": false,
"type": "binary_sensor",
"unique_id": "is_charging",
"webhook_id": "cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e"
}
},
"deleted_ids": [
"e4083a1682098be0437f19c6ee84a369cf04a0ca2d2f80211c2c989895944657",
"ae3a0e7cab7f3e46a059749b4fb0db38d925aca81176ba5d6e08fbc3938b48e6",
"1056cf8eb746283e1477bd0da7b21d2b9f0007dc5de22cfc468e1459ae7796b8",
"8b96d67f6fe93ebaf8c39357498d906b4e1db1f7bab14dbe849af418f8913ab2"
],
"sensor": {
"1056cf8eb746283e1477bd0da7b21d2b9f0007dc5de22cfc468e1459ae7796b8_activity": {
"added": true,
"attributes": {
"Confidence": "High",
"Types": [
"Stationary"
"Unknown"
]
},
"icon": "mdi:human-male",
"icon": "mdi:help-circle",
"name": "Activity",
"state": "Stationary",
"state": "Unknown",
"type": "sensor",
"unique_id": "activity",
"webhook_id": "1056cf8eb746283e1477bd0da7b21d2b9f0007dc5de22cfc468e1459ae7796b8"
@ -25,9 +54,9 @@
"Low Power Mode": false
},
"device_class": "battery",
"icon": "mdi:battery-80",
"icon": "mdi:battery-20",
"name": "Battery Level",
"state": 87,
"state": 22,
"type": "sensor",
"unique_id": "battery_level",
"unit_of_measurement": "%",
@ -36,11 +65,11 @@
"1056cf8eb746283e1477bd0da7b21d2b9f0007dc5de22cfc468e1459ae7796b8_battery_state": {
"added": true,
"attributes": {
"Battery Level": 87,
"Battery Level": 22,
"Low Power Mode": false
},
"device_class": "battery",
"icon": "mdi:battery-80",
"icon": "mdi:battery-20",
"name": "Battery State",
"state": "Not Charging",
"type": "sensor",
@ -52,7 +81,7 @@
"attributes": {},
"icon": "mdi:wifi-star",
"name": "BSSID",
"state": "34:31:c4:16:29:4e",
"state": "7c:ff:4d:4:d7:a7",
"type": "sensor",
"unique_id": "connectivity_bssid",
"webhook_id": "1056cf8eb746283e1477bd0da7b21d2b9f0007dc5de22cfc468e1459ae7796b8"
@ -121,8 +150,8 @@
"Inland Water": "N/A",
"Locality": "Rohr",
"Location": [
49.369293212890625,
10.98366953954962
49.36929374846042,
10.983648821307723
],
"Name": "Dietersdorfer Stra\u00dfe 19",
"Ocean": "N/A",
@ -131,7 +160,10 @@
"Sub Locality": "N/A",
"Sub Thoroughfare": "19",
"Thoroughfare": "Dietersdorfer Stra\u00dfe",
"Time Zone": "Europe/Berlin"
"Time Zone": "Europe/Berlin",
"Zones": [
"Home"
]
},
"icon": "mdi:map",
"name": "Geocoded Location",
@ -153,19 +185,168 @@
"1056cf8eb746283e1477bd0da7b21d2b9f0007dc5de22cfc468e1459ae7796b8_storage": {
"added": true,
"attributes": {
"Available": "162,25 GB",
"Available (Important)": "170,74 GB",
"Available (Opportunistic)": "169,46 GB",
"Available": "159,04 GB",
"Available (Important)": "168,05 GB",
"Available (Opportunistic)": "166,77 GB",
"Total": "255,99 GB"
},
"icon": "mdi:database",
"name": "Storage",
"state": "63.38",
"state": "65.15",
"type": "sensor",
"unique_id": "storage",
"unit_of_measurement": "% available",
"webhook_id": "1056cf8eb746283e1477bd0da7b21d2b9f0007dc5de22cfc468e1459ae7796b8"
},
"8b96d67f6fe93ebaf8c39357498d906b4e1db1f7bab14dbe849af418f8913ab2_activity": {
"added": true,
"attributes": {
"Confidence": "High",
"Types": [
"Stationary"
]
},
"icon": "mdi:human-male",
"name": "Activity",
"state": "Stationary",
"type": "sensor",
"unique_id": "activity",
"webhook_id": "8b96d67f6fe93ebaf8c39357498d906b4e1db1f7bab14dbe849af418f8913ab2"
},
"8b96d67f6fe93ebaf8c39357498d906b4e1db1f7bab14dbe849af418f8913ab2_battery_level": {
"added": true,
"attributes": {
"Battery State": "Not Charging",
"Low Power Mode": false
},
"device_class": "battery",
"icon": "mdi:battery-40",
"name": "Battery Level",
"state": 41,
"type": "sensor",
"unique_id": "battery_level",
"unit_of_measurement": "%",
"webhook_id": "8b96d67f6fe93ebaf8c39357498d906b4e1db1f7bab14dbe849af418f8913ab2"
},
"8b96d67f6fe93ebaf8c39357498d906b4e1db1f7bab14dbe849af418f8913ab2_battery_state": {
"added": true,
"attributes": {
"Battery Level": 41,
"Low Power Mode": false
},
"device_class": "battery",
"icon": "mdi:battery-40",
"name": "Battery State",
"state": "Not Charging",
"type": "sensor",
"unique_id": "battery_state",
"webhook_id": "8b96d67f6fe93ebaf8c39357498d906b4e1db1f7bab14dbe849af418f8913ab2"
},
"8b96d67f6fe93ebaf8c39357498d906b4e1db1f7bab14dbe849af418f8913ab2_connectivity_bssid": {
"added": true,
"attributes": {},
"icon": "mdi:wifi-star",
"name": "BSSID",
"state": "7c:ff:4d:5:2e:8d",
"type": "sensor",
"unique_id": "connectivity_bssid",
"webhook_id": "8b96d67f6fe93ebaf8c39357498d906b4e1db1f7bab14dbe849af418f8913ab2"
},
"8b96d67f6fe93ebaf8c39357498d906b4e1db1f7bab14dbe849af418f8913ab2_connectivity_connection_type": {
"added": true,
"attributes": {},
"icon": "mdi:wifi",
"name": "Connection Type",
"state": "Wi-Fi",
"type": "sensor",
"unique_id": "connectivity_connection_type",
"webhook_id": "8b96d67f6fe93ebaf8c39357498d906b4e1db1f7bab14dbe849af418f8913ab2"
},
"8b96d67f6fe93ebaf8c39357498d906b4e1db1f7bab14dbe849af418f8913ab2_connectivity_sim_1": {
"added": true,
"attributes": {
"Allows VoIP": true,
"Carrier ID": "0000000100000001",
"Carrier Name": "o2 - de",
"ISO Country Code": "de",
"Mobile Country Code": "262",
"Mobile Network Code": "07"
},
"icon": "mdi:sim",
"name": "SIM 1",
"state": "o2 - de",
"type": "sensor",
"unique_id": "connectivity_sim_1",
"webhook_id": "8b96d67f6fe93ebaf8c39357498d906b4e1db1f7bab14dbe849af418f8913ab2"
},
"8b96d67f6fe93ebaf8c39357498d906b4e1db1f7bab14dbe849af418f8913ab2_connectivity_ssid": {
"added": true,
"attributes": {},
"icon": "mdi:wifi",
"name": "SSID",
"state": "WLAN",
"type": "sensor",
"unique_id": "connectivity_ssid",
"webhook_id": "8b96d67f6fe93ebaf8c39357498d906b4e1db1f7bab14dbe849af418f8913ab2"
},
"8b96d67f6fe93ebaf8c39357498d906b4e1db1f7bab14dbe849af418f8913ab2_geocoded_location": {
"added": true,
"attributes": {
"Administrative Area": "Bavaria",
"Areas Of Interest": "N/A",
"Country": "Germany",
"Inland Water": "N/A",
"ISO Country Code": "DE",
"Locality": "Rohr",
"Location": [
49.369293212890625,
10.983654704137997
],
"Name": "Dietersdorfer Stra\u00dfe 19",
"Ocean": "N/A",
"Postal Code": "91189",
"Sub Administrative Area": "Roth",
"Sub Locality": "N/A",
"Sub Thoroughfare": "19",
"Thoroughfare": "Dietersdorfer Stra\u00dfe",
"Time Zone": "Europe/Berlin",
"Zones": [
"Home"
]
},
"icon": "mdi:map",
"name": "Geocoded Location",
"state": "Dietersdorfer Stra\u00dfe 19\n91189 Rohr\nGermany",
"type": "sensor",
"unique_id": "geocoded_location",
"webhook_id": "8b96d67f6fe93ebaf8c39357498d906b4e1db1f7bab14dbe849af418f8913ab2"
},
"8b96d67f6fe93ebaf8c39357498d906b4e1db1f7bab14dbe849af418f8913ab2_last_update_trigger": {
"added": true,
"attributes": {},
"icon": "mdi:cellphone-wireless",
"name": "Last Update Trigger",
"state": "Launch",
"type": "sensor",
"unique_id": "last_update_trigger",
"webhook_id": "8b96d67f6fe93ebaf8c39357498d906b4e1db1f7bab14dbe849af418f8913ab2"
},
"8b96d67f6fe93ebaf8c39357498d906b4e1db1f7bab14dbe849af418f8913ab2_storage": {
"added": true,
"attributes": {
"Available": "135,80 GB",
"Available (Important)": "144,69 GB",
"Available (Opportunistic)": "143,41 GB",
"Total": "255,98 GB"
},
"icon": "mdi:database",
"name": "Storage",
"state": "56.02",
"type": "sensor",
"unique_id": "storage",
"unit_of_measurement": "% available",
"webhook_id": "8b96d67f6fe93ebaf8c39357498d906b4e1db1f7bab14dbe849af418f8913ab2"
},
"ae3a0e7cab7f3e46a059749b4fb0db38d925aca81176ba5d6e08fbc3938b48e6_mobile_app_martin_handy_a2dp": {
"added": true,
"attributes": {
@ -394,9 +575,404 @@
"unique_id": "mobile_app_martin_handy_wifi",
"unit_of_measurement": "",
"webhook_id": "ae3a0e7cab7f3e46a059749b4fb0db38d925aca81176ba5d6e08fbc3938b48e6"
},
"cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e_audio_sensor": {
"added": true,
"attributes": {
"audio_mode": "normal",
"is_headphones": false,
"is_mic_muted": false,
"is_music_active": false,
"is_speakerphone_on": false,
"volume_level_alarm": 6,
"volume_level_call": 7,
"volume_level_music": 8,
"volume_level_ring": 4
},
"icon": "mdi:volume-high",
"name": "Audio Sensor",
"state": "normal",
"type": "sensor",
"unique_id": "audio_sensor",
"webhook_id": "cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e"
},
"cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e_battery_health": {
"added": true,
"attributes": {},
"icon": "mdi:battery",
"name": "Battery Health",
"state": "good",
"type": "sensor",
"unique_id": "battery_health",
"webhook_id": "cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e"
},
"cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e_battery_level": {
"added": true,
"attributes": {},
"device_class": "battery",
"icon": "mdi:battery-80",
"name": "Battery Level",
"state": 86,
"type": "sensor",
"unique_id": "battery_level",
"unit_of_measurement": "%",
"webhook_id": "cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e"
},
"cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e_battery_state": {
"added": true,
"attributes": {
"battery_health": "good",
"charger_type": "none",
"is_charging": false
},
"device_class": "battery",
"icon": "mdi:battery-minus",
"name": "Battery State",
"state": "discharging",
"type": "sensor",
"unique_id": "battery_state",
"webhook_id": "cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e"
},
"cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e_bluetooth_connection": {
"added": true,
"attributes": {
"connected_not_paired_devices": "[]",
"connected_paired_devices": "[]",
"is_bt_on": true,
"paired_devices": "[3E:19:06:04:0D:50]"
},
"icon": "mdi:bluetooth",
"name": "Bluetooth Connection",
"state": 0,
"type": "sensor",
"unique_id": "bluetooth_connection",
"unit_of_measurement": "connection(s)",
"webhook_id": "cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e"
},
"cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e_charger_type": {
"added": true,
"attributes": {},
"icon": "mdi:battery",
"name": "Charger Type",
"state": "none",
"type": "sensor",
"unique_id": "charger_type",
"webhook_id": "cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e"
},
"cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e_detected_activity": {
"added": true,
"attributes": {
"in_vehicle": 19,
"on_bicycle": 8,
"on_foot": 14,
"still": 43,
"unknown": 2,
"walking": 14
},
"icon": "mdi:sleep",
"name": "Erkannte Aktivit\u00e4t",
"state": "still",
"type": "sensor",
"unique_id": "detected_activity",
"webhook_id": "cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e"
},
"cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e_dnd_sensor": {
"added": true,
"attributes": {},
"icon": "mdi:do-not-disturb",
"name": "Do Not Disturb Sensor",
"state": "off",
"type": "sensor",
"unique_id": "dnd_sensor",
"webhook_id": "cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e"
},
"cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e_geocoded_location": {
"added": true,
"attributes": {
"Administrative Area": "Bayern",
"Country": "Deutschland",
"ISO Country Code": "DE",
"Latitude": 49.369503,
"Locality": "Rohr",
"Longitude": 10.983908,
"Postal Code": "91189",
"Sub Administrative Area": "Mittelfranken",
"Sub Locality": "Nemsdorf",
"Sub Thoroughfare": "19",
"Thoroughfare": "Dietersdorfer Stra\u00dfe"
},
"icon": "mdi:map",
"name": "Geokodierter Standort",
"state": "Dietersdorfer Str. 19, 91189 Rohr, Deutschland",
"type": "sensor",
"unique_id": "geocoded_location",
"webhook_id": "cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e"
},
"cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e_last_reboot": {
"added": true,
"attributes": {
"Local Time": "Tue Sep 08 15:45:59 GMT+02:00 2020",
"Time in Milliseconds": 1599572800000.0
},
"device_class": "timestamp",
"icon": "mdi:restart",
"name": "Last Reboot",
"state": "2020-09-08T13:45:59Z",
"type": "sensor",
"unique_id": "last_reboot",
"webhook_id": "cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e"
},
"cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e_light_sensor": {
"added": true,
"attributes": {},
"device_class": "illuminance",
"icon": "mdi:brightness-5",
"name": "Light Sensor",
"state": "26",
"type": "sensor",
"unique_id": "light_sensor",
"unit_of_measurement": "lx",
"webhook_id": "cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e"
},
"cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e_next_alarm": {
"added": true,
"attributes": {
"Local Time": "Mon Oct 05 07:20:00 GMT+02:00 2020",
"Package": "Unknown",
"Time in Milliseconds": 1601875210000.0
},
"device_class": "timestamp",
"icon": "mdi:alarm",
"name": "Next Alarm",
"state": "2020-10-05T05:20:00.000Z",
"type": "sensor",
"unique_id": "next_alarm",
"webhook_id": "cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e"
},
"cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e_phone_state": {
"added": true,
"attributes": {},
"icon": "mdi:phone",
"name": "Phone State",
"state": "idle",
"type": "sensor",
"unique_id": "phone_state",
"webhook_id": "cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e"
},
"cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e_proximity_sensor": {
"added": true,
"attributes": {},
"icon": "mdi:leak",
"name": "Proximity Sensor",
"state": "far",
"type": "sensor",
"unique_id": "proximity_sensor",
"webhook_id": "cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e"
},
"cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e_steps_sensor": {
"added": true,
"attributes": {},
"icon": "mdi:walk",
"name": "Schrittsensor",
"state": "54350",
"type": "sensor",
"unique_id": "steps_sensor",
"unit_of_measurement": "steps",
"webhook_id": "cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e"
},
"cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e_storage_sensor": {
"added": true,
"attributes": {
"Free external storage": "No SD Card",
"Free internal storage": "90GB",
"Total external storage": "No SD Card",
"Total internal storage": "110GB"
},
"icon": "mdi:harddisk",
"name": "Storage Sensor",
"state": 82,
"type": "sensor",
"unique_id": "storage_sensor",
"unit_of_measurement": "%",
"webhook_id": "cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e"
},
"cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e_wifi_bssid": {
"added": true,
"attributes": {},
"icon": "mdi:wifi",
"name": "WLAN BSSID",
"state": "3c:a6:2f:4d:af:5a",
"type": "sensor",
"unique_id": "wifi_bssid",
"webhook_id": "cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e"
},
"cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e_wifi_connection": {
"added": true,
"attributes": {
"bssid": "7c:ff:4d:04:d7:a6",
"frequency": 2462,
"ip_address": "192.168.178.115",
"is_hidden": false,
"is_wifi_on": true,
"link_speed": 6,
"signal_level": -78
},
"icon": "mdi:wifi",
"name": "WLAN Verbindung",
"state": "WLAN",
"type": "sensor",
"unique_id": "wifi_connection",
"webhook_id": "cf6ed33d60ed7470befdf2ec4bd12feecf0be745491431fe61cf57fe91cf400e"
},
"2c1e087aa21f2de29ea717b0af4d5de61621ba42229d570cb93181e61c6dc72a_activity": {
"attributes": {
"Confidence": "High",
"Types": [
"Stationary"
]
},
"icon": "mdi:human-male",
"name": "Activity",
"state": "Stationary",
"type": "sensor",
"unique_id": "activity",
"webhook_id": "2c1e087aa21f2de29ea717b0af4d5de61621ba42229d570cb93181e61c6dc72a",
"added": true
},
"2c1e087aa21f2de29ea717b0af4d5de61621ba42229d570cb93181e61c6dc72a_storage": {
"attributes": {
"Available": "135,75 GB",
"Available (Important)": "144,64 GB",
"Available (Opportunistic)": "143,35 GB",
"Total": "255,98 GB"
},
"icon": "mdi:database",
"name": "Storage",
"state": "56.00",
"type": "sensor",
"unique_id": "storage",
"unit_of_measurement": "% available",
"webhook_id": "2c1e087aa21f2de29ea717b0af4d5de61621ba42229d570cb93181e61c6dc72a",
"added": true
},
"2c1e087aa21f2de29ea717b0af4d5de61621ba42229d570cb93181e61c6dc72a_battery_level": {
"attributes": {
"Battery State": "Not Charging",
"Low Power Mode": false
},
"device_class": "battery",
"icon": "mdi:battery-40",
"name": "Battery Level",
"state": 40,
"type": "sensor",
"unique_id": "battery_level",
"unit_of_measurement": "%",
"webhook_id": "2c1e087aa21f2de29ea717b0af4d5de61621ba42229d570cb93181e61c6dc72a",
"added": true
},
"2c1e087aa21f2de29ea717b0af4d5de61621ba42229d570cb93181e61c6dc72a_battery_state": {
"attributes": {
"Battery Level": 40,
"Low Power Mode": false
},
"device_class": "battery",
"icon": "mdi:battery-40",
"name": "Battery State",
"state": "Not Charging",
"type": "sensor",
"unique_id": "battery_state",
"webhook_id": "2c1e087aa21f2de29ea717b0af4d5de61621ba42229d570cb93181e61c6dc72a",
"added": true
},
"2c1e087aa21f2de29ea717b0af4d5de61621ba42229d570cb93181e61c6dc72a_connectivity_bssid": {
"icon": "mdi:wifi-star",
"name": "BSSID",
"state": "7c:ff:4d:5:2e:8d",
"type": "sensor",
"unique_id": "connectivity_bssid",
"attributes": {},
"webhook_id": "2c1e087aa21f2de29ea717b0af4d5de61621ba42229d570cb93181e61c6dc72a",
"added": true
},
"2c1e087aa21f2de29ea717b0af4d5de61621ba42229d570cb93181e61c6dc72a_connectivity_ssid": {
"icon": "mdi:wifi",
"name": "SSID",
"state": "WLAN",
"type": "sensor",
"unique_id": "connectivity_ssid",
"attributes": {},
"webhook_id": "2c1e087aa21f2de29ea717b0af4d5de61621ba42229d570cb93181e61c6dc72a",
"added": true
},
"2c1e087aa21f2de29ea717b0af4d5de61621ba42229d570cb93181e61c6dc72a_connectivity_connection_type": {
"icon": "mdi:wifi",
"name": "Connection Type",
"state": "Wi-Fi",
"type": "sensor",
"unique_id": "connectivity_connection_type",
"attributes": {},
"webhook_id": "2c1e087aa21f2de29ea717b0af4d5de61621ba42229d570cb93181e61c6dc72a",
"added": true
},
"2c1e087aa21f2de29ea717b0af4d5de61621ba42229d570cb93181e61c6dc72a_geocoded_location": {
"icon": "mdi:map",
"name": "Geocoded Location",
"state": "Dietersdorfer Stra\u00dfe 19\n91189 Rohr\nGermany",
"type": "sensor",
"unique_id": "geocoded_location",
"attributes": {
"Administrative Area": "Bavaria",
"Areas Of Interest": "N/A",
"Country": "Germany",
"Inland Water": "N/A",
"ISO Country Code": "DE",
"Locality": "Rohr",
"Location": [
49.3692952298921,
10.983669434592068
],
"Name": "Dietersdorfer Stra\u00dfe 19",
"Ocean": "N/A",
"Postal Code": "91189",
"Sub Administrative Area": "Roth",
"Sub Locality": "N/A",
"Sub Thoroughfare": "19",
"Thoroughfare": "Dietersdorfer Stra\u00dfe",
"Time Zone": "Europe/Berlin",
"Zones": [
"Home"
]
},
"webhook_id": "2c1e087aa21f2de29ea717b0af4d5de61621ba42229d570cb93181e61c6dc72a",
"added": true
},
"2c1e087aa21f2de29ea717b0af4d5de61621ba42229d570cb93181e61c6dc72a_connectivity_sim_1": {
"attributes": {
"Allows VoIP": true,
"Carrier ID": "0000000100000001",
"Carrier Name": "o2 - de",
"ISO Country Code": "de",
"Mobile Country Code": "262",
"Mobile Network Code": "07"
},
"icon": "mdi:sim",
"name": "SIM 1",
"state": "o2 - de",
"type": "sensor",
"unique_id": "connectivity_sim_1",
"webhook_id": "2c1e087aa21f2de29ea717b0af4d5de61621ba42229d570cb93181e61c6dc72a",
"added": true
},
"2c1e087aa21f2de29ea717b0af4d5de61621ba42229d570cb93181e61c6dc72a_last_update_trigger": {
"icon": "mdi:cellphone-wireless",
"name": "Last Update Trigger",
"state": "Launch",
"type": "sensor",
"unique_id": "last_update_trigger",
"attributes": {},
"webhook_id": "2c1e087aa21f2de29ea717b0af4d5de61621ba42229d570cb93181e61c6dc72a",
"added": true
}
}
},
"key": "mobile_app",
"version": 1
}
}

View File

@ -1,16 +1,17 @@
{
"version": 2,
"key": "person",
"data": {
"items": [
{
"device_trackers": [
"device_tracker.martins_ipad_2"
"device_tracker.martins_ipad_3",
"device_tracker.ele_l29"
],
"id": "d433f5e7758548dab8baa44b545a8668",
"name": "Martin Bauer",
"user_id": "2ffcb10d3db745b396789364fdef72ec"
}
]
},
"key": "person",
"version": 2
}
}

View File

@ -62,3 +62,22 @@
message: Bewegung im Gang
title: Alarm
service: notify.ios_martins_ipad
- id: '1598594894559'
alias: KlingelAufHandy
description: ''
trigger:
- entity_id: switch.klingel_aussentur
from: 'off'
platform: state
to: 'on'
condition: []
action:
- data:
message: Es hat aussen geklingelt
title: Klingel
service: notify.telegram_martin
- data:
message: Es hat aussen geklingelt
title: Klingel
service: notify.ios_martins_ipad
mode: single

View File

@ -191,7 +191,7 @@
action:
service: scene.turn_on
data:
entity_id: scene.schlafzimmer_rot
entity_id: scene.schlafzimmer_orange
- alias: IR bedroompi.fritz.box key_yellow
trigger:
platform: event

View File

@ -112,7 +112,7 @@
action:
service: scene.turn_on
data:
entity_id: scene.wohnbereich_blau_grun
entity_id: scene.wohnzimmer_dunkel
- alias: KNX Button WohnzimmerGangTür unten links lang
trigger:
@ -123,7 +123,7 @@
action:
service: scene.turn_on
data:
entity_id: scene.wohnzimmer_blau_grun
entity_id: scene.wohnzimmer_dunkel
# ===

View File

@ -98,8 +98,9 @@ sensor:
fhem_ids:
- Arbeitszimmer_Bewegungsmelder
fhem_sensor_type: brightness
- name: Pool Pumpe Verbrauch
fhem_sensor_type: power
fhem_ids:
- SteckdosenSchalter_Pwr
- SteckdosenSchalter
#- name: Pool Pumpe Verbrauch
# fhem_sensor_type: power
# fhem_ids:
# - SteckdosenSchalter_Pwr
# - SteckdosenSchalter

View File

@ -31,7 +31,7 @@ def get_config():
'key_numeric_pound': '[radio] Bayern 2',
'key_red': '[scene] schlafzimmer_stillen',
'key_green': '[scene] schlafzimmer_rot',
'key_green': '[scene] schlafzimmer_orange',
'key_yellow': '[scene] schlafzimmer_ganz_hell',
'key_blue': '[scene] schlafzimmer_blau',

View File

@ -13,16 +13,10 @@ def first_lower(s):
return s[0].lower() + s[1:]
extend = functools.partial(extend_general, platform='knx')
def extent(result_dict, input_dict):
for k, v in input_dict.items():
if k not in result_dict:
result_dict[k] = []
for entry in v:
if 'platform' not in entry:
entry['platform'] = 'knx'
result_dict[k] += v
@ -49,6 +43,7 @@ def create_power_plug(device_info: List[DeviceInfo],
postfix_counter_reset=" BSZ Neustart"):
result = {'switch': [],
'sensor': []}
template_sensors = {'sensor': []}
for entry in device_info:
try:
# Switching
@ -87,7 +82,7 @@ def create_power_plug(device_info: List[DeviceInfo],
'type': 'DPT-9',
})
name = name_to_id(entry.display_name + " Verbrauch mA", 'sensor')
result['sensor'].append({
template_sensors['sensor'].append({
'platform': 'template',
'sensors': {
name_to_id(entry.display_name + " Verbrauch", None):
@ -111,7 +106,7 @@ def create_power_plug(device_info: List[DeviceInfo],
except KeyError as e:
raise ValueError(f"Skipping light {entry.csv_name} - Could not find CSV File entry: {e}")
return result
return result, template_sensors
def create_lights(device_info: List[DeviceInfo],

View File

@ -154,11 +154,14 @@ def add_knx_devices(devices, groups):
knx.extent(devices, knx.create_lights(lights, imported_csv))
knx.extent(devices, knx.create_shutters(shutters, imported_csv))
knx.extent(devices, knx.create_switches(switches, imported_csv))
knx.extent(devices, knx.create_power_plug(power_plugs, imported_csv))
power_plugs, template_sensors = knx.create_power_plug(power_plugs, imported_csv)
knx.extent(devices, power_plugs)
for device_type, devices in [('light', lights), ('cover', shutters), ('switch', switches)]:
for device in devices:
add_to_group(groups, device.groups, device.display_name, device_type)
return template_sensors
def add_fhem_devices(devices, groups):
@ -246,8 +249,11 @@ def recorder_config(all_devices):
exclude_list = ['sun.sun']
exclude_list.extend(sensor_exclude_list)
exclude_list.extend(make_sensor_exclude_list(all_devices, recorder_excludes))
return {
'recorder': {
'db_url': 'mysql://homeassistant:Vc9JpSh0VQqKF1zgwdJG@core-mariadb/homeassistant?charset=utf8',
'purge_keep_days': 60,
'exclude': {
'entities': exclude_list,
}
@ -261,8 +267,17 @@ def create_config(target_directory, development=False):
group_dict = yaml.load(open(groups_yaml_path, encoding="utf-8"))
manual_config_dict = yaml.load(open(manual_config_path, encoding="utf-8"))
knx_conf = {
'rate_limit': 20,
'tunneling': {
'host': '192.168.178.65',
'port': 3671
}
}
template_sensors = add_knx_devices(knx_conf, group_dict)
all_devices = {}
add_knx_devices(all_devices, group_dict)
all_devices.update(template_sensors)
add_fhem_devices(all_devices, group_dict)
with open(os.path.join(target_directory, 'configuration.yaml'), 'w', encoding="utf-8") as output:
@ -279,6 +294,10 @@ def create_config(target_directory, development=False):
add_meta_groups(group_dict)
with open(os.path.join(target_directory, 'knx_conf.yaml'), 'w') as output:
output.write("# Dont' edit manually! this is generated!\n\n")
yaml.dump(knx_conf, output)
with open(os.path.join(target_directory, 'groups.yaml'), 'w') as output:
output.write("# Dont' edit manually! this is generated!\n\n")
yaml.dump(group_dict, output)

View File

@ -7,7 +7,6 @@ person:
sun:
system_health:
updater:
recorder:
logbook:
#input_boolean:
@ -17,13 +16,20 @@ logbook:
#input_text:
ondilo:
username: customer_api
password: !secret ondilo_pw
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
http:
base_url: https://ha.bauer.tech
homeassistant:
name: MyHome
latitude: 49.369477
longitude: 10.9831468
external_url: https://ha.bauer.tech
internal_url: https://ha.bauer.tech
auth_mfa_modules:
- type: totp
@ -50,6 +56,23 @@ homeassistant:
# enable configuration editor
config:
ffmpeg:
# using onvif instead
#camera:
# - platform: generic
# stream_source: rtsp://192.168.178.114:554/stream1
# name: BabyCameraHiRes
# username: camera
# password: !secret camera_pw
# verify_ssl: false
# - platform: generic
# stream_source: rtsp://192.168.178.114:554/stream2
# name: BabyCameraLowRes
# username: camera
# password: !secret camera_pw
#
zone:
- name: Uni
latitude: 49.573626
@ -61,13 +84,6 @@ owntracks:
max_gps_accuracy: 200
waypoints: false
homekit:
name: !secret homekit_name
filter:
include_domains:
- scene
discovery:
ignore:
- philips_hue
@ -130,6 +146,17 @@ switch:
name: esszimmer_oben_radio_steckdose
host: esszimmerradio.fritz.box
num_power_plugs: 4
- platform: mqtt
name: PoolPumpeSteckdose
state_topic: "stat/poolpumpesteckdose/POWER"
command_topic: "cmnd/poolpumpesteckdose/POWER"
availability_topic: "tele/poolpumpesteckdose/LWT"
qos: 1
payload_on: "ON"
payload_off: "OFF"
payload_available: "Online"
payload_not_available: "Offline"
retain: false
long_click:
duration: 0.6
@ -171,12 +198,113 @@ tts:
output_format: audio/flac
output_audio_rate: 44100
alexa:
smart_home:
locale: de-DE
#endpoint: https://api.eu.amazonalexa.com/v3/events
#client_id: amzn1.application-oa2-client.a4de8a70130c4f9383b277044f07a3af
#client_secret: !secret alexa_client_secret
filter:
include_entities:
# Light Groups
#- light.kuche_esszimmer_lichter
#- light.arbeitszimmer_lichter
# Arbeitszimmer
- light.arbeitszimmer_deckenlampe
- light.arbeitszimmer_fluter
- light.arbeitszimmer_stehlampe_unten
- light.arbeitszimmer_stehlampe_oben
- cover.arbeitszimmer_rollo
- scene.arbeitszimmer_orange
- scene.arbeitszimmer_blau_grun
- scene.arbeitszimmer_hell
# Gang
- light.gang_bogen
- light.gang_licht
- light.gang_einganglicht
# Wohnbereich
- cover.wohnzimmer_fenster_rollo
- cover.wohnzimmer_terrassentur_rollo
- cover.kuche_fenster_rollo
- cover.esszimmer_fenster_rollo
entity_config:
cover.arbeitszimmer_rollo:
display_categories: EXTERIOR_BLIND
cover.wohnzimmer_fenster_rollo:
display_categories: EXTERIOR_BLIND
cover.wohnzimmer_terrassentur_rollo:
display_categories: EXTERIOR_BLIND
cover.esszimmer_fenster_rollo:
display_categories: EXTERIOR_BLIND
knx:
rate_limit: 20
tunneling:
host: 192.168.178.65
port: 3671
homekit:
name: !secret homekit_name
filter:
include_entities:
# Light Groups
#- light.kuche_esszimmer_lichter
#- light.arbeitszimmer_lichter
# Arbeitszimmer
- light.arbeitszimmer_deckenlampe
- light.arbeitszimmer_fluter
- light.arbeitszimmer_stehlampe_unten
- light.arbeitszimmer_stehlampe_oben
- cover.arbeitszimmer_rollo
- scene.arbeitszimmer_orange
- scene.arbeitszimmer_blau_grun
- scene.arbeitszimmer_hell
# Gang
- light.gang_bogen
- light.gang_licht
- light.gang_einganglicht
# Wohnbereich
- cover.wohnzimmer_fenster_rollo
- cover.wohnzimmer_terrassentur_rollo
- cover.kuche_fenster_rollo
- cover.esszimmer_fenster_rollo
google_assistant:
project_id: homeassistant-d3afc
service_account: !include google_assistant_service_account.json
report_state: true
expose_by_default: false
entity_config:
# Arbeitszimmer
light.arbeitszimmer_deckenlampe:
room: Arbeitszimmer
light.arbeitszimmer_fluter:
room: Arbeitszimmer
light.arbeitszimmer_stehlampe_unten:
room: Arbeitszimmer
light.arbeitszimmer_stehlampe_oben:
room: Arbeitszimmer
cover.arbeitszimmer_rollo:
room: Arbeitszimmer
scene.arbeitszimmer_orange:
room: Arbeitszimmer
scene.arbeitszimmer_blau_grun:
room: Arbeitszimmer
scene.arbeitszimmer_hell:
room: Arbeitszimmer
# Gang
light.gang_bogen:
room: Gang
light.gang_licht:
room: Gang
light.gang_einganglicht:
room: Gang
# Wohnbereich
cover.wohnzimmer_fenster_rollo:
room: Wohnbereich
cover.wohnzimmer_terrassentur_rollo:
room: Wohnbereich
cover.kuche_fenster_rollo:
room: Wohnbereich
cover.esszimmer_fenster_rollo:
room: Wohnbereich
knx: !include knx_conf.yaml
fhem:
host: localhost
@ -240,6 +368,12 @@ lirc_network:
binary_sensor:
- platform: lirc_network # sensor to show for each host if it is currently connected
- platform: sysdweb
- platform: ffmpeg_noise
input: rtsp://camera:1238djie!d24yu@babycamera:554/stream2
extra_arguments: -filter:a highpass=f=300,lowpass=f=2500,volume=volume=2
initial_state: false
duration: 2
reset: 60
media_player:
- platform: squeezebox_telnet
@ -252,7 +386,7 @@ media_player:
vacuum:
- platform: xiaomi_miio
host: rockrobo.fritz.box
host: vacuum.fritz.box
token: !secret vacuum_token
@ -281,14 +415,14 @@ sensor:
- platform: history_stats
name: Pool Pumpe Heute
entity_id: switch.mobile_steckdose_schalter_1
entity_id: switch.poolpumpesteckdose
type: time
state: 'on'
start: '{{ now().replace(hour=0).replace(minute=0).replace(second=0) }}'
end: '{{ now() }}'
- platform: history_stats
name: Pool Pumpe Gestern
entity_id: switch.mobile_steckdose_schalter_1
entity_id: switch.poolpumpesteckdose
type: time
state: 'on'
start: '{{ as_timestamp(now().replace(hour=0).replace(minute=0).replace(second=0)) - (60*60 * 24) }}'
@ -330,3 +464,25 @@ light:
- light.garten_spot_beet
- light.garten_stehleuchte
- light.aussen_terassenlicht
- platform: group
name: Arbeitszimmer Lichter
entities:
- light.arbeitszimmer_deckenlampe
- light.arbeitszimmer_fluter
- light.arbeitszimmer_stehlampe_unten
- light.arbeitszimmer_stehlampe_oben
- platform: group
name: Wohnbereich Lichter
entities:
- light.kuche_deckenlampe
- light.esszimmer_deckenlampe_west
- light.esszimmer_deckenlampe_mitte
- light.kuche_links
- light.kuche_rechts
- light.kuche_vorne
- light.wohnzimmer_deckenlampe
- light.wohnzimmer_kugel
- light.wohnzimmer_stehlampe
- light.wohnzimmer_stehlampe_oben
- light.wohnzimmer_regal_rechts
- light.wohnzimmer_regal_links

View File

@ -2,4 +2,6 @@ vacuum_token: 484e676f586b36656a5a54704a327a59
watson_api_key: X_tnnoaZGOwxZlqUn07wkD2G-0vaaAuOw6I6d_6jpCf7
telegram_token: 824902906:AAHKLyNuEX_Sd_r0S-3jiZ-OPnlWnO8XSeM
telegram_chatid_martin: 747324122
sysdweb_pw: jo8ddgrUmGj7cP1mk43z
sysdweb_pw: jo8ddgrUmGj7cP1mk43z
camera_pw: 1238djie!d24yu
ondilo_pw: AxZY4lCMFb

View File

@ -1,3 +1,3 @@
local_ip: 127.0.0.1
knxd_host: 127.0.0.1 #directly the network bridge: 192.168.178.65
homekit_name: BauerHome
homekit_name: BauerHome

View File

@ -84,5 +84,5 @@ class LircConnection(ReconnectingClient):
REMOTE_NAME: remote_name,
REPEAT_COUNTER: repeat_counter,
LIRC_HOST: self._host}
_LOGGER.info(f"Got new LIRC network code {data}")
#_LOGGER.info(f"Got new LIRC network code {data}")
self.hass.bus.fire(EVENT_IR_COMMAND_RECEIVED, data)

View File

@ -49,7 +49,10 @@
light.schlafzimmer_fluter:
state: 'off'
light.schlafzimmer_schrank:
state: 'off'
state: 'off'
light.bett_martin:
state: 'off'
- name: Schlafzimmer Einschlaflicht
id: schlafzimmer_einschlaflicht
entities:

View File

@ -388,3 +388,36 @@
cover.wohnzimmer_terrassentur_rollo:
state: closed
current_position: 0
- name: Wohnzimmer Dunkel
id: wohnzimmer_dunkel
entities:
light.kuche_deckenlampe:
state: false
light.wohnzimmer_deckenlampe:
state: false
light.esszimmer_deckenlampe_west:
state: false
light.esszimmer_deckenlampe_mitte:
state: false
light.esszimmer_schrankleuchte:
state: false
light.wohnzimmer_kugel:
state: false
light.wohnzimmer_stehlampe:
state: true
brightness: 120
color_temp: 428
light.wohnzimmer_stehlampe_oben:
state: false
light.wohnzimmer_regal_rechts:
state: true
brightness: 120
xy_color:
- 0.618
- 0.366
light.wohnzimmer_regal_links:
state: true
brightness: 120
xy_color:
- 0.53
- 0.443