It’s been a while since I originally set this up, but here are some tips from what I remember:
- Install the device handler code, then manually create a device using this DTH
- After creating the device, edit the preferences and set the Device IP address and Default Command accordingly
- The Device IP address should be the IP address of your Android device running AutoRemote - make sure to reserve a static IP address for it
- The Command can be whatever you want and is what is used in the AutoApps command filter below - for example, I used
whitenoise
since I was turning on the whitenoise on my son’s tablet
- Setup a Tasker Profile triggered by Device Boot which runs the Plugin > AutoRemote > Wifi
- Check the box next to Wifi Service and the box next to Persistent Notification
- Setup a Tasker Profile triggered by Event > Plugin > AutoRemote > AutoRemote
- Set the Message Filter to match the ‘command’ that was configured in the device instance above
- The resulting
on
oroff
command will get stored to%arcomm
by default- You can optionally edit Advanced > Command to rename this variable
- If you’re not using any of the remote push features of AutoRemote, you can uncheck the box for ‘Active’ in the AutoRemote app settings.
- This turns off the normal AutoRemote cloud communication features which aren’t necessary since we’re just using the built in LAN stuff.