Jump to content

bpwwer

Moderators
  • Posts

    3255
  • Joined

  • Last visited

Everything posted by bpwwer

  1. Did you start the ISY software on the Polisy? I don't believe installing it starts it automatically. You can check if it's running with: sudo service status isy If it's not running, you can enable it and start it with: sudo service isy enable sudo service isy start
  2. I see the same thing. While it shows the existing node servers in the tree view, and does allow me to install and delete node servers via Polyglot, it doesn't appear to be reading the profile files for the node servers. They all show up with the light icon and none of the drivers are displayed when selecting a node server. @Michel Kohanimwas a build option for node server support turned off in this build?
  3. No, it will be a separate (different and empty) ISY. Since the ISY software on Polisy doesn't support z-wave yet you won't be able to do much with it at this time. You should be able to connect node servers to it, but the existing Polyglot can only connect to one ISY so you'd need a separate instance of Polyglot (I.E. running on a separate RPi) in addition to your Polisy to do that. I believe you could run PGC based node servers on it if you have a portal account (but I haven't tried). That might be a good thing for someone to test out. As @Michel Kohanimstated when he announced this, he's making it available to get some more wide spread testing, it's not ready for production use. You basically need a separate, non-production, environment to make use of it.
  4. Installing the ISY software on the Polisy gives you another ISY box, independent of any others you own. So unless you move the PLM and re-link all your Insteon devices and re-create all your programs/variables and re-install all your node servers to the new ISY (which I don't recommend you do at this time), you continue to use your existing ISY as you normally would. ISY on Polisy is available to experiment with. On that note, I've installed the ISY software and the latest PG3 software on a Polisy and loaded up a PG3 node server. So far that is all working. It's pretty exciting to see all the components working together and running on one box.
  5. I created something like what you want but it is designed to run full screen in a browser and provides status of mostly node server based devices. But the technique would also work for a small browser window and normal switch/lighting devices as well. I have a web page served from my local web server that makes a websocket connection with the ISY. It monitors that connection for specific events and updates the appropriate elements on the web page with the new values. I believe there is an example of this in the wiki (or maybe the forum) and the ISY itself can host the web page (I think you need the network module). It would also be easy to use this technique to create a desktop app with something like C# in .net (or whatever your language of choice is). The code to do this is pretty simple. WS = open websocket connection to ISY on WS event: # get event details (event type, device, action) if event type is something we care about: if device is one we want to monitor: display new action value for event You probably won't find a pre-existing solution because to do something like in a generic manner means you're going to end up re-writing the admin console / dashboard which is a lot more complicated. Plus, what you want to display and how is probably very specific to your environment. I could give you my javascript/web page, but by the time you modified it for what you wanted, you'd probably have changed almost every line. If you're curious, I did already post screen shot and code at
  6. Starting on Friday, there was a problem with the store. I caused that when I updated something for the local Polyglot store and didn't realize that it would effect PCG. I won't go into the details, but that issue has been resolved. While @Michel Kohanimand I were trying to determine the store problem, we did something to cause the second problem, happening now. Neither of us really understand PGC all that well so we're trying to figure it out as we go. Does anyone know how to enable developer tools on their browser and report what it's doing when it's spinning? The basics are (at least on chrome/opera): - enable Developer Tools on the PGC page. - select the network tab - reload the PGC page I'd like to see the last couple of messages in the console. For me, it hangs after requesting the list of ISYs attached to my account. Something eventually times out and the page loads, but the request for the list of ISYs is taking anywhere from 50 minutes to 20 hours before it returns the list. My list of ISYs contains a Polisy, because that will be required for PG3 and that seems to confuse PGC so I'm curious if what everyone else is seeing is related to the getIsys request or if it's something else that I'm not seeing because I'm special.
  7. I let mine sit there for a while and it eventually populated the ISY menu and seems to be working fine now (unless I refresh the ISY list). I don't think I have access to view/modify anything related to the running cloud instances so I can't do much else at this point.
  8. This sounds similar to what I'm seeing too, I thought it might just be me since I have an "ISY" entry in the database that's special for PG3 testing, but it sounds like other's are having issues getting their ISY entry out of the database too. I'm looking into it.
  9. @thruster999can you re-try connecting again? There were some issues with PGC yesterday that should be resolved now.
  10. The program is evaluated (run) when something in the 'if' part is triggered. at 5:21ish, the dusk/dawn sensor is triggered, the program is run and the if statement evaluates to FALSE (sensor switched off is TRUE but time range is FALSE) so the ELSE clause is executed. at 6:00am the program is run again and the if statement evaluates to FALSE (sensor switched off is FALSE but time range is TRUE) so, again, the ELSE clause is executed. at 9:30am the program is run again and the if statement evaluates to FALSE (sensor switched off is FALSE but time range is TRUE (maybe) so, again, the ELSE clause is executed. The confusion is that the condition is re-evaluated when any of the conditions change, not when all the conditions are TRUE. The conditions control which part of the program is executed (THEN or ELSE), not if the program is run. It sounds like what you might need two programs to accomplish this because you're trying to do a nested condition, but the ISY can't do that. You want: if sensor switch off then if time in range send text else send email On the ISY you can simulate that with: if sensor switched off and time in range then send text if sensor switched off and time outside range then send email
  11. The Polisy Pro is not running Linux, it's running FreeBSD. They are different operating systems. While the hardware (and FreeBSD) are both capable of running a general purpose web server, I don't believe that UDI packages up any of the general purpose web server programs or other related software necessary to run one. Also, if you're using the Polisy to run Polyglot, Polyglot is a custom web server so you'd have to careful not to have anything you install conflict with that. My first question would be why do you want a publicly accessible web server on the Internet? Maintaining a public facing web server is a lot of work and typical home Internet providers prohibit running one because of the load/security issues. To make it accessible, you would also need to purchase a domain name, and configure DNS and have some way to map the your external (possibly changing) IP address to the domain name. If you really need a public facing web site, you're much better off purchasing one from a hosting provider. They end up doing most of the heavy lifting and you just have to create/add the content. Your ISP may even provide some limited web serving for you. If you just want a web server that is only visible to the devices on your local home network, then hosting it on the Arduino is fine (or on a RPi). Security is much less of an issue since only someone logged into your WiFi or router would be able to access it.
  12. I also have an ISY at a cabin with no internet access and it is possible. Have you tried downloading the java app directly from the isy? http://<isy ip address>/admin.jnlp You should be able to run the downloaded admin.jnlp directly. It's been a while since I've had to access it so I'm not sure that's right. Also, can you get to the ISY by pointing your browser at the ip address? That should bring up a page that lets you control stuff, but you can't configure. It does have a link to the admin console, but I believe you have to have java enabled in the browser for that to work and most (all?) browsers have it disabled now.
  13. Maybe a more simple way of putting this is that everything under the 'main' and 'program' tabs of the admin console can likely be migrated. Things under other tabs (like Elk or modules under config) will probably not be possible to migrate without manual intervention.
  14. The issue with ISY modules is that they were written and designed before the concept of node servers so they're not manged the same as other "nodes". Their internal representation in the ISY firmware is different. So, yes, migrating from old ISY modules to new replacement node servers will likely always be a manual process.
  15. No necessarily. There's really no reason why an Insteon node server would create nodes that are different from the nodes created by the current ISY firmware. Thus, it should be possible to use a backup of the ISY to recreate/restore the Insteon nodes using an Insteon node server. Scenes may be problematic. An ISY scene seems to be a superset of an Insteon scene/group and I don't know how those are linked in the current ISY firmware. I don't know if it will be easy to split them apart such that an ISY scene can be composed of components from different node servers. In general it should be possible to provide a migration path and I would hope that's being considered.
  16. Not a dumb question. Today the ISY has an Insteon node server built in. It's a large part of the ISY firmware. The ISY also has a z-wave node server built in. You can think of an ISY as a couple of node servers with a node server framework and rule (programs) engine. For the Polisy, the idea is to separate the z-wave and Insteon node servers from the core framework/rules engine. A node server for Insteon would communicate with Insteon devices using the PLM. However, by making it a separate node server, it removes some of the restrictions imposed by the current hardware and it would be possible to use a USB PLM or maybe even the HUB for the device communication.
  17. I'm just going to drop this here. Would UDI be willing to support an open source Insteon node server development project? With the existing group of node server developers, I'm sure there are a few of us that would be willing to contribute time/effort to developing a node server for Insteon. If UDI is willing to support the effort by providing existing nodedefs, etc. and possibly access to existing ISY Insteon code, that would provide a good starting point. I fully understand the issue that UDI has with Insteon. When it was new, I spent a lot of time trying to create a set of Insteon tools for Linux. I gave up when I found the ISY because UDI's effort was much farther along and a lot more stable than what I had working at the time. Developing for Insteon is painful, but, like others here, my house is using mostly Insteon so I'll likely devote some time/effort to supporting it, if only for my own use.
  18. I'm sure there must be some way to have the loops on top of the floor and covered well enough to survive being driven over. My cars that are in the garage, rarely leave the garage, otherwise I'd think about experimenting with this.
  19. A quick search found these https://www.amazon.com/Wal-front-Vehicle-Detector-Inductive/dp/B07K1BNL59/ref=psdc_7459508011_t1_B07H3N41H4 Not much info, but for ~$20 it might be worth playing with.
  20. The node server does try to minimize the data sent to the ISY (and thus minimize the log entries) by only sending data when it has changed. But some weather data values do change frequently and the only way to change how often is to change the poll interval. This is one of the reasons I try to be somewhat selective in the weather data presented by the weather node servers. The more different values the node server tracks, the more data that has to be sent to the ISY.
  21. Setting the log level to error should reduce the messages down to just error messages. Re-Discover causes the node server to review the nodes it's created. It will do this every time it start automatically and if you change the Forecast Days parameter as that's the only way to change the nodes it creates. Remove Notices will clear any notices the node server has displayed on the Polyglot dashboard-details screen. Update Profile will cause the node server to resend the profile files to the ISY. This also happens automatically when the node server is installed, but in some cases, the ISY is unable to accept the files (maybe it was too busy) so the option is there to resend them manually.
  22. I just wanted to point out that it's not a requirement to have to Polisy's or RPi's to support two ISY's. The current ISY ecosystem wasn't really designed with the idea that there'd be multiple ISY's trying to co-exist with overlapping data sources. Some type of creative solution will likely be needed. For the Davis, that may mean feeding the data to something else first, that can support sending the data to multiple consumers.
  23. You can run multiple instances of Polyglot on the same hardware. It does have environment variables that allow you to change the ports used by an instance of the program. I'm currently running both version 2 and an alpha of version 3 on my Polisy. If you wanted to install a second instance of Polyglot running on a Polisy, you'd have to set up the directory structure and port configuration so they don't conflict with each other. You can also run multiple copies of Polyglot on an RPi, though I've never tried that.
  24. No not OpenHab, I just searched on github and npm for projects related to velux. The ones I found provide simple examples to create a program that uses the module to communicate with the KLF200. The first one I found on github looked like you could load it on an rPi via PIP and create a simple python program that used it. That's where I'd start just to get an idea on how to use the module. Maybe look at more than one and pick the one that works best. At this stage, not even trying to do any integration with ISY. We're still working to define the PG3 API's, but there's no expectation that existing PG2 node server will run as-is on PG3. How much effort will be needed to migrate a node server is still unknown.
  25. it looks like there are both Python and node.js modules available that implement the API. I'd suggest looking over those and maybe experimenting with them first to understand better how to interact with the KLF200. Then you have to decide what information is important to both for display and commands. Use that to define what you want the nodes to look like on the admin console. From there you can create the profile files and start creating a node server from the template available. Based on what little I've looked at, the KLF200 is a controller that supports a number of different devices, that means creating nodes with status/commands for all the different supported devices so it sounds like a fairly complex node server. Another consideration at this point is that PG3 has just started alpha testing. It's not ready yet to start developing node servers for it, but it will be soon. It may not make sense to put in a lot of effort creating a new PG2 based node server and then more effort to convert it to PG3.
×
×
  • Create New...