You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

github.com/gerifield/wifi-remote

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/gerifield/wifi-remote

v0.0.0-20211201191959-ebf2a4a5d67d
Source
Go
Version published
Created
Source

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

FAQs

Package last updated on 01 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.