remotexy Funksteckdose schalten

Hallo ich habe ein Problem ich möchte eine Funksteckdose schalten

Ales was ich probiere klappt einfach nicht, wenn mir einer helfen kann wäre es echt super?

Hier ist mein Code

mySwitch.send(20225, 24);

/*
   -- New project --
   
   This source code of graphical user interface 
   has been generated automatically by RemoteXY editor.
   To compile this code using RemoteXY library 2.3.5 or later version 
   download by link http://remotexy.com/en/library/
   To connect using RemoteXY mobile app by link http://remotexy.com/en/download/                   
     - for ANDROID 4.3.1 or later version;
     - for iOS 1.3.5 or later version;
    
   This source code is free software; you can redistribute it and/or
   modify it under the terms of the GNU Lesser General Public
   License as published by the Free Software Foundation; either
   version 2.1 of the License, or (at your option) any later version.    
*/

//////////////////////////////////////////////
//        RemoteXY include library          //
//////////////////////////////////////////////

// RemoteXY select connection mode and include library 
#define REMOTEXY_MODE__ESP8266WIFI_LIB
#include <ESP8266WiFi.h>

#include <RemoteXY.h>

#include <RCSwitch.h>

RCSwitch mySwitch = RCSwitch();


// RemoteXY connection settings 
#define REMOTEXY_WIFI_SSID "Fööööööööööööööööö"
#define REMOTEXY_WIFI_PASSWORD "öööööööööööööö"
#define REMOTEXY_SERVER_PORT 6377


// RemoteXY configurate  
#pragma pack(push, 1)
uint8_t RemoteXY_CONF[] =
  { 255,4,0,0,0,97,0,8,13,1,
  2,1,5,66,53,12,2,26,31,31,
  79,78,0,79,70,70,0,2,1,6,
  39,53,12,2,26,31,31,79,78,0,
  79,70,70,0,1,2,2,16,29,10,
  2,31,49,0,1,2,32,16,29,10,
  2,31,50,0,129,0,4,60,18,6,
  17,0,129,0,8,32,47,7,17,71,
  101,119,195,164,99,104,115,104,97,117,
  115,0,129,0,23,59,18,8,17,66,
  101,101,116,0 };
  
// this structure defines all the variables of your control interface 
struct {

    // input variable
 
  uint8_t button_1; // =1 if button pressed, else =0 


    // other variable
  uint8_t connect_flag;  // =1 if wire connected, else =0 

} RemoteXY;
#pragma pack(pop)

/////////////////////////////////////////////
//           END RemoteXY include          //
/////////////////////////////////////////////



#define PIN_BUTTON_1 13


void setup() 
{
  RemoteXY_Init (); 
  


  pinMode (PIN_BUTTON_1, OUTPUT);

      mySwitch.enableTransmit(5);  // Der Sender wird an Pin 10 angeschlossen


  // TODO you setup code
  
}

void loop() 
{ 
  RemoteXY_Handler ();
  
  digitalWrite(PIN_BUTTON_1, (RemoteXY.switch_1==0)?LOW:HIGH);


  
  // TODO you loop code
  // use the RemoteXY structure for data transfer


}

Woher weißt du, dass das zu deinen Funksteckdosen passt?

Seit es Sonoff Steckdosen mit eingebautem ESP gibt, ärgere ich mich nicht mehr mit 433Mhz Steckdosen rum. Bei ESP kann ich auch eine Rückmeldung programmieren, dass ich auch sicher bin, dass das Signal empfangen wurde.

Einfach mal mehr Informationen zu deinen Steckdosen liefern.
Hyperlink der Steckdosen und Datenblatt posten.