Voice control Reef Angel Status

Community contributed apps
User avatar
Posts: 187
Joined: Wed Apr 10, 2013 2:48 pm
Location: Athens, Ga
PostPosted: Sat Aug 02, 2014 6:37 pm
I was wondering if anyone knows if it would be possible to use Autovoice, tasker, and the Moto X always listening to be able to turn on/off relays and possibly get status of the tank?
Image
User avatar
Posts: 2737
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
PostPosted: Sat Aug 02, 2014 6:53 pm
In order to do it, you would have to have tasker launch a specific command. So you would have to create commands for all the actions you want to perform. When you create the commands, you would have to launch the URL the same way that my app launches it. Then, somehow trigger a voice command to activate or launch the tasker command.
Getting the URL's to issue the commands is easy.
I've not used tasker, so I don't know how hard it would be to setup it running the URL.
I don't know how you could tie the voice command in to launching the tasker command but it sounds like you already know how to do that.
User avatar
Posts: 187
Joined: Wed Apr 10, 2013 2:48 pm
Location: Athens, Ga
PostPosted: Sat Aug 02, 2014 8:01 pm
For the voice command I would use Autovoice and is pretty easy to use. The rest will be hard and will need to do some tinkering to see if I can figure it out. Thanks for the reply.
Image
User avatar
Posts: 187
Joined: Wed Apr 10, 2013 2:48 pm
Location: Athens, Ga
PostPosted: Sun Aug 03, 2014 7:27 am
Could you explain how url issue commands? What are the urls needed?
Image
User avatar
Posts: 187
Joined: Wed Apr 10, 2013 2:48 pm
Location: Athens, Ga
PostPosted: Sun Aug 03, 2014 7:28 am
Could you explain how url issue commands? What are the urls needed to issue the different commands (i.e. water change, relays on/off)?
Image
User avatar
Posts: 2737
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
PostPosted: Sun Aug 03, 2014 7:32 am
Rodasphoto wrote:Could you explain how url issue commands? What are the urls needed to issue the different commands (i.e. water change, relays on/off)?

viewtopic.php?f=7&t=1541

That post should explain everything for you. Then you just need to use the host or ip and port combination for your controller. My test setup is
Code: Select all
http://maxima.curtbinder.info:2000/
then I would just put one of those commands on the end and get something like this.
Code: Select all
http://maxima.curtbinder.info:2000/mf
to enter feeding mode
User avatar
Posts: 187
Joined: Wed Apr 10, 2013 2:48 pm
Location: Athens, Ga
PostPosted: Sun Aug 03, 2014 3:29 pm
Many thanks.
[color=#FF0000]
/rxy - override relay where
x=relay
y=0 - mask off
y=1 - mask on
y=2 - auto
/mf - call feeding mode
/mw - call water change mode
/mt - clear ATO timeout flag
/mo - clear Overheat flag
/ml - clear Leak flag
When using the /rxy command, x is the relay (like roberto said).
The values for x can be:
1-8 - main relay
11-18 - expansion relay 1
21-28 - expansion relay 2
31-38 - expansion relay 3
41-48 - expansion relay 4
51-58 - expansion relay 5
61-68 - expansion relay 6
71-78 - expansion relay 7
81-88 - expansion relay 8[
/color]

I was able to use voice commands and tasker to control relays 1-8. But I could not get the relay expansion relays to change.
I tried /r710 and everything from 71 to 78.

Is there something I am doing wrong?
How do you initiate "exit mode"?
How can set a relay back to auto once I am through?
Image
User avatar
Posts: 2737
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
PostPosted: Sun Aug 03, 2014 4:24 pm
Rodasphoto wrote:Many thanks.
I was able to use voice commands and tasker to control relays 1-8. But I could not get the relay expansion relays to change.
I tried /r710 and everything from 71 to 78.

Is there something I am doing wrong?
How do you initiate "exit mode"?
How can set a relay back to auto once I am through?

That's pretty sweet.
In order to get the relay expansion relays to change, you need to use 11-18. That is for the first expansion.
/r110 - turns box 1 port 1 off
/r111 - turns box 1 port 1 on
/r112 - resets the port back to it's auto status
for the main relay, you would use /r12 to put port 1 back to auto.

if you have 7 expansion boxes, then you would use 71 through 78 to control those ports but i doubt you have 7 expansion relay boxes....but you may and if you do, great for you. :)

"exit mode", is referred to as exiting the feeding and water change mode. the command is simply the button press, so it should just be /bp
User avatar
Posts: 187
Joined: Wed Apr 10, 2013 2:48 pm
Location: Athens, Ga
PostPosted: Sun Aug 03, 2014 6:04 pm
Binder you rock. Thanks for explaining everything. Once I get everything programmed in Tasker I will post a video showing it in action.
Image
User avatar
Posts: 2737
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
PostPosted: Sun Aug 03, 2014 6:16 pm
Rodasphoto wrote:Binder you rock. Thanks for explaining everything. Once I get everything programmed in Tasker I will post a video showing it in action.

awesome!! can't wait to see it in action. :)
Next

Return to Apps

Who is online

Users browsing this forum: No registered users and 1 guest

cron