tomixps  
                
               
                 
              
                  
                    January 21, 2018, 12:09pm
                   
                   
              1 
               
             
            
              Hello. what code to the remote control button. I would like to remotely control another board from the phone. For example, if I press the button, the relay switches on another wemos. I need a code.
I found such a thing but I do not know how to apply it in the code.
http://blynk-cloud.com/auth_token/get/pin 
             
            
               
               
               
            
            
                 
                 
              
           
          
            
              
                Costas  
                
               
              
                  
                    January 21, 2018,  1:12pm
                   
                   
              2 
               
             
            
            
               
               
               
            
            
                 
                 
              
           
          
            
            
              how to use it in the code?
             
            
               
               
               
            
            
                 
                 
              
           
          
            
              
                Costas  
                
               
              
                  
                    January 21, 2018,  2:52pm
                   
                   
              4 
               
             
            
              With the super powerful Webhook widget.
             
            
               
               
              1 Like 
            
            
                 
                 
              
           
          
            
            
              Can you send me a code? Thanks in advance
             
            
               
               
               
            
            
                 
                 
              
           
          
            
              
                Costas  
                
               
              
                  
                    January 24, 2018,  4:48pm
                   
                   
              6 
               
             
            
              
Keep studying this until you can make it work in a web browser, then repeat for Webhook widget,
             
            
               
               
               
            
            
                 
                 
              
           
          
            
            
              How to control the relay via http (push button)? 
I used it but it does not work. 
https://blynkapi.docs.apiary.io/# 
             
            
               
               
               
            
            
                 
                 
              
           
          
            
              
                Costas  
                
               
              
                  
                    January 30, 2018,  5:13pm
                   
                   
              8 
               
             
            
              Paste the dozens of url’s you tried in a browser and the actual GPIO numbers you want to control.
Presumably you are using Blynk’s cloud server.
             
            
               
               
               
            
            
                 
                 
              
           
          
          
            
              
                Costas  
                
               
              
                  
                    January 30, 2018,  5:41pm
                   
                   
              10 
               
             
            
              
Which GPIO pin is the relay connected to and do you know the difference between a GPIO number and the labels printed on the ESP development boards?
What message do you see in the browser with the url you are using?
Most relays are active LOW, should you be sending a 0 to switch the relay ON?
             
            
               
               
               
            
            
                 
                 
              
           
          
            
            
              @tomixps  please stop demanding others to write code for you. It is against forum rules (and you may get banned soon).
             
            
               
               
              1 Like 
            
            
                 
                 
              
           
          
            
              
                tomixps  
                
               
              
                  
                    February 3, 2018,  2:35pm
                   
                   
              12 
               
             
            
              blynk-cloud.com  works for me only I would like it to be a push and not a switch
http://blynk-cloud.com/XXXXXXXXXXXX/get/D14 
             
            
               
               
               
            
            
                 
                 
              
           
          
            
              
                Gunner  
                
               
              
                  
                    February 3, 2018,  3:19pm
                   
                   
              14 
               
             
            
              
 tomixps:
 
Ok I did not know
 
 
You clearly haven’t been following my reign of terror