This file contains hidden or 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
description: "Update with your device and entity IDs" | |
mode: single | |
trigger: | |
- platform: time_pattern | |
hours: "*" | |
id: Watering | |
- platform: device | |
type: turned_on | |
device_id: 23ddd11050cc1ece59ef498c9317e672 | |
entity_id: 46341310abd22c1d7b3c6a816ae69bfe |
This file contains hidden or 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 | |
# Set the directory where certificates will be stored | |
CERT_DIR="$HOME/DoDCertificates" | |
# Create the directory if it does not exist | |
mkdir -p "$CERT_DIR" | |
# Change to the directory | |
cd "$CERT_DIR" |
This file contains hidden or 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
esphome: | |
name: si-smartplug-model-70011 | |
friendly_name: si-smartplug-model-70011 | |
esp8266: | |
board: d1_mini | |
early_pin_init: false # Prevent the physical relay flipping on reboot. | |
api: | |
ota: |
This file contains hidden or 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
set-executionpolicy unrestricted | |
clear | |
while($true) | |
{ | |
$date = Get-Date | |
$sleep = 10 | |
$Tab = [char]9 | |
Write-Host -Fore "Blue" "Ping status $date" | |
Write-Output ----- |
This file contains hidden or 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
netsh int ip set address name="Local Area connection" static 198.220.115.3 255.255.255.0 | |
pause |
This file contains hidden or 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
netsh int ip set address "Local Area connection" source=dhcp | |
pause |
This file contains hidden or 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
set-executionpolicy unrestricted | |
clear | |
while($true) | |
{ | |
$PingMachines = Gc "clients.txt" | |
ForEach($MachineName In $PingMachines) | |
{$PingStatus = Gwmi Win32_PingStatus -Filter "Address = '$MachineName'" | | |
Select-Object StatusCode | |
If ($PingStatus.StatusCode -eq 0) | |
{Write-Host $MachineName -Fore "Green"} |