Skip to content

Instantly share code, notes, and snippets.

View urbanskimichal's full-sized avatar

Michał Urbański urbanskimichal

View GitHub Profile
#!/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}