wifi-remote

module
v0.0.0-...-ebf2a4a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2021 License: MIT

README

wifi-remote

Very simple wireless OBS remote

There are 2 parts:

  • Go server
  • ESP8266 with a physical button

Building live stream (from Twitch) in Hungarian language: https://www.youtube.com/watch?v=WH-XQdwQBS0

Go server

The Go part is responsible for the keypress even emulation on the host machine, it starts a websocket server which listens for events.

Websocket protocol

It is simply a number (in string format) in the payload, for example:

1

Nothing too complex, the keyMap variable contains the mapping between the payload and the actual keyboard keycodes.

ESP8266

I used a wemos d1 mini, because it's small, cheap and also have some internal pullups. I used the D3 because of this pullup and connected the button between the D3 and GND.

Picture:

Wemos D1 device

Directories

Path Synopsis
cmd
Package remote .
Package remote .

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL