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

User/Password for Tasmota #159

Closed
jhedtmann opened this issue Mar 6, 2024 · 3 comments
Closed

User/Password for Tasmota #159

jhedtmann opened this issue Mar 6, 2024 · 3 comments

Comments

@jhedtmann
Copy link

Hi, my Tasmota (Hichi) power meter demands user/password when querying the API. I have augmented the config and the constructor accordingly. If that is a common issue this should maybe go into the main dev branch...

@reserve85
Copy link
Owner

Hi,

currently user and password is not supported for tasmota webAPI, but it shouldn´t be a problem to implement it.
http://<ip>/cm?user=<username>&password=<password>&cmnd=status%2010
instead of
http://<ip>/cm?cmnd=status%2010

i´ll add it soon and let you know.

@jhedtmann
Copy link
Author

jhedtmann commented Mar 6, 2024 via email

@reserve85
Copy link
Owner

That would be great if you have already implemented it.

reserve85 added a commit that referenced this issue Apr 19, 2024
## V1.91
### script
* support Home Assistant over HTTPS (#178)
* Support login credentials for Tasmota (#159)
### config
* add `[HOMEASSISTANT]`: `HA_HTTPS` 
* add `[INTERMEDIATE_HOMEASSISTANT]`: `HA_HTTPS_INTERMEDIATE`
* add `[TASMOTA]`: `USER` and `PASS` 
* add `[TASMOTA_INTERMEDIATE]`: `USER_INTERMEDIATE` and `PASS_INTERMEDIATE`
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

2 participants