added homeassistant and updated esphome

This commit is contained in:
root
2024-06-27 17:30:58 -07:00
parent 4015fe1915
commit da9ee87977
44 changed files with 1254 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
version: '3'
services:
esphome:
container_name: esphome
image: ghcr.io/esphome/esphome
volumes:
- /path/to/esphome/config:/config
- /etc/localtime:/etc/localtime:ro
restart: always
privileged: true
network_mode: host
environment:
- USERNAME=test
- PASSWORD=ChangeMe

View File

@@ -0,0 +1,30 @@
services:
homeassistant:
image: lscr.io/linuxserver/homeassistant:latest
container_name: homeassistant
environment:
- PUID=2000
- PGID=2000
- TZ=America/Los_Angeles
volumes:
- /opt/docker/conf/homeassistant:/config
ports:
- 80:8123 #optional
# devices:
# - /path/to/device:/path/to/device #optional
restart: unless-stopped
env_file:
- .env
labels:
- homepage.group=Apps
- homepage.name=Home Assistant
- homepage.icon=si-homeassistant
- homepage.description=Home Automation (esh)
- homepage.href=http://10.0.50.46
networks:
macvlan-net:
ipv4_address: 10.0.50.46
networks:
macvlan-net:
external: true
name: macvlan-net

View File

@@ -16,7 +16,8 @@ services:
- tnet
labels:
- traefik.enable=true
- traefik.http.routers.homepage.rule=host(`eshhome`)
- traefik.http.routers.homepage.rule=host(`eshhome`) ||
host(`10.0.50.45`) || host (`eshhome.esteban.net`)
- traefik.http.services.homepage.loadbalancer.server.port=3000
- traefik.http.routers.homepage.priority=1
networks:

Binary file not shown.

View File

@@ -80,3 +80,26 @@
[2024-06-20 04:10:00,014] INFO {apscheduler.executors.default:144} Job "end scheduled task (trigger: cron[hour='4', minute='10'], next run at: 2024-06-21 04:10:00 UTC)" executed successfully
[2024-06-21 04:10:00,000] INFO {apscheduler.executors.default:123} Running job "end scheduled task (trigger: cron[hour='4', minute='10'], next run at: 2024-06-22 04:10:00 UTC)" (scheduled at 2024-06-21 04:10:00+00:00)
[2024-06-21 04:10:00,002] INFO {apscheduler.executors.default:144} Job "end scheduled task (trigger: cron[hour='4', minute='10'], next run at: 2024-06-22 04:10:00 UTC)" executed successfully
[2024-06-22 04:10:00,005] INFO {apscheduler.executors.default:123} Running job "end scheduled task (trigger: cron[hour='4', minute='10'], next run at: 2024-06-23 04:10:00 UTC)" (scheduled at 2024-06-22 04:10:00+00:00)
[2024-06-22 04:10:00,005] INFO {apscheduler.executors.default:144} Job "end scheduled task (trigger: cron[hour='4', minute='10'], next run at: 2024-06-23 04:10:00 UTC)" executed successfully
[2024-06-23 04:10:00,001] INFO {apscheduler.executors.default:123} Running job "end scheduled task (trigger: cron[hour='4', minute='10'], next run at: 2024-06-24 04:10:00 UTC)" (scheduled at 2024-06-23 04:10:00+00:00)
[2024-06-23 04:10:00,001] INFO {apscheduler.executors.default:144} Job "end scheduled task (trigger: cron[hour='4', minute='10'], next run at: 2024-06-24 04:10:00 UTC)" executed successfully
[2024-06-24 04:10:00,000] INFO {apscheduler.executors.default:123} Running job "end scheduled task (trigger: cron[hour='4', minute='10'], next run at: 2024-06-25 04:10:00 UTC)" (scheduled at 2024-06-24 04:10:00+00:00)
[2024-06-24 04:10:00,000] INFO {apscheduler.executors.default:144} Job "end scheduled task (trigger: cron[hour='4', minute='10'], next run at: 2024-06-25 04:10:00 UTC)" executed successfully
[2024-06-25 04:10:00,000] INFO {apscheduler.executors.default:123} Running job "end scheduled task (trigger: cron[hour='4', minute='10'], next run at: 2024-06-26 04:10:00 UTC)" (scheduled at 2024-06-25 04:10:00+00:00)
[2024-06-25 04:10:00,000] INFO {apscheduler.executors.default:144} Job "end scheduled task (trigger: cron[hour='4', minute='10'], next run at: 2024-06-26 04:10:00 UTC)" executed successfully
[2024-06-26 04:10:00,000] INFO {apscheduler.executors.default:123} Running job "end scheduled task (trigger: cron[hour='4', minute='10'], next run at: 2024-06-27 04:10:00 UTC)" (scheduled at 2024-06-26 04:10:00+00:00)
[2024-06-26 04:10:00,000] INFO {apscheduler.executors.default:144} Job "end scheduled task (trigger: cron[hour='4', minute='10'], next run at: 2024-06-27 04:10:00 UTC)" executed successfully
[2024-06-26 18:09:24,071] WARN {cps.web:1409} Login failed for user "lkraven" IP-address: ::ffff:10.100.245.100
[2024-06-26 18:09:26,773] WARN {cps.web:1409} Login failed for user "lkraven" IP-address: ::ffff:10.100.245.100
[2024-06-26 18:09:31,809] WARN {cps.web:1409} Login failed for user "admin" IP-address: ::ffff:10.100.245.100
[2024-06-26 18:09:34,771] ERROR {cps.db:867} Author Kagan, Robert not found to display name in right order
[2024-06-26 18:09:46,548] INFO {cps.helper:962} Downloading file: /books/David Gibbins/A History of the World in Twelve Shipwrecks (16)/A History of the World in Twelve Shipwreck - David Gibbins.epub
[2024-06-26 18:09:53,477] INFO {cps.helper:962} Downloading file: /books/Victor G. Kiernan;/European Empires From Conquest to Collapse, 1815-1960 (15)/European Empires From Conquest to Collapse - Victor G. Kiernan;.epub
[2024-06-26 18:09:57,248] INFO {cps.helper:962} Downloading file: /books/Doris Kearns Goodwin/An Unfinished Love Story_ A Personal History of the 1960s (14)/An Unfinished Love Story_ A Personal Histo - Doris Kearns Goodwin.epub
[2024-06-26 18:09:59,663] ERROR {cps.db:867} Author Kagan, Robert not found to display name in right order
[2024-06-26 18:10:01,095] INFO {cps.helper:962} Downloading file: /books/Robert Kagan;/The Ghost at the Feast_ America and the Collapse of World Order, 1900-1941 (13)/The Ghost at the Feast_ America and the Co - Robert Kagan;.epub
[2024-06-26 18:10:05,875] INFO {cps.helper:962} Downloading file: /books/Stewart Gordon/A History of the World in Sixteen Shipwrecks (11)/A History of the World in Sixteen Shipwrec - Stewart Gordon.epub
[2024-06-26 18:10:10,091] INFO {cps.helper:962} Downloading file: /books/Emmanuel Acho/Uncomfortable Conversations with a Jew (10)/Uncomfortable Conversations with a Jew - Emmanuel Acho.epub
[2024-06-27 04:10:00,003] INFO {apscheduler.executors.default:123} Running job "end scheduled task (trigger: cron[hour='4', minute='10'], next run at: 2024-06-28 04:10:00 UTC)" (scheduled at 2024-06-27 04:10:00+00:00)
[2024-06-27 04:10:00,006] INFO {apscheduler.executors.default:144} Job "end scheduled task (trigger: cron[hour='4', minute='10'], next run at: 2024-06-28 04:10:00 UTC)" executed successfully

View File

@@ -0,0 +1 @@
2024.6.4

View File

