                 }
               */
               /*
-              udppayload += ampereunit[sensor_data.data2];
+                udppayload += ampereunit[sensor_data.data2];
               */
-              
+
               udppayload += " devid=";
 
               udppayload += sensor_data.devid;

              udppayload += sensor_data._salt;

              /*
              udppayload += ",unit=";
              */
              
              /*
                switch (sensor_data.data2) {
                case 1:

        client.publish(hellotopic, "hello again 1 from ESP8266 s02");
      }
      client.subscribe(subtopic);

      // send current status
      String lightpayload = "{\"LIGHT\":";
      lightpayload += relaystatus;
      lightpayload += ",\"READY\":1";
      lightpayload += "}";

      sendmqttMsg(rslttopic, lightpayload);
      //----

      if (DEBUG_PRINT) {
        Serial.println("connected");
      }
