Server side Here I will try to roughtly explain the server side of the story. This is not a complete guide in setting up Home Assistant, Mosquitto and Grafana. That is way to extensive to cover here. But there is a lot of good guides out there. Homie The first time you start up […]
Category: Home Assistant
Keeping state of Philips Hues in Appdaemon
Hues state in Appdaemon. Since I am using Appdaemon, it was obvious to rewrite my previous script to run in Appdaemon. The description of how it is working is also found in that blog entry. Here is the configuration that needs to be put in conf/appdaemon.yaml : HueStateKeeper: module: huestatekeeper class: HueStateKeeper bridge: 192.168.xxx.xxx lights: […]
Keeping state of Philips Hues
The Philips brain bleeding. I recently got some Philips Hue lightbulbs. The are very configurabe and the quality of light is very good. Unfortunately they forget their settings every time they loose power. So every time i turn them off and on on the wall-switch, I get a blazing sunlight in my room! What did […]
Automations – The programmatic approach
My Goal I wanted to make a Home Assistant automation to watch the exchange rate of bitcoins. I wanted it to be shown in HA like this: It should have these features: The warning levels can be set from two input sliders. If the exchange rate falls under the “low warning” level, I want to […]
Asterisk in Home Assistant β Part 3
The automation The final part is to glue things together in an automation. In configuration.yaml i added: automation: – alias: ‘Flash lights’ trigger: – platform: state entity_id: sensor.asterisk_extension_1000 to: ‘Ringing’ action: – service: light.turn_on data: entity_id: light.living_room flash: long Now calling myself will flash the lighs in my living room π When things […]
Asterisk in Home Assistant β Part 2
The Asterisk component After looking at how other platforms were set up in Home Assistant(HA), I ended up with the conclusion that I want to configure my component like this in configuration.yaml: asterisk: host: 192.168.xxx.xxx port: 5038 username: admin password: xxxxxxxxxxxxxxxxxxxxxxxxxx I now created a file:Β custom_components/asterisk.py : 1 2 3 4 5 6 7 […]
Asterisk in Home Assistant – Part 1
The birth of the Home Assistant asterisk plugin I have been poking around with “Home Assistant” for some time. It seems like a very strong platform to host my home automations. I have also been using Asterisk/Freepbx for a long time and suddently got the idea of having my Philips Hue lightbulbs flash when my […]