@@ -0,0 +1,24 @@
{
"version": 1,
"minor_version": 2,
"key": "assist_pipeline.pipelines",
"data": {
"items": [
{
"conversation_engine": "conversation.home_assistant",
"conversation_language": "en",
"id": "01j19gp33np1ec7gbb0ejf6s0k",
"language": "en",
"name": "Home Assistant",
"stt_engine": null,
"stt_language": null,
"tts_engine": "cloud",
"tts_language": "en-US",
"tts_voice": "JennyNeural",
"wake_word_entity": null,
"wake_word_id": null
}
],
"preferred_item": "01j19gp33np1ec7gbb0ejf6s0k"
}
}

View File

@@ -0,0 +1,126 @@
{
"version": 1,
"minor_version": 1,
"key": "auth",
"data": {
"users": [
{
"id": "4230e74325104e22812c9d9fc45dbbc3",
"group_ids": [
"system-read-only"
],
"is_owner": false,
"is_active": true,
"name": "Home Assistant Content",
"system_generated": true,
"local_only": false
},
{
"id": "206eef0d818b49099e4ca5d844d0e473",
"group_ids": [
"system-admin"
],
"is_owner": true,
"is_active": true,
"name": "L. Kraven",
"system_generated": false,
"local_only": false
}
],
"groups": [
{
"id": "system-admin",
"name": "Administrators"
},
{
"id": "system-users",
"name": "Users"
},
{
"id": "system-read-only",
"name": "Read Only"
}
],
"credentials": [
{
"id": "b061e96aad474454987788c65d6249bd",
"user_id": "206eef0d818b49099e4ca5d844d0e473",
"auth_provider_type": "homeassistant",
"auth_provider_id": null,
"data": {
"username": "lkraven"
}
}
],
"refresh_tokens": [
{
"id": "1c2961082301400ba254b15218bf03ec",
"user_id": "4230e74325104e22812c9d9fc45dbbc3",
"client_id": null,
"client_name": null,
"client_icon": null,
"token_type": "system",
"created_at": "2024-06-26T05:35:50.334614+00:00",
"access_token_expiration": 1800.0,
"token": "79c9fed714935439a53cd567071533b86d24585f0ec4e59570ef9970329be68bb695e0cce94a41f4b1d2a1cc314a51f4ab4c352e4f69cc1d913d3b69f07035d9",
"jwt_key": "d38388276a9bffaa363ce2a391273e669e70c27b2c95598dff03d5b6d5c7e415e3afafeda74f2c92819e23039e02a2a82bf2f7789b79f6fbf446731cba428ffe",
"last_used_at": null,
"last_used_ip": null,
"expire_at": null,
"credential_id": null,
"version": "2024.6.4"
},
{
"id": "af358d38ee634e1a8a37ce59707fb503",
"user_id": "206eef0d818b49099e4ca5d844d0e473",
"client_id": "http://10.0.50.45:8123/",
"client_name": null,
"client_icon": null,
"token_type": "normal",
"created_at": "2024-06-26T05:36:34.007316+00:00",
"access_token_expiration": 1800.0,
"token": "3feb3f445abbeb3b077f4f686a9673402e343fed1c46914ed9e0416b0d721740977f65de71911912acb5031fd67b4d201773461f8011a272118b27d7923e0745",
"jwt_key": "136cb885d98791163fe6232018d4fb3985f050367658053b5d7d64e1da59c22bef1e30b9ad416ec8c155421f7f3ee898966c14eb2debb0ae15c52db8d0a61a0e",
"last_used_at": "2024-06-26T05:36:34.007340+00:00",
"last_used_ip": "10.0.10.10",
"expire_at": 1727156194.00734,
"credential_id": "b061e96aad474454987788c65d6249bd",
"version": "2024.6.4"
},
{
"id": "b84fe32514b14ebe9d97dec6a33d31c4",
"user_id": "206eef0d818b49099e4ca5d844d0e473",
"client_id": "http://10.0.50.45:8123/",
"client_name": null,
"client_icon": null,
"token_type": "normal",
"created_at": "2024-06-26T05:37:07.432250+00:00",
"access_token_expiration": 1800.0,
"token": "0faacda098bb06eb12c42e0d90bbbd9b92620bdc5e56865e362e309c691cdd8e231eda76e25acf59194715a6341b986ebff3902472d125b801c5d76865ab3540",
"jwt_key": "1d57e9b22ddc0b9dc08c5594e281bc923a034f064aa81a987999200008e9b86bf17b14b22f624f1ed4b1c0150f0b5a098ef4870957d5c887633f4e8cb4bf163b",
"last_used_at": "2024-06-26T23:45:50.556296+00:00",
"last_used_ip": "10.0.10.10",
"expire_at": 1727221550.556296,
"credential_id": "b061e96aad474454987788c65d6249bd",
"version": "2024.6.4"
},
{
"id": "14c96f571a8948c49e0da86b29f27d6e",
"user_id": "206eef0d818b49099e4ca5d844d0e473",
"client_id": "http://10.0.50.46:8123/",
"client_name": null,
"client_icon": null,
"token_type": "normal",
"created_at": "2024-06-27T02:52:29.173564+00:00",
"access_token_expiration": 1800.0,
"token": "38a70aafc5f6aa67761f4b4d1735f721462208e7a3b9f2996317f332229a1ccfe226bcf79c3ed68b63300767ffcc7513b777114f12921b1c4945a3dc000b9f9e",
"jwt_key": "35a612e85acacd995fb47606d4e688de413345e42f8eac3ed5f383e84274f5f98af4858339a0e418eb7eb1089cf994c40fd4e934cf556cd1eba561bf8e0ed6c3",
"last_used_at": "2024-06-27T02:52:29.173607+00:00",
"last_used_ip": "10.0.10.10",
"expire_at": 1727232749.173607,
"credential_id": "b061e96aad474454987788c65d6249bd",
"version": "2024.6.4"
}
]
}
}

View File

@@ -0,0 +1,13 @@
{
"version": 1,
"minor_version": 1,
"key": "auth_provider.homeassistant",
"data": {
"users": [
{
"username": "lkraven",
"password": "JDJiJDEyJEoyL2ZWLnI0WnZDOC83bUpuTHNWWnUzc3R0cnNnNW9KbGh2WVNkcWxLeWNLWHF3TFlOR0gy"
}
]
}
}

View File

@@ -0,0 +1,6 @@
{
"version": 1,
"minor_version": 1,
"key": "bluetooth.passive_update_processor",
"data": {}
}

View File

@@ -0,0 +1,10 @@
{
"version": 1,
"minor_version": 1,
"key": "core.analytics",
"data": {
"onboarded": true,
"preferences": {},
"uuid": null
}
}

View File

@@ -0,0 +1,36 @@
{
"version": 1,
"minor_version": 6,
"key": "core.area_registry",
"data": {
"areas": [
{
"aliases": [],
"floor_id": null,
"icon": null,
"id": "living_room",
"labels": [],
"name": "Living Room",
"picture": null
},
{
"aliases": [],
"floor_id": null,
"icon": null,
"id": "kitchen",
"labels": [],
"name": "Kitchen",
"picture": null
},
{
"aliases": [],
"floor_id": null,
"icon": null,
"id": "bedroom",
"labels": [],
"name": "Bedroom",
"picture": null
}
]
}
}

View File

@@ -0,0 +1,18 @@
{
"version": 1,
"minor_version": 3,
"key": "core.config",
"data": {
"latitude": 33.577810099999994,
"longitude": -117.65576957619618,
"elevation": 0,
"unit_system_v2": "us_customary",
"location_name": "Home",
"time_zone": "America/Los_Angeles",
"external_url": null,
"internal_url": null,
"currency": "USD",
"country": "US",
"language": "en"
}
}

View File

