-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot connect to ESS #15
Comments
As the message says: get_password is only known to work on the ess wifi (the one opened by the ess), not your home network. In that network, the ess ip should be valid. |
Thanks for your response - understood. However, how do I create a direct connection to ESS. I have only been able to connect from a smartphone via EnerVU app. How to do this under raspian OS or ubuntu OS 18.4, where an EnerVU app is not available? |
Thanks - will try in the evening. |
Thanks for the procecure, with which I could connect and get the ESS password. Next, I connected via WLAN to my 7490 router and tried to receive data with esscli: The Wifi is the local WLAN , not the ESS WLAN which is disabled now, the 192.168.23.1 is no longer available. Traceback (most recent call last): Also the list_ess (which initially worked) now brings this message: Can you please give advice how to proceeed from here? |
I finallly found a problem within ESS communication setup which is now solved. Thank you very much for assistance. Tzhe issue can be closed. |
👍 Well done. Happy that it works for you now. |
My ESS is connected to a Fritzbox 7490 with ip address 192.168.178.45.
The pyess package is installed on Ubuntu 18.4 with python 3.8.
The default ip address 192.168.23.1 does not exist and cannot be ping'ed on my system.
esscli --action list_ess is able to find my device:
Searching for LG ESS devices on the network
found 1 devices:
1 DE2201BKRE017808
esscli --action get_password
failed: unable to connect to local ESS
Detailed messages:
Fetching ess password. For this you must be connected to the ESS wifi (or recently have been connected to it)
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
conn = connection.create_connection(
File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 84, in create_connection
raise err
File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 74, in create_connection
sock.connect(sa)
OSError: [Errno 101] Network is unreachable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 665, in urlopen
httplib_response = self._make_request(
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 376, in _make_request
self._validate_conn(conn)
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 996, in _validate_conn
conn.connect()
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 314, in connect
conn = self._new_conn()
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 171, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb26efd98e0>: Failed to establish a new connection: [Errno 101] Network is unreachable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 719, in urlopen
retries = retries.increment(
File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 436, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='192.168.23.1', port=443): Max retries exceeded with url: /v1/user/setting/read/password (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb26efd98e0>: Failed to establish a new connection: [Errno 101] Network is unreachable'))
This looks to me to be a wrong ip address of 192.168.23.1.
I changed the ip address from 192.168.23.1 to 192.168.178.45 to be able to connect to my local ESS, then again compiled with
pip install pyess.
However, still the old ip address appears, so what is the right way to recompile everything?
Thanks in advance.
The text was updated successfully, but these errors were encountered: