Polisy:User Guide: Difference between revisions

From Universal Devices, Inc. Wiki
Jump to navigation Jump to search
m (→‎Upgrading to PG3x: added note in update to PG3x)
 
(113 intermediate revisions by 5 users not shown)
Line 1: Line 1:
Welcome to our Polisy corner: your one place for anything Polisy!  
Welcome to our Polisy corner: your one place for anything Polisy!  
'''Please see [https://forum.universal-devices.com/topic/37257-polisy-update-process-use-admin-console-upgrade-packages-button/ this important update (July 2022)]'''
='''Some Definitions!'''=
==ISY on Polisy (IoP)==
IoP is shorthand notation for '''ISY on Polisy'''. For the old timers, ISY is the code that runs on the 994, now running as an optimized and fast service on Polisy.
==Node Servers==
As you might already know, in ISY, everything is represented as a Node. These are things (or devices) that show up in your left navigation bar under ISY. A long time ago, these nodes were limited to INSTEON,X10/A10, Z-Wave, and Zigbee. Basically, protocols for which ISY994 had native support. We designed and developed node servers so that developers could integrate their things into ISY as nodes. And, hence, Node Servers: they serve nodes to ISY.
These nodes can be anything. They represent real devices such as Ring, Tesla, WiFi light bulbs, Ecobee, or they could be virtual such as calendars and climate services. Once a node is represented in ISY, then the whole ISY event based and programming environment are available to it. In short, Node Servers allow ISY to support pretty much any device or thing out there.
But, where do these node servers live? Well, you have come this far, so read on ...
==Polyglot==
Node servers have to run on some computing device. And, forcing each developer to have to come up with his/her own node server from scratch would be completely detrimental to our quest. So, we designed and developed Polyglot which is a framework that allows developers to develop their node servers with ease and confidence that all the plumbing/security and communications with ISY is handled automatically.
'''Polyglot version 3 (PG3)''' is the latest version of Polyglot which includes much enhanced functionality and, most importantly, enables the developers to charge for their node servers. PG3 is only available on Polisy.
==Polisy==
Polisy is our own shiny, beautiful, powerful hardware/OS preconfigured and optimized to run Polyglot (and other things). So, for those of you non-geeks out there, we have taken all the geekiness out of Polyglot and provided you with a ready to run box. So, now that we got you excited, let's continue with setting up and using your Polisy.
[[File:All new polisy-ANT.jpg | 600px | center]]


