My People Plugin Version 1.2.90

Just a regular Indigo user that wants to contribute to the Indigoverse any way I can.
User avatar
whmoorejr
Posts: 844
Joined: Tue Jan 15, 2013 11:23 am
Location: Houston, TX

My People Plugin Version 1.2.90

Post by whmoorejr »

icon.png
icon.png (282.86 KiB) Viewed 5368 times
https://www.indigodomo.com/pluginstore/244/

https://github.com/whmoorejr/My-People/ ... 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 5368 times
Step 2: Use Actions to populate device states:
MyPeople_Actions.png
MyPeople_Actions.png (161.99 KiB) Viewed 5368 times
Step 3: Use Triggers with this plugin to fire off other stuff:
MyPeople_Triggers.png
MyPeople_Triggers.png (188.04 KiB) Viewed 5368 times
Step 4: Note the custom device states from the main UI:
MyPeople_MainUI.png
MyPeople_MainUI.png (62.07 KiB) Viewed 5368 times
Bill
My Plugin: My People
User avatar
Korey
Posts: 888
Joined: Wed Jun 04, 2008 11:47 am
Location: Henderson, NV
Contact:

Re: My People Plugin

Post by Korey »

Thanks for this!
--
Korey
User avatar
whmoorejr
Posts: 844
Joined: Tue Jan 15, 2013 11:23 am
Location: Houston, TX

Re: My People Plugin

Post 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).
Bill
My Plugin: My People
User avatar
whmoorejr
Posts: 844
Joined: Tue Jan 15, 2013 11:23 am
Location: Houston, TX

Re: My People Plugin Version 1.2.0

Post 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.
Bill
My Plugin: My People
User avatar
whmoorejr
Posts: 844
Joined: Tue Jan 15, 2013 11:23 am
Location: Houston, TX

Re: My People Plugin Version 1.2.5

Post 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.
Bill
My Plugin: My People
User avatar
whmoorejr
Posts: 844
Joined: Tue Jan 15, 2013 11:23 am
Location: Houston, TX

Re: My People Plugin Version 1.2.75

Post by whmoorejr »

Version 1.2.75 Released.
Added a few new states... alertsOn, lastHome, lastAway
Bill
My Plugin: My People
User avatar
whmoorejr
Posts: 844
Joined: Tue Jan 15, 2013 11:23 am
Location: Houston, TX

Re: My People Plugin Version 1.2.90

Post 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.
Bill
My Plugin: My People
ryanbuckner
Posts: 1409
Joined: Sat Oct 08, 2011 12:33 pm
Location: Northern Virginia
Contact:

Re: My People Plugin Version 1.2.90

Post by ryanbuckner »

I would love if you could add lat and long as custom states
User avatar
whmoorejr
Posts: 844
Joined: Tue Jan 15, 2013 11:23 am
Location: Houston, TX

Re: My People Plugin Version 1.2.90

Post 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)
Bill
My Plugin: My People
ryanbuckner
Posts: 1409
Joined: Sat Oct 08, 2011 12:33 pm
Location: Northern Virginia
Contact:

Re: My People Plugin Version 1.2.90

Post 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 viewforum.php?f=363 along with in-house sensors to populate Home/Away and long/lat.
Post Reply

Return to “Bill's Plugins”