Hi everyone. I’m describing a thought-experiment rather than anything I’ve actually done yet. I would value any thoughts from the community before I attempt it.
Previously, I had tasmotized everything I could, wresting control away from China, ending up with total local control and no cloud dependency - hooray!
But there are a small number of occasions when external control from a mobile could be handy - “turn on the outside lights when nearly home” etc. Not worth cost of Nabu Casa subscription, or spending loads of time trying to set up Alexa control manually. Researching this, I was first attracted by the possibilities of ‘Emulated Hue’. Unfortunately the documentation says it doesn’t work now for new users, and the alternatives are not free or simple. Then I thought of these two possibilities:
-
Keep one device connected to Chinese servers, re-interpret changes to it in HA, use these to trigger automations. I already have a candidate device - a Tuya RGBCW bulb with a destroyed LED array - an early ‘gone wrong’ attempt at dismembering prior to serial flashing! Everything else still works, all changes show up in the app, it is just that the LEDS don’t work. ‘Changes’ to this device, initiated though Alexa or Smart Life, could be picked up and reinterpreted in HA as something else entirely. A RGBCW bulb has a multitude of possible states and combinations, plenty to meet any need. BUT it does take me back to a situation where part of HA (albeit just one bulb) has to rely on the cloud via the Tuya integration. So I also wondered…
-
How about two cheap smart IR Blasters in close proximity? One connected to Tuya as originally designed, the other flashed with the Tasmota IR variant and connected to HA. Ideally on different networks, so completely isolated. The Tuya blaster could emulate signals from any physical remote that I don’t currently possess/use. The Tasmota blaster, connected to HA, could detect those signals and broadcast through MQTT, which could then be the trigger for bespoke events as required. It’s possible this might work in the reverse direction too, blasting signals back to the cloud, interpreted through some rule as notifying that the request had been successfully actioned in HA.
In both the cases above, my home network would be compromised only to the extent of one cloud-connected device, with no dependency - the cloud device could simply be switched on or off as required without affecting anything else.
Any thoughts, anyone? Could it work? What about latency? Is there something I haven’t considered? Is there an easier way?