Jump to content

Recommended Posts

Posted

ran the update but its not finding the ISY  even after hardcoding, Same subnet . Tried HTTP login to verify user id and pass, works ok

 

Here's the error from the log

2019-11-18 19:52:17 [polyglot] error: ISY: connection failed. Retrying... Error: connect ENETUNREACH 192.168.5.103:80 - Local (0.0.0.0:40531) 2019-11-18 19:52:17 [polyglot] error: ISY: connection failed. Retrying... Error: connect ENETUNREACH 192.168.5.103:80 - Local (0.0.0.0:54384) 2019-11-18 19:52:18 [polyglot] error: ISY: connection exceeded max re-tries. Aborting. Error: connect ENETUNREACH 192.168.5.103:80 - Local (0.0.0.0:52562) 2019-11-18 19:52:18 [polyglot] error: Get Version HTTP Error: RequestError: Error: connect ENETUNREACH 192.168.5.103:80 - Local (0.0.0.0:52562)

Posted

@ddimit,

It's not finding the ISY. Is ISY on the same network?

All,

Arp etc. require a client software on the browser such as Java. We need to find a solution that does not require any plugins and it's already available in all OSs. The best solution, thus far, is mDNS which is supposedly supported on Windows 10 but we haven't been able to verify. 

With kind regards,
Michel

Posted

Michel,

That is correct both reside on the 192.168.5.x network, this is a Ubiquiti Unif network. Unif Switch and USG. A PC on a differrent subnet. 192.168.4.x can http  just fine to the ISY.

Posted
57 minutes ago, ddimit said:

Michel,

That is correct both reside on the 192.168.5.x network, this is a Ubiquiti Unif network. Unif Switch and USG. A PC on a differrent subnet. 192.168.4.x can http  just fine to the ISY.

In your Unifi Controller do you have mDNS enabled?  You may also want to check your uPNP settings as well especially if you've updated the controller recently.

Posted
31 minutes ago, simplextech said:

In your Unifi Controller do you have mDNS enabled?  You may also want to check your uPNP settings as well especially if you've updated the controller recently.

Yes, I turned on mDNS and uPNP, no change, is this depenedant on a particular verion on the ISY?

Posted

Hi

I just did the latest update and all node servers functioned as expected except for the Tesla NS. It would not start so I deleted and uninstalled it. Upon reinstalling I would get the message. 

cloneRepo: Error: runInstallProcess: undefined

Thanks Gary

 

 
Posted
1 hour ago, Michel Kohanim said:

@ddimit,

Polyglot uses UDP to find ISY. Are you certain UDP packets can pass through your network?

With kind regards,

Michel

Hi Michel,

 

Yes UDP traffic is allowed, Since these devices are on the same subnet on the same switch its not up to the router to ever forward the traffic.  The devices will see it on the same subnet/vlan.

Posted (edited)
1 hour ago, Michel Kohanim said:

@garybixler, we are looking into it.

@ddimit, just to be clear, you can ssh to Polisy and can ping isy from within Polisy?

With kind regards,

Michel

Yes, here is the result. Polisy Ip is 192.168.5.191

Welcome to Polisy!
[admin@polisy ~]$ ping 192.168.5.103
PING 192.168.5.103 (192.168.5.103): 56 data bytes
64 bytes from 192.168.5.103: icmp_seq=0 ttl=60 time=0.405 ms
64 bytes from 192.168.5.103: icmp_seq=1 ttl=60 time=0.291 ms
64 bytes from 192.168.5.103: icmp_seq=2 ttl=60 time=0.356 ms
64 bytes from 192.168.5.103: icmp_seq=3 ttl=60 time=0.291 ms
64 bytes from 192.168.5.103: icmp_seq=4 ttl=60 time=0.353 ms
64 bytes from 192.168.5.103: icmp_seq=5 ttl=60 time=0.315 ms
64 bytes from 192.168.5.103: icmp_seq=6 ttl=60 time=0.306 ms
64 bytes from 192.168.5.103: icmp_seq=7 ttl=60 time=0.293 ms
64 bytes from 192.168.5.103: icmp_seq=8 ttl=60 time=0.292 ms
^C
--- 192.168.5.103 ping statistics ---
9 packets transmitted, 9 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.291/0.322/0.405/0.038 ms
[admin@polisy ~]$

