/esp8266-mqtt-visca

ESP8266 Bridge to transfer WiFi/MQTT messages to RS232/VISCA.

Primary LanguageC++

esp8266-mqtt-visca

ESP8266 Bridge to transfer WiFi/MQTT messages to RS232/VISCA.
I use Cisco PrecisionHD (TTC8-02) cameras for development. Might work with other cameras. Cameras need eyes

Usage

Here are some examples how to use the MQTT interface:

Topic example JSON Outcome
visca/command/moveto {x:400, y: 212, z: 0, f: 420, cam: 0 } Camera 0 moves to 400, 212, zooms all the way out, sets the focus to manual
visca/command/settings {backlight: true, flip: true, mirror: true, mmdetect: true } Camera 0 turns on backlight compensation, flips and mirrors the image and enables EMFDP
visca/command/picture {wb:7,iris:-1} Camera 1 sets whitebalance to 7 and enables auto exposure
visca/command/blinkenlights {led: 1, mode: 2, cam: 0 } Camera 0 turns on LED 1 in blinking mode.

Hardware

Somewhat important note: Do not use software serial for VISCA. Doesn't work. Makes you bang your head against the wall.

Resources for further development

Cisco VISCA documentation


If you are looking for the rest of the documentation: this is the documentation so far. It ends here. Still a work in progress.