[mh] Help for Alexa Integration - Episode #2 : Xiaomi vacuum (mirobo)
Gianni Veloce via misterhouse-users <[email protected]> Sat, 12 Mar 2022 18:03:20 +0000 (UTC)
| Newsgroups | gmane.comp.misc.misterhouse.user |
|---|---|
| Message-ID | <[email protected]> |
Hi MH-lovers!
Having solved the issues with my Alexa (grace to your great support) I have managed finally to voice control all my lights (a mixture of X10 and Insteon, I know it is old-fashion but heading soon for tasmotized Sonoffs:))
Happy after that initial success I tried to integrate to Alexa my Xiaomi Roborock S6 vacuum.For those that may not know there is a script for linux that works pretty well with various Xiaomi models and you can find it herehttps://github.com/haim0n/python-mirobo
But the issue with Alexa is that afaik AlexaBridge is allowing only ON and OFF commands, so when I put in my items.mhta line with all the command options for the Xiaomi vacuumALEXABRIDGE_ADD, AlexaItems, !_vacuum, Vacuum, run_voice_cmd, start, stop, find, home, pauseAlexa responds only to the two first (start and stop that are linked to on and off).
So i ask you experts is there any way to make Alexa respond to all 5 commands?
TIAGV
P.S. here is my mirobo.pl$v_vac1 = new Voice_Cmd '[start,stop,find,home,pause] vacuum';if ($state = said $v_vac1) { speak "$state vacuum"; `mirobo $state`;}
________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users