Jump to content

Polyglot with a side of NodeLink


Dr. Q

Recommended Posts

Posted

You got some write protection on your node directory or config.xml file?

 

I don't remember how to read the permissions right offhand, but here they are:

 

-rw-r--r-- 1 pi   pi      639 Jan 31 22:54 config-bak.xml

-rw-r--r-- 1 pi   pi      639 Jan 31 23:15 config.xml

-rw-r--r-- 1 pi   pi   473600 Jan 21 20:33 NodeLink_0.9.1.0.exe

-rw-r--r-- 1 root root 482304 Jan 31 21:33 NodeLink.exe

Posted

I don't remember how to read the permissions right offhand, but here they are:

 

-rw-r--r-- 1 pi   pi      639 Jan 31 22:54 config-bak.xml

-rw-r--r-- 1 pi   pi      639 Jan 31 23:15 config.xml

-rw-r--r-- 1 pi   pi   473600 Jan 21 20:33 NodeLink_0.9.1.0.exe

-rw-r--r-- 1 root root 482304 Jan 31 21:33 NodeLink.exe

 

Those look good, same as mine.

 

I keep Nodelink in its own directory:

pi@raspberrypi:~ $ ls -altF
total 160
drwxr-xr-x  2 pi   pi    4096 Jan 31 19:40 Nodelink/
-rw-------  1 pi   pi   30309 Jan 29 09:26 .bash_history
drwxr-xr-x 24 pi   pi    4096 Jan 29 06:48 ./

...
  • 2 weeks later...
Posted

I am having the same issue.  I 'set' the password on the System Config screen and it will connect with ISY for several seconds.  I can switch to other tabs and they work, if I am fast enough.  Regardless of what I do, NodeLink will loose connection with ISY in 25 seconds or less.  I can get it to reconnect by going back to the System Config screen and setting password again where whole cycle repeats.  My NodeLink has three add-on tabs I call ISYLink, ISYLogger, and OWLink.  All three extra tabs populate correctly briefly before it looses connection.  I have an RPI3 board from Sheepwalker. 

Have used OWLink, ISYLogger, and ISYLink in the past.  Just moved into a new house and took opportunity to upgrade new ISY to 5.0.11B from v4.x.  Using latest raspbian stretch.  Have been working on NodeLink all weekend.  Have rebuilt the raspberry pi with NodeLink twice now.  I am having trouble getting nodeLink.zip uploaded in ISY I think because ISY cannot reach NodeLink for a long enough time.  have deleted and re-added nodelink in ISY several times.  Sometimes I can get nodes to appear and show data briefly.  I can ping both ISY and NodeLink pi just fine. 

 

logfile_2018-02-14.txt

Posted

Your log file looks like mine, I haven’t had time to mess with it, but I have some to spare the next few days. Maybe we can get io_guy to chime in on this.


Sent from my iPad using Tapatalk

Posted
On 2/14/2018 at 2:45 AM, EVictory said:

I am having the same issue.  I 'set' the password on the System Config screen and it will connect with ISY for several seconds.  I can switch to other tabs and they work, if I am fast enough.  Regardless of what I do, NodeLink will loose connection with ISY in 25 seconds or less.  I can get it to reconnect by going back to the System Config screen and setting password again where whole cycle repeats.  My NodeLink has three add-on tabs I call ISYLink, ISYLogger, and OWLink.  All three extra tabs populate correctly briefly before it looses connection.  I have an RPI3 board from Sheepwalker. 

Have used OWLink, ISYLogger, and ISYLink in the past.  Just moved into a new house and took opportunity to upgrade new ISY to 5.0.11B from v4.x.  Using latest raspbian stretch.  Have been working on NodeLink all weekend.  Have rebuilt the raspberry pi with NodeLink twice now.  I am having trouble getting nodeLink.zip uploaded in ISY I think because ISY cannot reach NodeLink for a long enough time.  have deleted and re-added nodelink in ISY several times.  Sometimes I can get nodes to appear and show data briefly.  I can ping both ISY and NodeLink pi just fine. 

 

logfile_2018-02-14.txt

If you open a port to your ISY for me I can try it from here.  I have your config file.

P.S.  Don't post unmodified config files, they contains passwords.  Encrypted, but still there.

Posted

I had the same issue with the password error and had to update the isy to 5.0.11c and reinstall the node server in isy.

Then it started to work again.

Before I did that I could hit the set button after retyping my password and it would show me the ISY info in nodelink for 10 to 15 seconds before throwing thhat error again.

Posted

Just updated to 5.0.11C, crossed fingers, still no joy, altho I was able to keep ISYData up long enough to get my coordinates in.

 

