Skip to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

New plugins available (my first published ones)

Featured Replies

The grand opening has arrived! Black Friday special...free! (and they'll remain free after that...just marketing!)

Timer - Timer gives you 20 timer nodes that you can use to do timing operations between programs. For example you can have a triggering event start a timer, and have a second program look for another event occurring within a certain time interval. Can be used to lock out duplicate triggers, do things like turn off a light after a programmed interval after a motion detector has turned it on. A bathroom fan timer, etc. The difference between a timer and a "Wait" statement is that the triggering condition doesn't have to remain true for the duration of the interval, and the timer can be tested by a separate program.

Calendar - Exposes information about the regular (Gregorian) calendar and the time of day as nodes, computed locally from the hub's clock. Sunrise and sunset times are read from the hub itself. Handy for certain scheduled events that you want "on the third Wednesday of the month", "in the last full week of the month", "every odd/even week", "if less than x days left in the month or year", etc.

Give them a spin...let me know if they're useful to you.

There is a third plugin called "Ocelot" that is handy if you have a Applied Digital Ocelot or Leopard controller and you want to control IR devices or use the Adicon expansion modules. If you're interested in that one please let me know, there might be a bit of fine tuning needed.

@Guy Lavoie

I received an "Internal Server Error" on both Timer and Calendar when I tried to install them in EISY-UI plugins. I am on the latest production release (EISY-UI 1.4.8, IoX 6.1.2_10). Do these need to have the staging release installed?

Dave

  • Author
4 minutes ago, DNewkirk said:

@Guy Lavoie

I received an "Internal Server Error" on both Timer and Calendar when I tried to install them in EISY-UI plugins. I am on the latest production release (EISY-UI 1.4.8, IoX 6.1.2_10). Do these need to have the staging release installed?

Dave

I'm on the staging releases, and that could be the issue. I know because I tested them on two of my test Polisys and I had to upgrade them to staging. Integrated plugins are still new. I haven't tried installing them as PG3X, so you might try that.

Rough start! 😒

Thanks. I've been on the fence about installing staging or staying with production. I'm inclined to wait a while longer to see if the staging releases get moved to production, and then try installing them again. I'll let you know how I make out when the time comes.

If my impatience gets the better of me, it may be sooner rather than later.

Dave

What, no Julian calendar option?

Seriously, though.

It installs fine on my machine and I am on the staging repo.

It looks to be working nicely with a lot of good values. One issue is it isn't giving me sunrise/set and it says I didn't allow hub access. What is the hub? I noticed the allow api access button is enabled, is that what it means by hub?

Finally, one suggestion. Consider adding "days since epoch". Epoch is a standard day counter with 0 being Jan 1, 1970. Anyway, doesn't really matter what day 0 was, what matter is that it always increases by 1 each day. The point here is to run something every "x" days. You just divide/remainder epoch by "x" and then you get a regular cycle. Like divide/remainder by 3 and it goes 0,1,2,0,1,2,etc. So you can have an every 3rd day thing (just pick whichever of the 3 values puts your every 3rd at the spot in the cycle you want). Also works for every other week, divide/remain by 14 and again pick the value from 0 to 13 that works for your needs. Like today would be 4, so anything triggered by the answer being 4 would happen every other Monday starting today. Using day of year would work until you cycle over to the next year and then your cycle gets shifted by some number of days depending on the details.

Eisy has unix time, which is seconds since MN Jan 1, 1970. So divide by 86400 to get epoch day. You might also display unix time. It could be useful for having something repeat every x seconds.

EDIT: One last suggestion. The default node icon is a light bulb, which you left as default. Might change it to something else since a light bulb doesn't really fit.

EDIT AGAIN: Unix time is seconds since MN Jan 1, 1970 UTC. So you would need to adjust for the time zone before dividing by 86400.

Edited by apostolakisl

  • Author

If you can get your eisy to get it's date and time from a Julian date timer server, I'll look into it! 😀

For the sunrise/sunset time, you need to go into the "Configuration" tab for the plugin and slide "Allow API Access" to the right. Click on Save, then restart the plugin.

Epoch is normally the number of seconds since Jan 1, 1970, in Unix anyways. Having an ever incrementing number of days value could be handy for doing math, so I'll look into adding that. In the meantime you can use the number of days since the beginning of the year for that, though it would require a reset when the year rolls over. The integer division thing works well for odd timer intervals, making good use of the modulo function.

I'll have to check the icon thing. I wasn't aware we could define an icon. I'm still a total noob with plugins.

Hey, that's the whole idea: throw it out there and let the suggestions come in 🙂

@Guy Lavoie Yes, I enabled api and now sunrise/set show up. But the error message you get if you don't enable it says you need to enable the "hub". Might change that to say api.

And yes, you can select from a relatively short list of icons. Supposedly as part of moving to eisy ui, this list will increase. But light bulb is what shows up if you don't do anything. I tend to use what they call "generic" for a lot of stuff.

And I will confirm that it does not install on my polisy which is on the production repo.

  • Author
3 hours ago, apostolakisl said:

@Guy Lavoie Yes, I enabled api and now sunrise/set show up. But the error message you get if you don't enable it says you need to enable the "hub". Might change that to say api.

And yes, you can select from a relatively short list of icons. Supposedly as part of moving to eisy ui, this list will increase. But light bulb is what shows up if you don't do anything. I tend to use what they call "generic" for a lot of stuff.

And I will confirm that it does not install on my polisy which is on the production repo.

"Hub" is what AI calls the controller. Doesn't do the eisy justice... but that's easy to modify in the README file. I'll change that to "controller" I was trying to find where you assign the plugin and/or nodes an icon and can't seem to find it. Hint?

16 minutes ago, Guy Lavoie said:

"Hub" is what AI calls the controller. Doesn't do the eisy justice... but that's easy to modify in the README file. I'll change that to "controller" I was trying to find where you assign the plugin and/or nodes an icon and can't seem to find it. Hint?

these 3 lines do it to convert the light bulbs to the generic controller icon, you will need to alter the slot number as I have it in 24, yours is likely not 24.

sudo sh -c 'mkdir -p /var/eisyui/ns/plugin_24/profile && cd /var/isy/FILES/CONF/DEF/f10/i24 && cp -R nls nodedef linkdef editor /var/eisyui/ns/plugin_24/profile/ && chown -R plugin_24:polyglot /var/eisyui/ns/plugin_24/profile'

sudo sh -c 'cd /var/eisyui/ns/plugin_24/profile/nls && mv -f en_US.TXT en_us.txt && for node in controller caltoday caltomorrow calmonth calweekday caltime calrule; do printf "\nND-%s-ICON = GenericCtl\n" "$node"; done >> en_us.txt'

sudo sed -i '' '/LOGGER.info("Profile update response:/a\

polyglot.updateProfile()

' /var/eisyui/ns/plugin_24/main.py

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.