Notification when i press button on 433 remote : i use Nodemcu 8266 + sos button RC-SWITCH

i have a problem to adapt the code
when i press the button on the remote i need to recieve a push notification

actualy i use it in serial monitor and can see the address of the transmitter button on it
but need to receve it on my smartphone

this is the arduino code

thanks for your help

#include <RCSwitch.h>

RCSwitch mySwitch = RCSwitch();

void setup() {
mySwitch.enableReceive(0); // Receiver on interrupt 0 => that is pin #2

void loop() {
if (mySwitch.available()) {

Serial.print("Received ");
Serial.print( mySwitch.getReceivedValue() );
Serial.print(" / ");
Serial.print( mySwitch.getReceivedBitlength() );
Serial.print("bit ");
Serial.print("Protocol: ");
Serial.println( mySwitch.getReceivedProtocol() );



Can’t really see how this is Blynk related!? For general coding questions, might be a better place for you.

And G**gle as always :slight_smile:

1 Like