@@ -0,0 +1,106 @@
{
"version": 1,
"minor_version": 2,
"key": "core.config_entries",
"data": {
"entries": [
{
"data": {},
"disabled_by": null,
"domain": "sun",
"entry_id": "e77d274334cb9c5b5feab2b46c06637a",
"minor_version": 1,
"options": {},
"pref_disable_new_entities": false,
"pref_disable_polling": false,
"source": "import",
"title": "Sun",
"unique_id": null,
"version": 1
},
{
"data": {},
"disabled_by": null,
"domain": "radio_browser",
"entry_id": "ac4be7f47ba80486b9754bd6c7a3c44e",
"minor_version": 1,
"options": {},
"pref_disable_new_entities": false,
"pref_disable_polling": false,
"source": "onboarding",
"title": "Radio Browser",
"unique_id": null,
"version": 1
},
{
"data": {},
"disabled_by": null,
"domain": "shopping_list",
"entry_id": "702a568b430e174d0390f077ed01f35c",
"minor_version": 1,
"options": {},
"pref_disable_new_entities": false,
"pref_disable_polling": false,
"source": "onboarding",
"title": "Shopping list",
"unique_id": "shopping_list",
"version": 1
},
{
"data": {
"track_home": true
},
"disabled_by": null,
"domain": "met",
"entry_id": "5a53325884aa312db0927b7ce29b368d",
"minor_version": 1,
"options": {},
"pref_disable_new_entities": false,
"pref_disable_polling": false,
"source": "onboarding",
"title": "Home",
"unique_id": null,
"version": 1
},
{
"data": {
"language": "en",
"tld": "com"
},
"disabled_by": null,
"domain": "google_translate",
"entry_id": "d9e5134c2fa1804964ae91d824a3cd9d",
"minor_version": 1,
"options": {},
"pref_disable_new_entities": false,
"pref_disable_polling": false,
"source": "onboarding",
"title": "Google Translate text-to-speech",
"unique_id": null,
"version": 1
},
{
"data": {
"host": "10.0.90.21",
"port": 6053,
"password": "",
"noise_psk": "",
"device_name": "sonoff_s31"
},
"disabled_by": null,
"domain": "esphome",
"entry_id": "467ec89ad8dba13d3a42a36d47bc098f",
"minor_version": 1,
"options": {
"allow_service_calls": true
},
"pref_disable_new_entities": false,
"pref_disable_polling": false,
"source": "user",
"title": "sonoff_s31",
"unique_id": "08:f9:e0:63:ba:60",
"version": 1
}
]
}
}

View File

@@ -0,0 +1,13 @@
{
"version": 1,
"minor_version": 5,
"key": "core.device_registry",
"data": {
"devices": [
{"area_id":null,"config_entries":["e77d274334cb9c5b5feab2b46c06637a"],"configuration_url":null,"connections":[],"disabled_by":null,"entry_type":"service","hw_version":null,"id":"976de24d8be137203842f00e48faac94","identifiers":[["sun","e77d274334cb9c5b5feab2b46c06637a"]],"labels":[],"manufacturer":null,"model":null,"name_by_user":null,"name":"Sun","serial_number":null,"sw_version":null,"via_device_id":null},
{"area_id":null,"config_entries":["5a53325884aa312db0927b7ce29b368d"],"configuration_url":"https://www.met.no/en","connections":[],"disabled_by":null,"entry_type":"service","hw_version":null,"id":"74f66ed7907bb1442a8ea2d8683ef0f9","identifiers":[["met","5a53325884aa312db0927b7ce29b368d"]],"labels":[],"manufacturer":"Met.no","model":"Forecast","name_by_user":null,"name":"Forecast","serial_number":null,"sw_version":null,"via_device_id":null},
{"area_id":"kitchen","config_entries":["467ec89ad8dba13d3a42a36d47bc098f"],"configuration_url":null,"connections":[["mac","08:f9:e0:63:ba:60"]],"disabled_by":null,"entry_type":null,"hw_version":null,"id":"0fa1359b223698d43cbf53093ef59b3b","identifiers":[],"labels":[],"manufacturer":"Espressif","model":"esp01_1m","name_by_user":"Sonoff S31 - GCV82","name":"Sonoff S31","serial_number":null,"sw_version":"2024.6.2 (Jun 25 2024, 22:46:58)","via_device_id":null}
],
"deleted_devices": []
}
}

View File

