Giter Site home page Giter Site logo

Cannot connect to ESS about pyess HOT 7 CLOSED

gluap avatar gluap commented on July 16, 2024
Cannot connect to ESS

from pyess.

Comments (7)

gluap avatar gluap commented on July 16, 2024

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.

from pyess.

alaska3586 avatar alaska3586 commented on July 16, 2024

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?
My ESS is configured via WLAN , no LAN cable.

from pyess.

s-hager avatar s-hager commented on July 16, 2024

You need to enable the ess wifi like shown on the 2 screenshots of the lg enervu app below and then connect to the wifi from a computer that you can run the "esscli --action get_password" command on (Of course you need to change the IP address back from 192.168.178.45 to the default 192.168.23.1). Once you have the password you can then connect to your own wifi again and use pyess from there.
PS: Thank you gluap for making this!
Screenshot_20220912-125334.jpg
Screenshot_20220912-125337.jpg

from pyess.

alaska3586 avatar alaska3586 commented on July 16, 2024

Thanks - will try in the evening.

from pyess.

alaska3586 avatar alaska3586 commented on July 16, 2024

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:
esscli --action get_data --password
The command failed.

The Wifi is the local WLAN , not the ESS WLAN which is disabled now, the 192.168.23.1 is no longer available.
The ESS Ip-address 192.168.178.45 in my own wifi can be ping'ed.

Traceback (most recent call last):
File "/home/stephan/.local/bin/esscli", line 8, in
sys.exit(main())
File "/home/stephan/.local/lib/python3.9/site-packages/pyess/cli.py", line 99, in main
actionsargs.action
File "/home/stephan/.local/lib/python3.9/site-packages/pyess/cli.py", line 74, in get_data
ip, name = autodetect_ess()
File "/home/stephan/.local/lib/python3.9/site-packages/pyess/ess.py", line 218, in autodetect_ess
name = find_all_esses()[0]
File "/home/stephan/.local/lib/python3.9/site-packages/pyess/ess.py", line 266, in find_all_esses
raise ESSException("could not find any ESS devices via mdns")
pyess.ess.ESSException: could not find any ESS devices via mdns

Also the list_ess (which initially worked) now brings this message:
File "/home/stephan/.local/lib/python3.9/site-packages/pyess/ess.py", line 266, in find_all_esses
raise ESSException("could not find any ESS devices via mdns")
pyess.ess.ESSException: could not find any ESS devices via mdns

Can you please give advice how to proceeed from here?

from pyess.

alaska3586 avatar alaska3586 commented on July 16, 2024

I finallly found a problem within ESS communication setup which is now solved.
The get_data command now smootly delivers data.

Thank you very much for assistance.
The pyess interface is a great solution!

Tzhe issue can be closed.

from pyess.

s-hager avatar s-hager commented on July 16, 2024

👍 Well done. Happy that it works for you now.

from pyess.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.