maxi1134 / home-assistant-config Goto Github PK
View Code? Open in Web Editor NEWThis is my Smart-home Installation repository
Home Page: https://www.buymeacoffee.com/maxi1134
This is my Smart-home Installation repository
Home Page: https://www.buymeacoffee.com/maxi1134
This will allow for guests to sleep through generic alerts that don't concern them.
I should receive an actionable notification that allows me to enter a name. Which is then associated with the face in the notification
Motion_Home is a prime example of a bad sensor. It should use a for loop across all motion sensors
It should use a group, extract entities in them, change their color, and return them to original state
I've been trying to get a better sense of where I sleep at night. Having 5 available "sleeping spots" make automating on me being asleep hard. Especially since I want to avoid those automation to trigger if someone else is sleeping in one of these locations
The speakers are well muted initially. But it seems like the automation is not taking that in account and still setting their volume.
If I turn the speaker on then off before the automation runs, the muted status will be respected.
Right now the automation wakes her up at 9 every day. Instead it should account for when the dog was last taken out and ignore the rest.
2023-09-21 20:55:38.859 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/yarl/_url.py", line 191, in __new__
port = val.port
^^^^^^^^
File "/usr/local/lib/python3.11/urllib/parse.py", line 182, in port
raise ValueError(f"Port could not be cast to integer value as {port!r}")
ValueError: Port could not be cast to integer value as '8123off'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 423, in _request
url = self._build_url(str_or_url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 357, in _build_url
url = URL(str_or_url)
^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/yarl/_url.py", line 193, in __new__
raise ValueError(
ValueError: Invalid URL: port can't be converted to integer
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request
resp = await request_handler(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 85, in security_filter_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 227, in forwarded_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 80, in ban_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 236, in auth_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 31, in headers_middleware
response = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 148, in handle
result = await handler(request, **request.match_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/media_player/__init__.py", line 1167, in get
data, content_type = await player.async_get_media_image()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/media_player/__init__.py", line 583, in async_get_media_image
return await self._async_fetch_image_from_cache(url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/media_player/__init__.py", line 1085, in _async_fetch_image_from_cache
(content, content_type) = await self._async_fetch_image(url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/media_player/__init__.py", line 1096, in _async_fetch_image
return await async_fetch_image(_LOGGER, self.hass, url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/media_player/__init__.py", line 1262, in async_fetch_image
response = await websession.get(url)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 425, in _request
raise InvalidURL(str_or_url) from e
aiohttp.client_exceptions.InvalidURL: http://192.168.0.15:8123off
This is caused by my template media players returning "http://192.168.0.15:8123off" as an image data
Forgot to document which firewall you use given your impressive network setup? Also do you apply vlan tagging at switch or firewall?
It should look for anything possible, Music, TVs, Games, sTEamdeck, Xbox, Phone activity
When someone double presses the button, the condition is turned on, but nothing happens.
Living rooms works
This will remove a now superflu integration: https://github.com/maxi1134/media_player.template
The current system Face reco 9.0 is loosy and the success rate is abysmal at best. This need to be greatly improved to allow people in consistently when they are properly recognized
Testing in progress with Office dial
This will allow for guests to sleep through generic alerts that don't concern them.
This function should make it so music is only active where I am located, this function should only work when I am alone.
It should use my location and the last room with motion.
Currently, people connecting en-masse to the speakers during parties will cause music issues such as dropped music or bad handovers due to different music apps.
I need to find a way to harmonize this process so that music is always present
This is caused by the node-red automation located at https://github.com/maxi1134/Home-Assistant-Config/blob/master/node-red/flows/House-Wide.json#L1590
The light should divide 360 by the amount of lights and then generate complementary colors in order to generate fake white
During winter, lots and lots of salt and little peblets are dropped in the streets. This leads to an accumulation at the door during parties that are hard for the vacuum to remove at once.
This automation should send the vacuum to the door every 3-4 guests.
---->Bonus point if the vacuum can detect when someone is arriving at the door and goes away before they even ring. (Using Frigate)
When i'm playing a game with the xbox and someone ring the bell, the tv switchs to the pictures of who rang while im in-game.
The Sleep Sleep button just doesn't work when you click on it ๐คทโโ๏ธ can you please fix it? โบ
Can't cast my videos on hotbox top tv
It should start when the delta is over 15 and stop when a return to median is detected.
This will avoid me the work of entering the day's guests in the calendar.
The lights turn off after a while.
This page should contain the camera view and a button to unlock, and disappear on unlock
As it is, the "What is maxi doing" assume that Alexe is a friend as she is on the guest wifi, yet she has an entity for her on HA. I should make some checks so that she is not counted toward "Friends"
This automaton [ https://github.com/maxi1134/Home-Assistant-Config/blob/2116197e32d7613f4824470a252f95322026d140/automations.yaml#L720 ] relies on the templates sensor "active_media_playback_last_timestamp".
That sensor seems to make it so the automation triggers during playback due to a change of state.
I will investigate into using a timestamp order to only affect the latest changed media player.
First issue to address was #38
The best way to achieve this is clearly to monitor noise with the camera.
Then the TV should play an announcement if the noise is too loud.
After a few warnings, it should close the lights and tell people to go inside
When you pur the house on sleeping mode the hotbox goes on sleeping mode too and my lights start dimming too.
Node-red should only be used for automation that cannot be done natively, such as those relying on regex triggers
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.