They are Phoenix 433 Plug, chinese cheap, the one sold with a remote control ABCD. They are quite old now, can't find them online. You can scan the code send by the remote and repeat it with a 433MHz receiver/emitter or use this piece of code I found some time ago:
import time
import sys
import RPi.GPIO as GPIO
from DHT11_06_DC import read_temp
a_on = '1111111111111010101011101'
a_off = '1111111111111010101010111'
b_on = '1111111111101110101011101'
b_off = '1111111111101110101010111'
c_on = '1111111111101011101011101'
c_off = '1111111111101011101010111'
d_on = '1111111111101010111011101'
d_off = '1111111111101010111010111'
r_on = '1010101010111'
r_off = '1010101011101'
short_delay = 0.00045
long_delay = 0.00090
extended_delay = 0.0096
NUM_ATTEMPTS = 10
TRANSMIT_PIN = 16
def transmit_code(code):
'''Transmit a chosen code string using the GPIO transmitter'''
GPIO.setmode(GPIO.BCM)
GPIO.setup(TRANSMIT_PIN, GPIO.OUT)
for t in range(NUM_ATTEMPTS):
for i in code:
if i == '1':
GPIO.output(TRANSMIT_PIN, 1)
time.sleep(short_delay)
GPIO.output(TRANSMIT_PIN, 0)
time.sleep(long_delay)
elif i == '0':
GPIO.output(TRANSMIT_PIN, 1)
time.sleep(long_delay)
GPIO.output(TRANSMIT_PIN, 0)
time.sleep(short_delay)
else:
continue
GPIO.output(TRANSMIT_PIN, 0)
time.sleep(extended_delay)
GPIO.cleanup()
def main():
while True:
tmp=50#read_temp(50)
print(tmp,end='')
if tmp>=40:
exec('transmit_code(r_on)')
print (' on',end='')
time.sleep(5)
if tmp> 41:
exec('transmit_code(r_off)')
print (' off',end='')
print (':')
time.sleep(5)
if __name__=='__main__':
main()