@@ -0,0 +1,34 @@
{
"version": 1,
"minor_version": 14,
"key": "core.entity_registry",
"data": {
"entities": [
{"aliases":[],"area_id":null,"categories":{},"capabilities":null,"config_entry_id":"e77d274334cb9c5b5feab2b46c06637a","device_class":null,"device_id":"976de24d8be137203842f00e48faac94","disabled_by":null,"entity_category":"diagnostic","entity_id":"sensor.sun_next_dawn","hidden_by":null,"icon":null,"id":"71e21f96af30d602b2c9665942a95b82","has_entity_name":true,"labels":[],"name":null,"options":{"conversation":{"should_expose":false}},"original_device_class":"timestamp","original_icon":null,"original_name":"Next dawn","platform":"sun","supported_features":0,"translation_key":"next_dawn","unique_id":"e77d274334cb9c5b5feab2b46c06637a-next_dawn","previous_unique_id":null,"unit_of_measurement":null},
{"aliases":[],"area_id":null,"categories":{},"capabilities":null,"config_entry_id":"e77d274334cb9c5b5feab2b46c06637a","device_class":null,"device_id":"976de24d8be137203842f00e48faac94","disabled_by":null,"entity_category":"diagnostic","entity_id":"sensor.sun_next_dusk","hidden_by":null,"icon":null,"id":"945d6eef9380720419602fc216eb95f9","has_entity_name":true,"labels":[],"name":null,"options":{"conversation":{"should_expose":false}},"original_device_class":"timestamp","original_icon":null,"original_name":"Next dusk","platform":"sun","supported_features":0,"translation_key":"next_dusk","unique_id":"e77d274334cb9c5b5feab2b46c06637a-next_dusk","previous_unique_id":null,"unit_of_measurement":null},
{"aliases":[],"area_id":null,"categories":{},"capabilities":null,"config_entry_id":"e77d274334cb9c5b5feab2b46c06637a","device_class":null,"device_id":"976de24d8be137203842f00e48faac94","disabled_by":null,"entity_category":"diagnostic","entity_id":"sensor.sun_next_midnight","hidden_by":null,"icon":null,"id":"46e0b39c5aae4feb1f6e5aacc5162426","has_entity_name":true,"labels":[],"name":null,"options":{"conversation":{"should_expose":false}},"original_device_class":"timestamp","original_icon":null,"original_name":"Next midnight","platform":"sun","supported_features":0,"translation_key":"next_midnight","unique_id":"e77d274334cb9c5b5feab2b46c06637a-next_midnight","previous_unique_id":null,"unit_of_measurement":null},
{"aliases":[],"area_id":null,"categories":{},"capabilities":null,"config_entry_id":"e77d274334cb9c5b5feab2b46c06637a","device_class":null,"device_id":"976de24d8be137203842f00e48faac94","disabled_by":null,"entity_category":"diagnostic","entity_id":"sensor.sun_next_noon","hidden_by":null,"icon":null,"id":"f6ad94463d436193341980a1a344c73d","has_entity_name":true,"labels":[],"name":null,"options":{"conversation":{"should_expose":false}},"original_device_class":"timestamp","original_icon":null,"original_name":"Next noon","platform":"sun","supported_features":0,"translation_key":"next_noon","unique_id":"e77d274334cb9c5b5feab2b46c06637a-next_noon","previous_unique_id":null,"unit_of_measurement":null},
{"aliases":[],"area_id":null,"categories":{},"capabilities":null,"config_entry_id":"e77d274334cb9c5b5feab2b46c06637a","device_class":null,"device_id":"976de24d8be137203842f00e48faac94","disabled_by":null,"entity_category":"diagnostic","entity_id":"sensor.sun_next_rising","hidden_by":null,"icon":null,"id":"cb6bc898fe5d55d83c2811fa567a080d","has_entity_name":true,"labels":[],"name":null,"options":{"conversation":{"should_expose":false}},"original_device_class":"timestamp","original_icon":null,"original_name":"Next rising","platform":"sun","supported_features":0,"translation_key":"next_rising","unique_id":"e77d274334cb9c5b5feab2b46c06637a-next_rising","previous_unique_id":null,"unit_of_measurement":null},
{"aliases":[],"area_id":null,"categories":{},"capabilities":null,"config_entry_id":"e77d274334cb9c5b5feab2b46c06637a","device_class":null,"device_id":"976de24d8be137203842f00e48faac94","disabled_by":null,"entity_category":"diagnostic","entity_id":"sensor.sun_next_setting","hidden_by":null,"icon":null,"id":"e0087e943697870e958b65c49f4ba786","has_entity_name":true,"labels":[],"name":null,"options":{"conversation":{"should_expose":false}},"original_device_class":"timestamp","original_icon":null,"original_name":"Next setting","platform":"sun","supported_features":0,"translation_key":"next_setting","unique_id":"e77d274334cb9c5b5feab2b46c06637a-next_setting","previous_unique_id":null,"unit_of_measurement":null},
{"aliases":[],"area_id":null,"categories":{},"capabilities":{"state_class":"measurement"},"config_entry_id":"e77d274334cb9c5b5feab2b46c06637a","device_class":null,"device_id":"976de24d8be137203842f00e48faac94","disabled_by":"integration","entity_category":"diagnostic","entity_id":"sensor.sun_solar_elevation","hidden_by":null,"icon":null,"id":"a7a8d2eb3fcc879353c594eee16ea822","has_entity_name":true,"labels":[],"name":null,"options":{},"original_device_class":null,"original_icon":null,"original_name":"Solar elevation","platform":"sun","supported_features":0,"translation_key":"solar_elevation","unique_id":"e77d274334cb9c5b5feab2b46c06637a-solar_elevation","previous_unique_id":null,"unit_of_measurement":"°"},
{"aliases":[],"area_id":null,"categories":{},"capabilities":{"state_class":"measurement"},"config_entry_id":"e77d274334cb9c5b5feab2b46c06637a","device_class":null,"device_id":"976de24d8be137203842f00e48faac94","disabled_by":"integration","entity_category":"diagnostic","entity_id":"sensor.sun_solar_azimuth","hidden_by":null,"icon":null,"id":"a2dd9faa051b85d238e58eabc25b3a26","has_entity_name":true,"labels":[],"name":null,"options":{},"original_device_class":null,"original_icon":null,"original_name":"Solar azimuth","platform":"sun","supported_features":0,"translation_key":"solar_azimuth","unique_id":"e77d274334cb9c5b5feab2b46c06637a-solar_azimuth","previous_unique_id":null,"unit_of_measurement":"°"},
{"aliases":[],"area_id":null,"categories":{},"capabilities":null,"config_entry_id":"e77d274334cb9c5b5feab2b46c06637a","device_class":null,"device_id":"976de24d8be137203842f00e48faac94","disabled_by":"integration","entity_category":"diagnostic","entity_id":"sensor.sun_solar_rising","hidden_by":null,"icon":null,"id":"c8ef92ade485ffa447de435845e27dea","has_entity_name":true,"labels":[],"name":null,"options":{},"original_device_class":null,"original_icon":null,"original_name":"Solar rising","platform":"sun","supported_features":0,"translation_key":"solar_rising","unique_id":"e77d274334cb9c5b5feab2b46c06637a-solar_rising","previous_unique_id":null,"unit_of_measurement":null},
{"aliases":[],"area_id":null,"categories":{},"capabilities":null,"config_entry_id":null,"device_class":null,"device_id":null,"disabled_by":null,"entity_category":null,"entity_id":"person.l_kraven","hidden_by":null,"icon":null,"id":"eb6803c19ec740a35f92fa0dbf90019f","has_entity_name":false,"labels":[],"name":null,"options":{"conversation":{"should_expose":false}},"original_device_class":null,"original_icon":null,"original_name":"L. Kraven","platform":"person","supported_features":0,"translation_key":null,"unique_id":"l_kraven","previous_unique_id":null,"unit_of_measurement":null},
{"aliases":[],"area_id":null,"categories":{},"capabilities":null,"config_entry_id":"702a568b430e174d0390f077ed01f35c","device_class":null,"device_id":null,"disabled_by":null,"entity_category":null,"entity_id":"todo.shopping_list","hidden_by":null,"icon":null,"id":"294df4ff65929b572c47fbe13d056e38","has_entity_name":true,"labels":[],"name":null,"options":{"conversation":{"should_expose":true}},"original_device_class":null,"original_icon":null,"original_name":"Shopping List","platform":"shopping_list","supported_features":15,"translation_key":"shopping_list","unique_id":"702a568b430e174d0390f077ed01f35c","previous_unique_id":null,"unit_of_measurement":null},
{"aliases":[],"area_id":null,"categories":{},"capabilities":null,"config_entry_id":"d9e5134c2fa1804964ae91d824a3cd9d","device_class":null,"device_id":null,"disabled_by":null,"entity_category":null,"entity_id":"tts.google_en_com","hidden_by":null,"icon":null,"id":"8ce9566d91a41d4bcb3c2f487f78ee97","has_entity_name":false,"labels":[],"name":null,"options":{"conversation":{"should_expose":false}},"original_device_class":null,"original_icon":null,"original_name":"Google en com","platform":"google_translate","supported_features":0,"translation_key":null,"unique_id":"d9e5134c2fa1804964ae91d824a3cd9d","previous_unique_id":null,"unit_of_measurement":null},
{"aliases":[],"area_id":null,"categories":{},"capabilities":null,"config_entry_id":"5a53325884aa312db0927b7ce29b368d","device_class":null,"device_id":"74f66ed7907bb1442a8ea2d8683ef0f9","disabled_by":null,"entity_category":null,"entity_id":"weather.forecast_home","hidden_by":null,"icon":null,"id":"dd7d9e333a3daca5a00770d3095634e8","has_entity_name":true,"labels":[],"name":null,"options":{"conversation":{"should_expose":false}},"original_device_class":null,"original_icon":null,"original_name":"Home","platform":"met","supported_features":3,"translation_key":null,"unique_id":"home","previous_unique_id":null,"unit_of_measurement":null},
{"aliases":[],"area_id":null,"categories":{},"capabilities":null,"config_entry_id":"467ec89ad8dba13d3a42a36d47bc098f","device_class":null,"device_id":"0fa1359b223698d43cbf53093ef59b3b","disabled_by":null,"entity_category":null,"entity_id":"binary_sensor.sonoff_s31_button","hidden_by":null,"icon":null,"id":"38f1a12a75ab5f2a7e06c674935f7031","has_entity_name":false,"labels":[],"name":"Sonoff S31 - GCV82 Button","options":{"conversation":{"should_expose":false}},"original_device_class":null,"original_icon":null,"original_name":"Sonoff S31 Button","platform":"esphome","supported_features":0,"translation_key":null,"unique_id":"08:F9:E0:63:BA:60-binary_sensor-sonoff_s31_button","previous_unique_id":null,"unit_of_measurement":null},
{"aliases":[],"area_id":null,"categories":{},"capabilities":null,"config_entry_id":"467ec89ad8dba13d3a42a36d47bc098f","device_class":null,"device_id":"0fa1359b223698d43cbf53093ef59b3b","disabled_by":null,"entity_category":"diagnostic","entity_id":"binary_sensor.sonoff_s31_status","hidden_by":null,"icon":null,"id":"6f8f11f5bb160014a4a939c7449d5bc8","has_entity_name":false,"labels":[],"name":"Sonoff S31 - GCV82 Status","options":{"conversation":{"should_expose":false}},"original_device_class":"connectivity","original_icon":null,"original_name":"Sonoff S31 Status","platform":"esphome","supported_features":0,"translation_key":null,"unique_id":"08:F9:E0:63:BA:60-binary_sensor-sonoff_s31_status","previous_unique_id":null,"unit_of_measurement":null},
{"aliases":[],"area_id":null,"categories":{},"capabilities":{"state_class":"measurement"},"config_entry_id":"467ec89ad8dba13d3a42a36d47bc098f","device_class":null,"device_id":"0fa1359b223698d43cbf53093ef59b3b","disabled_by":null,"entity_category":"diagnostic","entity_id":"sensor.sonoff_s31_wifi_signal","hidden_by":null,"icon":null,"id":"57441ca3659332d2eb82b3202e249e07","has_entity_name":false,"labels":[],"name":"Sonoff S31 - GCV82 WiFi Signal","options":{"conversation":{"should_expose":false}},"original_device_class":"signal_strength","original_icon":null,"original_name":"Sonoff S31 WiFi Signal","platform":"esphome","supported_features":0,"translation_key":null,"unique_id":"08:F9:E0:63:BA:60-sensor-sonoff_s31_wifi_signal","previous_unique_id":null,"unit_of_measurement":"dBm"},
{"aliases":[],"area_id":null,"categories":{},"capabilities":{"state_class":"measurement"},"config_entry_id":"467ec89ad8dba13d3a42a36d47bc098f","device_class":null,"device_id":"0fa1359b223698d43cbf53093ef59b3b","disabled_by":null,"entity_category":null,"entity_id":"sensor.sonoff_s31_voltage","hidden_by":null,"icon":null,"id":"b3edb8f50f91838eb7cb427f3287fd07","has_entity_name":false,"labels":[],"name":"Sonoff S31 - GCV82 Voltage","options":{"conversation":{"should_expose":false}},"original_device_class":"voltage","original_icon":null,"original_name":"Sonoff S31 Voltage","platform":"esphome","supported_features":0,"translation_key":null,"unique_id":"08:F9:E0:63:BA:60-sensor-sonoff_s31_voltage","previous_unique_id":null,"unit_of_measurement":"V"},
{"aliases":[],"area_id":null,"categories":{},"capabilities":{"state_class":"measurement"},"config_entry_id":"467ec89ad8dba13d3a42a36d47bc098f","device_class":null,"device_id":"0fa1359b223698d43cbf53093ef59b3b","disabled_by":null,"entity_category":null,"entity_id":"sensor.sonoff_s31_current","hidden_by":null,"icon":null,"id":"934ce89a81e15c259d24d3e058755a4c","has_entity_name":false,"labels":[],"name":"Sonoff S31 - GCV82 Current","options":{"conversation":{"should_expose":false}},"original_device_class":"current","original_icon":null,"original_name":"Sonoff S31 Current","platform":"esphome","supported_features":0,"translation_key":null,"unique_id":"08:F9:E0:63:BA:60-sensor-sonoff_s31_current","previous_unique_id":null,"unit_of_measurement":"A"},
{"aliases":[],"area_id":null,"categories":{},"capabilities":{"state_class":"measurement"},"config_entry_id":"467ec89ad8dba13d3a42a36d47bc098f","device_class":null,"device_id":"0fa1359b223698d43cbf53093ef59b3b","disabled_by":null,"entity_category":null,"entity_id":"sensor.sonoff_s31_power","hidden_by":null,"icon":null,"id":"a06465522ce62da7837c86e1bae8d290","has_entity_name":false,"labels":[],"name":"Sonoff S31 - GCV82 Power","options":{"conversation":{"should_expose":false}},"original_device_class":"power","original_icon":null,"original_name":"Sonoff S31 Power","platform":"esphome","supported_features":0,"translation_key":null,"unique_id":"08:F9:E0:63:BA:60-sensor-sonoff_s31_power","previous_unique_id":null,"unit_of_measurement":"W"},
{"aliases":[],"area_id":null,"categories":{},"capabilities":{"state_class":"total_increasing"},"config_entry_id":"467ec89ad8dba13d3a42a36d47bc098f","device_class":null,"device_id":"0fa1359b223698d43cbf53093ef59b3b","disabled_by":null,"entity_category":null,"entity_id":"sensor.sonoff_s31_energy","hidden_by":null,"icon":null,"id":"94cd7ae1c4c8c1f5de157feed76069fa","has_entity_name":false,"labels":[],"name":"Sonoff S31 - GCV82 Energy","options":{"conversation":{"should_expose":false}},"original_device_class":"energy","original_icon":null,"original_name":"Sonoff S31 Energy","platform":"esphome","supported_features":0,"translation_key":null,"unique_id":"08:F9:E0:63:BA:60-sensor-sonoff_s31_energy","previous_unique_id":null,"unit_of_measurement":"Wh"},
{"aliases":[],"area_id":null,"categories":{},"capabilities":{"state_class":"measurement"},"config_entry_id":"467ec89ad8dba13d3a42a36d47bc098f","device_class":null,"device_id":"0fa1359b223698d43cbf53093ef59b3b","disabled_by":null,"entity_category":null,"entity_id":"sensor.sonoff_s31_apparent_power","hidden_by":null,"icon":null,"id":"a3a97a20398567427dbb4e7622f0d5cc","has_entity_name":false,"labels":[],"name":"Sonoff S31 - GCV82 Apparent Power","options":{"conversation":{"should_expose":false}},"original_device_class":"apparent_power","original_icon":null,"original_name":"Sonoff S31 Apparent Power","platform":"esphome","supported_features":0,"translation_key":null,"unique_id":"08:F9:E0:63:BA:60-sensor-sonoff_s31_apparent_power","previous_unique_id":null,"unit_of_measurement":"VA"},
{"aliases":[],"area_id":null,"categories":{},"capabilities":{"state_class":"measurement"},"config_entry_id":"467ec89ad8dba13d3a42a36d47bc098f","device_class":null,"device_id":"0fa1359b223698d43cbf53093ef59b3b","disabled_by":null,"entity_category":null,"entity_id":"sensor.sonoff_s31_power_factor","hidden_by":null,"icon":null,"id":"e1ca2f5bea9b018871c10d9a1ec3dfea","has_entity_name":false,"labels":[],"name":"Sonoff S31 - GCV82 Power Factor","options":{"conversation":{"should_expose":false}},"original_device_class":"power_factor","original_icon":null,"original_name":"Sonoff S31 Power Factor","platform":"esphome","supported_features":0,"translation_key":null,"unique_id":"08:F9:E0:63:BA:60-sensor-sonoff_s31_power_factor","previous_unique_id":null,"unit_of_measurement":null},
{"aliases":[],"area_id":null,"categories":{},"capabilities":{"state_class":"total_increasing"},"config_entry_id":"467ec89ad8dba13d3a42a36d47bc098f","device_class":null,"device_id":"0fa1359b223698d43cbf53093ef59b3b","disabled_by":null,"entity_category":null,"entity_id":"sensor.sonoff_s31_daily_energy","hidden_by":null,"icon":null,"id":"ac07dd44c0cd2e9ceed5c9bcf9e9a2a4","has_entity_name":false,"labels":[],"name":"Sonoff S31 - GCV82 Daily Energy","options":{"conversation":{"should_expose":false}},"original_device_class":"energy","original_icon":null,"original_name":"Sonoff S31 Daily Energy","platform":"esphome","supported_features":0,"translation_key":null,"unique_id":"08:F9:E0:63:BA:60-sensor-sonoff_s31_daily_energy","previous_unique_id":null,"unit_of_measurement":"Wh"},
{"aliases":[],"area_id":null,"categories":{},"capabilities":null,"config_entry_id":"467ec89ad8dba13d3a42a36d47bc098f","device_class":null,"device_id":"0fa1359b223698d43cbf53093ef59b3b","disabled_by":null,"entity_category":null,"entity_id":"switch.sonoff_s31_relay","hidden_by":null,"icon":null,"id":"a511f857776ece324132569b58341dd6","has_entity_name":false,"labels":[],"name":"Sonoff S31 - GCV82 Relay","options":{"conversation":{"should_expose":true}},"original_device_class":null,"original_icon":null,"original_name":"Sonoff S31 Relay","platform":"esphome","supported_features":0,"translation_key":null,"unique_id":"08:F9:E0:63:BA:60-switch-sonoff_s31_relay","previous_unique_id":null,"unit_of_measurement":null}
],
"deleted_entities": []
}
}

