Repository navigation
Releases
Releases · nhenjes/OctoPrint-PSUControl-WiZ
0.1.5
Fixes
- Failed switches are now reported to PSU Control. Previously, if the plug didn't answer when PSU Control switched it, the plugin only logged the error. PSU Control treated the switch as successful and carried on with its post-switch steps (auto-connecting to the printer, running the post-on script). It now gets the error, logs
Unable to switch plug on: … Check settings.and skips those steps. (#4) setup.pynow includes an author contact email.
Tested on OctoPrint with PSU Control 1.0.7 and an unreachable plug.
0.1.4
Fixes
- 0.1.3 failed to load ("Cannot create a consistent method resolution order"), so OctoPrint skipped the plugin and PSU Control logged "psucontrol_wiz is configured for sensing but it is not registered". If you installed 0.1.3, install this version from Plugin Manager → Get More → from URL:
https://github.com/nhenjes/OctoPrint-PSUControl-WiZ/archive/0.1.4.zip
(0.1.3 can't update itself because it never loaded.) - Includes the 0.1.3 settings-page fix: the plug address is shown and Test connection works.
Tests now run against real OctoPrint 2.0.2 and include load tests for this kind of error.
0.1.3
0.1.2
First public release.
- Switch printer power through a WiZ smart plug from PSU Control
- Sense power state from the plug
- Settings page with a connection test
- Retries for dropped UDP packets, reply-source checking, and switch verification
- Keeps the last known state if a status check gets no reply, and logs outages once
Tested with a WiZ ESP25_SOCKET_01 plug (firmware 1.39.0), OctoPrint 2.0.2 and PSU Control 1.0.7.