Page 1 of 1

My People Plugin Version 1.2.90

PostPosted: Sat Dec 19, 2020 10:37 am
by whmoorejr
icon.png
icon.png (282.86 KiB) Viewed 4514 times

https://www.indigodomo.com/pluginstore/244/

https://github.com/whmoorejr/My-People/releases/tag/1.2.90

Introducing my first ever Plugin... "My People".
The amazing thing.... it does nothing. It is really a way to organize people data in a way that can be used by scripting or by other plugins. Each My People "Person" device has multiple states that can be set from the plugin using actions.

So, use your favorite plugin or method to determine occupancy and use that to trigger your person's state to (Home, Away or Unsure).
Use your person's email address for all of your scripts that email you something. Now if your email changes, you don't have to edit all those scripts, just your person data field, state id=email1Address.

Lastly, this makes it easier to make a control page with person data. Copy-paste the person device on your control page and just switch the State you want reflected.
Step 1: Configure the "Person" Device:
MyPeople_Config.png
MyPeople_Config.png (52.29 KiB) Viewed 4514 times

Step 2: Use Actions to populate device states:
MyPeople_Actions.png
MyPeople_Actions.png (161.99 KiB) Viewed 4514 times

Step 3: Use Triggers with this plugin to fire off other stuff:
MyPeople_Triggers.png
MyPeople_Triggers.png (188.04 KiB) Viewed 4514 times

Step 4: Note the custom device states from the main UI:
MyPeople_MainUI.png
MyPeople_MainUI.png (62.07 KiB) Viewed 4514 times

Re: My People Plugin

PostPosted: Sun Dec 20, 2020 7:58 am
by Korey
Thanks for this!

Re: My People Plugin

PostPosted: Mon Dec 21, 2020 9:23 am
by whmoorejr
Thanks.
I'm debugging an update now that adds:
"curLocation" state and to make updating states easier, adding the ability to use substitutes so device actions can point to a variable value or another device state value. <-- I have those parts working now. I'll update as soon as I get another action to set all states for a device (for use when initially setting up a person device).

Re: My People Plugin Version 1.2.0

PostPosted: Tue Dec 22, 2020 12:56 pm
by whmoorejr
Version 1.2.0 Released (Link at top of thread)

Added a "Set All States" action to make it easier when creating a new "Person" device.

Changed all fields to accept variable and device state substitutions.....
Example Use:
Use the device state from your favorite variable or plugin device state to populate the "userLocation" state of your "Person" device. (Like find friends mini, occuupatum)
Use the fingscan device state "ipNumber" to populate your "phone1IPAddress" state of your "Person" device.

Comments / suggestions welcome.

Re: My People Plugin Version 1.2.5

PostPosted: Sun Dec 27, 2020 11:31 pm
by whmoorejr
Version 1.2.6 Released!

IMO, pretty cool update. Now the plugin creates a "Now Showing" device when it starts up. Use that on your control pages to see all of your "People" devices. There are 4 new actions:
    Now Showing First
    Now Showing Previous
    Now Showing Next
    Now Showing Last
Those actions with overwrite the "Now Showing" device with the states from the "People" devices you've created.

Re: My People Plugin Version 1.2.75

PostPosted: Mon Jan 25, 2021 10:45 pm
by whmoorejr
Version 1.2.75 Released.
Added a few new states... alertsOn, lastHome, lastAway

Re: My People Plugin Version 1.2.90

PostPosted: Tue Jan 26, 2021 12:41 pm
by whmoorejr
Version 1.2.90 Released...

Added a new "Now Showing Specific Record" which lets you put in a number 0 to N (Where N is the number or MyPeople devices you've created) and the "Now Showing" device will display that requested device.

Also adding some scripting examples to call these actions programmatically.

Re: My People Plugin Version 1.2.90

PostPosted: Sun Sep 05, 2021 5:23 pm
by ryanbuckner
I would love if you could add lat and long as custom states

Re: My People Plugin Version 1.2.90

PostPosted: Mon Sep 06, 2021 11:37 am
by whmoorejr
I did a major update to the plugin which now includes Lat, Long, and a Map state (if you have a location plugin that outputs a map image URL or something)

Re: My People Plugin Version 1.2.90

PostPosted: Thu Sep 16, 2021 7:43 pm
by ryanbuckner
whmoorejr wrote:
I did a major update to the plugin which now includes Lat, Long, and a Map state (if you have a location plugin that outputs a map image URL or something)


Awesome. I'm using the Life 360 plugin https://forums.indigodomo.com/viewforum.php?f=363 along with in-house sensors to populate Home/Away and long/lat.