Dr. Q Posted January 28, 2018 Posted January 28, 2018 Can the two run concurrently on the same RPi 3? I’m running the latest Raspian stretch lite on a 16 gb card, so there’s plenty of room. I would go ahead and try it, but I tried running Homebridge and Polyglot and made a mess of things, so was wondering if someone else has done this. The Generic ISY Data feature looks interesting. Chuck Sent from my iPad using Tapatalk
paulbates Posted January 28, 2018 Posted January 28, 2018 Yes. I know from experience nodelink is not resource intensive at all, and would expect the same of polyglot. I can run my nodelink on an original B+ with no problems and lots of room left: ISY Data, 2 thermostats and a rainmachine. I get use out if ISY data, its very helpful. ISY data is extremely low use on resources, it doesn't update that often. Paul
Dr. Q Posted January 28, 2018 Author Posted January 28, 2018 Thanks, fast reply from a fellow Michigander. I’ll give this a shot tonight. Sent from my iPad using Tapatalk
paulbates Posted January 29, 2018 Posted January 29, 2018 NP Chuck. A simple, low impact performance tool you can use is nmon: sudo apt-get install nmon Once you start it (nmon from the CLI), press C for CPU, M for Memory and T for Top processes. Q for quit It doesn't run in the background unless you leave a CLI session open with it running. Looks like this, this is my Pi 2B with only Nodelink Running (Mono)... no other process, no gui, etc
Dr. Q Posted January 29, 2018 Author Posted January 29, 2018 Thanks for the tip, Paul. That’s something I’m going to load on all my RPis. All I knew about was Top. I’m getting better at Linux the more I mess with it. I used to use Microware OS9 on a Radio Shark Color Computer back in the day, so the Unix style is coming back to me. Sent from my iPad using Tapatalk
Jimbo.Automates Posted January 29, 2018 Posted January 29, 2018 Make sure to use Polyglot V2, unless a nodeserver you need hasn't been ported over yet. Sent from my Pixel 2 XL using Tapatalk
larryllix Posted January 29, 2018 Posted January 29, 2018 Thanks for the tip, Paul. That’s something I’m going to load on all my RPis. All I knew about was Top. I’m getting better at Linux the more I mess with it. I used to use Microware OS9 on a Radio Shark Color Computer back in the day, so the Unix style is coming back to me. Sent from my iPad using Tapatalk OS9? OMG! Nothing will ever run that smooth again, especially in 64K. This time you won't have to write your drivers though. It was a hard jump back to linux for me after all those years and hard to swallow the inconsistency of linux. Sent from my SGH-I257M using Tapatalk
Dr. Q Posted January 29, 2018 Author Posted January 29, 2018 Make sure to use Polyglot V2, unless a nodeserver you need hasn't been ported over yet. V2 rules! Seems to be a smashing success too, as there's a new node server in the store every time I look. OS9? OMG! Nothing will ever run that smooth again, especially in 64K. This time you won't have to write your drivers though. It was a hard jump back to linux for me after all those years and hard to swallow the inconsistency of linux. As a goof, I wrote a script to run a MIDI sequence, dial Compuserve, run a graphics editor, list a long text file to the screen and send it to a dot-matrix printer, all at the same time. Naturally, I gave MIDI priority, and it never missed a beat. But I was LMAO at how everything else slowed to a crawl, I didn't know a dot-matrix could print that slow! I agree about the fragmentation and different flavors of Linux, that's why I was curious to know if there was some incompatibility with PolyGlot vs. NodeLink that I wasn't aware of.
Dr. Q Posted January 29, 2018 Author Posted January 29, 2018 Trying to run NodeLink now, and I'm getting this: pi@PolyGlot:~/node $ mono ~/node/NodeLink.exe 2018-01-28 21:11:13 - ISY NodeLink Server v0.9.1 started 2018-01-28 21:11:13 - Mono version: 4.6.2 (Debian 4.6.2.7+dfsg-1) 2018-01-28 21:11:13 - No password specified for the ISY 2018-01-28 21:11:13 - ISY resolved to 2018-01-28 21:11:13 - ISY Error: Error resolving hostname - ISY 2018-01-28 21:11:13 - ISY Error: Invalid URI: The hostname could not be parsed. (profiles/ns/0/connection) 2018-01-28 21:11:13 - ISY Error: Error getting Node Server list - Root element is missing. 2018-01-28 21:11:13 - ISY Node Server profile set to ^C Before I stopped it, I aimed Safari at port 8090 and it can't connect. It looks like it wants my ISY name/pw, but I assume that's done on the web page. Any ideas? (PolyGlot's still running fine)
paulbates Posted January 29, 2018 Posted January 29, 2018 Chuck Those errors make sense for a first run. You'd configure the ISY IP, account and password on the webpage and that gets saved in config.xml... after that, it logs itself in. You should be getting to the nodelink config page @ x.x.x.x:8090. Can you run ifconfig on the same session as nodelink to make sure the ip is right? Paul
Dr. Q Posted January 29, 2018 Author Posted January 29, 2018 Ok, I was looking at 8090, but nothing on 8080 either, http nor https. address is correct. Safari says it can't establish a secure connection. Oh, I see you just edited that port #.
paulbates Posted January 29, 2018 Posted January 29, 2018 The config page is not https. Edit. Hmm ok. io_guy will need to comment. I covered the things I know Paul
Dr. Q Posted January 29, 2018 Author Posted January 29, 2018 Ok, I got the web page up, set my user/pw, now I gotta get ready for work tomorrow, never enough time. I've gotten this far, thanks to you, more stuff to play with
Bumbershoot Posted January 29, 2018 Posted January 29, 2018 Trying to run NodeLink now, and I'm getting this: pi@PolyGlot:~/node $ mono ~/node/NodeLink.exe 2018-01-28 21:11:13 - ISY NodeLink Server v0.9.1 started 2018-01-28 21:11:13 - Mono version: 4.6.2 (Debian 4.6.2.7+dfsg-1) 2018-01-28 21:11:13 - No password specified for the ISY 2018-01-28 21:11:13 - ISY resolved to 2018-01-28 21:11:13 - ISY Error: Error resolving hostname - ISY 2018-01-28 21:11:13 - ISY Error: Invalid URI: The hostname could not be parsed. (profiles/ns/0/connection) 2018-01-28 21:11:13 - ISY Error: Error getting Node Server list - Root element is missing. 2018-01-28 21:11:13 - ISY Node Server profile set to ^C Before I stopped it, I aimed Safari at port 8090 and it can't connect. It looks like it wants my ISY name/pw, but I assume that's done on the web page. Any ideas? (PolyGlot's still running fine) Your version of Mono might be a bit dated. Current version is 5.4.1.7, though I don't know that it matters to Nodelink. I've been running both Nodelink and Polyglot on a RPi3 with no issues. Nodelink's CPU footprint seems to be small, seldom requiring more than 1.5% CPU time. Polyglot is a fair bit heftier, but it's doing more in my installation (mongodb, python3 and the Polyglot executable can spike CPU usage to over 50% on occasion). Generally, though, the RPi3 is loafing.
Dr. Q Posted January 31, 2018 Author Posted January 31, 2018 Back at it again, trying to upload the profile and I keep getting this error: Socket Open Failed javaioIOException: Broken pipe Are the User ID/ Password fields supposed to be blank? I tried it with and without the RPi's user/pw, same error, and it effectively locks up the Admin Console so I have to quit Java. Also, is upgrading NodeLink as simple as copying the new version to the Nodes folder? TIA, Chuck
larryllix Posted January 31, 2018 Posted January 31, 2018 Back at it again, trying to upload the profile and I keep getting this error: Socket Open Failed javaioIOException: Broken pipe Are the User ID/ Password fields supposed to be blank? I tried it with and without the RPi's user/pw, same error, and it effectively locks up the Admin Console so I have to quit Java. Also, is upgrading NodeLink as simple as copying the new version to the Nodes folder? TIA, Chuck io_guy has installed an option to upgrade NodeLink to the latest version every boot up or each day. io_guy has also installed an option to upgrade the ISY portion of NodeLink automatically when needed. Look for them in "System Config" Page / Tab of NodeLink. To control when this happens I leave the Update NodeLink option off and only enable it, followed by a NodeLink reboot, when a new version comes out. This way I am present to monitor it. Then I disable it again. The whole process has become very automatic. io_guy has developed this into a very polished system that is quite easy to use once up and running.
paulbates Posted January 31, 2018 Posted January 31, 2018 Chuck, assuming you’re following io_guy directions. You don’t need account / password. Both the ISY and nodelink need to be rebooted several times after loading the profile to get things working. To Larry’s comment, nodelink updates its profile automatically, but my guess is that you do need to install the node profile in the ISY when you install nodelink for the first time. Paul Sent from my iPhone using Tapatalk
kohai Posted January 31, 2018 Posted January 31, 2018 I run both on an rpi 2 and they play nice together, no performance problems.
Dr. Q Posted February 1, 2018 Author Posted February 1, 2018 Chuck, assuming you’re following io_guy directions. You don’t need account / password. Both the ISY and nodelink need to be rebooted several times after loading the profile to get things working. To Larry’s comment, nodelink updates its profile automatically, but my guess is that you do need to install the node profile in the ISY when you install nodelink for the first time. Paul Sent from my iPhone using Tapatalk Correct Paul, I'm following io_guy's directions, and I just realized I hadn't filled in the IP address for ISY. My bad, now I see the full control panel, including the update feature. NodeLink has updated twice since I started this (!) I've even loaded the ISY Data plug-in, but I still can't get the profile into ISY, it keeps spitting out after a long while: Socket Open Failed javaioIOException: Broken pipe I'm trying to load it into slot 2 on ISY. Any Java plumbers out there Chuck
io_guy Posted February 1, 2018 Posted February 1, 2018 What ISY version? Does NodeLink identify the correct profile number (paste a startup log)? If so, have you tried sending it from the NodeLink device page instead of uploading the zip?
Dr. Q Posted February 1, 2018 Author Posted February 1, 2018 What ISY version? 5.0.11B Does NodeLink identify the correct profile number (paste a startup log)? Not really: 2018-01-31 22:35:43 - ISY NodeLink Server v0.9.3 started 2018-01-31 22:35:43 - Mono version: 4.6.2 (Debian 4.6.2.7+dfsg-1) 2018-01-31 22:35:44 - ISY resolved to 10.0.1.228 2018-01-31 22:35:44 - Web config server started (http://10.0.1.15:8090) 2018-01-31 22:35:45 - ISY Error: Login failure (verify ISY password on the system config page) 2018-01-31 22:35:45 - ISY Error: Error getting Node Server list - Root element is missing. 2018-01-31 22:35:45 - Unable to determine ISY Node Server profile number 2018-01-31 22:35:50 - ISY Error: Login failure (verify ISY password on the system config page) 2018-01-31 22:36:20 - ISY Error: Login failure (verify ISY password on the system config page) 2018-01-31 22:36:50 - ISY Error: Login failure (verify ISY password on the system config page) 2018-01-31 22:37:21 - ISY Error: Login failure (verify ISY password on the system config page) 2018-01-31 22:37:51 - ISY Error: Login failure (verify ISY password on the system config page) 2018-01-31 22:38:21 - ISY Error: Login failure (verify ISY password on the system config page) 2018-01-31 22:38:51 - ISY Error: Login failure (verify ISY password on the system config page) 2018-01-31 22:39:22 - ISY Error: Login failure (verify ISY password on the system config page) 2018-01-31 22:39:52 - ISY Error: Login failure (verify ISY password on the system config page) If so, have you tried sending it from the NodeLink device page instead of uploading the zip? N/A I've retyped my ID each time, since it's yelling about my pw, no change.
io_guy Posted February 1, 2018 Posted February 1, 2018 Figure out your password issue first. It's your ISY admin pass. Anything special with it?
Dr. Q Posted February 1, 2018 Author Posted February 1, 2018 Nope, 10 lowercase letters. When I type it in again, the rest of the config page will appear, but if I switch to a different tab and back again, the relay section on down disappears. The pw doesn't seem to want to stick.
larryllix Posted February 1, 2018 Posted February 1, 2018 Nope, 10 lowercase letters. When I type it in again, the rest of the config page will appear, but if I switch to a different tab and back again, the relay section on down disappears. The pw doesn't seem to want to stick. You got some write protection on your node directory or config.xml file?
io_guy Posted February 1, 2018 Posted February 1, 2018 Nope, 10 lowercase letters. When I type it in again, the rest of the config page will appear, but if I switch to a different tab and back again, the relay section on down disappears. The pw doesn't seem to want to stick. Really stupid question but you are hitting the set button to the right of the password after you enter it right?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.