Moving Home Assistant from a virtual machine to dedicated hardware

I have been running home assistant on a generic Linux virtual machine using Oracle’s Virtualbox system for several years. It has worked pretty well for me, but I recently decided to purchase a mini pc and move home assistant to it.

In part what prompted this was finding a low cost mini PC that looked pretty good. $139.00 for an OUVISLITE Ιntel Celeron J4125 (Up to 2.7GHz), with 8GB DDR4 128GB M.2 SSD Mini Computer, 4K HDMI, Triple Display, Dual WiFi, BT4.2, and HTPC. For that price I figured “what the hell, let’s give it a try”.

Continúa leyendo "Moving Home Assistant from a virtual machine to dedicated hardware"

Restoring Home Assistant from Google Drive backup

Normally you restore home assistant to a previous backup using the backups stored locally that are listed under Settings -> System -> Backups. Just click on the backup you want to restore and a window pops up. Simple.

But if you want to restore to a version saved to Google drive you first have to copy the backup file from Google Drive to your local PC and then upload it to Home Assistant. Then the feature to upload a backup file is hidden under the “three dot” menu at the upper right of the backup page.

Open the menu, select “Upload backup”, and find the backup file you copied from Google Drive.

Using Aqara Vibrarion Sensor as Garage Door sensor

I was looking for a tilt sensor to tell me if my garage door was open or closed. The sensor had to work with Home Assistant and the only one I could find that looked simple and cheap was the Aqara Vibration sensor that had a tilt/orientation feature.

Unfortunately the feature was not one of the attributes that Home Assistant showed with the device which sent me down the rabbit hole of googling. Eventually I got it figured out and this article is to share my experiences.

Continúa leyendo "Using Aqara Vibrarion Sensor as Garage Door sensor"

Update: Creating home assistant interface to alexa playlists

I stumbled upon https://github.com/custom-components/alexa_media_player/wiki#what-this-is which gave me the information I needed to directly control my echo device, instead of having one echo command via voice another.

Read my post https://robertjwallace.com/creating-home-assistant-interface-to-alexa-playlists/ for background.

The difference between what I was doing in that post and what I am doing now is in the scripts.yaml file. The code to directly control my echo is:

Continúa leyendo "Update: Creating home assistant interface to alexa playlists"

Controlar un enchufe inteligente Tuya desde la línea de comandos

Fondo

Tengo un sistema híbrido de domótica que incluye algunos dispositivos X10 antiguos, dispositivos Philips Hue, dispositivos Wemo y dispositivos TP-Link. Parte del sistema consiste en un software que emula un puente Philips Hue (HA-Bridge) que me permite controlar dispositivos mediante la ejecución de programas y scripts de Linux. Esto me permite usar controladores de radiofrecuencia X10 antiguos y detectores de movimiento en mi domótica. Hasta ahora ha funcionado de maravilla.

Continúa leyendo "Controlling a tuya smart plug from the command line"

Cómo agregar enlaces a páginas web en Home Assistant

I have been playing around with Home Assistant for just a little while now, and while I am impressed with what it does, I find the documentation and the examples to be less than helpful. One thing I wanted to do was simply add a “card” of web links to the UI. Since the Home Assistant interface (Lovelace) is web based you would think that this would be easy.

Continúa leyendo "Adding links to web pages in Home Assistant"

Domótica, parte 2

Esta es una actualización de https://robertjwallace.com/home-automation-smart-home/.

Finalmente estoy empezando a cambiar del sistema X10 a uno más moderno, a pesar del coste. Mi sistema actual es un híbrido entre Philips Hue y X10. Para integrar el X10 con Alexa, uso... Transceptor X10 CM19 con el controlador mochad para Linux, y puente haUn emulador de Philips Hue. Esto me permitió usar Alexa para controlar el sistema X10.

Continúa leyendo "Home automation, part 2"

Word games for Scrabble training

I enjoy word games like Scrabble and decided to write a couple of games that I could use both for the pleasure of playing, and also as training aids for playing Scrabble and other word games.

Anagram game

The first I wrote is an anagram finding game, simply called wordgame. It shows seven “tiles” any you try to find all of the anagrams.

Anagram game

Word finder game

The other game I wrote is a “word finder“. It can be played on mobile (phone) or desktop devices.