Jump to content

I still can't log in to Polyglot


Recommended Posts

Posted

I have followed the video instructions exactly.  I've installed Buster Lite, Buster Desktop, and Noobs.  I currently have lite installed and am using ssh to connect to the Rpi from my Mac.  I receive the installed successfully message with the https: address to go to.  I've tried the address in Chrome, Safari and a Tor browser; all three say failed to open page.  There is no option to bypass security and go to the site.  I've received some great help from this forum that got me this far.  I can't seem to get past this last hurdle. From the below, it looks like it's not listening.  How do I check logs for errors? Any help is appreciated.  Thanks! 

 

pi@raspberrypi:~ $ sudo netstat -an |grep tcp | grep  LISTEN

tcp        0      0 127.0.0.1:28017         0.0.0.0:*               LISTEN     

tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN     

tcp        0      0 127.0.0.1:27017         0.0.0.0:*               LISTEN     

tcp6       0      0 :::22                   :::*                    LISTEN     

 

 

pi@raspberrypi:~ $ sudo iptables -L

Chain INPUT (policy ACCEPT)

target     prot opt source               destination         

 

Chain FORWARD (policy ACCEPT)

target     prot opt source               destination         

 

Chain OUTPUT (policy ACCEPT)

target     prot opt source               destination

Posted

ok lets try another approach.... You will need 2 terminal windows open to the raspberry pi.  Open the windows and login before anything else.

 

Window 1:

# $ denotes the shell prompt.  Do not type it!

$ sudo systemctl stop polyglot-v2
$ ps -ef |grep polyglot

- Verify from the above ps output that it's empty and polyglot is not running

$ cd ~/polyglot
$ ./polyglot-v2-linux-armv7

- Polyglot should start and give out some messages but very few.  The console window will now do nothing and you shouldn't type here anymore.

 

Window 2:


$ ps -ef |grep polyglot

- Do that to verify polyglot is indeed running

$ netstat -an |grep tcp |grep LISTEN

- Simplified by netstat -an |grep 3000

 

If you get any errors on startup in Window 1 copy and paste those error to the forum.  If you get no errors and the console is just sitting there quietly and you see port 3000 active in Window 2 then try to browse to your rPi in a web browser.  If port 3000 is NOT listening then you won't be able to browse to it.

Posted
13 minutes ago, simplextech said:

ok lets try another approach.... You will need 2 terminal windows open to the raspberry pi.  Open the windows and login before anything else.

 

Window 1:


# $ denotes the shell prompt.  Do not type it!

$ sudo systemctl stop polyglot-v2
$ ps -ef |grep polyglot

- Verify from the above ps output that it's empty and polyglot is not running

$ cd ~/polyglot
$ ./polyglot-v2-linux-armv7

- Polyglot should start and give out some messages but very few.  The console window will now do nothing and you shouldn't type here anymore.

 

Window 2:



$ ps -ef |grep polyglot

- Do that to verify polyglot is indeed running

$ netstat -an |grep tcp |grep LISTEN

- Simplified by netstat -an |grep 3000

Edit. Let me try something else.  


 
Posted
4 minutes ago, smarthome_newbie said:

Hey. Thanks for helping me again! Below is what I received. I am wanting to use ISY. Is that what you mean regarding node server?

 

No. ISY is not  NodeServer. A Nodeserver is one of the plug-in modules that services a node, like ecobee thermostats, or a Tesla vehicle charger, or MagicHome RGBW lampbulbs, or an online weather forecasting service etc..

Posted

You missed the steps in Window 1 to actually start polyglot at the command line.  If you don't start it then there's nothing to check in window 2

EcoBee and Tesla are available in Polyglot Cloud.  If you have ISY Portal access then use them that way.  As for RainMachine I didn't see it in Polyglot Cloud and I don't know if it will work in the cloud or not.  

Posted

Sorry.  Tried again and got this.

pi@raspberrypi:~ $ sudo systemctl stop polyglot-v2

pi@raspberrypi:~ $ ps -ef |grep polyglot

pi        7034  3771  0 03:31 pts/0    00:00:00 grep --color=auto polyglot

pi@raspberrypi:~ $ cd ~/polyglot

pi@raspberrypi:~/polyglot $ ./polyglot-v2-linux-armv7

(node:7035) Warning: Use Cipheriv for counter mode of aes-256-ctr

