Skip to content

Instantly share code, notes, and snippets.

raspberrypisig

Block or report user

Report or block raspberrypisig

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View MohanCurtain.ino
#define DIR_PIN 4 // Working
#define STEP_PIN 5 //
#define ENABLE_PIN 6 //
#define OPENED_LIMIT_PIN 7 //
#define CLOSED_LIMIT_PIN 8
#define OPEN_PIN 11 //
#define CLOSE_PIN 12
int moveAwayFromLimit = 200;
boolean bStartPressed = false;
View homeassistant_storepreviousstate.yaml
#input_number:
# start_of_day_vix:
# name: Start of Day VIX
# min: 0
# max: 1000000
counter:
start_of_day_count:
name: Rob Start of Day Count
minimum: 0
View _install-mjpg-streamer.md

Live stream your USB webcam and pi camera

Using the package mjpg-streamer

Installation Instructions

curl -sL https://bit.ly/2A43ZHu | bash -
View command_installed.sh
command_installed() {
type -ap $1 >/dev/null 2>/dev/null
}
command_to_test="ls"
command_installed $command_to_test
if [ "$?" -eq "0" ];
then
echo Command $command_to_test is installed.
else
View obsclock.html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>A simple clock</title>
</head>
<body translate="no" >
@raspberrypisig
raspberrypisig / clock.html
Created Apr 28, 2020 — forked from sam0737/clock.html
OBS Studio: A HTML page for showing current date and time in the video
View clock.html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>A simple clock</title>
</head>
<body translate="no" >
View obs-virtualcam.txt
1. Install OBS Studio 64-bit (C:\ProgramFiles\obs-studio directory)
2. Install OBS Studio 32-bit (C:\ProgramFiles\obs-studio directory)
3. Install OBS Virtual Cam (C:\ProgramFiles\obs-studio directory)(https://github.com/CatxFish/obs-virtual-cam)
4. Install OBS Websocket (C:\ProgramFiles\obs-studio directory)(https://github.com/Palakis/obs-websocket)
View nodered-form-authentication.flow
[{"id":"76cd96f1.87db98","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"c307d33a.0047a","type":"inject","z":"76cd96f1.87db98","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":129,"y":90,"wires":[["6ba4472e.1556a8"]]},{"id":"6ba4472e.1556a8","type":"http request","z":"76cd96f1.87db98","name":"","method":"POST","ret":"txt","paytoqs":false,"url":"https://the-internet.herokuapp.com/authenticate","tls":"","proxy":"","authType":"basic","x":324,"y":79,"wires":[["cc3c67b2.ad22e8","d67d0c2a.efe15"]]},{"id":"cc3c67b2.ad22e8","type":"debug","z":"76cd96f1.87db98","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":535,"y":82,"wires":[]},{"id":"135a9e1a.d290e2","type":"comment","z":"76cd96f1.87db98","name":"CORRECT CREDENTIALS","info":"","x":198,"y":28,"wires":[]},{"id":"7d9cffe8.fd728","type":"inject","z":"76cd96f1.87db98","name":"","topic":"","payload":"","payloadType":"date",
View tasmota.txt
SetOption58 0
This disable raw data in the payload(default)
SetOption58 1
This enables raw data in the payload
To send raw IR data, need to prepend the frequency as the first item(default 38khz, prepend a 0)
ie 0, followed by raw data
You can’t perform that action at this time.