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.

Remote Desktop in Linux (zorin/ubuntu)

I have a need to connect to my office using Sonicwall’s netExtender. Once connected I need to use RDP to open a remote desktop session to my work computer. But for some reason I ran into two issues on my AMD-based HP home desktop. First I was unable to get the netExtenderGui to run. It kept throwing errors. And second, I was using Remmina for the RDP client and discovered that it did not support dual monitor displays.

After some googling and yahooing, with a bing or two thrown in I had a solution.

Continúa leyendo "Remote Desktop in Linux (zorin/ubuntu)"

Monty Hall Paradox

The basic premise is that there are three doors, behind one is a prize. The contestant makes a guess as to which door has the prize. In this case the odds of winning are one in three. But after the guess is make the host of the game opens one of the two remaining doors, showing no prize behind it. The question is should the contestant change his guess from the original door to the remaining closed door.

Continúa leyendo "Monty Hall Paradox"

Mochad, HA-Bridge and CM19a on Zorin

So, in ditching Windows I had to find a solution to my Windows-based X-10 home automation. On Windows I had a CM19a USB based transceiver for issuing X-10 commands to the X-10 modules controlling my house lights. I used a piece of software named Alex10 to command the CM19a, and a Philips Hue Bridge emulator (HA-Bridge) to allow me to give voice commands via my Amazon Echo.

The HA-Bridge software was a Java program with a web interface, so it ported over cleanly from Windows to Linux. What I had to find was something to replace the Alex10 software. Searching the Internet I found some software that did exactly what I needed, Mochad.

Continúa leyendo "Mochad, HA-Bridge and CM19a on Zorin"