|
From: Giles Godart-B. <ggo...@gm...> - 2025-07-26 10:14:50
|
Hello Brian
Long time.
I don't think I can answer your question, but I have now changed the way
I use Misterhouse to increase reliability as follows;
* Complex logic - keep in Misterhouse
* Simple logic (like timers and pirs switching lights) - use Tasmota's
rules wherever possible
* Comms protocol - Mostly MQTT via mosquitto
* UI - Home Assistant
* Interface to difficult devices (like tuya) - Home Assistant
* Voice commands - Alexa - to HA - to MH
I've also discovered the pi keepalive daemon
(https://github.com/justinknguyen/Pi-Guide/blob/main/Pi-Guide/keepalived.md)
which allows me to run Misterhouse (and other services) on a pair of Pis
that automatically look after each other and switch if one fails but
keeps a common IP address.
For example I was worried about mosquitto being a really important
single point of failure, now I have two pis, the master is on
192.168.100.23 and the backup on 192.168.100.24 but the common address
192.168.100.25 is automatically associated with the currently running
server. All I have to do is set all my devices to look for
192.168.100.25 and keepalived looks after the routing.
I use the same for Wireguard VPN and Misterhouse.
Unfortunately Home Assistant is dropping support for native Pi OS
installs, and only concentrating on HA OS which means I cannot use
keepalived. For now I'm thinking I will just have to have a cold backup
machine on standby with a remote power switch so I can power it up
manually if the master fails.
Regards
Giles
On 26/07/2025 08:11, Brian M wrote:
> I'm diving into so-called voice commands for the first time, though
> I'm really just using mhsend to send a command from another computer.
> The basics work fine, but in one case I'd like to pass an arbitrary
> file name, and have my code receive that file name. Something like
> "play file <filename>" and have my code be able to retrieve whatever
> was specified for <filename>. Can that be done, and if so, what's the
> syntax to define the voice command with an arbitrary string?
>
> -Brian M.
>
>
>
> ________________________________________________________
> To unsubscribe from this list, go to:
> https://lists.sourceforge.net/lists/listinfo/misterhouse-users
>
|