VRGhost / OctoPrint-PSUControl-Meross

Adds Meross Smart Plug support to OctoPrint-PSUControl
GNU Affero General Public License v3.0
4 stars 6 forks source link

Add API base URL support #15

Closed luizbon closed 6 months ago

luizbon commented 9 months ago

This is a fix for a breaking change from meross-iot where it was introduced the API base URL.

With the changes, there's a new dropdown to let the user select the region where their meross account is registered.

This change is fully tested and I'm using with my setup.

iseppia commented 8 months ago

fantastic everything works great, I really appreciate it

jneilliii commented 8 months ago

16

EsstBananeImEi commented 8 months ago

This Fix Works fine, thank you for that :)

eXeler0n commented 6 months ago

How to use this instead of the one in the OctoPrint plugin store? @luizbon

eXeler0n commented 6 months ago

Okay, just copied the code manually :-D But there is no result in device list. Has the device to be reachable.

luizbon commented 6 months ago

To install the fixed version, follow the steps in https://plugins.octoprint.org/help/installation/ and use the package from https://github.com/luizbon/OctoPrint-PSUControl-Meross/releases/tag/0.13.2

jeloneal commented 6 months ago

@luizbon thanks for your updated version. I installed it but I still get an error: image Regardless which region I select. Any idea what could be wrong?

jeloneal commented 6 months ago

@luizbon I had problems getting your fixed version to run. Found a small bug with URL selector and updated meross-iot library dependency to latest version. That fixed it for me finally.

For anyone interested, find my version here: https://github.com/jeloneal/OctoPrint-PSUControl-Meross/releases/tag/0.13.3

jeloneal commented 6 months ago

@luizbon VRGhost already merged my PR that was based on yours. Thanks for the contribution!