Skip to content
This repository was archived by the owner on Nov 28, 2019. It is now read-only.

Latest commit

 

History

History
16 lines (11 loc) · 466 Bytes

File metadata and controls

16 lines (11 loc) · 466 Bytes

MQTT client for the MHV main table lights.

Connects to MQTT on Morphia and subs to MainTableLEDs. Reads 3 bytes and sets pwm pins 3,5,6 to those values. The mosfets controlling the LED strips are connected to 3,5,6 as R,G,B.

The ws2801 strings are not currently connected.

MQTT msgs

perl -e 'print pack "ccc",[r],[g],[b];' | mosquitto_pub -t MainTableLEDs -s
mosquitto_pub -t announce -m 'space-open'
mosquitto_pub -t announce -m 'space-closed'