wasilukm / hoymiles_modbus

MIT License
13 stars 5 forks source link

Why do I feel like there is no option to use this with basic auth? I have to provide username and passowrd to get to my dtu. #8

Closed SyncHot closed 2 years ago

SyncHot commented 2 years ago

Description

Describe what you were trying to get done. Tell us what happened, what went wrong, and what you expected to happen.

What I Did

Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.
wasilukm commented 2 years ago

This library works only on ModbusTCP protocol. This protocol doesn't support any authentication so neither the library. Maybe you are thinking about http?

SyncHot commented 2 years ago

Sorry, this is so right. Is there a way to actually be able to connect this to energy dashboard in home assistant?

wasilukm commented 2 years ago

Try https://github.com/wasilukm/hoymiles-mqtt