View File

@@ -0,0 +1,22 @@
{
"version": 1,
"minor_version": 1,
"key": "core.restore_state",
"data": [
{
"state": {"entity_id":"person.l_kraven","state":"unknown","attributes":{"editable":true,"id":"l_kraven","device_trackers":[],"user_id":"206eef0d818b49099e4ca5d844d0e473","friendly_name":"L. Kraven"},"last_changed":"2024-06-27T00:08:19.978441+00:00","last_reported":"2024-06-27T00:08:30.156319+00:00","last_updated":"2024-06-27T00:08:30.156319+00:00","context":{"id":"01J1BGBD6CF25ESYKV9K0EFXXG","parent_id":null,"user_id":null}},
"extra_data": null,
"last_seen": "2024-06-28T00:23:30.296510+00:00"
},
{
"state": {"entity_id":"conversation.home_assistant","state":"unknown","attributes":{"friendly_name":"Home Assistant"},"last_changed":"2024-06-27T00:08:20.879337+00:00","last_reported":"2024-06-27T00:08:20.879337+00:00","last_updated":"2024-06-27T00:08:20.879337+00:00","context":{"id":"01J1BGB44F9P7CFTY7M9807KWZ","parent_id":null,"user_id":null}},
"extra_data": null,
"last_seen": "2024-06-28T00:23:30.296510+00:00"
},
{
"state": {"entity_id":"tts.google_en_com","state":"unknown","attributes":{"friendly_name":"Google en com"},"last_changed":"2024-06-27T00:08:21.446883+00:00","last_reported":"2024-06-27T00:08:21.446883+00:00","last_updated":"2024-06-27T00:08:21.446883+00:00","context":{"id":"01J1BGB4P6ES15MRGVA3KJWN9M","parent_id":null,"user_id":null}},
"extra_data": null,
"last_seen": "2024-06-28T00:23:30.296510+00:00"
}
]
}

