pa-wills / home-assistant-config Goto Github PK
View Code? Open in Web Editor NEWThis is my Home Assistant config repo. Just yamls at this very early stage.
This is my Home Assistant config repo. Just yamls at this very early stage.
Is it being triggered by the downstairs motion sensor? I can see why a subset of that group might be in such an event, but not everything. It's weird. Unless of course - the entity is "True" when ANY of the included entities are themselves "True".....
I have been rebooting HA, and occasionally it results in the HomeKit entities reverting to the Default room, or just not coming back at all.
I need a reliable approach. Some people have suggested that it has to do with the entities not being available, and so waiting >= 1 min to ensure that they have all come up successfully.
https://community.home-assistant.io/t/homekit-doesnt-save-device-room-assignment/49486/4
I think the automation-script pattern will work well here.
I.e. One automation: triggered on any motion sensor (I should group them) tripping, conditioned on House Mode == 'Unoccupied', and then - it calls a notification script.
For extra credit - do we turn down the sensitivity so that it doesn't trip on a dog/cat but will on a human?
The main issue I see is - how do we import that sub-repo in a way that is less crude that a raw copy-paste. A copy-paste WILL WORK, yet it's crude as hell. What happens if the dude ever updates his repo? Also, it feels less than cool to just copy-paste without some sort of attribution.
So, submodules seems to be an option:
https://gist.github.com/Noitidart/7af2e120bb83e2be9aa4cc3ca0a37722
https://github.blog/2016-02-01-working-with-submodules/
https://git-scm.com/book/en/v2/Git-Tools-Submodules
I.e. just rely on the notifications from the sensors, and then remove the automations in Hue.
Here is the apparatus that generally needs to be replicated:
They don't throw errors, but neither can I make them work.
Critically, the other sensors, like git for example, display a log message like this:
./.storage/core.entity_registry: "entity_id": "sensor.home_assistant_config",
./home-assistant.log:2020-01-20 22:14:13 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.github entity: sensor.home_assistant_config
These two though - never get there. It's weird.
I.e. just rely on the notifications from the sensors, and then remove the automations in Hue.
Can I get any value from integrating this, or a similar item: https://www.home-assistant.io/integrations/apple_tv/
https://github.com/hacs/integration
I would like to be able to do this with code, like with a submodule. Doing so makes me feel as though I have a durable dependency / link to the hacs repo.
Second preference would be to take a one-time copy of it, and commit to custom-integrations, etc.
Third preference would be - install it, but keep it out of this repo. Doesn't help me if I need to rebuild this thing from scratch though.
Currently done through the GUI. Uncool.
Requires me to get the python library working (https://github.com/snikch/escea). Once that's done, presumably the HomeAssistant Integration ought to be pretty simple (https://github.com/snikch/climate.escea).
Hopefully this will work, because the alternative is going to be using scraping, or - worst case - SDR.
These are now on sale at JB HiFi. So, getting them is quite a but easier than getting other devices from Amazon / eBay.
Here is the integration. It's a cloud API, which isn't great. So, I'm vulnerable in the event of an ISP outage, which is not great.
Moon is its own platform: https://www.home-assistant.io/integrations/moon/
I.e. notifications when Evie trips the motion sensor, when that mode is active.
Requirements
Range issue? Seems intermittent. Should monitor.
I am still on 0.98 in production.
I have no idea how to configure docker to use the newer release (0.99.3 as at this writing).
Requirements:
Implementation:
CONSIDERATION
Do I really want two modes here. I.e.
Might be cleaner. Consider.
I have tried to build the feature using the alert primitive. It works, basically, but there's a defect. It will send a notification each time the sensor trips, which is not great because the sensor resets itself about every 30s. I thought that using the "repeat" parameter would slow this, but alas, no.
So, I think we need to do something different:
So, how to invoke a script from an alert?
Hmmm, maybe automation to script....
https://www.home-assistant.io/integrations/script/
and the set-variable:
https://community.home-assistant.io/t/how-to-save-a-value/140294/14
Here's an argument that you should use input_variables for this type of thing:
Right now it just shows what's happening right now. Not really what I am going for.
So, groups are what are called for here, it seems.
And it seems that Home Assistant will have already have some courtesy of Hue. Generally - I want the config to be defined in HA, not in the Hue. I have no particular problem with the Hue generally, but I don't want to build automation on top of a platform which I have such limited control over - I.e. can't see the source, can't backup the config, don't have assured access to APIs, have to rely on support that's fundamentally unaccountable to me.
Turning it on / off would be cool. Especially being able to turn it off (end of night routines).
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.