You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
Rockpro64 Power On Watchdog using esp8266 and Tasmota
Problem
Some times after power loss (12v) the rockpro64 will not fully power on when 12v is restored. It will enable 5V but then it will not "power on" which is indicated by pin 1 raising to 3.3v. This is fixed by pushing the power button for 5-8 seconds which for sure forces the rockpro off and then a single push of a second. We can use these facts to "push" the power using a relay powered by a esp8266 running the Tasmota firmware and a simple tasmota rule. Below are the details. You ONLY need to do this is you are using the rockpro64 in an unattended mission critical application (e.g a NAS box running your cloud server).
WARNING WARNING WARNING
I take NO responsibility if you brick/fubar your rockpro64 or wemos boards doing this. Please understand and test first. Don't just connect your watchdog to the rockpro64 rather set up a testbench like I did by using the 3.3v pin on the D1 mini and a switch instead of pin1 on the rockpro to simul
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
Created
February 19, 2023 16:18— forked from fago/watch.sh
Inotify script to trigger a command on file changes, e.g. rsync
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
Hugo Release Update Script - supports extended version
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
# inspried from this forum post https://discourse.gohugo.io/t/script-to-install-latest-hugo-release-on-macos-and-ubuntu/14774/10
# if you have run into github api anonymous access limits which happens during debugging/dev then add user and token here or sourced from a separate file
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
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