View File

@@ -0,0 +1,8 @@
{
"version": 1,
"minor_version": 1,
"key": "core.uuid",
"data": {
"uuid": "3aa3fda111fb4aa4bfc9e060fc39608e"
}
}

View File

@@ -0,0 +1,191 @@
{
"version": 1,
"minor_version": 1,
"key": "esphome.467ec89ad8dba13d3a42a36d47bc098f",
"data": {
"device_info": {
"uses_password": false,
"name": "sonoff_s31",
"friendly_name": "",
"mac_address": "08:F9:E0:63:BA:60",
"compilation_time": "Jun 25 2024, 22:46:58",
"model": "esp01_1m",
"manufacturer": "Espressif",
"has_deep_sleep": false,
"esphome_version": "2024.6.2",
"project_name": "",
"project_version": "",
"webserver_port": 0,
"legacy_voice_assistant_version": 0,
"voice_assistant_feature_flags": 0,
"legacy_bluetooth_proxy_version": 0,
"bluetooth_proxy_feature_flags": 0,
"suggested_area": ""
},
"services": [],
"api_version": {
"major": 1,
"minor": 10
},
"sensor": [
{
"object_id": "sonoff_s31_wifi_signal",
"key": 1703382127,
"name": "Sonoff S31 WiFi Signal",
"unique_id": "08f9e063ba60-wifisignal",
"disabled_by_default": false,
"icon": "",
"entity_category": 2,
"device_class": "signal_strength",
"unit_of_measurement": "dBm",
"accuracy_decimals": 0,
"force_update": false,
"state_class": 1,
"last_reset_type": 0
},
{
"object_id": "sonoff_s31_voltage",
"key": 721294691,
"name": "Sonoff S31 Voltage",
"unique_id": "sonoff_s31sensorsonoff_s31_voltage",
"disabled_by_default": false,
"icon": "",
"entity_category": 0,
"device_class": "voltage",
"unit_of_measurement": "V",
"accuracy_decimals": 2,
"force_update": false,
"state_class": 1,
"last_reset_type": 0
},
{
"object_id": "sonoff_s31_current",
"key": 3233238778,
"name": "Sonoff S31 Current",
"unique_id": "sonoff_s31sensorsonoff_s31_current",
"disabled_by_default": false,
"icon": "",
"entity_category": 0,
"device_class": "current",
"unit_of_measurement": "A",
"accuracy_decimals": 2,
"force_update": false,
"state_class": 1,
"last_reset_type": 0
},
{
"object_id": "sonoff_s31_power",
"key": 503348902,
"name": "Sonoff S31 Power",
"unique_id": "sonoff_s31sensorsonoff_s31_power",
"disabled_by_default": false,
"icon": "",
"entity_category": 0,
"device_class": "power",
"unit_of_measurement": "W",
"accuracy_decimals": 2,
"force_update": false,
"state_class": 1,
"last_reset_type": 0
},
{
"object_id": "sonoff_s31_energy",
"key": 3798030411,
"name": "Sonoff S31 Energy",
"unique_id": "sonoff_s31sensorsonoff_s31_energy",
"disabled_by_default": false,
"icon": "",
"entity_category": 0,
"device_class": "energy",
"unit_of_measurement": "Wh",
"accuracy_decimals": 2,
"force_update": false,
"state_class": 2,
"last_reset_type": 0
},
{
"object_id": "sonoff_s31_apparent_power",
"key": 159905754,
"name": "Sonoff S31 Apparent Power",
"unique_id": "sonoff_s31sensorsonoff_s31_apparent_power",
"disabled_by_default": false,
"icon": "",
"entity_category": 0,
"device_class": "apparent_power",
"unit_of_measurement": "VA",
"accuracy_decimals": 1,
"force_update": false,
"state_class": 1,
"last_reset_type": 0
},
{
"object_id": "sonoff_s31_power_factor",
"key": 3910416744,
"name": "Sonoff S31 Power Factor",
"unique_id": "sonoff_s31sensorsonoff_s31_power_factor",
"disabled_by_default": false,
"icon": "",
"entity_category": 0,
"device_class": "power_factor",
"unit_of_measurement": "",
"accuracy_decimals": 2,
"force_update": false,
"state_class": 1,
"last_reset_type": 0
},
{
"object_id": "sonoff_s31_daily_energy",
"key": 1006494241,
"name": "Sonoff S31 Daily Energy",
"unique_id": "sonoff_s31sensorsonoff_s31_daily_energy",
"disabled_by_default": false,
"icon": "",
"entity_category": 0,
"device_class": "energy",
"unit_of_measurement": "Wh",
"accuracy_decimals": 2,
"force_update": false,
"state_class": 2,
"last_reset_type": 0
}
],
"text_sensor": [],
"binary_sensor": [
{
"object_id": "sonoff_s31_button",
"key": 1278864903,
"name": "Sonoff S31 Button",
"unique_id": "sonoff_s31binary_sensorsonoff_s31_button",
"disabled_by_default": false,
"icon": "",
"entity_category": 0,
"device_class": "",
"is_status_binary_sensor": false
},
{
"object_id": "sonoff_s31_status",
"key": 2318339905,
"name": "Sonoff S31 Status",
"unique_id": "sonoff_s31binary_sensorsonoff_s31_status",
"disabled_by_default": false,
"icon": "",
"entity_category": 2,
"device_class": "connectivity",
"is_status_binary_sensor": true
}
],
"switch": [
{
"object_id": "sonoff_s31_relay",
"key": 2840789842,
"name": "Sonoff S31 Relay",
"unique_id": "sonoff_s31switchsonoff_s31_relay",
"disabled_by_default": false,
"icon": "",
"entity_category": 0,
"assumed_state": false,
"device_class": ""
}
]
}
}

View File

@@ -0,0 +1,31 @@
{
"version": 1,
"minor_version": 1,
"key": "homeassistant.exposed_entities",
"data": {
"assistants": {},
"exposed_entities": {
"zone.home": {
"assistants": {
"conversation": {
"should_expose": false
}
}
},
"conversation.home_assistant": {
"assistants": {
"conversation": {
"should_expose": false
}
}
},
"sun.sun": {
"assistants": {
"conversation": {
"should_expose": false
}
}
}
}
}
}

View File

@@ -0,0 +1,19 @@
{
"version": 1,
"minor_version": 1,
"key": "http",
"data": {
"login_attempts_threshold": -1,
"ssl_profile": "modern",
"ip_ban_enabled": true,
"use_x_frame_options": true,
"server_port": 8123,
"cors_allowed_origins": [
"https://cast.home-assistant.io"
],
"server_host": [
"0.0.0.0",
"::"
]
}
}

