Jump to content

Please help installing Polyglot


Recommended Posts

Posted

I bought one of the Canakits with noobs preinstalled.  I successfly installed raspbian.  It looks like a windows desktop and I'm not sure where to go to do the install script for polyglot.  Please help. I don't have my ISY yet.  Supposed to be delivered Monday.  Thanks!

Posted
9 minutes ago, Jim Unroe said:

I just setup a Polyglot server a few days ago. Watching these videos helped me.

https://www.youtube.com/channel/UCCQEDhX2eETV24S_UDJJnDw

Jim

Noobs was already installed on the SD card and I now have Raspbian installed.  I'm just not sure where to type the script to install Polyglot.  The video doesn't seem to have instructions for this because Noobs wasn't used.  Sorry for the stupid questions.  Ugh.  

Posted
58 minutes ago, smarthome_newbie said:

Noobs was already installed on the SD card and I now have Raspbian installed.  I'm just not sure where to type the script to install Polyglot.  The video doesn't seem to have instructions for this because Noobs wasn't used.  Sorry for the stupid questions.  Ugh.  

It is covered in the "Polyglot Install" video. James doesn't say he is in the Raspian terminal. But that is what is displayed at the beginning of the video.

If you've set up a keyboard and monitor you can do it locally from within terminal. If not, like me, you log in via SSH. In either case, you do it from the Raspian command line.

Jim

Posted

If you get errors with files missing, get a proper Raspbian installation image, and dump the NOOBS. I had trouble with three different NOOBs installations from RPi 1 to RPi 3 where none of the help websites or forums solutions ever worked. NOOBS was always missing standard packages in my Raspbian installation. The full Raspbian install images are available online somewhere but I can't remember where. A simple search should find it easily.

Posted

Thanks for the help!  I have successfully installed Raspbian Buster Lite and Polyglot. I received the following message:  "Done! Login to Polyglot v2 at https:$hostip:$hostport"  I am at the pi@raspberrypi: prompt.  How do I login in to that address?  I have no web browser.  When I used noobs, it had a browser.  Please help.

Posted
12 minutes ago, smarthome_newbie said:

Thanks for the help!  I have successfully installed Raspbian Buster Lite and Polyglot. I received the following message:  "Done! Login to Polyglot v2 at https:$hostip:$hostport"  I am at the pi@raspberrypi: prompt.  How do I login in to that address?  I have no web browser.  When I used noobs, it had a browser.  Please help.

If you follow the videos, they give you step by step instructions on getting setup. All you need to do is type the address in of your rpi and you're in

 

Posted
15 minutes ago, smarthome_newbie said:

Thanks for the help!  I have successfully installed Raspbian Buster Lite and Polyglot. I received the following message:  "Done! Login to Polyglot v2 at https:$hostip:$hostport"  I am at the pi@raspberrypi: prompt.  How do I login in to that address?  I have no web browser.  When I used noobs, it had a browser.  Please help.

Use the web browser from your PC.  

 

Posted
8 minutes ago, simplextech said:

Use the web browser from your PC.  

 

I tried https://$hostip:$hostport from my PC but it said invalid link.  I think I'm missing something obvious here but not sure what I'm doing wrong.

Posted

Invalid or did you get a "security warning"?  You will get the security warning or error but there will be a "Advanced" button or link depending on the browser you're using to continue to the site.  

Did you replace $hostip:$hostport with the actual IP Address and Port number of the Raspberry Pi?  

If you are in fact getting a page not found or 404 then it's possible the web server on the Pi is not running or your local firewall is possibly blocking it?

Posted
19 minutes ago, simplextech said:

Invalid or did you get a "security warning"?  You will get the security warning or error but there will be a "Advanced" button or link depending on the browser you're using to continue to the site.  

Did you replace $hostip:$hostport with the actual IP Address and Port number of the Raspberry Pi?  

If you are in fact getting a page not found or 404 then it's possible the web server on the Pi is not running or your local firewall is possibly blocking it?

I feel so dumb. Wasn’t using actual ip/port. I did ifconfig and got the ip but where do I find the port number? Thank you. 

Posted
2 minutes ago, paulbates said:

Its not listed in the post if you started the link with https://, its an SSL page

example:

https://192.168.0.100:3000

Paul

I included the s in https using the browser on my Mac. It’s says safari can’t connect to the server. I can’t figure out what I’m doing wrong. 

Posted
Just now, smarthome_newbie said:

I included the s in https using the browser on my Mac. It’s says safari can’t connect to the server. I can’t figure out what I’m doing wrong. 

Polisy comes out in October. I would just wait until then and use that. It'll be a much easier setup

Posted

I tried "sudo systemctl status polyglot-v-2 service" and it says "service could not be found."  I don't understand that because previously I got the message that said  "Done! Login to Polyglot v2 at https:$hostip:$hostport". I tried logging in from my PC using the ip of my pi with port 3000 but it says "safari failed to open page."  Any clue what I'm doing wrong?


 
Posted
12 minutes ago, smarthome_newbie said:

I tried "sudo systemctl status polyglot-v-2 service" and it says "service could not be found."  I don't understand that because previously I got the message that said  "Done! Login to Polyglot v2 at https:$hostip:$hostport". I tried logging in from my PC using the ip of my pi with port 3000 but it says "safari failed to open page."  Any clue what I'm doing wrong?



 

The service name you're trying is not correct.  Try this

Check status:

  • sudo systemctl status polyglot-v2

Should give you output similar to this:

