This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Periodically send Toggle command to s26 wifi plug (Tasmota / Sonoff). | |
# The first argument is an IP address of the plug. | |
# Command is based on Tasmota documentation. | |
IP=$1 | |
echo "s26 plug test" | |
echo "IP: $IP" | |
for i in {0..50} |