Posted

Today (Sat 2/17) was the first time I had to work on this since I posted on the 14th. 

After I posted on 2/14, I left the NodeLink pi running.  In the following 24 hours after that post, I had two weird incidents where all lights in the house came ON.  One incident was in the middle of the night.  All scenes were unaware that the lights came ON.  For example, I have several locations where buttons on keypad links  are linked to scenes controlling lights so that normally if you turn on a light, the corresponding button on the keypadlinc will also light.  In both cases where all lights came ON, none of the keypadlinc button lights where ON.  I powered OFF the NodeLink server and the all-lights problem stopped.  I wonder if this had something to do with the ISY's /rest/status issue fixed in 5.0.11C.

Today I powered the NodeLink back up.  To my surprise, the login problem I was encountering with NodeLink was no longer present.  In fact, the NodeLink nodes in ISY appeared and populated with data on their own.  The connection remained solid for the 20-30 minutes it took me to download the new 5.0.11C firmware, backup ISY, and upgrade the firmware.  After upgrading ISY firmware, I had to delete the NodeLink from ISY and re-add it back.  But after doing this, the connection has been rock solid for about 2 hours now.

Thanks to all for the help.

Posted

I noticed an odd data entry issue that merits reporting. On the ISYLink (data1) tab, when attempting to enter the longitude and latitude, it would not let me enter decimal values.  I would get a message "Please enter a valid value.  The two nearest valid values are 29 and 31."  I read threads on forum indicating latitudes and longitudes could include decimal values (ex: 30.1234546).  

As a work around, I shutdown NodeLink, used WinSCP to copy the config.xml file to my PC.  On the PC I edited the file to include my actual longitude and latitude with decimals places.  I then copied the file back to the NodeLink using WinSCP and restarted NodeLink.  Now my longitude and latitude show up correctly in ISYLink tab and the azimuth, elevation, and zenith calculate correctly.  However, I cannot change the decimal digits, only the digits to the left of the decimal place.  For example, I can only go from 30.123456 to 31.123456 or 29.123456.

I have tried with Chrome and I.E. on Windows 10 Pro.  I am running NodeLink v0.9.5.

Posted

EV, thanks for the info. I experienced the same issue re: long/lat input. Concerning your previous post about the all lights on incidents, I haven’t had that yet, but I have noticed Keypadlinc button errors. I’ve rebooted both Pi and ISY several times, and the password still won’t stick. I’m probably not doing things in the correct order. I’ll keep plugging away at this.

OT; I’ve had a HomePod since it came out, and just now got to listen to it. I couldn’t get past the first screen in the setup, saying my WiFi wasn’t compatible. After sending diagnostics from my phone to Apple, they identified the culprit, an app called “Lookout” that I downloaded and used once, and never deleted. Once I did, everything works (Siri’s shortcomings are highly overplayed in the media, IMHO, but that’s for another thread). Moral: when it comes to debugging computers, it could be ANYTHING!



Sent from my iPad using Tapatalk

Posted
10 hours ago, EVictory said:

I noticed an odd data entry issue that merits reporting. On the ISYLink (data1) tab, when attempting to enter the longitude and latitude, it would not let me enter decimal values.  I would get a message "Please enter a valid value.  The two nearest valid values are 29 and 31."  I read threads on forum indicating latitudes and longitudes could include decimal values (ex: 30.1234546).  

As a work around, I shutdown NodeLink, used WinSCP to copy the config.xml file to my PC.  On the PC I edited the file to include my actual longitude and latitude with decimals places.  I then copied the file back to the NodeLink using WinSCP and restarted NodeLink.  Now my longitude and latitude show up correctly in ISYLink tab and the azimuth, elevation, and zenith calculate correctly.  However, I cannot change the decimal digits, only the digits to the left of the decimal place.  For example, I can only go from 30.123456 to 31.123456 or 29.123456.

I have tried with Chrome and I.E. on Windows 10 Pro.  I am running NodeLink v0.9.5.

The issue is a few versions I go I added http filters to the input boxes, number for lat/long.  I don't know why yours doesn't consider decimals a number, works fine here with Chrome on W10.  I'll add a step=any attribute to the next version.

Posted

I was able to edit my coordinates in the config.xml file as EV described, and noticed we’re up to v0.9.6, still no luck getting the password to stick. Any suggestions, I’m stumped?



Sent from my iPad using Tapatalk

Posted

Nope, without trying it myself i can't say.  If you can figure out how to open the port through your router i can try from here.  

Posted

I’ve just opened an ssh port pointing to the RPi in question, what else you need?


Sent from my iPad using Tapatalk

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...