Skip to content

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

Notifications You must be signed in to change notification settings

JvPeek/esp8266-mqtt-visca

Repository files navigation

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/camera/moveto {x: 400, y: 212, z: 0, focus: 420, cam: 0} Camera 0 moves to 400, 212, zooms all the way out, sets the focus to manual
visca/command/camera/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/camera/picture {wb: 7, iris: -1, cam: 1} Camera 1 sets whitebalance to 7 and enables auto exposure
visca/command/camera/blinkenlights {led: 1, mode: 2, cam: 0} Camera 0 turns on LED 1 in blinking mode
visca/command/system/getConfig {} Returns the current MQTT configuration
visca/command/system/updateConfig {"mqtt_server": "127.0.0.1", "mqtt_port": "1883", "mqtt_user": "test", "mqtt_password": "", "mqtt_basetopic": "VISCA"} Update settings within the stored config.json on the microcontroller
visca/command/system/resetConfig {"reset": true} Factory defaults

Hardware

Somewhat important note: Do not use software serial for VISCA. Doesn't work. Makes you bang your head against the wall. Obsolete was probably a wiring issue. Software serial is working fine as well

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published