reserve85 / HoymilesZeroExport

Zero Export Script for Hoymiles Inverters using AhoyDTU / OpenDTU and Tasmota Smart Meter inferface / Shelly 3EM / SHRDZM / Emlog / ioBroker
GNU General Public License v3.0
135 stars 31 forks source link

User/Password for Tasmota #159

Closed jhedtmann closed 4 months ago

jhedtmann commented 6 months ago

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 commented 6 months ago

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 commented 6 months ago

I can create a PR, if that is of any help. Its really a quite trivial modification...

Thanks for your efforts!

Best, Jörg

On 06.03.24 08:09, reserve85 wrote:

Hi,

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

i´ll add it soon and let you know.

— Reply to this email directly, view it on GitHub https://github.com/reserve85/HoymilesZeroExport/issues/159#issuecomment-1980220741, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACM4Q2HZA6SCUJMOYW2QI53YW26I3AVCNFSM6AAAAABEIOLPMGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBQGIZDANZUGE. You are receiving this because you authored the thread.Message ID: @.***>

reserve85 commented 6 months ago

That would be great if you have already implemented it.