View File

@@ -0,0 +1,8 @@
{
"version": 1,
"minor_version": 1,
"key": "http.auth",
"data": {
"content_user": "4230e74325104e22812c9d9fc45dbbc3"
}
}

View File

@@ -0,0 +1,12 @@
{
"version": 1,
"minor_version": 1,
"key": "lovelace.map",
"data": {
"config": {
"strategy": {
"type": "map"
}
}
}
}

View File

@@ -0,0 +1,18 @@
{
"version": 1,
"minor_version": 1,
"key": "lovelace_dashboards",
"data": {
"items": [
{
"id": "map",
"icon": "mdi:map",
"title": "Map",
"url_path": "map",
"mode": "storage",
"require_admin": false,
"show_in_sidebar": true
}
]
}
}

View File

@@ -0,0 +1,8 @@
{
"version": 1,
"minor_version": 1,
"key": "map",
"data": {
"migrated": true
}
}

View File

@@ -0,0 +1,13 @@
{
"version": 4,
"minor_version": 1,
"key": "onboarding",
"data": {
"done": [
"user",
"core_config",
"analytics",
"integration"
]
}
}

View File

@@ -0,0 +1,15 @@
{
"version": 2,
"minor_version": 1,
"key": "person",
"data": {
"items": [
{
"id": "l_kraven",
"name": "L. Kraven",
"user_id": "206eef0d818b49099e4ca5d844d0e473",
"device_trackers": []
}
]
}
}

View File

@@ -0,0 +1,8 @@
{
"version": 1,
"minor_version": 2,
"key": "repairs.issue_registry",
"data": {
"issues": []
}
}

View File

@@ -0,0 +1,6 @@
{
"version": 1,
"minor_version": 1,
"key": "trace.saved_traces",
"data": {}
}

View File

@@ -0,0 +1 @@
[]

View File

@@ -0,0 +1,56 @@
blueprint:
name: Motion-activated Light
description: Turn on a light when motion is detected.
domain: automation
source_url: https://github.com/home-assistant/core/blob/dev/homeassistant/components/automation/blueprints/motion_light.yaml
author: Home Assistant
input:
motion_entity:
name: Motion Sensor
selector:
entity:
filter:
device_class: motion
domain: binary_sensor
light_target:
name: Light
selector:
target:
entity:
domain: light
no_motion_wait:
name: Wait time
description: Time to leave the light on after last motion is detected.
default: 120
selector:
number:
min: 0
max: 3600
unit_of_measurement: seconds
# If motion is detected within the delay,
# we restart the script.
mode: restart
max_exceeded: silent
trigger:
platform: state
entity_id: !input motion_entity
from: "off"
to: "on"
action:
- alias: "Turn on the light"
service: light.turn_on
target: !input light_target
- alias: "Wait until there is no motion from device"
wait_for_trigger:
platform: state
entity_id: !input motion_entity
from: "on"
to: "off"
- alias: "Wait the number of seconds that has been set"
delay: !input no_motion_wait
- alias: "Turn off the light"
service: light.turn_off
target: !input light_target

View File

@@ -0,0 +1,50 @@
blueprint:
name: Zone Notification
description: Send a notification to a device when a person leaves a specific zone.
domain: automation
source_url: https://github.com/home-assistant/core/blob/dev/homeassistant/components/automation/blueprints/notify_leaving_zone.yaml
author: Home Assistant
input:
person_entity:
name: Person
selector:
entity:
filter:
domain: person
zone_entity:
name: Zone
selector:
entity:
filter:
domain: zone
notify_device:
name: Device to notify
description: Device needs to run the official Home Assistant app to receive notifications.
selector:
device:
filter:
integration: mobile_app
trigger:
platform: state
entity_id: !input person_entity
variables:
zone_entity: !input zone_entity
# This is the state of the person when it's in this zone.
zone_state: "{{ states[zone_entity].name }}"
person_entity: !input person_entity
person_name: "{{ states[person_entity].name }}"
condition:
condition: template
# The first case handles leaving the Home zone which has a special state when zoning called 'home'.
# The second case handles leaving all other zones.
value_template: "{{ zone_entity == 'zone.home' and trigger.from_state.state == 'home' and trigger.to_state.state != 'home' or trigger.from_state.state == zone_state and trigger.to_state.state != zone_state }}"
action:
- alias: "Notify that a person has left the zone"
domain: mobile_app
type: notify
device_id: !input notify_device
message: "{{ person_name }} has left {{ zone_state }}"

View File

@@ -0,0 +1,86 @@
blueprint:
name: Confirmable Notification
description: >-
A script that sends an actionable notification with a confirmation before
running the specified action.
domain: script
source_url: https://github.com/home-assistant/core/blob/master/homeassistant/components/script/blueprints/confirmable_notification.yaml
author: Home Assistant
input:
notify_device:
name: Device to notify
description: Device needs to run the official Home Assistant app to receive notifications.
selector:
device:
filter:
integration: mobile_app
title:
name: "Title"
description: "The title of the button shown in the notification."
default: ""
selector:
text:
message:
name: "Message"
description: "The message body"
selector:
text:
confirm_text:
name: "Confirmation Text"
description: "Text to show on the confirmation button"
default: "Confirm"
selector:
text:
confirm_action:
name: "Confirmation Action"
description: "Action to run when notification is confirmed"
default: []
selector:
action:
dismiss_text:
name: "Dismiss Text"
description: "Text to show on the dismiss button"
default: "Dismiss"
selector:
text:
dismiss_action:
name: "Dismiss Action"
description: "Action to run when notification is dismissed"
default: []
selector:
action:
mode: restart
sequence:
- alias: "Set up variables"
variables:
action_confirm: "{{ 'CONFIRM_' ~ context.id }}"
action_dismiss: "{{ 'DISMISS_' ~ context.id }}"
- alias: "Send notification"
domain: mobile_app
type: notify
device_id: !input notify_device
title: !input title
message: !input message
data:
actions:
- action: "{{ action_confirm }}"
title: !input confirm_text
- action: "{{ action_dismiss }}"
title: !input dismiss_text
- alias: "Awaiting response"
wait_for_trigger:
- platform: event
event_type: mobile_app_notification_action
event_data:
action: "{{ action_confirm }}"
- platform: event
event_type: mobile_app_notification_action
event_data:
action: "{{ action_dismiss }}"
- choose:
- conditions: "{{ wait.trigger.event.data.action == action_confirm }}"
sequence: !input confirm_action
- conditions: "{{ wait.trigger.event.data.action == action_dismiss }}"
sequence: !input dismiss_action

View File

@@ -0,0 +1,11 @@
# Loads default set of integrations. Do not remove.
default_config:
# Load frontend themes from the themes folder
frontend:
themes: !include_dir_merge_named themes
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

View File

@@ -0,0 +1,2 @@
2024-06-26 17:08:24.457 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for sonoff_s31 @ 10.0.90.21: Error connecting to [AddrInfo(family=<AddressFamily.AF_INET: 2>, type=<SocketKind.SOCK_STREAM: 1>, proto=6, sockaddr=IPv4Sockaddr(address='10.0.90.21', port=6053))]: [Errno 113] Connect call failed ('10.0.90.21', 6053) (SocketAPIError)
2024-06-26 19:52:19.814 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 10.0.10.10 (10.0.10.10). Requested URL: '/auth/login_flow/c3620a4ea8eed83b556076fd424ab759'. (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)

View File

@@ -0,0 +1 @@
2024-06-26 17:07:40.126 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for sonoff_s31 @ 10.0.90.21: Error connecting to [AddrInfo(family=<AddressFamily.AF_INET: 2>, type=<SocketKind.SOCK_STREAM: 1>, proto=6, sockaddr=IPv4Sockaddr(address='10.0.90.21', port=6053))]: [Errno 113] Connect call failed ('10.0.90.21', 6053) (SocketAPIError)

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

View File

View File

@@ -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

View File

