asbril Posted March 19, 2023 Posted March 19, 2023 I created this program : When I run THEN it works and the Amps setting goes to 15, but nothing happens when I run IF, even though the Iphone is home. Anyone has a suggestion ?
Geddy Posted March 19, 2023 Posted March 19, 2023 @asbril are the "home" and "home/ seno iphone" state variables? I don't think the Geofence setup in UD Mobile adds any variables. You would need to trigger a variable in the app. Did you ever run Geofence when you ran Mobilinc? That required the app to set the state variable then you have a program trigger when the state variable changes. Where do you have anything for "Home Occupied is True"?
asbril Posted March 20, 2023 Author Posted March 20, 2023 2 hours ago, Geddy said: @asbril are the "home" and "home/ seno iphone" state variables? I don't think the Geofence setup in UD Mobile adds any variables. You would need to trigger a variable in the app. Did you ever run Geofence when you ran Mobilinc? That required the app to set the state variable then you have a program trigger when the state variable changes. Where do you have anything for "Home Occupied is True"? Good points and questions...... I don't have State variables set up in UD Mobile and will have study how to do that. Thanks !!!!
Javi Posted March 20, 2023 Posted March 20, 2023 15 hours ago, asbril said: Good points and questions...... I don't have State variables set up in UD Mobile and will have study how to do that. Thanks !!!! Hi @asbril, Geofencing in iOS is still in Beta and Apple wants some adjustments to the location permission requests before release to production, so it will likely be at least another week before it is live in the app store. Currently Geofencing on iOS issues a direct commands to any node/variable/program/etc. So there is no Occupied node, but something similar could be setup using a variable. 1 1
Geddy Posted March 21, 2023 Posted March 21, 2023 @asbril Since UD Mobile can call on the program directly it is possible that you just make the geofence trigger the "THEN" of your program. Since a Geofence can have multiple commands just add another command, select "My Programs" -> "Run Then" Otherwise, you could still use the variables and have it set a variable and then trigger any number of programs off that variable. I still wonder where your "Occupied is true" portion came from.
asbril Posted March 21, 2023 Author Posted March 21, 2023 35 minutes ago, Geddy said: Otherwise, you could still use the variables and have it set a variable and then trigger any number of programs off that variable. That is what I have done and it works 1
Recommended Posts