 }
 
 void websocketBroadcast() {
-  String str;
   switch (current_payload) {
     case theapi::Payload::SIGNAL:
       websocketBroadcastSignal();

    ping_last = currentMillis;
    udpBroadcast();
    websocketBroadcast();
    mqttBroadcast();
    serialPrintPayload();

    current_payload = 0;

 * Send the garden data as json
 */
void websocketBroadcastGarden() {
  String str;
  str = "{\"garden\":{";
  str += "\"msg_type\":" + String(rx_payload.getMsgType()) + ", ";
  str += "\"msg_id\":" + String(rx_payload.getMsgId()) + ",";
