I need to change the User Profile Associations based on whether I am at home or traveling. At home I receive a large number of SMS status alerts from Vera which is not a problem since I have unlimited SMS on my phones. But traveling, especially internationally, SMS can be very expensive so I want to significantly reduce the number of alerts I receive.
I have added TWO User Variables to Vera Alerts called AtHomeAssociations and TravelAssociations. These store the “UserProfileAssociation” values that cross reference what Profiles are used for what UserNames, thus I can change which devices receive which notifications.
The selection of which of these values is transferred to the “UserProfileAssociation” is to be made in a PLEG depending on the status of a “Device Property” from the GCAL Plug In.
Two questions:
- I’m not clear on how to write the chosen value into the VeraAlerts field “UserProfileAssociation”. I have two PLEG Input/Device Property fields called “AlertsNormal” and “AlertsTravel” set from the corresponding User Variables in VeraAlerts.
In the PLEG ACTION settings I can select the VeraAlerts “SetProperty” option which gives me two fields:
“PropertyName”
“PropertyValue”
I know to set PropertyName to “UserProfileAssociation” but how do I specify the CONTENT of the PLEG Device Property field “AlertsTravel” or “AlertsNormal” to be written into “PropertyValue”
- With respect to VeraAlerts can I make this change on the fly or must I trigger a Vera Reload somehow, which raises its own complications so that it only happens once when the change is made.