(node:7035) Warning: Use Cipheriv for counter mode of aes-256-ctr

Posted

 

Window 1:

  • Stop polyglot
    • sudo systemctl stop polyglot-v2
  • Verify polyglot is not running
    • ps -ef | grep polyglot
  • Change to the polyglot working directory in the pi user home directory
    • cd ~/polyglot
  • Start polyglot manually
    • ./polyglot-v2-linux-armv7

You will get a message like this:  This is OK Leave this Window as it is

Quote

pi@raspberrypi:~/polyglot $ /home/pi/polyglot/polyglot-v2-linux-armv7
(node:19850) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(node:19850) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:19850) Warning: Use Cipheriv for counter mode of aes-256-ctr

If you Window 1 looks like the above then continue to the steps in Window 2.  If you have other errors or information in Window 1 then capture that information and post it.


Window 2:

  • Verify polyglot is running
    • ps -ef |grep polyglot
  • Check if a network port is listening on port 3000
    • netstat -an | grep 3000

Output should look like this:

Quote

pi@raspberrypi:~/polyglot $ ps -ef |grep polyglot
pi       19951 17795 70 03:36 pts/0    00:00:05 /home/pi/polyglot/polyglot-v2-linux-armv7
pi       19967 19876  0 03:37 pts/1    00:00:00 grep --color=auto polyglot
pi@raspberrypi:~/polyglot $

Quote

pi@raspberrypi:~/polyglot $ netstat -an |grep 3000
tcp        0      0 0.0.0.0:3000            0.0.0.0:*               LISTEN
tcp        0      0 192.168.1.72:3000       192.168.1.200:58379     ESTABLISHED
pi@raspberrypi:~/polyglot $


If you have a active LISTEN port for 3000 then things are good.  And polyglot is running.  If not then there's probably some error in Window 1.  The errors or information in Window 1 are what's going to be needed.

Posted

Here is window 1.

pi@raspberrypi:~ $ sudo systemctl stop polyglot-v2

pi@raspberrypi:~ $ ps -ef | grep polyglot

pi        7141  7117  0 03:48 pts/0    00:00:00 grep --color=auto polyglot

pi@raspberrypi:~ $ cd ~/polyglot

pi@raspberrypi:~/polyglot $ ./polyglot-v2-linux-armv7

(node:7142) Warning: Use Cipheriv for counter mode of aes-256-ctr

(node:7142) Warning: Use Cipheriv for counter mode of aes-256-ctr

 

 

Window 2 doesn't respond to the last command.

 

 

pi@raspberrypi:~ $ ps -ef |grep polyglot

pi        7142  7117  7 03:48 pts/0    00:00:03 ./polyglot-v2-linux-armv7

pi        7156  6871  0 03:49 pts/1    00:00:00 grep --color=auto polyglot

pi@raspberrypi:~ $ netstat -an | grep 3000

pi@raspberrypi:~ $ netstat -an | grep 3000

pi@raspberrypi:~ $

Posted

Did you leave Window 1 sitting after starting polyglot?  You didn't close the window or do anything else in that window before then checking things in Window 2?

If you didn't change, close Window 1 and you still don't have a LISTEN port in Window 2 showing then there's something really wrong with Polyglot not running for some reason on your system.  I have no idea why as it runs perfectly fine for me as I have done it several times in trying to help.

Next steps you should contact Universal Devices and ask if there's a local installer you can talk to.  If there is you can probably get them to install this for you.  Your friendly neighborhood geek may also help and would be cheaper.

 

Posted

This is so strange. I spent a lot on devices thinking this would be easy. Starting to think I will never get it to work. I didn’t do anything to window 1. Just left it open. Is that what you mean? I have no neighborhood geek unfortunately. 

Posted
3 minutes ago, smarthome_newbie said:

This is so strange. I spent a lot on devices thinking this would be easy. Starting to think I will never get it to work. I didn’t do anything to window 1. Just left it open. Is that what you mean? I have no neighborhood geek unfortunately. 

This really should be easy and I don't know why it's not working.  The options are to find someone local that can help with this or a remote session with UDI or another partner.  

Posted
1 minute ago, simplextech said:

This really should be easy and I don't know why it's not working.  The options are to find someone local that can help with this or a remote session with UDI or another partner.  

What do you mean by remote session? There isn’t anyone local for me. 

