Everything posted by bpwwer
-
PG3x version 3.1.23 (eisy) - OUTDATED
Hello all, We are very happy to introduce PG3x v3.1.23 for eisy. The eisy is using a new version of Polyglot version three called PG3x. PG3x has infrastructure changes to make node servers (and PG3x) more secure. This release includes features already available in PG3 3.1.18 for Polisy. For now, Polisy users should remain on PG3 and eisy users will use PG3x. To upgrade PG3x: In the Admin Console, click on Configuration, Upgrade Packages (note, this can take many minutes, depending on how long it's been since you last updated.). After the upgrade is complete you should restart/reboot the eisy. Do this from the Admin Console, Configuration, Reboot. Once PG3x has restarted, reload /refresh the browser page. Changelog for 3.1.24 - Fix bug that would sometimes cause node server delete to fail. Changelog for 3.1.23 - Add setClientState API framework to support remote access to PG3x - Add device config remove for node servers that make use of hardware device configuration - Handle cases where the purchase entry from my.isy.io is unable - Rework handling of incoming requests with requestId from IoX - Filter package upgrade messages to only show PG3x upgrades - pg3_helper: Use onerestart instead of onestart to start node server. - Don't display new version available in footer (use upgrade available messages from UDX instead) - Return discovered IoX when ISY discovery is called - Enhance error message when uuid is invalid (uuid must be available and valid for PG3x to run) - Be better about trapping errors in UDXstart - Add some additional log messages around node server start - Implement node server rating support - Remove the "Log Out Of Portal" button from pages. Being logged into Portal is required. - Add a button to display the Node Server EULA license - Change startup message to PG3x from PG3 - Missing uuid from IoX is fatal - Add support for Node Servers that need device hardware support - Check for existence of UDX socket, this is required for PG3x to run - Node Server info can now list which controllers the node server will work with (eisy and/or Polisy) - Add local store backup/restore feature - Add button to download system log messages (to help with debugging issues) - Check for existence of log file before streaming it Migrating from Polisy/PG3 Make a PG3 backup on the Polisy. From the PG3 UI select System -> Backup/Restore -> Backup. This will download a backup file Restore the PG3 backup on eisy. From the PG3x UI select System -> Backup/Restore -> Migrate from PG3 backup. Select the Polisy PG3 backup file and when the button changes to "Restore" click it. Depending on how many node servers need to be migrated it can take a while. The UI should pop up messages showing the status as it migrates node servers. There are some limitations to the migration process. Only one IoX device can be migrated. If your Polisy was connected to more than one IoX device (say the local IoP and an i994), the migration process will only migrate one of these and it will use whichever one shows up first when it does it's database query. This will remove any previously installed node servers in PG3x and possibly overwrite them with a node server from the backup. You should start this process with no node servers installed. Any node servers on the Polisy that were installed from the "Local" store will fail to properly migrate (applies mostly to developers). All node servers will be left in the "Stopped" state. You will need to manually start each node server after the migration.
-
Roomba i8+?
It looks like there's now a alternate way to get the password which gets it from the cloud vs. from the machine itself. The claim is that it works for any machine. Switching to that would be a pretty major change for the node server so I'll add it to the list for the node server but no ETA at this time.
-
PG3 - DysonPureCool Node Server - Vanished
Can you try re-installing it now. Do a refresh store first (from the Node Server store page). The problem with the unhandled exception should be fixed so it should install properly.
-
Delete node servers
unmanaged, means that they are not being managed by PG3 but by something else. That's why you can't delete them. In your case, I suspect they are being managed by a previous installation of PG3? or PG2? You can delete them from the Admin Console. Go to Node Servers -> Configure -> slot number for the node server slot you want to delete and click on the "Delete" button. After a few minutes they should disappear from the PG3 dashboard.
-
Can't get a connection between Meteobridge and WeatherPoly on Polisy
You're close. Yes, you need to add a custom parameter with the "Port" "key" field and then the value will be the port that you configure in Meteobridge API URL. If you configure the API URL as "http://10.0.0.56:8045", then you'd set "Port" to 8045 Note, that the IP address in the API URL is the Polisy's IP address. Note2, notice I didn't use port 8080, port 8080 is already in use by the IoX running on the Polisy so you can't use that. When you configured the API URL with that, Meteobridge was trying to send the data to the IoX which rejected it. Note3, I believe the key name is case sensitive so "Port", not "port".
-
PG3 - DysonPureCool Node Server - Vanished
Either I wasn't thinking when I typed the sql command or this auto-corrected it for me. It should have been: select name,nsid from Node Server where name="DysonPureCool"; You can also leave off the where name= part and just do select name,nsid from Node Server; which will display all installed node servers. I looked at the store entry and I don't see anything wrong, but something is happening during the install because it shouldn't be throwing the unhandled rejection error. a 404 is a not found error so maybe the .zip package hasn't been uploaded to the server so it can't be found, downloaded, and installed.
-
PG3 - DysonPureCool Node Server - Vanished
Now that you've re-installed, it's overwritten the nsid that I wanted to see so never mind. Do you remember what you originally installed? I'm not entirely sure how the license is linked but since there can be more than one license type associated with a given node server, it needs to have some way to know which purchase option entry was used to purchase the the license. If the purchase option entries change, as they seem to have in this case, then the license may be linked to a non-existent purchase option. This makes it difficult to properly validate a license. I'm not real sure what to do about this since I can't look at license records nor do I know if it's possible to manually update the records to link with the new purchase option. This may be something that @glarsen, UDI will have to work with you to resolve.
-
PG3 - DysonPureCool Node Server - Vanished
From the log it looked like it was recognizing the license, but it should have an "Install" button instead of a purchase button so maybe not. I would think it would show up under the Purchases screen as well. So before you do anything else, can you do something from a ssh command line? If you can run the following: sqlite3 /var/polyglot/pg3/pg3.db Then, from the sqlite prompt type: select name,nsid from Node Server where name="DysonPureCool"; This should show one line that looks something like: DysonPureCool|c8cca282-ba32-47a7-b56a-abbc8e25904c But the ID string will be different. I need to see that ID string. To exit sqlite, type ".ex" and it will return the normal ssh command prompt
-
PG3 - DysonPureCool Node Server - Vanished
It found your license so that's a good thing. But since it's a new entry in the store and has new purchase options, your PG3 can't figure out which purchase option was used to purchase it initially so can't auto-update it. You should be able to go to the node server server store, select the "Install" for the DysonPureCool node server and you'll have an option to re-install it to the existing slot. That should get you the latest version and then PG3 should now which install option was used for future updates.
-
PG3 - DysonPureCool Node Server - Vanished
Looks like @glarsendeleted it from the store. He also seems to have removed the node server from github.
-
Polisy - Support thread for: PG3 v3.1.18 and v3.1.19 (February 24, 2023)
The log shows authentication failures every time it tries to connect to the ISY. So most likely you need to reset the username and/or password in the ISY menu.
-
MyQ Node Server not working after replacing trial license
@oneklakes, not PG3 but the UDI portal (https://my.isy.io). Thanks for the log, I'll take a look and let you know what find there.
-
Yolink NS reverts to old version after briefly displaying the new version number
For some node servers, auto-update and re-install fail on PG3x. The effected node servers are those that use the 'git' method of distribution. With the current version of PG3x, the only way to get them to update is to remove and then install.
-
MyQ Node Server not working after replacing trial license
The license information comes from the portal so first step would be to check that. Log into the portal and select Connectivity -> node servers from the "More Tools" option. It should list all the node servers you have licenses for. That's information PG3 should be using to determine if the license has expired or not. If that looks correct. Switch the PG3 log to debug level, let it run for 2 or 3 minutes, switch it back to info, download the log and PM it to me.
-
Polisy - Support thread for: PG3 v3.1.18 and v3.1.19 (February 24, 2023)
No, there shouldn't be. It should allow you to rate anything that shows up on your Purchases page. I do see that a number of folks have rated multiple node servers.
-
pg3x exceeded disk quota
Logging for node servers is done using a Python logging library. I don't believe it had support for compressing the old logs back when first used. I've changed it now to only keep 14 days, but this type of change will only really effect new node server installations, not existing one. I'm looking into compression to see if that's been added to the library.
-
pg3x exceeded disk quota
I wrong about the logging. The node server logging for PG3 node servers was copied from PG2 and has been configured to rotate daily and, I believe, keep 30 days of old logs. It's been like this for about 3 years (I.E. before PG3 existed). It doesn't compress the logs. As @Geddysays, there's no good reason to leave the level set to debug as some node servers can be very chatty when set to that. Having a 10G quota on the PG3 directory seems like a new(ish) thing too.
-
pg3x exceeded disk quota
No log data is stored in any database. However, it does keep a fair amount of log info and debug logs can get quite large. Most of the log data should already be compressed and I believe cleared once it's older than 2 weeks. Also, even if the Kasa log exceeded some limit, it shouldn't be effecting PG3x's ability to start and run. I'd need more information on what PG3x is doing, how you're determining that it's log file related, etc.
-
Yolink NS reverts to old version after briefly displaying the new version number
Yes, there are bugs related to auto-updating node servers on PG3x. They'll be fixed in the next update.
-
Kasa Node Server Stops Working When My Router Reboots
I know @Jimbo.Automateswas sort of joking when he said get a new router, but really, a wireless router has one main job and that's to route wireless network traffic. If it stops doing that after a few days, it's broken. The node server probably should be able to handle a router reboot. But I have a number of devices on my network that need to be restarted after a network disruption. It would drive me nuts if I had to restart them all every 4 days.
-
Polisy - Support thread for: PG3 v3.1.18 and v3.1.19 (February 24, 2023)
The log shows that PG3 is crashing shortly after starting which is what I suspected from your initial post. It's crashing with a host unreachable error, but the host looks like a IP v6 address so it's not clear what host it is trying to connect to. error: uncaughtException: connect EHOSTUNREACH 2606:50c0:8000::154:443 Based on where it crashed, I'm guessing it was either trying to check for updates to the node servers or trying to check the licenses. Prior to this it was able to connect to the node server store without any issues so it isn't a general connectivity problem. I haven't seen this particular issue so I'm not sure if it's because of IPv6 or something else. If you can, switch the log level to debug before it disconnects and then download the log after it re-connects. I think that would tell me if it was the license check or not.
-
Polisy - Support thread for: PG3 v3.1.18 and v3.1.19 (February 24, 2023)
Maybe. The i994 UUID was the same as the ethernet port mac address. But with the Polisy having 3 network interfaces (and the pro having wifi too) which mac address is used as the UUID? The eisy has 2 mac address so same thing. I don't know how it determines which mac address (and I'm assuming it still uses one of them) is the UUID. PG3(x) simply queries the running IoX instance to get the UUID. It's possible that how the UUID is determined has changed over time too, I just don't know. But that could explain why there's a phantom UUID in the database.
-
Polisy - Support thread for: PG3 v3.1.18 and v3.1.19 (February 24, 2023)
Most likely the Polisy IoX was already in the database with 5.4.5 firmware and then when you upgraded it got added again with the updated firmware. I'm about ready to remove the auto-detect option as there's almost no reason to ever use it.
-
Polisy - Support thread for: PG3 v3.1.18 and v3.1.19 (February 24, 2023)
Yes, running the package upgrade will upgrade everything to the latest versions. This is what UDI has recommended, but I understand your hesitation. It is possible to limit what gets updated using the command line tools but this may cause other issues either now or with later upgrades which is why it isn't recommended. sudo pkg update sudo pkg install pg3 However, installing the latest PG3 may also pull in other dependencies which may or may not work with the existing versions of packages on your system. You may be better off sticking with the version of PG3 that you have until you're ready to do the full upgrade.
-
Polisy - Support thread for: PG3 v3.1.18 and v3.1.19 (February 24, 2023)
Hello Everyone, This is the support thread for PG3 v3.1.18