import network, espnow, binascii, time wlan_sta = network.WLAN(network.STA_IF) wlan_sta.active(True) mac = wlan_sta.config('mac') print("\n\nMeine MAC: ", mac, " = ", binascii.hexlify(mac).decode() , "\n") e = espnow.ESPNow() e.active(True) peer = b'\xff' * 6 e.add_peer(peer) while True: print("Warte auf nachricht") host, msg = e.irecv() # Available on ESP32 and ESP8266 print(host, msg)