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 […]

Read More

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 […]

Read More

The 1.5$ TRNG

TRNG: True random number generator   Digispark and entropy Some time ago I ordered a handful of the small Atmel ATTINY85 developer boards for a about a dollar each: Digispark copy board from aliexpress I read the getting started guide at Digistump to set up a development environment. Now I just need a good use for such a neat […]

Read More