joscha82 / wattpilot

Python library to connect to a Fronius Wattpilot Wallbox
MIT License
42 stars 11 forks source link

What is the initial password and default IP in Hotspot mode? #38

Open MPW1412 opened 9 months ago

MPW1412 commented 9 months ago

Hello and thanks for this cool project!

I'm trying to connect to a Wattpilot, that has been factory resetted with the RFID card.

What is the default ip? My client gets an IP address in 10.128.250.0/24. But the Wattpilot doesn't seem to respond to pings, so it's not trivial to find the host. And what is the initial password? Is it the “hotspot key“ or the ”V.code“?

Best, Matthias

peterpoetzi commented 9 months ago

Hi, the initial IP is 10.128.250.181 and the wattpilot should also answer pings.

The initial password is empty, and can only be set with the Solar.Wattpilot app, but on hotspot you never need a password.

MPW1412 commented 9 months ago

Hey, thanks for the quick answer!

And how do I set an empty password? wattpilotshell terminates itself:

$ wattpilotshell 
Traceback (most recent call last):
  File "/usr/local/bin/wattpilotshell", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.10/dist-packages/wattpilot/wattpilotshell.py", line 1185, in main
    Cfg.set(os.environ)
  File "/usr/local/lib/python3.10/dist-packages/wattpilot/wattpilotshell.py", line 1152, in set
    assert not d.required or d.val, f"{var.name} is not set!"
AssertionError: WATTPILOT_PASSWORD is not set!
peterpoetzi commented 9 months ago

I am not familiar with wattpilotshell, but I guess maybe setting any password will just work. You can also connect with the Fronius app first, and actually set a password which will the also allow you to connect over local network.

MPW1412 commented 9 months ago

The Fronius app for Android is completly broken. I tried to just set the wifi on three different days now and it just hangs. I need to make it work with this project or by an iphone, where the app shall work.