@@ -21449,3 +21449,231 @@ Data: {"type":"Buffer","data":[60,33,68,79,67,84,89,80,69,32,104,116,109,108,62,
port: 8096
}
]
[2024-06-21T07:02:10.041Z] error: <httpProxy> Error calling https://10.250.50.50:9090/...
[2024-06-21T07:02:10.042Z] error: <httpProxy> [
500,
Error: socket hang up
at connResetException (node:internal/errors:720:14)
at TLSSocket.socketOnEnd (node:_http_client:525:23)
at TLSSocket.emit (node:events:529:35)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'ECONNRESET'
}
]
[2024-06-26T06:12:08.666Z] error: <httpProxy> Error calling https://10.0.50.50:9090/...
[2024-06-26T06:12:08.670Z] error: <httpProxy> [
500,
Error: socket hang up
at connResetException (node:internal/errors:720:14)
at TLSSocket.socketOnEnd (node:_http_client:525:23)
at TLSSocket.emit (node:events:529:35)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'ECONNRESET'
}
]
[2024-06-26T06:17:11.071Z] error: <httpProxy> Error calling https://10.250.50.50:9090/...
[2024-06-26T06:17:11.071Z] error: <httpProxy> [
500,
Error: socket hang up
at connResetException (node:internal/errors:720:14)
at TLSSocket.socketOnEnd (node:_http_client:525:23)
at TLSSocket.emit (node:events:529:35)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'ECONNRESET'
}
]
[2024-06-26T06:37:45.048Z] error: <httpProxy> Error calling https://10.250.50.50:9090/...
[2024-06-26T06:37:45.049Z] error: <httpProxy> [
500,
Error: socket hang up
at connResetException (node:internal/errors:720:14)
at TLSSocket.socketOnEnd (node:_http_client:525:23)
at TLSSocket.emit (node:events:529:35)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'ECONNRESET'
}
]
[2024-06-26T06:57:19.063Z] error: <httpProxy> Error calling https://10.250.50.50:9090/...
[2024-06-26T06:57:19.064Z] error: <httpProxy> [
500,
Error: socket hang up
at connResetException (node:internal/errors:720:14)
at TLSSocket.socketOnEnd (node:_http_client:525:23)
at TLSSocket.emit (node:events:529:35)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'ECONNRESET'
}
]
[2024-06-26T08:43:48.635Z] error: <httpProxy> Error calling https://10.0.50.50:9090/...
[2024-06-26T08:43:48.636Z] error: <httpProxy> [
500,
Error: socket hang up
at connResetException (node:internal/errors:720:14)
at TLSSocket.socketOnEnd (node:_http_client:525:23)
at TLSSocket.emit (node:events:529:35)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'ECONNRESET'
}
]
[2024-06-26T08:48:13.073Z] error: <httpProxy> Error calling https://10.250.50.50:9090/...
[2024-06-26T08:48:13.074Z] error: <httpProxy> [
500,
Error: socket hang up
at connResetException (node:internal/errors:720:14)
at TLSSocket.socketOnEnd (node:_http_client:525:23)
at TLSSocket.emit (node:events:529:35)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'ECONNRESET'
}
]
[2024-06-26T09:59:28.048Z] error: <httpProxy> Error calling https://10.250.50.50:9090/...
[2024-06-26T09:59:28.048Z] error: <httpProxy> [
500,
Error: socket hang up
at connResetException (node:internal/errors:720:14)
at TLSSocket.socketOnEnd (node:_http_client:525:23)
at TLSSocket.emit (node:events:529:35)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'ECONNRESET'
}
]
[2024-06-26T11:08:28.654Z] error: <httpProxy> Error calling https://10.0.50.50:9090/...
[2024-06-26T11:08:28.655Z] error: <httpProxy> [
500,
Error: socket hang up
at connResetException (node:internal/errors:720:14)
at TLSSocket.socketOnEnd (node:_http_client:525:23)
at TLSSocket.emit (node:events:529:35)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'ECONNRESET'
}
]
[2024-06-26T11:11:13.055Z] error: <httpProxy> Error calling https://10.250.50.50:9090/...
[2024-06-26T11:11:13.055Z] error: <httpProxy> [
500,
Error: socket hang up
at connResetException (node:internal/errors:720:14)
at TLSSocket.socketOnEnd (node:_http_client:525:23)
at TLSSocket.emit (node:events:529:35)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'ECONNRESET'
}
]
[2024-06-26T11:20:59.653Z] error: <httpProxy> Error calling https://10.0.50.50:9090/...
[2024-06-26T11:20:59.654Z] error: <httpProxy> [
500,
Error: socket hang up
at connResetException (node:internal/errors:720:14)
at TLSSocket.socketOnEnd (node:_http_client:525:23)
at TLSSocket.emit (node:events:529:35)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'ECONNRESET'
}
]
[2024-06-26T23:57:08.648Z] error: <httpProxy> Error calling https://10.0.50.50:9090/...
[2024-06-26T23:57:08.648Z] error: <httpProxy> [
500,
Error: socket hang up
at connResetException (node:internal/errors:720:14)
at TLSSocket.socketOnEnd (node:_http_client:525:23)
at TLSSocket.emit (node:events:529:35)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'ECONNRESET'
}
]
[2024-06-27T00:20:48.055Z] error: <httpProxy> Error calling https://10.250.50.50:9090/...
[2024-06-27T00:20:48.056Z] error: <httpProxy> [
500,
Error: socket hang up
at connResetException (node:internal/errors:720:14)
at TLSSocket.socketOnEnd (node:_http_client:525:23)
at TLSSocket.emit (node:events:529:35)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'ECONNRESET'
}
]
[2024-06-27T00:43:41.644Z] error: <httpProxy> Error calling https://10.0.50.50:9090/...
[2024-06-27T00:43:41.645Z] error: <httpProxy> [
500,
Error: socket hang up
at connResetException (node:internal/errors:720:14)
at TLSSocket.socketOnEnd (node:_http_client:525:23)
at TLSSocket.emit (node:events:529:35)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'ECONNRESET'
}
]
[2024-06-27T01:25:01.065Z] error: <httpProxy> Error calling https://10.250.50.50:9090/...
[2024-06-27T01:25:01.065Z] error: <httpProxy> [
500,
Error: socket hang up
at connResetException (node:internal/errors:720:14)
at TLSSocket.socketOnEnd (node:_http_client:525:23)
at TLSSocket.emit (node:events:529:35)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'ECONNRESET'
}
]
[2024-06-27T01:45:05.077Z] error: <httpProxy> Error calling https://10.250.50.50:9090/...
[2024-06-27T01:45:05.078Z] error: <httpProxy> [
500,
Error: socket hang up
at connResetException (node:internal/errors:720:14)
at TLSSocket.socketOnEnd (node:_http_client:525:23)
at TLSSocket.emit (node:events:529:35)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'ECONNRESET'
}
]
[2024-06-27T01:58:38.041Z] error: <httpProxy> Error calling https://10.250.50.50:9090/...
[2024-06-27T01:58:38.042Z] error: <httpProxy> [
500,
Error: socket hang up
at connResetException (node:internal/errors:720:14)
at TLSSocket.socketOnEnd (node:_http_client:525:23)
at TLSSocket.emit (node:events:529:35)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'ECONNRESET'
}
]
[2024-06-27T02:29:18.641Z] error: <httpProxy> Error calling https://10.0.50.50:9090/...
[2024-06-27T02:29:18.642Z] error: <httpProxy> [
500,
Error: socket hang up
at connResetException (node:internal/errors:720:14)
at TLSSocket.socketOnEnd (node:_http_client:525:23)
at TLSSocket.emit (node:events:529:35)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'ECONNRESET'
}
]
[2024-06-27T02:35:46.044Z] error: <httpProxy> Error calling https://10.250.50.50:9090/...
[2024-06-27T02:35:46.044Z] error: <httpProxy> [
500,
Error: socket hang up
at connResetException (node:internal/errors:720:14)
at TLSSocket.socketOnEnd (node:_http_client:525:23)
at TLSSocket.emit (node:events:529:35)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'ECONNRESET'
}
]