From b31f9559452d3003372bc8c634ca77add46ded22 Mon Sep 17 00:00:00 2001 From: Martin Bauer Date: Wed, 3 Jul 2019 22:06:11 +0200 Subject: [PATCH] KNX deploy config --- .HA_VERSION | 2 +- .storage/auth | 98 +++++++++++ .storage/auth_module.totp | 9 + .storage/core.config_entries | 41 +++++ .storage/core.device_registry | 244 ++++++++++++++++++++++------ .storage/core.entity_registry | 54 ++++++ .storage/core.restore_state | 141 +++++++++++++++- .storage/lovelace | 2 +- config_creation/manual_config.yaml | 12 ++ config_creation/secrets_deploy.yaml | 2 +- 10 files changed, 548 insertions(+), 57 deletions(-) create mode 100644 .storage/auth_module.totp diff --git a/.HA_VERSION b/.HA_VERSION index 65fa695..781a93a 100644 --- a/.HA_VERSION +++ b/.HA_VERSION @@ -1 +1 @@ -0.94.3 \ No newline at end of file +0.95.4 \ No newline at end of file diff --git a/.storage/auth b/.storage/auth index 08008f9..e823634 100644 --- a/.storage/auth +++ b/.storage/auth @@ -315,6 +315,104 @@ "token_type": "normal", "user_id": "2ffcb10d3db745b396789364fdef72ec" }, + { + "access_token_expiration": 1800.0, + "client_icon": null, + "client_id": "https://ha.bauer.tech/", + "client_name": null, + "created_at": "2019-06-30T21:14:18.415794+00:00", + "id": "4b042072829d416db7102e2ef1b627a8", + "jwt_key": "464a41849ee7ba9d19a300c1dd7133bdca85714cfbc6f5e119c1dea53209926c3de9f7afea8fa7d79341ef970f60200745a1895115ada894a12b47bd17639777", + "last_used_at": "2019-07-03T18:55:50.414481+00:00", + "last_used_ip": "127.0.0.1", + "token": "7f78a2d69fa4c70576fde67253220e35541ff9644554ee933cc568e543e44debf1a8d990d19c5b13084a1ce0c0cb24c43828caa875c99021ea914c581d82c759", + "token_type": "normal", + "user_id": "2ffcb10d3db745b396789364fdef72ec" + }, + { + "access_token_expiration": 1800.0, + "client_icon": null, + "client_id": "https://ha.bauer.tech/", + "client_name": null, + "created_at": "2019-06-30T21:40:45.236003+00:00", + "id": "c921f02f078744dcab3dcf0a56a2ff47", + "jwt_key": "125edd9a21a6cfb26458a0a831215ca25390e7f0d590b22b6a77ecffcc86737528914e2722420d93cd103fbc66706a813799258c9203d25b48c9c52028d46a74", + "last_used_at": "2019-07-01T14:44:40.984285+00:00", + "last_used_ip": "127.0.0.1", + "token": "5dcf0fd720f5f0a016325c55bc2744e8a4b913e3f863b30b1fc3eee72e7e52982b390b1551ba9e19c86cc756a080ea351e0906433c335a2fcea921349b1c675b", + "token_type": "normal", + "user_id": "2ffcb10d3db745b396789364fdef72ec" + }, + { + "access_token_expiration": 1800.0, + "client_icon": null, + "client_id": "https://ha.bauer.tech/", + "client_name": null, + "created_at": "2019-06-30T21:51:24.978927+00:00", + "id": "9f205cb3449d432ca1e67fe9d36ef350", + "jwt_key": "73e668fb953a71287fa6e0f95be8affdb9dfae7c305cc8d35bbfd568d3839ad491b9ff54cb7e11fe20dc702c3801b8ba7290631f8176dd0b76d56f4eba902eb4", + "last_used_at": "2019-07-03T14:24:35.227484+00:00", + "last_used_ip": "127.0.0.1", + "token": "a44aeb5f2c646edd8066866d9d42641d0b81ba21255be56ef42df68f3a9c4c9fc3af4ef001ea739fc7242a7d7bbd95f34b05df527b8723d820e02ca699a50171", + "token_type": "normal", + "user_id": "2ffcb10d3db745b396789364fdef72ec" + }, + { + "access_token_expiration": 1800.0, + "client_icon": null, + "client_id": "https://ha.bauer.tech:443/", + "client_name": null, + "created_at": "2019-07-01T14:44:26.717101+00:00", + "id": "2f9da52792b6465fb563c876ab520b54", + "jwt_key": "c1b754c1afacdb542187233408a4361e40859f525fa01804a75dbe309d4f87205f6885f9213f7521ca29763e34d1e069b4ffd342aa50a428f48f06e5f59d85ae", + "last_used_at": "2019-07-01T14:44:26.717586+00:00", + "last_used_ip": "127.0.0.1", + "token": "f3e3158536152b5780cb772ab37509ee01dc96194f41da9dcc2d8269fac56e0cefb557ee254ec0c44f9b4a1dd801649c43283ff69d36e626dbca1a176a4f2c6c", + "token_type": "normal", + "user_id": "2ffcb10d3db745b396789364fdef72ec" + }, + { + "access_token_expiration": 315360000.0, + "client_icon": "http://surodev.com/ariela/ic_launcher.png", + "client_id": null, + "client_name": "ARIELA_1561992267385", + "created_at": "2019-07-01T14:44:29.041693+00:00", + "id": "8389b1dce4b04333aea74ccb24061903", + "jwt_key": "5f4b568793dffb2a286a9c6dad066bf37d91d317d6b1ab19096922c01a2f27b6e6a5ccab230bb0eb479da277dea7c74f197d0cf1c3c97fb28db5d1e4e9f8e5d5", + "last_used_at": "2019-07-01T14:44:29.041979+00:00", + "last_used_ip": null, + "token": "c224b9f5ee1f382eb7c523ed4ad0ca5af597c74c49066085fb24158ffc96061d0f5a4f93951491a56f690c343855a8912f4cad7e7bc84dea89a7aee482d27b54", + "token_type": "long_lived_access_token", + "user_id": "2ffcb10d3db745b396789364fdef72ec" + }, + { + "access_token_expiration": 1800.0, + "client_icon": null, + "client_id": "https://ha.bauer.tech/", + "client_name": null, + "created_at": "2019-07-01T14:50:09.377839+00:00", + "id": "d5b85e7369494719b0eb2b1b16cb1f96", + "jwt_key": "a11e7bd2ebaff0c122756793514b0f0afef8a1a4a11d6f5356ea7dd07b3c9f833a6aed587051c69ac292111d53b7817c21238a803bb0a06e453fac8ca99490f4", + "last_used_at": "2019-07-01T14:50:09.378074+00:00", + "last_used_ip": "127.0.0.1", + "token": "fde61cc5062ac0bb86a08a0f38b9631dae38f1654213680405bbe89a5b2f8e5bceac5cef39f3c6db0f71037d38d7656cae60e7f9994509a0866be7529e101682", + "token_type": "normal", + "user_id": "2ffcb10d3db745b396789364fdef72ec" + }, + { + "access_token_expiration": 1800.0, + "client_icon": null, + "client_id": "https://ha.bauer.tech/", + "client_name": null, + "created_at": "2019-07-03T18:56:36.256497+00:00", + "id": "9b09ea1fa45648a78d961760cba54323", + "jwt_key": "f2145230898b93021c4891501618bab9b029748c363c6ba3a05ee6e6d9b5024359b69e508c20c599347bb5d1c75240a5da7c5bbad6fd983a96ca4cdf1cf4e7aa", + "last_used_at": "2019-07-03T19:46:24.624480+00:00", + "last_used_ip": "127.0.0.1", + "token": "fe348a5563316252b232d5f6ddb183ac4a150f56bdb8cee9790f798e36854bb947f542bb24ee19464ff9a299508a3cd352f776ad0e4581366ad16efa44238402", + "token_type": "normal", + "user_id": "2ffcb10d3db745b396789364fdef72ec" + }, { "access_token_expiration": 1800.0, "client_icon": null, diff --git a/.storage/auth_module.totp b/.storage/auth_module.totp new file mode 100644 index 0000000..11c4452 --- /dev/null +++ b/.storage/auth_module.totp @@ -0,0 +1,9 @@ +{ + "data": { + "users": { + "2ffcb10d3db745b396789364fdef72ec": "H7HEWSCB7DLJD4SE" + } + }, + "key": "auth_module.totp", + "version": 1 +} \ No newline at end of file diff --git a/.storage/core.config_entries b/.storage/core.config_entries index 8555d74..68bb222 100644 --- a/.storage/core.config_entries +++ b/.storage/core.config_entries @@ -26,6 +26,47 @@ "source": "discovery", "title": "UPnP/IGD", "version": 1 + }, + { + "connection_class": "unknown", + "data": { + "cloudhook": false, + "secret": "aeadeeba342839fe6836608c866a40c7", + "webhook_id": "6a1bb2901d9de0766b306c697bbeea3969a17a974fcc97e7bbd63d61b5efd0cb" + }, + "domain": "owntracks", + "entry_id": "663be35bc88343568ce876c17f04d781", + "options": {}, + "source": "user", + "title": "OwnTracks", + "version": 1 + }, + { + "connection_class": "cloud_push", + "data": { + "app_data": { + "push_token": "f2YCYyv57Yg:APA91bE6_Dfh6k4wiOzTbBELBCElXQK21EGNtXWArBzP8dLA1BZsU4IaDa8_y9K5XBTuNW6xBNro5lQPG-xta3VmpoozTv9j2SojeWm42TQIBnLUeIsHBHDuwubN2Q7S-sQ9eXs0VcXA", + "push_url": "https://ariela.surodev.com/notification/" + }, + "app_id": "com.surodev.ariela", + "app_name": "Ariela", + "app_version": "1.3.4.5", + "device_id": "aba3eef2eb0d44eab143c525f5b0b190", + "device_name": "Martin_Handy", + "manufacturer": "HUAWEI", + "model": "HWVTR", + "os_name": "9", + "os_version": "9", + "supports_encryption": false, + "user_id": "2ffcb10d3db745b396789364fdef72ec", + "webhook_id": "c4707baa6eef9f03781be57ea4a5a80c5634b41a17dcbb3699ab97d24ad0cd19" + }, + "domain": "mobile_app", + "entry_id": "ed94faecc60f4d25baf616a3fcd3b2ce", + "options": {}, + "source": "registration", + "title": "Martin_Handy", + "version": 1 } ] }, diff --git a/.storage/core.device_registry b/.storage/core.device_registry index 37a6ef9..06feffd 100644 --- a/.storage/core.device_registry +++ b/.storage/core.device_registry @@ -12,7 +12,6 @@ "00:17:88:28:44:11" ] ], - "hub_device_id": null, "id": "8e09114c26574165a8f8fa43ff0c5395", "identifiers": [ [ @@ -24,7 +23,8 @@ "model": "BSB002", "name": "Philips hue", "name_by_user": null, - "sw_version": "1932126170" + "sw_version": "1932126170", + "via_device_id": null }, { "area_id": null, @@ -32,7 +32,6 @@ "e0ebcf51d57b4df4baaf36894d59979d" ], "connections": [], - "hub_device_id": "8e09114c26574165a8f8fa43ff0c5395", "id": "31d95a5c59b24732934b4bcde46654a7", "identifiers": [ [ @@ -44,7 +43,8 @@ "model": "Hue lightstrip", "name": "Wohnzimmer Regal rechts", "name_by_user": null, - "sw_version": "5.127.1.26581" + "sw_version": "5.127.1.26581", + "via_device_id": "8e09114c26574165a8f8fa43ff0c5395" }, { "area_id": null, @@ -52,7 +52,6 @@ "e0ebcf51d57b4df4baaf36894d59979d" ], "connections": [], - "hub_device_id": "8e09114c26574165a8f8fa43ff0c5395", "id": "1dbec2bfe7594794a516405b1a164027", "identifiers": [ [ @@ -64,7 +63,8 @@ "model": "Hue color lamp", "name": "Wohnzimmer Stehlampe Oben", "name_by_user": null, - "sw_version": "5.127.1.26420" + "sw_version": "5.127.1.26420", + "via_device_id": "8e09114c26574165a8f8fa43ff0c5395" }, { "area_id": null, @@ -72,7 +72,6 @@ "e0ebcf51d57b4df4baaf36894d59979d" ], "connections": [], - "hub_device_id": "8e09114c26574165a8f8fa43ff0c5395", "id": "00429941ced6498495803f7e1ae65d55", "identifiers": [ [ @@ -84,7 +83,8 @@ "model": "Hue lightstrip", "name": "Wohnzimmer Regal links", "name_by_user": null, - "sw_version": "5.127.1.26581" + "sw_version": "5.127.1.26581", + "via_device_id": "8e09114c26574165a8f8fa43ff0c5395" }, { "area_id": "46ebd507f8f348508653f61054f67eb0", @@ -92,7 +92,6 @@ "e0ebcf51d57b4df4baaf36894d59979d" ], "connections": [], - "hub_device_id": "8e09114c26574165a8f8fa43ff0c5395", "id": "00e0dc89c87240699d1286fb79bcc877", "identifiers": [ [ @@ -104,7 +103,8 @@ "model": "Hue color lamp", "name": "Arbeitszimmer Martin Oben", "name_by_user": null, - "sw_version": "5.127.1.26420" + "sw_version": "5.127.1.26420", + "via_device_id": "8e09114c26574165a8f8fa43ff0c5395" }, { "area_id": "e58ae8bf5c7847af89a727d7949016f0", @@ -112,7 +112,6 @@ "e0ebcf51d57b4df4baaf36894d59979d" ], "connections": [], - "hub_device_id": "8e09114c26574165a8f8fa43ff0c5395", "id": "da7bdf516f614f8fa75f6f611a8cef3c", "identifiers": [ [ @@ -124,7 +123,8 @@ "model": "Hue lightstrip", "name": "K\u00fcche links", "name_by_user": null, - "sw_version": "5.127.1.26581" + "sw_version": "5.127.1.26581", + "via_device_id": "8e09114c26574165a8f8fa43ff0c5395" }, { "area_id": null, @@ -132,7 +132,6 @@ "e0ebcf51d57b4df4baaf36894d59979d" ], "connections": [], - "hub_device_id": "8e09114c26574165a8f8fa43ff0c5395", "id": "27e519bd18974605b39e17156f903a94", "identifiers": [ [ @@ -144,7 +143,8 @@ "model": "Hue color lamp", "name": "Arbeitszimmer Rebecca", "name_by_user": null, - "sw_version": "5.127.1.26581" + "sw_version": "5.127.1.26581", + "via_device_id": "8e09114c26574165a8f8fa43ff0c5395" }, { "area_id": "46ebd507f8f348508653f61054f67eb0", @@ -152,7 +152,6 @@ "e0ebcf51d57b4df4baaf36894d59979d" ], "connections": [], - "hub_device_id": "8e09114c26574165a8f8fa43ff0c5395", "id": "42fcf3d4fab243d3b3535b88da5520cb", "identifiers": [ [ @@ -164,7 +163,8 @@ "model": "Hue color lamp", "name": "Arbeitszimmer Martin Unten", "name_by_user": null, - "sw_version": "5.127.1.26420" + "sw_version": "5.127.1.26420", + "via_device_id": "8e09114c26574165a8f8fa43ff0c5395" }, { "area_id": "e58ae8bf5c7847af89a727d7949016f0", @@ -172,7 +172,6 @@ "e0ebcf51d57b4df4baaf36894d59979d" ], "connections": [], - "hub_device_id": "8e09114c26574165a8f8fa43ff0c5395", "id": "d285533d588c4dd98cb2184cd299b882", "identifiers": [ [ @@ -184,7 +183,8 @@ "model": "Hue lightstrip", "name": "K\u00fcche rechts", "name_by_user": null, - "sw_version": "5.127.1.26581" + "sw_version": "5.127.1.26581", + "via_device_id": "8e09114c26574165a8f8fa43ff0c5395" }, { "area_id": null, @@ -192,7 +192,6 @@ "e0ebcf51d57b4df4baaf36894d59979d" ], "connections": [], - "hub_device_id": "8e09114c26574165a8f8fa43ff0c5395", "id": "77b2e3e9e127481d8b508f8952c08762", "identifiers": [ [ @@ -204,7 +203,8 @@ "model": "Hue color lamp", "name": "Wohnzimmer Stehlampe", "name_by_user": null, - "sw_version": "5.127.1.26581" + "sw_version": "5.127.1.26581", + "via_device_id": "8e09114c26574165a8f8fa43ff0c5395" }, { "area_id": null, @@ -212,7 +212,6 @@ "e0ebcf51d57b4df4baaf36894d59979d" ], "connections": [], - "hub_device_id": "8e09114c26574165a8f8fa43ff0c5395", "id": "075d6edf32bb4d6e9c564101a3b253ca", "identifiers": [ [ @@ -224,7 +223,8 @@ "model": "Hue color lamp", "name": "Lampe ErsterStock", "name_by_user": null, - "sw_version": "5.105.0.21536" + "sw_version": "5.105.0.21536", + "via_device_id": "8e09114c26574165a8f8fa43ff0c5395" }, { "area_id": "e58ae8bf5c7847af89a727d7949016f0", @@ -232,7 +232,6 @@ "e0ebcf51d57b4df4baaf36894d59979d" ], "connections": [], - "hub_device_id": "8e09114c26574165a8f8fa43ff0c5395", "id": "4c3bbd2722774287bef53f0eae996c43", "identifiers": [ [ @@ -244,7 +243,8 @@ "model": "Hue lightstrip plus", "name": "K\u00fcche vorne", "name_by_user": null, - "sw_version": "5.127.1.26420" + "sw_version": "5.127.1.26420", + "via_device_id": "8e09114c26574165a8f8fa43ff0c5395" }, { "area_id": "46ebd507f8f348508653f61054f67eb0", @@ -252,7 +252,6 @@ "e0ebcf51d57b4df4baaf36894d59979d" ], "connections": [], - "hub_device_id": "8e09114c26574165a8f8fa43ff0c5395", "id": "ed71ab3618e04b26b65c561c48b12704", "identifiers": [ [ @@ -264,7 +263,8 @@ "model": "Hue color lamp", "name": "Arbeitszimmer Martin", "name_by_user": null, - "sw_version": "5.127.1.26420" + "sw_version": "5.127.1.26420", + "via_device_id": "8e09114c26574165a8f8fa43ff0c5395" }, { "area_id": null, @@ -272,7 +272,6 @@ "e0ebcf51d57b4df4baaf36894d59979d" ], "connections": [], - "hub_device_id": "8e09114c26574165a8f8fa43ff0c5395", "id": "c5d6ba59208e4f05a7f8e573f7372316", "identifiers": [ [ @@ -284,7 +283,8 @@ "model": "Hue color lamp", "name": "Wohnzimmer Kugel", "name_by_user": null, - "sw_version": "5.127.1.26581" + "sw_version": "5.127.1.26581", + "via_device_id": "8e09114c26574165a8f8fa43ff0c5395" }, { "area_id": null, @@ -292,7 +292,6 @@ "e0ebcf51d57b4df4baaf36894d59979d" ], "connections": [], - "hub_device_id": "8e09114c26574165a8f8fa43ff0c5395", "id": "973ccf8026ed4dec8ac55c0c646dafbd", "identifiers": [ [ @@ -304,7 +303,8 @@ "model": "Hue color lamp", "name": "Schlafzimmer", "name_by_user": null, - "sw_version": "5.127.1.26420" + "sw_version": "5.127.1.26420", + "via_device_id": "8e09114c26574165a8f8fa43ff0c5395" }, { "area_id": null, @@ -312,7 +312,6 @@ "e0ebcf51d57b4df4baaf36894d59979d" ], "connections": [], - "hub_device_id": "8e09114c26574165a8f8fa43ff0c5395", "id": "80f3a81098d345c5a848625f7c7f934f", "identifiers": [ [ @@ -324,7 +323,8 @@ "model": "Hue lightstrip", "name": "Gang Bogen", "name_by_user": null, - "sw_version": "5.127.1.26581" + "sw_version": "5.127.1.26581", + "via_device_id": "8e09114c26574165a8f8fa43ff0c5395" }, { "area_id": null, @@ -337,7 +337,6 @@ "uuid:75802409-bccb-40e7-8e6c-3431C416294A" ] ], - "hub_device_id": null, "id": "51f4012aed0b4093b353cdc851755281", "identifiers": [ [ @@ -349,7 +348,8 @@ "model": null, "name": "FRITZ!Box 7490", "name_by_user": null, - "sw_version": null + "sw_version": null, + "via_device_id": null }, { "area_id": null, @@ -357,7 +357,6 @@ "c4adbdd188db4f34ad27d14ba2d71abe" ], "connections": [], - "hub_device_id": null, "id": "cff99cfa5ca84b24ba4ff1883f08e02b", "identifiers": [ [ @@ -369,7 +368,8 @@ "model": null, "name": "FRITZ!Box 7490 packets/sec received", "name_by_user": null, - "sw_version": null + "sw_version": null, + "via_device_id": null }, { "area_id": null, @@ -377,7 +377,6 @@ "c4adbdd188db4f34ad27d14ba2d71abe" ], "connections": [], - "hub_device_id": null, "id": "8e45736652404feda92084feb86a5745", "identifiers": [ [ @@ -389,7 +388,8 @@ "model": null, "name": "FRITZ!Box 7490 packets received", "name_by_user": null, - "sw_version": null + "sw_version": null, + "via_device_id": null }, { "area_id": null, @@ -397,7 +397,6 @@ "c4adbdd188db4f34ad27d14ba2d71abe" ], "connections": [], - "hub_device_id": null, "id": "7df169040686480db2b1ad5979037e80", "identifiers": [ [ @@ -409,7 +408,8 @@ "model": null, "name": "FRITZ!Box 7490 packets sent", "name_by_user": null, - "sw_version": null + "sw_version": null, + "via_device_id": null }, { "area_id": null, @@ -417,7 +417,6 @@ "c4adbdd188db4f34ad27d14ba2d71abe" ], "connections": [], - "hub_device_id": null, "id": "dd9403c58f084442b1606fe616b3cfb7", "identifiers": [ [ @@ -429,7 +428,8 @@ "model": null, "name": "FRITZ!Box 7490 kbyte/sec received", "name_by_user": null, - "sw_version": null + "sw_version": null, + "via_device_id": null }, { "area_id": null, @@ -437,7 +437,6 @@ "c4adbdd188db4f34ad27d14ba2d71abe" ], "connections": [], - "hub_device_id": null, "id": "aa4821c78db245ef90119b9af6fd97bc", "identifiers": [ [ @@ -449,7 +448,8 @@ "model": null, "name": "FRITZ!Box 7490 bytes received", "name_by_user": null, - "sw_version": null + "sw_version": null, + "via_device_id": null }, { "area_id": null, @@ -457,7 +457,6 @@ "c4adbdd188db4f34ad27d14ba2d71abe" ], "connections": [], - "hub_device_id": null, "id": "620ada4df9fc493ca53677a979768dee", "identifiers": [ [ @@ -469,7 +468,8 @@ "model": null, "name": "FRITZ!Box 7490 packets/sec sent", "name_by_user": null, - "sw_version": null + "sw_version": null, + "via_device_id": null }, { "area_id": null, @@ -477,7 +477,6 @@ "c4adbdd188db4f34ad27d14ba2d71abe" ], "connections": [], - "hub_device_id": null, "id": "2d0e7717b4194ecca91589bd83bef38c", "identifiers": [ [ @@ -489,7 +488,8 @@ "model": null, "name": "FRITZ!Box 7490 bytes sent", "name_by_user": null, - "sw_version": null + "sw_version": null, + "via_device_id": null }, { "area_id": null, @@ -497,7 +497,6 @@ "c4adbdd188db4f34ad27d14ba2d71abe" ], "connections": [], - "hub_device_id": null, "id": "7465dff14c5e472d904ddb93b09b2770", "identifiers": [ [ @@ -509,7 +508,152 @@ "model": null, "name": "FRITZ!Box 7490 kbyte/sec sent", "name_by_user": null, - "sw_version": null + "sw_version": null, + "via_device_id": null + }, + { + "area_id": null, + "config_entries": [ + "663be35bc88343568ce876c17f04d781" + ], + "connections": [], + "id": "b6158f158b16427388a5dda943f494dd", + "identifiers": [ + [ + "owntracks", + "martin_ipad" + ] + ], + "manufacturer": null, + "model": null, + "name": null, + "name_by_user": null, + "sw_version": null, + "via_device_id": null + }, + { + "area_id": null, + "config_entries": [ + "663be35bc88343568ce876c17f04d781" + ], + "connections": [], + "id": "79711ec2ac314065a532b321eef24950", + "identifiers": [ + [ + "owntracks", + "martin_handy" + ] + ], + "manufacturer": null, + "model": null, + "name": null, + "name_by_user": null, + "sw_version": null, + "via_device_id": null + }, + { + "area_id": null, + "config_entries": [ + "ed94faecc60f4d25baf616a3fcd3b2ce" + ], + "connections": [], + "id": "c9c5a90d2665455f9445254dc9f71495", + "identifiers": [ + [ + "webhook_id", + "c4707baa6eef9f03781be57ea4a5a80c5634b41a17dcbb3699ab97d24ad0cd19" + ], + [ + "device_id", + "aba3eef2eb0d44eab143c525f5b0b190" + ] + ], + "manufacturer": "HUAWEI", + "model": "HWVTR", + "name": "Martin_Handy", + "name_by_user": null, + "sw_version": "9", + "via_device_id": null + }, + { + "area_id": null, + "config_entries": [ + "ed94faecc60f4d25baf616a3fcd3b2ce" + ], + "connections": [], + "id": "a3fab10c0b1a4d9fbfac923d114fb303", + "identifiers": [ + [ + "mobile_app", + "aba3eef2eb0d44eab143c525f5b0b190" + ] + ], + "manufacturer": "HUAWEI", + "model": "HWVTR", + "name": null, + "name_by_user": null, + "sw_version": "9", + "via_device_id": null + }, + { + "area_id": null, + "config_entries": [ + "663be35bc88343568ce876c17f04d781" + ], + "connections": [], + "id": "487189a878ca49ad91d6b79ec3c7b70a", + "identifiers": [ + [ + "owntracks", + "beacon_Eingang" + ] + ], + "manufacturer": null, + "model": null, + "name": "Eingang", + "name_by_user": null, + "sw_version": null, + "via_device_id": null + }, + { + "area_id": null, + "config_entries": [ + "663be35bc88343568ce876c17f04d781" + ], + "connections": [], + "id": "b3954be50d02456ca1cf62085677d14d", + "identifiers": [ + [ + "owntracks", + "beacon_Arbeit" + ] + ], + "manufacturer": null, + "model": null, + "name": "Arbeit", + "name_by_user": null, + "sw_version": null, + "via_device_id": null + }, + { + "area_id": null, + "config_entries": [ + "663be35bc88343568ce876c17f04d781" + ], + "connections": [], + "id": "9b59a0accd104bb781b7136756c15835", + "identifiers": [ + [ + "owntracks", + "beacon_Auto" + ] + ], + "manufacturer": null, + "model": null, + "name": "Auto", + "name_by_user": null, + "sw_version": null, + "via_device_id": null } ] }, diff --git a/.storage/core.entity_registry b/.storage/core.entity_registry index c5f34da..209e0c5 100644 --- a/.storage/core.entity_registry +++ b/.storage/core.entity_registry @@ -270,6 +270,60 @@ "name": null, "platform": "squeezebox_telnet", "unique_id": "01:86:d5:2c:c9:d4" + }, + { + "config_entry_id": "663be35bc88343568ce876c17f04d781", + "device_id": "b6158f158b16427388a5dda943f494dd", + "disabled_by": null, + "entity_id": "device_tracker.martin_ipad", + "name": null, + "platform": "owntracks", + "unique_id": "martin_ipad" + }, + { + "config_entry_id": "663be35bc88343568ce876c17f04d781", + "device_id": "79711ec2ac314065a532b321eef24950", + "disabled_by": null, + "entity_id": "device_tracker.martin_handy", + "name": null, + "platform": "owntracks", + "unique_id": "martin_handy" + }, + { + "config_entry_id": "ed94faecc60f4d25baf616a3fcd3b2ce", + "device_id": "a3fab10c0b1a4d9fbfac923d114fb303", + "disabled_by": null, + "entity_id": "device_tracker.martin_handy_2", + "name": null, + "platform": "mobile_app", + "unique_id": "aba3eef2eb0d44eab143c525f5b0b190" + }, + { + "config_entry_id": "663be35bc88343568ce876c17f04d781", + "device_id": "487189a878ca49ad91d6b79ec3c7b70a", + "disabled_by": null, + "entity_id": "device_tracker.beacon_eingang", + "name": null, + "platform": "owntracks", + "unique_id": "beacon_Eingang" + }, + { + "config_entry_id": "663be35bc88343568ce876c17f04d781", + "device_id": "b3954be50d02456ca1cf62085677d14d", + "disabled_by": null, + "entity_id": "device_tracker.beacon_arbeit", + "name": null, + "platform": "owntracks", + "unique_id": "beacon_Arbeit" + }, + { + "config_entry_id": "663be35bc88343568ce876c17f04d781", + "device_id": "9b59a0accd104bb781b7136756c15835", + "disabled_by": null, + "entity_id": "device_tracker.beacon_auto", + "name": null, + "platform": "owntracks", + "unique_id": "beacon_Auto" } ] }, diff --git a/.storage/core.restore_state b/.storage/core.restore_state index 95527e0..cfb8736 100644 --- a/.storage/core.restore_state +++ b/.storage/core.restore_state @@ -1,7 +1,7 @@ { "data": [ { - "last_seen": "2019-06-30T20:14:56.454572+00:00", + "last_seen": "2019-07-03T20:03:36.004055+00:00", "state": { "attributes": { "editable": true, @@ -10,15 +10,148 @@ "user_id": "2ffcb10d3db745b396789364fdef72ec" }, "context": { - "id": "884b8311871a4d9ca5feb6aef40fdd69", + "id": "e061ac3f371d47eaa263359d0cee919e", "parent_id": null, "user_id": null }, "entity_id": "person.martin_bauer", - "last_changed": "2019-06-30T18:28:59.064041+00:00", - "last_updated": "2019-06-30T18:29:09.301522+00:00", + "last_changed": "2019-07-03T19:03:26.833433+00:00", + "last_updated": "2019-07-03T19:03:32.655690+00:00", "state": "unknown" } + }, + { + "last_seen": "2019-07-03T20:03:36.004055+00:00", + "state": { + "attributes": { + "friendly_name": "Martin_Handy", + "source_type": "gps" + }, + "context": { + "id": "7fd5d7fa8d1243d486f87c68c3a00fa0", + "parent_id": null, + "user_id": null + }, + "entity_id": "device_tracker.martin_handy_2", + "last_changed": "2019-07-03T19:03:31.576127+00:00", + "last_updated": "2019-07-03T19:03:31.576127+00:00", + "state": "unknown" + } + }, + { + "last_seen": "2019-07-03T20:03:36.004055+00:00", + "state": { + "attributes": { + "battery_level": 32, + "friendly_name": "martin", + "gps_accuracy": 4, + "latitude": 49.3941723, + "longitude": 10.9965571, + "source_type": "gps" + }, + "context": { + "id": "d781d9b97f994836a03872931c829678", + "parent_id": null, + "user_id": null + }, + "entity_id": "device_tracker.martin_handy", + "last_changed": "2019-07-03T19:03:31.960722+00:00", + "last_updated": "2019-07-03T19:03:31.960722+00:00", + "state": "not_home" + } + }, + { + "last_seen": "2019-07-03T20:03:36.004055+00:00", + "state": { + "attributes": { + "battery_level": 40, + "friendly_name": "martin", + "gps_accuracy": 10, + "latitude": 49.369476318359375, + "longitude": 10.983892511586642, + "source_type": "bluetooth_le", + "tid": "50", + "velocity": 0 + }, + "context": { + "id": "2a2e48e316674586bd8e4385e55e7d56", + "parent_id": null, + "user_id": null + }, + "entity_id": "device_tracker.martin_ipad", + "last_changed": "2019-07-03T19:03:31.962857+00:00", + "last_updated": "2019-07-03T20:03:10.153610+00:00", + "state": "home" + } + }, + { + "last_seen": "2019-07-03T20:03:36.004055+00:00", + "state": { + "attributes": { + "friendly_name": "Eingang", + "gps_accuracy": 10, + "latitude": 49.369476318359375, + "longitude": 10.983892511586642, + "source_type": "bluetooth_le", + "tid": "50", + "velocity": 0 + }, + "context": { + "id": "6ccc51adc2ec490895285cf2d696bdc5", + "parent_id": null, + "user_id": null + }, + "entity_id": "device_tracker.beacon_eingang", + "last_changed": "2019-07-03T19:19:42.303698+00:00", + "last_updated": "2019-07-03T20:03:10.158108+00:00", + "state": "home" + } + }, + { + "last_seen": "2019-07-03T20:03:36.004055+00:00", + "state": { + "attributes": { + "friendly_name": "Arbeit", + "gps_accuracy": 10, + "latitude": 49.369476318359375, + "longitude": 10.983892511586642, + "source_type": "bluetooth_le", + "tid": "50", + "velocity": 0 + }, + "context": { + "id": "9f73aa9812e14da99ac5c397959e0352", + "parent_id": null, + "user_id": null + }, + "entity_id": "device_tracker.beacon_arbeit", + "last_changed": "2019-07-03T19:55:31.126724+00:00", + "last_updated": "2019-07-03T20:03:10.155892+00:00", + "state": "home" + } + }, + { + "last_seen": "2019-07-03T20:03:36.004055+00:00", + "state": { + "attributes": { + "friendly_name": "Auto", + "gps_accuracy": 10, + "latitude": 49.369476318359375, + "longitude": 10.983892511586642, + "source_type": "bluetooth_le", + "tid": "50", + "velocity": 0 + }, + "context": { + "id": "811c0487c5324fa398fcf32a60c21626", + "parent_id": null, + "user_id": null + }, + "entity_id": "device_tracker.beacon_auto", + "last_changed": "2019-07-03T20:00:59.938367+00:00", + "last_updated": "2019-07-03T20:01:00.947906+00:00", + "state": "home" + } } ], "key": "core.restore_state", diff --git a/.storage/lovelace b/.storage/lovelace index 5cd4cc4..9f48789 100644 --- a/.storage/lovelace +++ b/.storage/lovelace @@ -12,7 +12,7 @@ }, { "type": "js", - "url": "/local/custom_ui/lovelace-toggle-lock-entity-row/toggle-lock-entity-row.js" + "url": "/local/custom_ui/toggle-lock-entity-row.js" }, { "type": "module", diff --git a/config_creation/manual_config.yaml b/config_creation/manual_config.yaml index 9bd2943..17d137b 100644 --- a/config_creation/manual_config.yaml +++ b/config_creation/manual_config.yaml @@ -36,6 +36,18 @@ homeassistant: half_position: 25 +zone: + - name: Uni + latitude: 49.573626 + longitude: 11.029467 + radius: 30 + icon: mdi:office-building + +owntracks: + max_gps_accuracy: 200 + waypoints: false + + # Custom stuff dimmer: cover_half: diff --git a/config_creation/secrets_deploy.yaml b/config_creation/secrets_deploy.yaml index aba5218..b416804 100644 --- a/config_creation/secrets_deploy.yaml +++ b/config_creation/secrets_deploy.yaml @@ -1,2 +1,2 @@ local_ip: 192.168.178.80 -knxd_host: 127.0.0.1 #directly the network bridge: 192.168.178.65 +knxd_host: 192.168.178.80 #directly the network bridge: 192.168.178.65