- Posted on
Tue Jan 03, 2017 5:56 pm
-
avanti
offline
-
- Posts: 7
- Joined: Jan 02, 2017
Ok, so this is getting odd.
I, was able to retrieve the password using the smartthings Javascript thing, using the command
npm run get password 192.168.0.17
This is slightly different from what I tried the first time. Don't understand that stuff well enough to be useful, but at least I have an existence proof that I can communicate with the robot. It appears to be reliable.
As for Indigo, I am getting mysterious results:
--I have been running an Indigo server on an old Macbook Pro in the basement, with the interface running upstairs on a modern Macbook Pro. I have tried getting the password both on the server and on the client machine. Both fail identically, as I have described.
--Just as a test, I ran an Indigo instance upstairs in single-process mode.
--Using this, I was finally able to get the plugin to accept the IP address. However, it took several tries. I did NOT press GET PASSWORD.
--Once I had the IP set, I did press GET PASSWORD. It worked!
--BUT, I then pressed SAVE, and got the "error validating fields..." error, and it did not save.
--I tired SAVE once more, and it worked this time.
So, I now know my password (two different ways). I also have it saved, but on the wrong server. I still cannot get any of this to work on the basement server. I now realize that it is possible to save the URL without querying the password. If I enter the URL and press SAVE, I get the error:
validateDeviceConfigUi called
Roomba Debug validateDeviceConfigUi: RequestException: [Errno 1] _ssl.c:499: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
It does not matter whether I am logged into the server machine or the client machine.
It DOES matter whether I am running on the upstairs machine running in single-process mode: It SOMETIMES works if I am, but it NEVER works on the downstairs machine running a separate server.
I am now fairly convinced that my problem has nothing to do with fetching the password, but rather with saving the URL. Maybe some kind of race condition?
Does the SAVE button cause the URL to be validated with the robot, or is it just a property save?
I am no Indigo expert, but I do know Python. If there is some stand-alone test you might suggest, I am all ears.
Thanks again for the persistence.
P.S. -- I just checked: On the machine that works, I am running OS X 10.10.5. However, the server machine is running 10.7.5. I guess this may have something to do with it. I can update the downstairs machine, but I will wait to hear from you before I do so.