From: Neil C. <nc...@li...> - 2010-12-31 02:08:24
|
On 12/30/2010 08:57 PM, Bill Dripps wrote: > On 12/30/2010 08:09 PM, Neil Cherry wrote: >> On 12/30/2010 03:48 PM, Bill Dripps wrote: >>> On 12/30/2010 01:43 PM, Neil Cherry wrote: >> >>>> I did notice an error message on the console about an unrelated voice >>>> command (at startup). I wonder if that's messing up MH? I'll check that >>>> out. >>> >>> The command must be exact. Did you include "plm"? >>> >>> mhsend --run 'plm reset serial' >>> >>> There is also a mh command to dump all voice commands to the log file. >>> This list has been very helpful for me. >> >> Okay, I found the menu with the 'reset serial' so it's enabled on >> my MH setup. > > Great! > >> It just doesn't work from the run command. > > I guess I would not expect it to. For me: > > mhsend --run 'reset serial' > > returns: > > "Response: Command not found: reset serial" > > Is that what you get? > >> I'll add a >> voice command to make it work and then add it to the automagic >> loop code I've pulled from the list. I'll probably add some kind >> of 3 strikes and your out (within x seconds) to make sure I don't >> tie up MH. > > Sounds challenging. What's the advantage of doing that over using what's already there? > > Try doing this: > > ~/mh/bin/mhsend --run 'list voice commands' > > Does that give you a list of voice commands in your log file? Well look at this: Insteon: myplm reset serial My PLM in the mht file is called myPLM, I think that explains why I couldn't find it. > Then try: > > mhsend --run 'plm reset serial' > > What response do you get from that? mhsend --run 'myplm reset serial' That resets my serial port. Thanks! -- Linux Home Automation Neil Cherry nc...@li... http://www.linuxha.com/ Main site http://linuxha.blogspot.com/ My HA Blog Author of: Linux Smart Homes For Dummies |