I am totally new to home automation and everything related to it.
I want to link the esp8266 with the ds18b20 and have alerts, which has been done in the past. Could I still use the code of the ‘older’ version of blynk?
If not, does anyone have some sample code for this?
If you mean Notifications or emails then these work differently in Blynk 2.0, so some re-working would be needed.
Also, if the examples use the Tome Input widget for scheduling then this is done differently in Blynk 2.0
In addition, there is extra setup required in the web portal of Blynk 2.0 to create the template and data streams.
You could be waiting some time!
Also, it will be much more difficult to share the entire setup from Blynk 2.0, with no app cloning and the need to document all the template and datastream setup as well as the app setup (and web dashboard setup if used).
I won’t use an 0.1 sketch will try to go from the start and import some pieces of the old one
I think I can use this as a start. Then, need to implement Blynk and find a way to push it using blink like Blynk.writevirtualpin but that will be in the docs of Blynk.
When you postcode to the forum you need to put triple backticks at the very beginning and end of the sketch, on a line of their own, rather than using block quotes as you’ve done here.
Triple backticks look like this:
```
Please edit your post (using the pencil icon at the bottom) and correct the code formatting.
allright, so need to apply the things for Blynk 2.0, where can I find what should be changed?
Since the docs say : If you’re using Blynk library, your code should be compatible with the new cloud. Some minor changes will be needed: