Device/Variable parameters list
Posted: Sat Jan 25, 2020 11:13 am
I would like to use iMessage for my primary notifications method.
I would also like to use the DeviceIDs, VariableIDs to minimize hardcoding the message text, and reduce the number of triggers I need to maintain.
I can't find any documentation of parameters available. I have had some success combining the documentation and using educated guesses, but a listing would be handy.
Example: I want to send an iMessage every night @ 9:00 pm with the status of a deadbolt lock. The sensor is an Insteon hidden door sensor which has states of on on/off. I am using the EPS-Device extensions to create a new device 'Garage Deadbolt' with States of Locked/Unlocked (EPS-Device Extensions devices are working as needed).
I was hoping to make an iMessage send the Device Name and the Device State.
%%d:710933748:DeviceName%% is %%d:710933748:OnOffState%%
DeviceName, Name, etc all return errors. ( iMessage Plugin Error Device id 710933748 or state id DeviceName not found for substitution )
OnOffState gives a result of True or False. ( I am looking for the State text to be returned (either 'Locked' or 'Unlocked'))
The desired iMessage text would be
'
Garage Deadbolt is Locked
Any thought on how to do this? Is it possible?
I would also like to use the DeviceIDs, VariableIDs to minimize hardcoding the message text, and reduce the number of triggers I need to maintain.
I can't find any documentation of parameters available. I have had some success combining the documentation and using educated guesses, but a listing would be handy.
Example: I want to send an iMessage every night @ 9:00 pm with the status of a deadbolt lock. The sensor is an Insteon hidden door sensor which has states of on on/off. I am using the EPS-Device extensions to create a new device 'Garage Deadbolt' with States of Locked/Unlocked (EPS-Device Extensions devices are working as needed).
I was hoping to make an iMessage send the Device Name and the Device State.
%%d:710933748:DeviceName%% is %%d:710933748:OnOffState%%
DeviceName, Name, etc all return errors. ( iMessage Plugin Error Device id 710933748 or state id DeviceName not found for substitution )
OnOffState gives a result of True or False. ( I am looking for the State text to be returned (either 'Locked' or 'Unlocked'))
The desired iMessage text would be
'
Garage Deadbolt is Locked
Any thought on how to do this? Is it possible?