Rule 4 help please triggered gps messaging

If you want to try @bptworld's Life360 with States app ([RELEASE] Life360 with States - Track all attributes with app and driver. Also supports RM4 and Dashboards!), you can get GPS coordinates. It works with both free and paid accounts.

image

If you want to keep the same functionality, you can use RM to post to the WC URL using json. You'll want to set 2 local variables to latitude and longitude in RM and then pass those over to WC in a json HTTP post. All you'd need to change on the WC side would be the execute trigger as you won't need it for a switch.

This URL has more info: Piston example for http trigger for ST switch on/off - Piston: Design Help - webCoRE Community Forum

[Edit]: In looking at this further, you can even remove Alexa from the equation if you want. In @bptworld's Life360 driver, there is a boolean isDriving that you can trigger a RM4 rule on. So, using that, when you start driving, you can have the rule automatically kick off. Use a private boolean to make sure that it only triggers once when you start driving and you should be good to go!