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

Migrate projects from old to new Blynk

Dear all, have you planned a mode to migrate projects from old to new version? Or we have to rebuild all GUI (buttons, sliders, display…) moving on the new one? Thank you for your effort

Pete.

2 Likes

:sob: :sob: :sob:

I would like to clarify. Do we need to destroy all old projects and write new code to upgrade to the new version? Otherwise, in six months everything will die? The question is not about money. Time??? This raises the question of trusting the future. In my opinion, it is problematic to destroy people’s projects (even if they are partially yours) without creating acceptable conditions for the transition to a new version.

1 Like

The code should be fairly easy to convert, depending on how well it’s written and whether it was based around the use of virtual pins.
Notifications and emails work differently, so would need re-working

It may be longer, but that’s what Blynk are currently committing to.

I guess that nothing lasts for ever, especially in the technology field, and tech companies come and go, but Blynk have put a lot of investment into the new version, so hopefully it will be around for a while.
In addition, the newer architecture should future proof it.

BTW, your reference to “yours” implies I’m in some way associated with Blynk - I’m not, I’m simply a user (for the moment at least).

Pete.

1 Like

Started working on migration documentation:

https://docs.blynk.io/en/blynk-1.0-and-2.0-comparison

https://docs.blynk.io/en/blynk-1.0-and-2.0-comparison/migrate-from-1.0-to-2.0

|RTC widget|✅ No widget needed, just use the RTC function

Where is this RTC function in Blynk V2 ?

You don’t need to enable it. It’s always-on

1 Like

@Blynk_Coeur - RTC clock - Blynk Documentation

Thank you , I’ve to dig that.

To covert to the older projects to the new version is a big drag. Most of my projects are centered around node mcu and today I tried to adapt my old code to the new version but I keep getting a message “Error compiling for node mcu :hot_face:

I use both NodeMCU and ESP32Wroom, I migrated my code easily.
I just need to create a bridge function

@sri_c I’d suggest that you create a new “Need help with…” topic and clearly state what you are trying to achieve, what code you are using, and the full compiler error message that you are getting, along with the information that is requested when you create the topic.

Pete.

1 Like

Thanks pete, I could correct the issue due to some bugs in my code.

what about the date ??

@vshymanskyy do we have some wrapper around the RTC?

huh ?

Here are my thoughts in converting my blynk 1.0 to Blynk 2.0. I was running 4 devices into what became a two tab layout in Blynk 2.0.

First, when using the example that used BlynkEdgent.h for the backbone, I got 30% data drop outs on the DHT sensor reads, returning “nan” (not a number) in stead of a number. I solved it by down grading and using my old firmware as the backbone. After much searching I found the address of the ny cloud. Interestingly I could not ping it by name. This line will save hours of work and hook you to the new cloud:
Blynk.begin(BLYNK_auth, WiFi_ssid, WiFi_pass,“64.225.16.22”,80); //443 https://ny3.blynk.cloud/

I went ahead and used the OTA capability of the Arduino GUI to reprogram my boards, I also got the Blynk Air to work when running the BlynkEdgent example. (I will add it back if we get a stand alone way to add it.

I went and developed a UDP network to have my 3 satellite boards send data to the “mother board” which now communicates with Blynk getting around the current requirement (as I understand it) that only one board can communicate to the same layout (the old Blynk 1.0 could do many boards to one display.). I also invited another user and that all worked as described

I recommend that the “old Blynk” be referred to as V1.0, and the “new Blynk” as V2.0 The V0.1 then V2.0 is needlessly confusing.

I thank the developers, and do not want to be viewed as a thankless small guy. It would be nice to get multiple data feeds to the supercharts, labeled value display, switch in the baseline package. Also I am with others voting for a dark theme for the iPhone, like Blynk 1.0 had. Preference for sure, but I liked it.

All in all it is working, the conversion has taken about 22 hours of seat time to rewrite the Blynk GUI and reporgram all 4 nodes. (This includes the time to write from scratch the UDP routines.) However I found the one example supplied using BlynkEdgent very confusing at this time. Perhaps it will clarify as I progress.

2 Likes

oO. What does ping show in that case?

Dmitriy, I just ran it again with these results for you:

C:\Users\bigmoose>ping https://ny3.blynk.cloud/
Ping request could not find host https://ny3.blynk.cloud/. Please check the name and try again.

Interestingly if I put https://ny3.blynk.cloud/ into my browser, my Blynk console opens up!