Voice Command for byteHome Device

Process Details

Processes are described in below:


1.1: You have to register in IFTTT.COM with the same Gmail account as that in your mobile. Click on “Sign Up”

logo

1.2: You have to use Google to sign in. Click “Continue with Google”

logo

1.3: After clicking you will be redirected to new window. Enter the same email address you used for byteHome device registration

logo

1.4: Input your password after clicking next.

logo

1.5: Now, you will be logged in as new user. Your email ID will show on the right. Here click on my Applets.

logo

1.6: In the new window click on the New Applet.

logo

1.7: Here now click on “this”

logo

1.8: You will be directed to new Window. Type assistant. Click on Google Assistant.

logo

1.9: In new window click on “connect”

logo

1.10: After clicking on ‘connect’ you will be redirected to a new window to reconfirm your email address. Here you have to confirm your email address.

logo

1.11: After confirming you will be redirected to new window where you will have to press “Allow”.

logo

1.12: After that in the new window you will given a few trigger options. Here you will have to select “Say a simple phrase”

logo

1.13: Here type the command that is what you want to say in order to turn on or off a switch. There are multiple options. Write what you want to say specifically. Also write what reply Google Assistant will give to your Command. Press “Create trigger” to complete and save your action.

logo

1.14: After this you will be taken to a new window where you will click “that”

logo

1.15: In the new window type “Webhooks” at Search Option

logo

1.16: Click on the “Webhooks” icon.

logo

1.17: Now you will be asked to choose a action and here you have to Click the “Make a Web Request”.

logo

1.18: You will be taken to the page where you have to configure the Webhooks settings. Please note for a single byteHome device to configure voice command of 4 switches you have to repeat step 5 to 20 eight times (For 4 times on and 4 times off) to configure on and off voice commands of the 4 switches.

logo

1.19: Copy and Paste the URLs, one by one for 8 actions of the 4 switches given below under Switch Mapping URLs

logo


- For “Method” select “Put”.
- For “Content Type” select “application/json”\
- “Body type” can be left blank.
- And complete the setup by clicking “Create Action”


Switch Mapping URLs



Switch 1 on
http://api.algologix.com.bd/bytehome/VoiceChangeComponentState?devicekey=YourDeviceKey&componentId=1¤tStatus=on

Switch 1 off
http://api.algologix.com.bd/bytehome/VoiceChangeComponentState?devicekey=YourDeviceKey&componentId=1¤tStatus=off

Switch 2 on
http://api.algologix.com.bd/bytehome/VoiceChangeComponentState?devicekey=YourDeviceKey&componentId=2¤tStatus=on

Switch 2 off
http://api.algologix.com.bd/bytehome/VoiceChangeComponentState?devicekey=YourDeviceKey&componentId=2¤tStatus=off

Switch 3 on
http://api.algologix.com.bd/bytehome/VoiceChangeComponentState?devicekey=YourDeviceKey&componentId=3¤tStatus=on

Switch 3 off
http://api.algologix.com.bd/bytehome/VoiceChangeComponentState?devicekey=YourDeviceKey&componentId=3¤tStatus=off

Switch 4 on
http://api.algologix.com.bd/bytehome/VoiceChangeComponentState?devicekey=YourDeviceKey&componentId=4¤tStatus=on

Switch 4 off
http://api.algologix.com.bd/bytehome/VoiceChangeComponentState?devicekey=YourDeviceKey&componentId=4¤tStatus=off

After completing one function for 1 switch and pressing “Create Action” you will be directed to the page where you will have press “Finish” to complete the action.


1.20: Turning On or Off all 4 switches of your byteHome device all at once.



logo

Once you have registered in ifttt.com follow steps 5 to 20 to complete the Voice Command setup. In “URL” option of step 19 just copy and paste the below links once for turning on and once for turning off to complete the voice command setup for all switches of your byteHome device.



All Switches on
http://api.algologix.com.bd/bytehome/ChangeAllComponentState?devicekey=00112233¤tStatus=on

All Switches off
http://api.algologix.com.bd/bytehome/ChangeAllComponentState?devicekey=00112233¤tStatus=off


Your Device Key



logo