● polyglot-v2.service - polyglot-v2
   Loaded: loaded (/lib/systemd/system/polyglot-v2.service; enabled; vendor pres
   Active: active (running) since Tue 2019-07-23 12:47:35 EDT; 1 weeks 3 days ag
 Main PID: 666 (polyglot-v2-lin)
   CGroup: /system.slice/polyglot-v2.service
           ├─ 666 /home/pi/polyglot/polyglot-v2-linux-armv7
           ├─ 815 /bin/sh -c /usr/bin/env python3 ./hue.py
           ├─ 816 python3 ./hue.py
           ├─1205 /bin/sh -c /usr/bin/env python3 ./blue-iris-poly.py
           ├─1206 python3 ./blue-iris-poly.py
           ├─3247 /bin/sh -c /usr/bin/env python3 ./push-poly.py
           ├─3248 python3 ./push-poly.py
           ├─8554 /bin/sh -c /usr/bin/env python3 ./ambientweather-poly.py
           └─8555 python3 ./ambientweather-poly.py

Jul 23 12:47:35 raspberrypi systemd[1]: Started polyglot-v2.
Jul 23 12:47:40 raspberrypi polyglot-v2-linux-armv7[666]: (node:666) [DEP0005] D
Jul 23 12:47:40 raspberrypi polyglot-v2-linux-armv7[666]: (node:666) Warning: Us
Jul 23 12:47:40 raspberrypi polyglot-v2-linux-armv7[666]: (node:666) Warning: Us
Jul 30 13:04:40 raspberrypi polyglot-v2-linux-armv7[666]: (node:666) Warning: Us

Look for the line near the bottom "Started polyglot-v2" you can ignore the warnings below that.

If your status does not say "Started".  Run this.

  • sudo systemctl restart polyglot-v2

Then check the status again.  

 

Posted
3 minutes ago, simplextech said:

The service name you're trying is not correct.  Try this

Check status:

  • sudo systemctl status polyglot-v2

Should give you output similar to this:


 polyglot-v2.service - polyglot-v2
   Loaded: loaded (/lib/systemd/system/polyglot-v2.service; enabled; vendor pres
   Active: active (running) since Tue 2019-07-23 12:47:35 EDT; 1 weeks 3 days ag
 Main PID: 666 (polyglot-v2-lin)
   CGroup: /system.slice/polyglot-v2.service
           ├─ 666 /home/pi/polyglot/polyglot-v2-linux-armv7
           ├─ 815 /bin/sh -c /usr/bin/env python3 ./hue.py
           ├─ 816 python3 ./hue.py
           ├─1205 /bin/sh -c /usr/bin/env python3 ./blue-iris-poly.py
           ├─1206 python3 ./blue-iris-poly.py
           ├─3247 /bin/sh -c /usr/bin/env python3 ./push-poly.py
           ├─3248 python3 ./push-poly.py
           ├─8554 /bin/sh -c /usr/bin/env python3 ./ambientweather-poly.py
           └─8555 python3 ./ambientweather-poly.py

Jul 23 12:47:35 raspberrypi systemd[1]: Started polyglot-v2.
Jul 23 12:47:40 raspberrypi polyglot-v2-linux-armv7[666]: (node:666) [DEP0005] D
Jul 23 12:47:40 raspberrypi polyglot-v2-linux-armv7[666]: (node:666) Warning: Us
Jul 23 12:47:40 raspberrypi polyglot-v2-linux-armv7[666]: (node:666) Warning: Us
Jul 30 13:04:40 raspberrypi polyglot-v2-linux-armv7[666]: (node:666) Warning: Us

Look for the line near the bottom "Started polyglot-v2" you can ignore the warnings below that.

If your status does not say "Started".  Run this.

  • sudo systemctl restart polyglot-v2

Then check the status again.  

 

I tried the check status again with your command and it still said "Unit polyglot-v2.service could not be found."  I tried the restart and it said "Failed to restart polyglot-v2.service:  Unit polyglot-v2.service not found."  I did the install script again for polyglot before the status check and restart and it said the same thing again "DONE! Login to Polyglot v2 at..."  Any other ideas, please?  I feel like I'm missing something that's obviously wrong.

Posted

You're running this?

# Run the Install Script
wget -qO - https://raw.githubusercontent.com/UniversalDevicesInc/polyglot-v2/master/scripts/install.sh | bash -e

If so then it is odd that it's not installing.  I saw in earlier posts you had questions/issues with setting up the Raspberry Pi?  Was that all worked out?

What error do you get when you run this?

  • sudo systemctl enable polyglot-v2.service
Posted
2 minutes ago, simplextech said:

You're running this?


# Run the Install Script
wget -qO - https://raw.githubusercontent.com/UniversalDevicesInc/polyglot-v2/master/scripts/install.sh | bash -e

If so then it is odd that it's not installing.  I saw in earlier posts you had questions/issues with setting up the Raspberry Pi?  Was that all worked out?

What error do you get when you run this?

  • 
    sudo systemctl enable polyglot-v2.service

Yes.  I was able to get it installed.  I'm at the pi@raspberrypi prompt and tried the sudo command you gave me and got failed to enable unit: unit file polyglot-v2.service does not exist. Can't figure out what I'm doing wrong. Ugh.

Posted

Something is failing during the install.  If you ran the above install command and you're getting an error on the last command I provided then polyglot is not installed correctly.  Something went wrong.

 

Posted
4 minutes ago, simplextech said:

Something is failing during the install.  If you ran the above install command and you're getting an error on the last command I provided then polyglot is not installed correctly.  Something went wrong.

 

What do you suggest I do?

Archived

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

×
×
  • Create New...