Posted
23 minutes ago, smarthome_newbie said:

What do you mean by remote session? There isn’t anyone local for me. 

Support options (At a cost):

Universal Devices can provide remote support.  There may be other partners UDI is aware of that can provide this as well.  I'll look into whether through Simplex Technology we can provide this level of support offering or not.

In the meantime I've started a first run build for a custom image that includes polyglot-v2 pre-installed.  This build will run tonight and I can verify then add polyglot-v2 into the image and then burn the image and test it a few times before giving a download link.  As Raspbian Buster is a new release I do expect delays in building this image.

Posted

I was able to torrent stretch lite. Do you think there’s a chance that could work for me or at this point do you think my issue is unrelated to the version?

I look forward to trying the image you create and also if your company can offer support.

Thanks again for the help!


Sent from my iPhone using Tapatalk

Posted

Hi @smarthome_newbie

I'm not at all trying to be flip, but if you can wait until October 17th, and don't mind the cost, there's a option coming that should solve the Polyglot problems once and for all.  UDI is releasing a device called Polisy that will come with Polyglot pre-installed, and it will come with UDI technical support if you have problems.  I think you can consider this device to be the easiest/best way forward for the majority of people looking to utilize node servers in their ISY installations.  I've run various Linux/Unix installations for years (including very useful Polyglot and NodeLink installations), and I've got one on preorder.

That said, there's no reason you can't make this work on your RPi.  It will take time and patience if Linux system administration isn't in your background, but you'll learn a lot along the way.  @simplextech is going the extra mile here to help out.  Good luck!

Posted

Thanks for the info. I appreciate simplextech very much. I considered waiting for polisy but this seemed simple enough so thought I’d give it a try. I already bought a Rpi which I won’t need if I get Polisy. I think I’m going to keep trying to get this to work. I will end up getting polisy if I can’t. I’ve kind of enjoyed learning but I do get frustrated at times.

Posted

@smarthome_newbie,

Both Tesla and Ecobee are cloud based services. So, you might want to try our ISY Portal/Polyglot solution which does not require any of the above. You can get ISY Portal free of charge for 30 days (no CC required) and see if it meets your expectations before spending more time on RPi or more money on Polisy. All you need to do is to sign up for a trial at https://my.isy.io

With kind regards,
Michel

Posted
52 minutes ago, Michel Kohanim said:

@smarthome_newbie,

Both Tesla and Ecobee are cloud based services. So, you might want to try our ISY Portal/Polyglot solution which does not require any of the above. You can get ISY Portal free of charge for 30 days (no CC required) and see if it meets your expectations before spending more time on RPi or more money on Polisy. All you need to do is to sign up for a trial at https://my.isy.io

With kind regards,
Michel

Hi Michel. Will it work with my Z wave devices too like door locks? What’s the benefit of not using cloud?

Posted

@smarthome_newbie,

I am getting the impression that you don't have an ISY994. Do you? Everything in here requires an ISY. So, if you already have ISY994i ZW+ series (ZW for Z-Wave), then yes, of course. Communications with Z-Wave/INSTEON devices are all local and have nothing to do with Portal and Polyglot. 

The only advantage of ISY Portal is that you don't need to mess around with RPi etc. for things that are cloud based such as Ecobee and Tesla.

With kind regards,
Michel

Posted
@smarthome_newbie,
I am getting the impression that you don't have an ISY994. Do you? Everything in here requires an ISY. So, if you already have ISY994i ZW+ series (ZW for Z-Wave), then yes, of course. Communications with Z-Wave/INSTEON devices are all local and have nothing to do with Portal and Polyglot. 
The only advantage of ISY Portal is that you don't need to mess around with RPi etc. for things that are cloud based such as Ecobee and Tesla.
With kind regards,
Michel


My ISY arrives today. Was trying to get a head start and set up polyglot. The cloud service is making more sense now. I was getting confused.


Sent from my iPhone using Tapatalk
Posted
48 minutes ago, smarthome_newbie said:

 


My ISY arrives today. Was trying to get a head start and set up polyglot. The cloud service is making more sense now. I was getting confused.


Sent from my iPhone using Tapatalk

 

I doubt Polyglot will do anything until it connects to your ISY.

Archived

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

  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

  • Forum Statistics

    • Total Topics
      37.2k
    • Total Posts
      372.5k
×
×
  • Create New...