='''First Steps'''=
='''First Steps'''=
==Requirements==
* Make sure your ISY is on 5.0.16+
* Make sure your network has DHCP enabled
* Make sure your ISY has either the ISY Portal or the Network Module (Polisy comes with two years of ISY Portal free of charge)
===Requesting for ISY Portal Extension===
* If you have never had ISY Portal installed on your ISY, please go to [https://my.isy.io ISY Portal], register for a 30 day trial, then send your UUID and a copy of your Polisy invoice to [mailto://sales@universal-devices.com&subject=Polisy%20ISY%20Portal%20Extension  sales@Universal-devices.com]
* If you already have ISY Portal installed, please send your UUID and a copy of your Polisy invoice to [mailto://sales@universal-devices.com&subject=Polisy%20ISY%20Portal%20Extension  sales@Universal-devices.com]


==Installation==
==Installation==
Installation is quite easy
Installation is quite easy
* Connect one of the included Cat5e cable to Polisy’s Network Port and to your network hub. You must use the port that’s closest to the right most edge of Polisy when the front of Polisy is facing you (closest to the db-9 serial port). '''Note''': the network must initially be DHCP enabled
* Make sure your network has DHCP auto enabled
* If you have the PRO version, attach the included antennas to the back of the unit
* Connect one end of the included Cat5e cable to Polisy’s Network Port and the other to your network. You '''must''' use the port that’s closest to the '''right''' most edge of Polisy when the front of Polisy is facing you (closest to the db-9 serial port). '''Note''': the network must initially be DHCP auto enabled
* If you have the PRO version, attach the included antennas to the back of the unit.
* Connect the power supply
* Connect the power supply
'''Note''': once Polisy is up and running, it will automatically look for your ISY on the network. As such, it's best to make sure your Polisy and your ISY are on the same network.
* Make sure the bootup sequence is as described below


===First Ever Bootup Sequence===
==Bootup Sequence==
If this is Polisy's first bootup, please be patient as polisy will go through an initial sequence of lights and sounds while it prepares itself for you. This process might take up to 2 minutes:
If this is Polisy's first bootup, please be patient as Polisy will go through an initial sequence of lights and sounds while it prepares itself for you. This process might take several minutes since it may have to update your BIOS:
* All three lights on the front light up when powered on
* All three lights on the front light up when powered on
* After a few seconds, only the left most stays lit for up to a minute
** If BIOS does not need to be updated, after a few seconds, only the left most stays lit for up to a minute and then, all lights turn off, you'll hear a couple of beeps
* All three lights start blinking and a beeping sequence starts
** If BIOS needs to be updated, the 2nd and 3rd light keep blinking while the BIOS is updated and the unit reboots and follows the normal process
* The beeping stops within 25 seconds. If beeping does not stop, make sure the network cable is connected to the correct jack on Polisy and that your network is DHCP enabled
** Everything is operational once only the left most light is lit either initially or after BIOS update
* Everything is operational once only the left most light is lit
* If the 2nd or 3rd light keep blinking for more than 3 minutes, then there is an underlying issue. Please review the [[Polisy:User_Guide#Troubleshooting | Troubleshooting]] section
 
==Accessing Polisy==
ISY Launcher is the best method to find and access all of Polisy's features
* Install [[Main_Page#Installing_the_Admin_Console_Icon_on_Your_Desktop | ISY Launcher]]
* Click on the row of the discovered Polisy and you will see this menu
[[File:Launcher_Menu.png]]


===Normal Bootup Sequence===
'''Admin Console (LAN)'''
* All three lights on the front light up when powered on
This menu item downloads the ISY Admin Console directly from Polisy
* After a few seconds, only the left most stays lit for up to a minute
 
* All three lights start blinking and a beeping sequence starts which lasts about 5 seconds
'''Admin Console (Cloud)'''
* Everything is operational once only the left most light is lit
This menu item downloads the ISY Admin Console from the Universal Devices cloud servers


==Accessing Polisy==
::Regardless of how you get to the ISY Admin Console (Cloud vs. LAN), the results are the same: Admin Console is brought up and connected directly to your Polisy. Admin Console allows you to add/remove/change Z-Wave/INSTEON devices, make programs, and make configuration changes. The best source for what you can do with the Admin Console is our [[Main_Page#ISY_Cookbook | ISY (994) Cookbook]].
If you have a modern router, Polisy advertises itself as '''polisy''' on your network. As such, and in most cases, simply open your browser to [https://polisy https://polisy].  
You will be prompted with a security warning by your browser because polisy uses a self-signed certificate. Please ignore the warning.


[[File:Notsecure.png]]
'''Polyglot V2 (Deprecated)'''
This takes you to Polyglot V2 (PG2) Dashboard which allows you to add node servers (plugins for other devices) to your IoP. This site is deprecated in the favor or Polyglot V3.


You are then presented with the login screen. The default username is '''admin''' and default password is '''admin'''. Please make sure you change your default username/password once you login.
'''Polyglot V3 (PG3)'''
This takes you to [[Polisy:User_Guide#Polisy_.28PG3.29_Dashboard | Polyglot V3 (PG3) Dashboard]].


[[File:Login button.png]]
==Default Username and Password==
'''admin | admin''' is the default username/password for everything in Polisy.




[[File:Login dialog.png]]
==Setup ISY Portal for Remote Access/Alexa/GoogleHome/IFTTT==
* Please go to [https://my.isy.io ISY Portal], register for a 30 day trial
* If you are migrating from 994, make sure you complete the [[Polisy:User_Guide#Migrating_from_994_to_Polisy | migration process]] from 994


And that's it! And, since we are always improving Polisy, the first thing you should do is to check for updates (it's always good to reboot after each update):
Don't forget to check out all the things you can do with [[Main_Page#ISY_Portal:_Integration_with_Amazon_Echo.2FGoogle_Home.2FIFTTT | ISY Portal]].


[[File:Pcheckforupdate.png]]


==Troubleshooting==
='''Mobile App'''=
===Can't Find Polisy===
[[UD_Mobile | UD Mobile]] is everything you have ever dreamed of. It lets you control and monitor anything that's commissioned to your Polisy. And, it's FREE!<br />
If you are having a hard time finding your Polisy using https://polisy, it's best to check your router's DHCP client list and look for a device that has the same MAC address as the one the label at the bottom of your Polisy. Polisy's MAC address starts with '''00:0d:b9'''.  
UD Mobile is developed by Universal Devices. <br />
Forum support is available for [https://forum.universal-devices.com/forum/24-ud-mobile/ UD Mobile].


[[File:Dhclientlist.png]]
[[File:UDMobile_Featured.jpg]]




===Polisy Keeps Beeping===
='''Device Support'''=
====Networking Issue====
* Make sure you have connected the network cable to the '''right''' jack on the back of the unit (the right most when Polisy is facing you)
* Make sure the unit has Internet connectivity since, in some cases, it must download the latest packages upon first installation
* Make sure your ISY is running firmware 5.0.16+ and is on the same network as Polisy


====Latest Packages Not Installed====
==Z-Wave Support==
If the above does not work, you will need an ssh utility (such as putty) to connect to Polisy over the network:
'''Order ZMatter:  
1. ssh admin@polisy (you can change polisy to the IP address of your unit)
[https://www.universal-devices.com/product/zmatter-z-wave-matter-module-for-polisy-beta/ Z-Wave Plus and Matter Module''']
2. Default password is admin. Once this process is done, please change it
3. Run the following commands:
* sudo service polyglot stop
* sudo service udx stop
* sudo pkg update
* sudo pkg upgrade
* sudo service polyglot start
* sudo service udx start


====Corrupted Database====
# Ensure that '''ZMatter''' is installed properly. [https://www.universal-devices.com/docs/ZMatter-Assembly-%20Instructions.pdf Here are the instructions]
* ssh admin@polisy (you can change polisy to the IP address of your unit)
# Go to the Admin Console | Configuration tab
* Default password is admin. Once this process is done, please change it
# Check Z-Wave Support Checkbox
* Run the following commands
# Click the Save button
sudo service mongod status. If it's not running, then:
# Click on the Reboot button. Here's the [[Main_Page#Z-Wave_Plus.E2.84.A2_for_ISY-994_Series | User Guide for Z-Wave]].
* sudo rm -rf /var/db/mongodb
[[File:Polisy_ZWave.png]]
* sudo reboot


='''Some Definitions!'''=
==Node Servers==
==Node Servers==
As you might already know, in ISY, everything is represented as a Node. These are things (or devices) that show up in your left navigation bar under ISY. A long time ago, these nodes were limited to INSTEON,X10/A10, Z-Wave, and Zigbee. Basically protocols for which ISY had native support. We designed and developed node servers so that developers could integrate their things into ISY as nodes. And, hence, Node Servers: they serve nodes to ISY.
Pick from anything in the [[Polisy:User_Guide#NodeServer_Store_Menu | Node Server Store]] and quench your thirst for integration!


These nodes can be anything. They can be representing real devices in the world such as Ring, Tesla, WiFi light bulbs, Ecobee .. or they could be completely virtual such as calendars and climate services. Once a node is represented in ISY, then the whole ISY event based and programming environment are available to it. In short, Node Servers allow ISY to support pretty much any device or thing out there.
==INSTEON Support==
# Connect the PLM to your Polisy
Polisy supports the following PLMs: 2412S and 2413S through the DB9 connector on the back. 2413U and [https://www.amazon.com/Insteon-2448A7-Portable-Adapter-White/dp/B0046V767Y 2448A7] through the USB port on the back. If you have a 2413S (serial), you will need [https://www.universal-devices.com/product/serial-plm-kit/ our Serial PLM Kit]
# Go to the Admin Console | Configuration tab
# Check INSTEON Support Checkbox
# Click the Save button
# Click on the Reboot button. Here's the [[ISY-99i/ISY-26_INSTEON:How-To_Guide | INSTEON User Guide]].
[[File:Polisy_INSTEON.png]]


[[File::Nodes.png]]
==Migrating from 994 to Polisy==
'''Order ZMatter:
[https://www.universal-devices.com/product/zmatter-z-wave-matter-module-for-polisy-beta/ Z-Wave Plus and Matter Module''']


But, where do these node servers live? Well, you have come this far, so read on ...
Use these instructions to migrate:
'''[https://wiki.universal-devices.com/index.php?title=Eisy:User_Guide#Migration Migrating from ISY-994 to Polisy or Eisy]'''
 
='''Polisy (PG3) Dashboard'''=
 
You will be prompted with a security warning by your browser because polisy uses a self-signed certificate. Please ignore the warning.
 
[[File:Notsecure.png]]
 
You are then presented with the login screen. The default username is '''admin''' and default password is '''admin'''. Please make sure you change your default username/password once you login.
 
[[File:Login dialog.png]]
 
 
Once you have successfully logged into Polisy, you will get the Polisy Dashboard which is designed to be simple and functional.
 
==ISYs==
 
You can add/remove ISYs or IoPs through this menu. The '''first''' thing you need to do is to add the local IoP to the list of ISYs.
# Click on the '''Add New ISY''' menu
# Fill out the entries as shown in the picture below
# Make sure you use HTTP and not HTTPS
[[File:Add_ISY.png]]
 
==NodeServer Store Menu==
 
This is where all the available node servers are listed. In order to install one of these node servers into ISY/IoP:
# Click on the name of the Node Server you wish to purchase/install
# Additional information about the Node Server will be displayed, including the purchase/install options available.
 
[[File:ns_purchase_options.png]]
 
There are 4 possible purchase options that may be available:
# Trial. Activating a trial license will make the Node Available for the trial period. When selected, the Activate button should change to an Install button.
# Free. Free Node Servers will simply show an Install button and are available to be immediately installed.
# Purchase.  Clicking the Purchase button will re-direct you to the Portal purchasing system where you can purchase an license for the Node Server (see steps below).
# Subscription. Click the Purchase button for a subscription will re-direct you to the Portal purchasing system where you can purchase a license for a specific time period.


==Polyglot==
[[File:ns_purchase_info.png]]
Node servers have to run on some computing device. And, forcing each developer to have to come up with his/her own node server from scratch would be completely detrimental to our quest. So, we designed and developed Polyglot which is a framework that allows developers to develop their node servers with ease and confidence that all the plumbing/security and communications with ISY is handled automatically.


And, of course, being geeks ourselves, we developed Polyglot to run on geeky things such as Raspberry Pi. If you are a geek and at home with ssh, ifconfig, pip, npm, and Linux system admin you will be right at home installing Polyglot on a Raspberry Pi and enjoying it.  
The Purchase Info displays basic info about the node server and which ISY/IoP is currently being manages. Once you've confirmed this is what you wanted, click the Purchase button to re-direct to the Portal purchasing system.  You may be asked to log-in to the Portal to complete the following steps.


And, here comes the punchline for those who are not geeks:  
[[File:ns_purchase.png]]


==Polisy==
The Portal purchasing system will give you the option to select the type of license you wish to purchase.  Use the drop down box to select the license and then click the button to continue with the payment options.
Polisy is our own shiny, beautiful, powerful hardware/OS preconfigured and optimized to run Polyglot (and other things). So, for those of you non-geeks out there, we have taken all the geekiness out of Polyglot and provided you with a ready to run box. So, now that we got you excited, let's continue with setting up and using your Polisy.


[[File:All new polisy-ANT.jpg | 600px | center]]
Once a node server license has been purchased, you will be re-directed back to PG3.  Navigate back to the node server store and again select the node server you just purchased. The node server details page will now show an Install button instead of a Purchase button.  Clicking the Install button will display the node server installation screen.


[[File:ns_install_details.png]]


='''Polisy Dashboard'''=
If this is the first time installing this node server, you must select an empty slot before installing.  If you have previously installed this node server, you will be given the option to re-install it into the slot where it is currently installed.


Once you have successfully logged into Polisy, you will get the Polisy Dashboard which is designed to be simple and functional. If your ISY is on the same network, Polisy will try to find it and login to it using default username/password (1 in the picture below). If ISY is not found, don't despair! You can configure Polisy with [[#ISY Settings | ISY's connection parameters]].  
Once installed, it should show up in the PG3 Dashboard.


If this is the first time you have logged into Polisy, and if you have the ISY Portal module, you might see ISY Portal listed as a node server. You can ignore this node server since it's not managed by Polisy.
==Purchases==
This is where all your node server purchases show up. These node servers are tied to your Polisy.


==Upgrading to PG3x==
* Enable PG3x: https://polisy.local:8443/rest/pg3x.enable
* Reboot and wait for a beep + 1. Migrating node servers from PG3 to PG3x might take up to 2 minutes per node server. So, please be patient
* Once all node servers show connected, reboot again.
'''NOTE:''' there is no "undo" for this process, so be certain that you are ready to update to PG3x before proceeding


[[File:Pdashboard.png]]
='''Multi Function Button'''=
[[File:Multifunction.png|right]]  


There's a little multi function button behind the very small hole on the front of the unit.
This button has multiple purposes outlined below. Every click on the button will cause the unit to beep.


==NodeServers Menu==
If the button does not behave as described below, please [[Polisy:User_Guide#Update_Polisy | update Polisy]].
[[File:Nsmenu.png|Right]]


===NodeServer Store===
==Update and Upgrade All the Packages==
This is where all the available node servers are listed. In order to install one of these node servers into ISY, first, click on the Install button to import the node server into Polisy. Once the node server is installed into Polisy, the next step is to install it into ISY using '''Add NodeServer''' menu option.
Click the button '''once'''. '''Please consult [https://www.universal-devices.com/my-tickets/ support] before updating this route. See link below for suggested update/upgrade process.'''


[[File:Nstore.png|500px|center]]
Please see [https://forum.universal-devices.com/topic/37257-polisy-update-process-use-admin-console-upgrade-packages-button/ this important update (July 2022)]


===Add NodeServer===
==Safely Reboot==
Use this menu option to install the NodeServer that you have imported into Polisy into ISY.  
Click the button '''twice'''.


[[File:Adns.png|500px|center]]
==Safely Shutdown==
Click the button '''three times'''.


==Settings Menu==
==Reset Credentials==
[[File:Psettings.png|Right]]
Press and hold the button till the '''first''' LED (from the left) starts blinking then release.
This action resets the following passwords to the default ('''admin/admin'''): <br>
*SSH
*Polyglot v2
*ISY on Polisy (IoP)<br>
Be sure to change the passwords for these sections after you log-in again.


Setting menu allows you to configure Polyglot and System settings.  
==Reset Networking==
Press and hold the button till the '''first and second''' LEDs (from the left) start blinking then release. This action resets all network configuration back to DHCP on the Ethernet jack next to the serial port. All other network interfaces shall be disabled.


===Polisy Configuration===
==Factory Reset==
Press and hold the button till '''all''' LEDs start blinking then release. This action resets the credentials, removes all configurations from Polyglot/Polisy, and resets networking.


Allows you to configure system wide time zone and network settings:
='''Troubleshooting'''=
==First and Foremost==
* Make sure you have connected the network cable to the '''right''' jack on the back of the unit (the right most when Polisy is facing you)
* Make sure your router is initially DHCP enabled


[[File:Pnet.png|center|500px]]
==Can't Find Polisy==
First and foremost, all VPN software block discovery of Polisy on your network. As such, if you have a VPN software running, please turn it off.


To change the Time Zone, you must click on the '''Change''' button!
If you have a modern router, Polisy advertises itself as '''polisy''' on your network. As such, and in most cases, you should be able to find Polisy at <nowiki>https://polisy:8443/desc</nowiki>. What you need to do is:
# In ISY Launcher, click on the '''Add''' button
# Enter '''<nowiki>https://polisy:8443/desc</nowiki>''' into the dialog
# Click on the '''OK''' button


You can also configure your WiFi if you have Polisy PRO.
[[File:Add_Polisy.png]]


[[File:Pwifi.png|center|500px]]
If you are still having a hard time finding your Polisy, it's best to check your router's DHCP client list and look for a device that has the same MAC address as the one the label at the bottom of your Polisy. Polisy's MAC address starts with '''00:0d:b9'''.  


===Polyglot Configuration===
[[File:Dhclientlist.png]]


If you are not a geek, the only options in this page that are of importance are:
Once you find the IP address for Polisy, in this '''example''', 192.168.1.122, then
# In ISY Launcher, click on the '''Add''' button
# Enter '''<nowiki>https://192.168.1.122:8443/desc</nowiki>''' into the dialog. '''Note''' 192.168.1.122 is an example. You should use the IP address for your Polisy
# Click on the '''OK''' button


====Backup and Restore Polyglot====
==The Second or Third Light Is Blinking==
* Signature failure
* Old BIOS
Please [https://www.universal-devices.com/my-tickets contact support].


Yes, you can! If you have been running Polyglot on Raspberry Pi or something else, you can simply back it up and then restore it onto Polisy using these two self explanatory buttons.
==The Third Light Is Constantly On While Everything Else Is Off==
* This means that that flash chip is corrupted
* Request a Flash Chip from support@universal-devices.com
* Once received, unplug Polisy, open the screws on the four corners, and install it as shown in the image below
* Plug Polisy back in
* '''Immediately''' after the unit is up and while still plugged in, '''unplug the Flash Chip''', then SSH to polisy and run the following commands:
** sudo pkg update && sudo pkg upgrade and wait for completion
** sudo /usr/local/etc/udx.d/static/udxops.sh update.bios.force
** Wait for the unit to reboot


[[File:Backuprestore.png|center]]
[[File:Flash.jpg]]


==Polisy OS Versions Below 13==
If the above process does not work, you will need an ssh utility (such as Putty) to connect to Polisy over the network:<br />
ssh admin@polisy-ip (you should change polisy-ip to the IP address of your unit). Default password is '''admin'''. Once this process is done, please change it<br />
Run the following commands:
* sudo uname -a<br />
If the OS is below 13, you have a few choices:
* '''If your Polisy is more than 2 years old'''
# You can purchase a brand new and updated SSD from [https://www.universal-devices.com/product/polisy-ssd-mpcie/ here]
# If you are a geek, you can reflash your SSD yourself. Please [https://www.universal-devices.com/my-tickets submit a ticket]
* '''If your Polisy is more than 1 and less than 2 years old'''
# Please ship to <br/>
Universal Devices<br/>
c/o Reflash <br/>
5435 Balboa Blvd. <br/>
Suite 205 <br/>
Encino, CA 91316 <br/>
Please make sure you include your return mailing address.
* '''If your Polisy is less than 1 year old''', please [https://www.universal-devices.com/my-tickets submit a ticket] and request for RMA




====ISY Settings====
*Steps to change ssh password:<br />
If Polisy has not been able to find and commission your ISY, update this section with ISY parameters such as IP, username, and password.
:[[File:Polisy_SSH_ChangePass.jpg]]<br />


[[File:isysettings.png|center]]
==Upgrade Process - As of July 2022==
Please see [https://forum.universal-devices.com/topic/37257-polisy-update-process-use-admin-console-upgrade-packages-button/ this important update (July 2022)]


==System Menu==
Unless explicitly requested by Universal Devices, '''the SSH method of updating the Polisy should be avoided'''. Due to recent updates to the underlying operating system, unexpected consequences are being experienced when users force a full package upgrade and update using SSH.
Use this menu to keep your Polisy, Polyglot, and ISY in tiptop shape!


[[File:Psystem.png]]
To update/upgrade your Polisy, please only use the Admin Console to the ISY on Polisy (IoP).


===Restart Polyglot ===
Current suggested method for updating:
Restarts the Polyglot instance running inside Polisy.


===Reboot ISY===
ISY Launcher to open the ISY Finder window.
Self explanatory.


===Check for Polisy Updates===
Once logged in navigate to:
Use this menu regularly to make sure your Polisy is up to date.
* Configuration tab
* System


===Update Polisy===
Then click: “Upgrade Packages”
Use this menu if you want to update your Polisy with the latest and greatest as reported by the previous menu.


===Reboot Polisy===
This updating/upgrading process through Admin Console has been developed to handle downloading the proper packages from Universal Devices servers to update UD specific libraries and dependencies needed to keep the Polisy operating efficiently and as designed.  
Reboots the whole system.


===Shutdown Polisy===
Shutdown the whole system.


=Multi Function Button=
[[File:Multifunction.png|Left]] There's a little multi function button behind the very small hole on the front of the unit.
This button has multiple purposes outlined below. Every click on the button will cause the unit to beep.


==Update and Upgrade All the Packages==
=Cool Integrations=
Click the button '''once'''
This section shares interesting and useful applications of the Polisy controller submitted by our users so that others can benefit from the work already done.  If you have an integration that you think other users would enjoy, please feel free to share it with us and we will work with you to add it to this section.


==Safely Reboot==
==Conserving Irrigation Water==
Click the button '''twice'''
For a description of how to use Polisy to automatically adjust your landscaping watering times based upon the current weather conditions in your area, please click on the link below.  This can allow you to save up to 75% on your water bill and still provide your plants with all the water they actually need.


==Safely Shutdown==
    [https://www.alphaengineeringlabs.com/gallery/Conserving%20Irrigation%20Water.pdf Conserving Irrigation Water]
Click the button '''three times'''


==Reset Credentials==
==Collecting and Graphing Data==
Press and hold the button till the '''first''' LED (from the left) starts blinking then release. This action resets Polyglot as well as SSH credentials back to the default admin/admin.
For a description of how to use Polisy to collect data points about your house (ex: A/C run time every hour, #of minutes doors are left open, etc.) and produce a graph of data over time using Excel, please click on the link below.


==Reset Networking==
    [https://www.alphaengineeringlabs.com/gallery/Polisy%20Data%20Collection.pdf Collecting and Graphing Data]
Press and hold the button till the '''first and second''' LEDs (from the left) start blinking then release. This action resets all network configuration back to DHCP on the Ethernet jack next to the serial port. All other network interfaces shall be disabled.


==Factory Reset==
==Reset Credentials==
Press and hold the button till '''all''' LEDs start blinking then release. This action resets the credentials, removes all configurations from Polyglot/Polisy, and resets networking.


==Bridging Older Serial Based Systems to Polisy==
For a description of how to use Polisy to use sensor data from an older serial-based system (an older alarm system, etc.), please click on the link below.  For example, this would allow both your old alarm system and the Polisy to use the same door and window sensors that are already present on your alarm system - even though they are not Z-Wave.


    [https://www.alphaengineeringlabs.com/gallery/760015xx%20Alarm%20to%20Z-Wave%20Notes.pdf Bridging Older Serial Based Systems to Polisy]


==Optimizing A/C Power Usage==
For a description of how to use Polisy to automatically adjust your A/C cooling level based upon current weather conditions and time of day to reduce your power bill and extend the life of your A/C unit, please click on the link below.


    [https://www.alphaengineeringlabs.com/gallery/Optimizing%20AC%20Power%20Usage.pdf Optimizing A/C Power Usage]


Click the reset button through the small hole on the front
==Making a Z-Wave Push Button==
It is surprisingly difficult to find a simple Z-Wave push button device to allow the user to trigger a set of actions when a button is pressed.  Here is a quick guide on how to make your own push button.


=Debugging=
    [https://www.alphaengineeringlabs.com/gallery/Z-Wave%20Button.pdf Making a Z-Wave push button]
==Getting Into Polisy Using Serial Port ==
[https://forum.universal-devices.com/topic/28645-polisy-hw-how-to-serial-console/?tab=comments#comment-280576 Connect to Polisy]

Latest revision as of 21:32, 27 May 2023

Welcome to our Polisy corner: your one place for anything Polisy!

Please see this important update (July 2022)

Some Definitions!

ISY on Polisy (IoP)

IoP is shorthand notation for ISY on Polisy. For the old timers, ISY is the code that runs on the 994, now running as an optimized and fast service on Polisy.

Node Servers

As you might already know, in ISY, everything is represented as a Node. These are things (or devices) that show up in your left navigation bar under ISY. A long time ago, these nodes were limited to INSTEON,X10/A10, Z-Wave, and Zigbee. Basically, protocols for which ISY994 had native support. We designed and developed node servers so that developers could integrate their things into ISY as nodes. And, hence, Node Servers: they serve nodes to ISY.

These nodes can be anything. They represent real devices such as Ring, Tesla, WiFi light bulbs, Ecobee, or they could be virtual such as calendars and climate services. Once a node is represented in ISY, then the whole ISY event based and programming environment are available to it. In short, Node Servers allow ISY to support pretty much any device or thing out there.

But, where do these node servers live? Well, you have come this far, so read on ...

Polyglot

Node servers have to run on some computing device. And, forcing each developer to have to come up with his/her own node server from scratch would be completely detrimental to our quest. So, we designed and developed Polyglot which is a framework that allows developers to develop their node servers with ease and confidence that all the plumbing/security and communications with ISY is handled automatically.

Polyglot version 3 (PG3) is the latest version of Polyglot which includes much enhanced functionality and, most importantly, enables the developers to charge for their node servers. PG3 is only available on Polisy.

Polisy

Polisy is our own shiny, beautiful, powerful hardware/OS preconfigured and optimized to run Polyglot (and other things). So, for those of you non-geeks out there, we have taken all the geekiness out of Polyglot and provided you with a ready to run box. So, now that we got you excited, let's continue with setting up and using your Polisy.

All new polisy-ANT.jpg

First Steps

Installation

Installation is quite easy

  • Make sure your network has DHCP auto enabled
  • Connect one end of the included Cat5e cable to Polisy’s Network Port and the other to your network. You must use the port that’s closest to the right most edge of Polisy when the front of Polisy is facing you (closest to the db-9 serial port). Note: the network must initially be DHCP auto enabled
  • If you have the PRO version, attach the included antennas to the back of the unit.
  • Connect the power supply
  • Make sure the bootup sequence is as described below

Bootup Sequence

If this is Polisy's first bootup, please be patient as Polisy will go through an initial sequence of lights and sounds while it prepares itself for you. This process might take several minutes since it may have to update your BIOS:

  • All three lights on the front light up when powered on
    • If BIOS does not need to be updated, after a few seconds, only the left most stays lit for up to a minute and then, all lights turn off, you'll hear a couple of beeps
    • If BIOS needs to be updated, the 2nd and 3rd light keep blinking while the BIOS is updated and the unit reboots and follows the normal process
    • Everything is operational once only the left most light is lit either initially or after BIOS update
  • If the 2nd or 3rd light keep blinking for more than 3 minutes, then there is an underlying issue. Please review the Troubleshooting section

Accessing Polisy

ISY Launcher is the best method to find and access all of Polisy's features

  • Install ISY Launcher
  • Click on the row of the discovered Polisy and you will see this menu

Launcher Menu.png

Admin Console (LAN) This menu item downloads the ISY Admin Console directly from Polisy

Admin Console (Cloud) This menu item downloads the ISY Admin Console from the Universal Devices cloud servers

Regardless of how you get to the ISY Admin Console (Cloud vs. LAN), the results are the same: Admin Console is brought up and connected directly to your Polisy. Admin Console allows you to add/remove/change Z-Wave/INSTEON devices, make programs, and make configuration changes. The best source for what you can do with the Admin Console is our ISY (994) Cookbook.

Polyglot V2 (Deprecated) This takes you to Polyglot V2 (PG2) Dashboard which allows you to add node servers (plugins for other devices) to your IoP. This site is deprecated in the favor or Polyglot V3.

Polyglot V3 (PG3) This takes you to Polyglot V3 (PG3) Dashboard.

Default Username and Password

admin | admin is the default username/password for everything in Polisy.


Setup ISY Portal for Remote Access/Alexa/GoogleHome/IFTTT

Don't forget to check out all the things you can do with ISY Portal.


Mobile App

UD Mobile is everything you have ever dreamed of. It lets you control and monitor anything that's commissioned to your Polisy. And, it's FREE!
UD Mobile is developed by Universal Devices.
Forum support is available for UD Mobile.

UDMobile Featured.jpg


Device Support

Z-Wave Support

Order ZMatter: Z-Wave Plus and Matter Module

  1. Ensure that ZMatter is installed properly. Here are the instructions
  2. Go to the Admin Console | Configuration tab
  3. Check Z-Wave Support Checkbox
  4. Click the Save button
  5. Click on the Reboot button. Here's the User Guide for Z-Wave.

Polisy ZWave.png

Node Servers

Pick from anything in the Node Server Store and quench your thirst for integration!


INSTEON Support

  1. Connect the PLM to your Polisy

Polisy supports the following PLMs: 2412S and 2413S through the DB9 connector on the back. 2413U and 2448A7 through the USB port on the back. If you have a 2413S (serial), you will need our Serial PLM Kit

  1. Go to the Admin Console | Configuration tab
  2. Check INSTEON Support Checkbox
  3. Click the Save button
  4. Click on the Reboot button. Here's the INSTEON User Guide.

Polisy INSTEON.png

Migrating from 994 to Polisy

Order ZMatter: Z-Wave Plus and Matter Module

Use these instructions to migrate: Migrating from ISY-994 to Polisy or Eisy

Polisy (PG3) Dashboard

You will be prompted with a security warning by your browser because polisy uses a self-signed certificate. Please ignore the warning.

Notsecure.png

You are then presented with the login screen. The default username is admin and default password is admin. Please make sure you change your default username/password once you login.

Login dialog.png


Once you have successfully logged into Polisy, you will get the Polisy Dashboard which is designed to be simple and functional.

ISYs

You can add/remove ISYs or IoPs through this menu. The first thing you need to do is to add the local IoP to the list of ISYs.

  1. Click on the Add New ISY menu
  2. Fill out the entries as shown in the picture below
  3. Make sure you use HTTP and not HTTPS

Add ISY.png

NodeServer Store Menu

This is where all the available node servers are listed. In order to install one of these node servers into ISY/IoP:

  1. Click on the name of the Node Server you wish to purchase/install
  2. Additional information about the Node Server will be displayed, including the purchase/install options available.

Ns purchase options.png

There are 4 possible purchase options that may be available:

  1. Trial. Activating a trial license will make the Node Available for the trial period. When selected, the Activate button should change to an Install button.
  2. Free. Free Node Servers will simply show an Install button and are available to be immediately installed.
  3. Purchase. Clicking the Purchase button will re-direct you to the Portal purchasing system where you can purchase an license for the Node Server (see steps below).
  4. Subscription. Click the Purchase button for a subscription will re-direct you to the Portal purchasing system where you can purchase a license for a specific time period.

Ns purchase info.png

The Purchase Info displays basic info about the node server and which ISY/IoP is currently being manages. Once you've confirmed this is what you wanted, click the Purchase button to re-direct to the Portal purchasing system. You may be asked to log-in to the Portal to complete the following steps.

Ns purchase.png

The Portal purchasing system will give you the option to select the type of license you wish to purchase. Use the drop down box to select the license and then click the button to continue with the payment options.

Once a node server license has been purchased, you will be re-directed back to PG3. Navigate back to the node server store and again select the node server you just purchased. The node server details page will now show an Install button instead of a Purchase button. Clicking the Install button will display the node server installation screen.

Ns install details.png

If this is the first time installing this node server, you must select an empty slot before installing. If you have previously installed this node server, you will be given the option to re-install it into the slot where it is currently installed.

Once installed, it should show up in the PG3 Dashboard.

Purchases

This is where all your node server purchases show up. These node servers are tied to your Polisy.

Upgrading to PG3x

  • Enable PG3x: https://polisy.local:8443/rest/pg3x.enable
  • Reboot and wait for a beep + 1. Migrating node servers from PG3 to PG3x might take up to 2 minutes per node server. So, please be patient
  • Once all node servers show connected, reboot again.

NOTE: there is no "undo" for this process, so be certain that you are ready to update to PG3x before proceeding

Multi Function Button

Multifunction.png

There's a little multi function button behind the very small hole on the front of the unit. This button has multiple purposes outlined below. Every click on the button will cause the unit to beep.

If the button does not behave as described below, please update Polisy.

Update and Upgrade All the Packages

Click the button once. Please consult support before updating this route. See link below for suggested update/upgrade process.

Please see this important update (July 2022)

Safely Reboot

Click the button twice.

Safely Shutdown

Click the button three times.

Reset Credentials

Press and hold the button till the first LED (from the left) starts blinking then release. This action resets the following passwords to the default (admin/admin):

  • SSH
  • Polyglot v2
  • ISY on Polisy (IoP)

Be sure to change the passwords for these sections after you log-in again.

Reset Networking

Press and hold the button till the first and second LEDs (from the left) start blinking then release. This action resets all network configuration back to DHCP on the Ethernet jack next to the serial port. All other network interfaces shall be disabled.

Factory Reset

Press and hold the button till all LEDs start blinking then release. This action resets the credentials, removes all configurations from Polyglot/Polisy, and resets networking.

Troubleshooting

First and Foremost

  • Make sure you have connected the network cable to the right jack on the back of the unit (the right most when Polisy is facing you)
  • Make sure your router is initially DHCP enabled

Can't Find Polisy

First and foremost, all VPN software block discovery of Polisy on your network. As such, if you have a VPN software running, please turn it off.

If you have a modern router, Polisy advertises itself as polisy on your network. As such, and in most cases, you should be able to find Polisy at https://polisy:8443/desc. What you need to do is:

  1. In ISY Launcher, click on the Add button
  2. Enter https://polisy:8443/desc into the dialog
  3. Click on the OK button

Add Polisy.png

If you are still having a hard time finding your Polisy, it's best to check your router's DHCP client list and look for a device that has the same MAC address as the one the label at the bottom of your Polisy. Polisy's MAC address starts with 00:0d:b9.

Dhclientlist.png

Once you find the IP address for Polisy, in this example, 192.168.1.122, then

  1. In ISY Launcher, click on the Add button
  2. Enter https://192.168.1.122:8443/desc into the dialog. Note 192.168.1.122 is an example. You should use the IP address for your Polisy
  3. Click on the OK button

The Second or Third Light Is Blinking

  • Signature failure
  • Old BIOS

Please contact support.

The Third Light Is Constantly On While Everything Else Is Off

  • This means that that flash chip is corrupted
  • Request a Flash Chip from support@universal-devices.com
  • Once received, unplug Polisy, open the screws on the four corners, and install it as shown in the image below
  • Plug Polisy back in
  • Immediately after the unit is up and while still plugged in, unplug the Flash Chip, then SSH to polisy and run the following commands:
    • sudo pkg update && sudo pkg upgrade and wait for completion
    • sudo /usr/local/etc/udx.d/static/udxops.sh update.bios.force
    • Wait for the unit to reboot

Flash.jpg

Polisy OS Versions Below 13

If the above process does not work, you will need an ssh utility (such as Putty) to connect to Polisy over the network:
ssh admin@polisy-ip (you should change polisy-ip to the IP address of your unit). Default password is admin. Once this process is done, please change it
Run the following commands:

  • sudo uname -a

If the OS is below 13, you have a few choices:

  • If your Polisy is more than 2 years old
  1. You can purchase a brand new and updated SSD from here
  2. If you are a geek, you can reflash your SSD yourself. Please submit a ticket
  • If your Polisy is more than 1 and less than 2 years old
  1. Please ship to

Universal Devices
c/o Reflash
5435 Balboa Blvd.
Suite 205
Encino, CA 91316
Please make sure you include your return mailing address.

  • If your Polisy is less than 1 year old, please submit a ticket and request for RMA


  • Steps to change ssh password:
Polisy SSH ChangePass.jpg

Upgrade Process - As of July 2022

Please see this important update (July 2022)

Unless explicitly requested by Universal Devices, the SSH method of updating the Polisy should be avoided. Due to recent updates to the underlying operating system, unexpected consequences are being experienced when users force a full package upgrade and update using SSH.

To update/upgrade your Polisy, please only use the Admin Console to the ISY on Polisy (IoP).

Current suggested method for updating:

ISY Launcher to open the ISY Finder window.

Once logged in navigate to:

  • Configuration tab
  • System

Then click: “Upgrade Packages”

This updating/upgrading process through Admin Console has been developed to handle downloading the proper packages from Universal Devices servers to update UD specific libraries and dependencies needed to keep the Polisy operating efficiently and as designed.


Cool Integrations

This section shares interesting and useful applications of the Polisy controller submitted by our users so that others can benefit from the work already done. If you have an integration that you think other users would enjoy, please feel free to share it with us and we will work with you to add it to this section.

Conserving Irrigation Water

For a description of how to use Polisy to automatically adjust your landscaping watering times based upon the current weather conditions in your area, please click on the link below. This can allow you to save up to 75% on your water bill and still provide your plants with all the water they actually need.

    Conserving Irrigation Water

Collecting and Graphing Data

For a description of how to use Polisy to collect data points about your house (ex: A/C run time every hour, #of minutes doors are left open, etc.) and produce a graph of data over time using Excel, please click on the link below.

    Collecting and Graphing Data


Bridging Older Serial Based Systems to Polisy

For a description of how to use Polisy to use sensor data from an older serial-based system (an older alarm system, etc.), please click on the link below. For example, this would allow both your old alarm system and the Polisy to use the same door and window sensors that are already present on your alarm system - even though they are not Z-Wave.

    Bridging Older Serial Based Systems to Polisy

Optimizing A/C Power Usage

For a description of how to use Polisy to automatically adjust your A/C cooling level based upon current weather conditions and time of day to reduce your power bill and extend the life of your A/C unit, please click on the link below.

    Optimizing A/C Power Usage

Making a Z-Wave Push Button

It is surprisingly difficult to find a simple Z-Wave push button device to allow the user to trigger a set of actions when a button is pressed. Here is a quick guide on how to make your own push button.

    Making a Z-Wave push button