Skip to content
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

Nulleinspeisung mit Shelly 3EM Passwort Geschützt #19

Open
queenofdeath77 opened this issue Jul 13, 2023 · 2 comments
Open

Nulleinspeisung mit Shelly 3EM Passwort Geschützt #19

queenofdeath77 opened this issue Jul 13, 2023 · 2 comments

Comments

@queenofdeath77
Copy link

Hallo,

Ich betrete hier nun komplettes "Neuland" für mich, und das in meinem alter :-)

Frage denke das es kein Problem für euch sein wird, wenn ich einen Shelly 3EM mit Passwort benutze funktioniert ja das nicht.
Hab mal temporär meinen Passwort Schutz aufgehoben alles ist wunderbar.
Gibt es eine Version die Passwörter unterstützt auch oder wird es sowas in Zukunft mal geben ?

danke für eure Hilfe,

@MarkusPVHM
Copy link

Hallo,

bei mir funktioniert es mit Passwort problemlos. Ich habe den user bei "admin" belassen und mir ein passwort aus Zahlen und buchstaben generiert. Das Script kommt wunderbar klar damit. Wo ich Probleme habe, ist 2 Hoymiles HM-1500 mit dem Python script zu steuern. Habe mit mal mit 2x script mit 2x OPENDTU beholfen, aber die behindern sich selbst in der Regelung, meistens ist dann einer im Min und der andere im Max Bereich oder bei kleineren Verbräuchen sind die Ausschläge +-200W um die Nulllage :-(

@jmf90
Copy link

jmf90 commented Apr 18, 2024

Hallo,

Ich betrete hier nun komplettes "Neuland" für mich, und das in meinem alter :-)

Frage denke das es kein Problem für euch sein wird, wenn ich einen Shelly 3EM mit Passwort benutze funktioniert ja das nicht. Hab mal temporär meinen Passwort Schutz aufgehoben alles ist wunderbar. Gibt es eine Version die Passwörter unterstützt auch oder wird es sowas in Zukunft mal geben ?

danke für eure Hilfe,

Hi @queenofdeath77

ich stand vor dem selben Problem und konnte es lösen.
Das Script muss wie folgt angepasst/erweitert werden:

....

shelly_ip = 'Shelly IP' # IP Adresse von Shelly 3EM
shelly_nutzer = 'Shelly Benutzername' # Shelly Nutzername
shelly_passwort = 'Shelly Passwort' #Shelly Passwort

....

phase_a = requests.get(f'http://{shelly_ip}/emeter/0 / user', auth = HTTPBasicAuth(shelly_nutzer, shelly_passwort), headers={'Content-Type': 'application/json'}).json()['power']
phase_b = requests.get(f'http://{shelly_ip}/emeter/1 / user', auth = HTTPBasicAuth(shelly_nutzer, shelly_passwort), headers={'Content-Type': 'application/json'}).json()['power']
phase_c = requests.get(f'http://{shelly_ip}/emeter/2 / user', auth = HTTPBasicAuth(shelly_nutzer, shelly_passwort), headers={'Content-Type': 'application/json'}).json()['power']

....

Gruß Marc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants