Hi,
I’ve developed an integration for Mikrotik switches running SwitchOS (and SwitchOS Lite):
Currently the integration provides sensors for poe values for every port (power, current and voltage) as well as the “health” information whic hincludes Current, Voltage and Power (PoE) as well as CPU-Temperature. The refresh rate is configurable and defaults to 10s.
In future I would like to add entities to switch poe on and off.
The integration has been tested with:
CSS610-8P-2S+ running Switch OS Lite 2.20.
CRS326-24G-2S+ running SwitchOS 2.18
CRS328-24P-4S+ running SwitchOS 2.18
The API is provided by this library and uses the same API as the webinterface:
Edit: The SwitchOS Lite integration has been replaced by an integration that supports both SwitchOS and SwitchOS Lite. I updated this post to reflect those changes.
I was just looking around to see if this existed, as I was preparing to write it myself. It isn’t complete for my usecase, as I wanted a way to toggle PoE power on ports, so I will probably have a go on adding that.
I just implemented a new integration which adds support for SwitchOS (without Lite) as well. It’s basically just a copy of this one with a few changes but I wanted to remove the term “Lite”.
I just released the first version yesterday and am waiting for some feedback of a SwitchOS with PoE user, so I didn’t update this thread and the SwitchOS Lite documentation yet.
But this integration will soon be deprecated and replaced with the new one.
I would like to add support to switch PoE on and off but I didn’t start implementing it yet. So your contribution would be very welcome
If you are willing to contribute you can drop me a PM or mail so we can discuss some details