Edited by ddimit
addition
Posted

Michel

Hi, after just doing the latest update I'm still not able to bring up the Tesla node server. Still get the following error.

cloneRepo: Error: runInstallProcess: undefined

Thanks Gary

Posted
1 hour ago, garybixler said:

Michel

Hi, after just doing the latest update I'm still not able to bring up the Tesla node server. Still get the following error.

cloneRepo: Error: runInstallProcess: undefined

Thanks Gary

Did you install node and npm on your Polisy?

Posted

simplextech

It had worked before the last two updates so I didn't think anything had to be done.

But could you give me the commands and I will try that.

Thanks

 

Posted

SSH into the polisy and run the following from the prompt. 

pkg info node

If that work fine then check npm

pkg info npm

If you get any error like this:

pkg: No package(s) matching blah

then node and npm are not installed and they need to be for the Tesla nodeserver.

Posted

They both appear to be installed.

npm-6.12.1
Name           : npm
Version        : 6.12.1
 

node-13.1.0
Name           : node
Version        : 13.1.0
 

Posted

Very odd then.  I just did an install from my rPi and from Polisy and both worked

Quote

2019-11-27 17:41:21 [polyglot] info: NSChild cloneRepo: Successfully cloned Tesla into NodeServer directory.

 

Posted (edited)

Something must be missing in my Polisy after the last two upgrades. I don't see NSChild. I also found that Roomba has the same problem in my Polisy. The simple NS ping doesn't work either.

Thanks for any suggestions.

Gary

Edited by garybixler
Posted

Ping doesn't work since the system call structure in Python is slightly different in FreeBSD than in debian/rpi linux.  The developer needs to rework the code a bit to fix it.  The same applies to the presence-poly NS.

Posted

Hi Michel

I had been doing updates as they become available. Before the last two updates all was working fine.

Here is the response from sudo pkg update && sudo pkg upgrade

Updating udi repository catalogue...
udi repository is up to date.
All repositories are up to date.
Updating udi repository catalogue...
udi repository is up to date.
All repositories are up to date.
Checking for upgrades (0 candidates): 100%
Processing candidates (0 candidates): 100%
Checking integrity... done (0 conflicting)
Your packages are up to date.

Thanks Gary
 

 

Posted

My info.

polyglot-2.2.6
Name           : polyglot
Version        : 2.2.6
Installed on   : Fri Nov  8 12:10:35 2019 PST
Origin         : misc/polyglot
Architecture   : FreeBSD:12:amd64
Prefix         : /usr/local
Categories     : misc
Licenses       : MIT
Maintainer     : andrey@xkinghome.net
WWW            : https://github.com/UniversalDevicesInc/polyglot-v2
Comment        : Polyglot v2 for UDI ISY 5.x.x
Annotations    :
        FreeBSD_version: 1200086
        repo_type      : binary
        repository     : udi
Flat size      : 88.8MiB
Description    :
Polyglot v2 server for Universal Devices ISY994 version 5.x.x

WWW: https://github.com/UniversalDevicesInc/polyglot-v2
 

 

Posted

@garybixler,

Thanks so very much for the feedback. Please do make sure you have all the following packages (you don't need the <xxx>/prefix):

lang/python37
lang/python3
lang/python
security/p5-IO-Socket-SSL
devel/git
devel/py-pip@py37
misc/polyglot
misc/polyglot-beta
www/node
www/npm
security/py-certbot@py37
net/py-netifaces@py37

Wtih kind regards,
Michel

 

Guest
This topic is now closed to further replies.

  • Recently Browsing

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

    • There are no registered users currently online
  • Forum Statistics

    • Total Topics
      37k
    • Total Posts
      371.3k
×
×
  • Create New...