Ciao,
I had to put the PLU behind a NAT.
I forwarded external port 8080 to the internal 8080: the websocket is working fine.
(Not that if I had to connect TWO PLUs, I would be forced to put the second one under a different external port and, if I'm not wrong, there's no way to change it, unless "hacking" N1081B_sdk.py
def __init__(self, ip):
self.API_ENDPOINT = "ws://" + ip + ":8080/"
self.ws = 0
to use a different port)
But for the web-interface is even worst: I had to redirect the port 80 that typically is already used (in my case is the web-config of my router...).
If I redirect, for example on port 81, the problems is that the web-interface page is reached (even the ones after the login page, if, for example, directly typing their full ORL/path) but this is not working since the javascript is trying to reach pippo.com:82:80...
In this case there's no way to "hack", right?
Best,
Matteo
Ciao,
I had to put the PLU behind a NAT.
I forwarded external port 8080 to the internal 8080: the websocket is working fine.
(Not that if I had to connect TWO PLUs, I would be forced to put the second one under a different external port and, if I'm not wrong, there's no way to change it, unless "hacking"
N1081B_sdk.pyto use a different port)
But for the web-interface is even worst: I had to redirect the port 80 that typically is already used (in my case is the web-config of my router...).
If I redirect, for example on port 81, the problems is that the web-interface page is reached (even the ones after the login page, if, for example, directly typing their full ORL/path) but this is not working since the javascript is trying to reach pippo.com:82:80...
In this case there's no way to "hack", right?
Best,
Matteo