network monitoring with openhab2
https://community.openhab.org/t/add-sonoff-basic-tasmota-to-things-items-and-rules-using-config-files-and-mqtt/81648/34
Using shell scripts
https://community.openhab.org/t/running-script-with-a-switch/38407/23
https://tasmota.github.io/docs/openHAB/
Tasmota commands
https://tasmota.github.io/docs/Commands/