# Tank Protocol

# Device Telemetry Payload

Field Description
timestamp Message publishing timestamp
r1 Channel 1 state boolean
r2 Channel 2 state boolean
r3 Channel 3 state boolean
r4 Channel 4 state boolean
r5 Channel 5 state boolean
r6 Channel 6 state boolean

# Example

{
  "timestamp":1608838306,
  "r1":false,
  "r2":false,
  "r3":false,
  "r4":false,
  "r5":false,
  "r6":false
}

# Supported Commands

Command Name Description Arguments
open Open single channel id
close Close single channel id
impulse Send impulse to channel id, time
open_all Open all channels
close_all Open all channels