Page 1 of 1

TL-SG3424P POE control

Posted: Wednesday 26 December 2018 22:56
by pascalspits
is it possible to have Domoticz control power to POE devices on a TL-SG3424P managed switch ?

I would like t use it for a Wifi AP failover in my house ...
when the pinger notices the AP offline (it has crashed) then "switch it of and back on again" (where have I heard that before ? :lol: )
when after 2 reboots it still doesnt work, power up another (backup) AP device.
... and as the TL-SG3424P has POE control it would be nice to control it via a web-command from within Domoticz ...
makes sense ?

Re: TL-SG3424P POE control

Posted: Wednesday 26 December 2018 23:31
by ErikAtSpijk
I have a python script running which monitors the traffic through a managed switch for every port. It's based on SNMP and call's the command below twice and calculates the bitrate between the two commands

"snmpget -v 2c -c public -O qv 192.168.0.39 .1.3.6.1.2.1.2.2.1.16.portnumer"

If there is no traffic you could cut the power and re-enable it after a few seconds. I guess the answer to your question is "yes".

Re: TL-SG3424P POE control

Posted: Wednesday 26 December 2018 23:44
by pascalspits
yes but HOW exactly do I cut the POE power of that specific port ?
is there also a command for that ?

Re: TL-SG3424P POE control

Posted: Saturday 29 December 2018 11:55
by pascalspits
> If there is no traffic you could cut the power and re-enable it after a few seconds. I guess the answer to your question is "yes".
Yes but HOW exactly can I monentarily cut the POE power of that specific LAN port ?
Is there also a command for that ?

Re: TL-SG3424P POE control

Posted: Saturday 29 December 2018 12:34
by Lebo2d9
Hi,

maybe you can find some info on
https://static.tp-link.com/res/down/doc ... 0_CLI_.pdf
pascalspits wrote: Wednesday 26 December 2018 23:44 yes but HOW exactly do I cut the POE power of that specific port ?
is there also a command for that ?
Kind regards

Koen