http:// or File:///
I think I have my first dynamic button made.... pillow, created device, created trigger.... not trying to get the image onto a page.
Display Refreshing Image URL
Tried:
http://10.0.6.10:8176/plugins/DynamicButton/heat1.png (where "heat1" is the name of the device and I see "heat1.png" in that folder....
but I get the "?" crap.
8176 should point to everything within the IWS folder, right? Should I change the directory to IWS/Images ?
I tried File:///Library/Application Support/Perceptive Automation/Indigo 7/IndigoWebServer/plugins/DynamicButton/heat1.png (which worked)
Beyond that... setting up was a breeze. Thank you very much for this plugin. I configured it a little bit differently. Since I have some devices that = activity that don't have build in delays, I added an initial action to clear out any scheduled delays for the trigger.... so if it gets an "activity" trigger during the fading process, it will just reset back to a solid color.
For the input, I'm using kmarkley's plugin, Timed Devices
http://forums.indigodomo.com/viewtopic.php?t=18785I've created an activity timer for each area to correspond with the heat map. This device turns on for a set amount of time based on the input of other devices (motion detector, door sensor, window sensor, light, fan, etc.) Once that device detects a changed state, it's timer resets.
For the Dynamic Control Plugin, the trigger for the same area is triggered off that Timed Device. "Reset Time", "Has Any Change". Every time an initiating device (motion, fan, light, door, etc) in the designated area does something, the timer is reset and your plugin trigger fires off.
Might sound confusing, but now I can have a graphical view (your plugin) and a data view (Timed Devices plugin).
For an extra layer of neediness... I'm also using EPS - Device Extensions plugin. As long as the timer is running, the EPS device shows "0". Once the Timed Device goes idle, the EPS device shows time since last updated (how long has it been idle). (Use device, (Select timed device), convert lastChanged (property), Convert Date/Time to Elapsed Minutes, Format %Y-%m-%d %H:%M:%S)
http://forums.indigodomo.com/viewtopic.php?f=197&t=16233Example use with all three: I can put the EPS number under the heat map image layer from your plugin.... so if an area has been quiet.... I can see for how long. Once the area goes active, the image from your plugin overlaps the "0" that the EPS device just reverted back to.
The display state of the timed device is black text on top of the heat image which will show a countdown that corresponds with the fading image.
Anyway... I just started to play with this.... I'm sure I will have it configured totally differently within a week.
Thanks again for a great plugin contribution!