homeAway - presence .. discussion

Posted on
Wed Aug 01, 2018 10:05 am
kw123 offline
User avatar
Posts: 5838
Joined: May 12, 2013
Location: Dallas, TX

homeAway - presence .. discussion

pls put your comments / requests here

Posted on
Wed Aug 01, 2018 10:17 am
kw123 offline
User avatar
Posts: 5838
Joined: May 12, 2013
Location: Dallas, TX

Re: homeAway - presence .. discussion

Thanks Karl!
Q: I am unclear what you mean when you write devices that “broadcast” their status. Is that the same as an Insteon door sensor sending a 1 or 0, or as a piBeacon that is home/away/expired?

Never mind- just saw the updates for broadcasting for your other devices.

Sent from my iPhone using Tapatalk


this is using the new indigo api functionality (v 7.1) that allows individual plugins to selectively broadcast messages to other indigo plugins.
So instead of subscribing to ALL indigo updates in the receiving plugin you just listen to some fewer messages.

that requires two things:
1. the sendplugin must send a std message format
2. the receiving must receive must be able to receive that message and interpret it.

the format I used is:
{'pluginId': name of plugin', 'data': [{'name': u'name of devices, 'id': 'indigoid of device, 'state': 'the name of the device statee', 'valueForON': 'eg up 1 on auf open AN,..', 'action': 'event', 'newValue': u'eg up down expired ..'}]}
if other developers would like to add this .. ideally for alarm systems and may be Jay / matt could do this for insteon/ wave (motion) sensors

happy to discuss the format = open to any suggestions

currently fingscan, piBeacon, UniFi can transmit and homeAway can receive.

I will be adding my caddx alarm system, but that is a private plugin.. if anyone is interested i can share.


I will be out of town for a week and will work a little on the format, (logging, menus etc as it is hard to test sensors when you are not home.)

fun the next version I would like to add
log stats
log the logic
add some more logic for other sensors door 1 must have opened or closed but not door2 = where did you come in front/ back
...

Karl

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 0 guests