-
Posts
3178 -
Joined
-
Last visited
Everything posted by bpwwer
-
Is you eisy registered to your UDI Portal account? It needs to be or PG3 won't be able to install node servers.
-
It's certainly possible that they've changed something in newer Roomba's that breaks the way the node server attempts to access it. Everything related to connecting to Roomba's is based on reverse-engineering how they work as there isn't a public API to do this. Given that it's unable to connect to the Roomba because it is denying the connection attempt, you may need to do something to the Roomba to enable that. Ah, yes, the issue has been reported and it looks like the way to get the password is different for the j7+ and that method is not easily integrated into the node server.
-
No, the current design is based on the fact that the Roomba broadcast the information needed to connect to it. So the node server has to be able to receive that info to function. This is mostly a function of how the Roomba works, not the node server.
-
Polyglot Cloud vs. Poking Holes in the Firewall
bpwwer replied to theitprofessor's topic in Coffee Shop
Yes, Rachio is one (probably of only a couple) that require opening a port. We've recently added the ability to route webhooks through the Portal so that opening a port isn't necessary. Instead, Rachio would be configured to a unique URL for the Portal system and the Portal would relay that to the node server via a secure remote connection. But as I don't think the original Rachio author is actively maintaining the node server, someone would have to take on the task to re-write to use the new webhooks API. Rachio allowing for local control would be even better. People have been asking for that for almost 7 years now: https://community.rachio.com/t/api-call-to-local-sprinkler-ip/4152/12 -
There was more than one. Release notes for 3.1.26 - Fix permissions on node server files after migration from PG3 to PG3x - Add an enhancement to cloudlink support, primarily for the Google Calendar node server - Compress old log files and limit the size of a log file from 100Mb to 30Mb - Fix a submission issue for node server developers.
-
Just to follow up, I spent some time with @pkauf and this is what we found. Node servers that install from a .zip package are getting installed with some of the files (seems like mostly the Python files) corrupted. The files contents are all there, but the order in the file is wrong. Usually a chunk of the code from the middle of the file ends up at the beginning. This causes the Python interpreter to fail, no surprise. Node servers that install from a git repository are fine. No idea why this is happening. I replaced all the PG3 files on the system and replaced the node.js module that does the unzipping in PG3 with no change. The FreeBSD unzip program works fine unzipping the same files. If anyone has any ideas, let us know.
-
PG3x 3.1.26 had a couple of very minor updates and one update to fix issues when a Polisy user migrated from PG3 to PG3x. I forgot to make a forum post about it.
-
Node Server Request (Weatherlink Console 6313)
bpwwer replied to garybixler's topic in Product Requests
Noted. Looks like major differences to the previous API. -
How easy it is to add depends on what data is available from the source. If you set the log level of the node server(s) to debug and let them run for an hour or so, then download the logs and post them or PM them, I can take a look and see if there are fields available that I didn't use. If any of those are available directly, it's pretty easy to add. If they aren't, then they would have to be calculated from existing data which is more effort.
-
When you exceed the number of queries allowed per whatever plan you're using, the queries will fail until that limit is reset (I think daily). So depending on the time when it exceeds the limit, it could be a while before it is reset. I should add some checking for the limit being exceeded and display a notice when that happens. I'll put that on the list, but don't know when I'll have time to work on it.
-
As far as I know, the original author is not maintaining it any longer. I did the conversion from a PG2 node server to a PG3 node server, but I don't really have time to figure out how to add new features to it.
-
Version 1.0.7 of the Caseta node server should now recognize the Serena roller shades.
- 1 reply
-
- 1
-
-
First off, I have no experience with the SmarterHome products. However there is a node server, MySmartBlinds, which works with SmarterHome products (so the docs: https://github.com/UniversalDevicesInc-PG3/udi-MySmartBlinds-nodeserver/blob/main/README.md say). Pretty much all the different automated blinds/shades solutions that work with UDI do so via node servers. The exception would be ones that use z-wave. And, yes, each different product has it's own bridge. No standardized blind/shade bridge is available. The Polisy/eisy is the hub that can centralize control of multiple different manufacturers bridges. There is a Somfy node server, but again, I have no experience with it so I can't tell you if it will work with your Sunsetter or not.
-
Not really. UDI creates the certificates that are used by all the components to enable encrypted and signed communication. There's nothing "insecure" about that. The problem is that browsers have no way to trust non-public servers at least not in a way that's easy for user's to configure. Servers like PG3, don't typically have a public IP/DNS address. PG3(x) has no way to get a certificate from a signing authority. The only option is to use a self signed certificate**. If you don't trust the certificate signed by UDI, you probably shouldn't be using UDI controllers. Currently, the browser based UI is only designed to support local connections to PG3(x). You can use SSL encryption for this (but you have to tell the browser to accept the self signed certificate) or you can use unencrypted connections. It's your choice. I would not recommend trying to use the browser UI remotely unless you're connecting over a secure VPN. We are working on providing UI remote access to PG3x. The connection will be routed from a secure internet visible server to PG3x over a private secure connection (similar to VPN). ** Yes, it is possible to configure a Polisy/eisy to have a public DNS address and get valid certificates generated for it. However, doing so is probably outside the scope of what most users can do. With PG3, you can do that because the only thing that makes use of the certificate is the browser UI or UD Mobile. And in theory, you could do the same for PG3x, except that all the internal communication is now SSL encrypted based on the certificates that UDI creates. So you'd have to replace all them, including generating new certificates for each node server. So while it may be possible, it's not really practical. ** And also, it is possible to set up a system where PG3(x) gets a public DNS and certificates from an authority, but doing that is non-trivial and also not free. (Plex for example, does this). But UDI would probably need to require a more expensive portal license to cover the costs.
-
Leaving the IoP unconfigured won't hurt anything, you'll just keep getting a bunch of warnings/errors in the log. From the log 4/28/2023, 19:58:05 [pg3] info: [00:21:b9:02:43:ab_9] :: Cloning repository... /home/admin/dev/udi-solaredge-poly into /var/polyglot/pg3/ns/0021b90243ab_9 4/28/2023, 19:58:05 [pg3] error: gitClone: failed to clone solaredge_poly from /home/admin/dev/udi-solaredge-poly :: Error: fatal: '/home/admin/dev/udi-solaredge-poly' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Looks like @photogeek54didn't change the installation URL when moving the node server store entry to non-production. So it's trying to install from a local (to the Polisy) git repository that only exists on @photogeek54's machine. The installation URL needs to be a publicly accessible git repository.
-
Some node servers don't currently work if the eisy is on wireless. To implement the wireless driver on the eisy, it runs a Linux VM with the wireless driver in the VM and sets up the firewall rules to forward TCP traffic between the VM and the eisy's internal network. Thus, any node server that relies on broadcasts tend to not work as broadcast type packet don't typically get routed. For example, the WeatherFlow node server won't work in local mode as it will never see the UDP packets being broadcast by the WF hub.
-
For PG3, I believe it is still possible to use your own certificate. The certificates would go in /var/polyglot/pg3/ssl/custom and you'd have to change the /usr/local/etc/rc.d/pg3 startup to tell PG3 to use the custom certificates. For PG3x, it is not possible as changing the certificates will break all communication between PG3x and node servers (and other components on the system).
-
@Ross Do you have two ISY/IoX devices configured? From the log it kind of looks like it and that one of them is failing warn: ISY Response: [Try: 3] [00:0d:b9:53:36:80] :: [401 - OK] :: 6.87654ms - http://192.168.1.6:8080/rest/profiles/ns/0/connection That error means it is unable to connect to the ISY/Iox at 192.168.1.6. Likely because the either IP address or username or password is wrong. When it tries to start the solaredge node server it errors with error: [solaredge_poly(12)] :: STDERR: python3: can't open file '/var/polyglot/pg3/ns/0021b90243ab_12/./solaredge-poly.py': [Errno 2] No such file or directory Try re-installing the node server again. Something may have gone wrong with the initial installation.
-
Try re-installing it. the module should get installed as part of the node server install process.
-
Should be there now, might have to refresh store for it to show up. @photogeek54 you have to change the status to 'active' for it to show up in the store. When status is 'new' it is added to the store, but won't show up in the list.
-
Go to the "Log" menu item and download the log, then PM it to me. I'll take a look. It should show up just like the OpenWeatherMap node server did.
-
Yes, you both seem to have the same issue. I just did a migration again on my Polisy and the node servers started without any issues. So I haven't been able to reproduce it. It looks like the node servers are simply crashing when they try to start but nothing in the log files provide any information on why they are crashing.
-
You may have exceeded the number of API calls your plan allows for in a day. The free plan is quite limited. Or you may have asked for more forecast data than what your plane allows. It looks like they may have reduced the number of days of forecast data you can get with the free plan from 7 to 6. The node server gets stuck if it's looking for 7 days but only sees 6.
-
When a node server is installed, it places node server configuration information in both PG3 and the IoX (in your case the i994 ISY). To "move" a node server would mean changing PG3's configuration and installing the node server on the new IoX. So that's basically what you have to do to migrate. Once you restore the i994's backup to the IoP, the IoP will have the node server configuration from the i994, but it will be wrong. When you switch PG3 to the IoP ISY, it should detect those node servers, but they'll be unmanaged. I believe you can then select the node server in the node server store and use the "re-install" to same slot option. That will correct the installation without requiring you to re-enter the node server custom parameters so everything should continue to work. It's been a long time since I've done any migrations from i994 to IoP and PG3 has changed a lot since the migration was first documented. Just follow the steps and it should be fine. If you encounter a problem. Stop and post here or open a ticket.
-
Yeah, that wasn't me that said to restore the PG3 backup, I would have liked to see a PG3x log after you tried starting a node server. I've done the PG3 -> PG3x migration on a Polisy a couple of times to test it, but that's the not same as having it run in the real world.