Blynk for Raspberry Pi @ Particle WebIDE

Dear Friends,
I have a couple of Raspberry Pi3 and Zero-W and accepted to join the Particle’s open beta program. I trying to do my first steps to Particle WebIDE. Is there instructions how to do? I mean, how to get working with Blynk inside the Particle WebIDE using Raspberry Pi… I have already registered my RPi so how to proceed from there? Is there any good how to to follow?

Thanks and Best Regards,
Mike Kranidis

What’s the problem exactly?
Just use Particle Blynk library example from web IDE…

The problem is that I don’t know how to proceed after find blynk library.
Next? See the picture please.

any help here? Thanks

Unless the Blynk developers say otherwise, I don’t think Particle WebIDE is directly affiliated with Blynk…

EDIT - I have since found this in the Documents: But it is more for the actual Particle hardware.

For the RPi, I think you have to treat is as one would normally with Blynk… search this forum for what few examples there are. But I don’t know if Particle WebIDE is using Javascript or somthing else, or if it is just a different way of accessing the RPi.

Particle also has a forum if you have questions on what to do next with their software:

PS, Out of curiosity, I did try installing it on my older RPi B ver2, but it now locks up with no connection, mouse or KB control, so I need to wipe out the SD card and reinstall Raspbian… I think I will stick with WinSCP and Notepad++ :stuck_out_tongue:

Dear @Gunner,
first of all thanks for tyour answer and the help offered. Actually, I got my impression that Mr. @vshymanskyy confirms to me that it is possible to use Blynk under Particle’s WebIDE. See the quotation bellow:

So I am looking the way to have Blynk under Particle, without success yet.

Thanks and Best Regards,
Mike Kranidis

@mikekgr I agree, I think it should be possible to program Blynk from Particle’s WebIDE… I just meant that I don’t think we will find directions or direct assistance for any install issues or follow through assistance…on this forum :wink:

I haven’t reinstalled my RPi yet, so still unsure if I will give Particle’s WebIDE another shot or not :expressionless:

Hey - there’s nothing special about Blynk library comparing with other Particle WebIDE libraries - so just continue as usual. If you don’t know how to proceed - probably it’s described in Particle documentation.

@Gunner @vshymanskyy
Thanks a lot guys. I will try to get some help from the particular particle forum. If /when I achieve something, I will let you know.

Best Regards,
Mike Kranidis

If continue to have problems with this - please refresh the question so we can try to help you. Thx.

1 Like

Dear @vshymanskyy,
I have reached in the “final stage” to run the bellow code sample but I can not substitute SimpleTimer with the SparkCorePolledTimer library. Can you give me an example, how to modify the bellow snippet?
Thanks in advance.

// This #include statement was automatically added by the Particle IDE.
#include <SparkCorePolledTimer.h>

  Blynk is a platform with iOS and Android apps to control
  Arduino, Raspberry Pi and the likes over the Internet.
  You can easily build graphic interfaces for all your
  projects by simply dragging and dropping widgets.

    Downloads, docs, tutorials:
    Blynk community:  
    Social networks:  

  Blynk library is licensed under MIT license
  This example code is in public domain.

  NOTE:    It is recommended to use SparkCorePolledTimer library
           to make periodic actions (similar to SimpleTimer on Arduino).

  Blynk using a LED widget on your phone!

  App project setup:
    LED widget on V1

  For this example you'll need SimpleTimer library:
  Visit this page for more information:

/* Comment this out to disable prints and save space */
/// #define BLYNK_PRINT Serial

#include "blynk.h"

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "YourAuthToken";

WidgetLED led1(V1);

///SimpleTimer timer;
///SparkCorePolledTimer updateTimer(1000);

// V1 LED Widget is blinking
void blinkLedWidget()
  if (led1.getValue()) {;
    ///Serial.println("LED on V1: off");
  } else {
    ///Serial.println("LED on V1: on");

void setup()
  // Debug console

  delay(5000); // Allow board to settle

///  timer.setInterval(1000L, blinkLedWidget);

void loop()

P.S. Although I used tree back tics ``` at start and stop code the code did not formated. Why?

I couldn’t notice what wasn’t formatted… but I added the cpp after the first group of backticks anyhow; it apparently helps filtering C++ code.

Can’t help with the rest… I’m not familiar with SparkCorePolledTimer library