BLYNK
HOME       📲 GETTING STARTED       📗 DOCS       ❓HELP CENTER       👉 SKETCH BUILDER

Unite manual&Blynk contolling


#1

Hi!
Wanna make a heater controller for the heating system. The controller should have a manual and a Blynk control. How can I combine them?
For example, I have the switch button to turn the heating mode on. I want to update the button when I switch something manually.
How can I use setProperties for this issue?

Hardware: Arduino Uno + ENC28J60
Software: Arduino 1.8.2 + Android 7.1.2
Blynk library version: 0.5.3


#2

The Sketch Builder has a Sync Physical Button example which could form the basis of your code:
https://examples.blynk.cc/?board=Arduino%20Uno&shield=ENC28J60&example=More%2FSync%2FSyncPhysicalButton

However, I wouldn’t start the project with your choice of hardware, i’d Probably go for an ESP8266/NodeMCU Device such as the Wemos D1 Mini.

If you’re new to programming then you may find this a bit too ambitious for a first project, so it would be worth playing around with some of the other sketch builder examples and combining some of them to get a feel for what you can and can’t get away with when working with the Blynk library.

Pete.


#3

Thank you so much! That’s what I used to find!