Open StinkendeHobbit opened 6 months ago
Thanks. Indeed it appears that Gen 2 shelly devices have changed authentication methods. For the time being I have noted in Moonraker's documentation that only Gen 1 devices support authentication and relabeled this as an feature request. Hopefully an interested developer will add support for Gen 2 devices.
In the meantime, it should be possible to get the switch working over MQTT. Alternatively, it is likely that Home Assistant supports Gen 2 shelly.
What happened
moonraker failes authenication with shelly plug plus s. https://www.shelly.com/en/products/shop/shelly-plus-plug-s
This results in the following log:
Client
Mainsail
Browser
Chrome
How to reproduce
Additional information
I have had a the simmular issue with OctoPrint PSU control pluging. I managed to solve it with the following thread. https://github.com/edekeijzer/OctoPrint-PSUControl-Shelly/issues/16
The issue seems to be related to the authentication method used by the plugin. As the new plug use a different method (HTTPDigestAuth). The provided solution has the following changes to handle this change in authentication method.