OK, i think i have a Pi with Blynk on it, but now what?

I got a Pi Zero running with instructions:

http://docs.blynk.cc/#blynk-server-how-to-run-local-blynk-server-how-to-launch-blynk-server-on-raspberry-pi

but how do i change my current projects to connect via the local server?

when i try to login with my Pi IP 192.168.0.5 and port 8443 it says:

“something went wrong when connecting to the server”

do i need a new login?

i have come so far with coding C+ & Blynking but now i feel so dumb again!!!

Yes. You need to create new account. Blynk cloud and local server not related.

Does your phone in same network as server?

ahhh i seeee!

so can i clone all my projects?

and i CAN access projects via the internet from my local server as long as i “port forward” or something, right?

not 100% sure? how do i tell?

my phone is on wifi which is 192.168.1.xxx
and Pi is on ethernet which is on 192.168.0.xxx

but my laptop is on wifi and i can connect to my NAS which is on the ethernet.

detail - my cable broadband internet goes to a modem/router, that i connect to my wifi router with a Ethernet cable, but i still use the modem/router to connect to my homes Ethernet devices, including my Netcomm powerline broadband stuff - which is what the Pi is connected to…

also - most of my Blynk devices are ESP8266’s networked with Wifi but i also have an Arduino connected via Ethernet…

sounds hectic!

but our cable went down for three days recently, and i just gotta get a local server running!!!

Wow!!! Lucky you!! At the moment I’m not able to buy the Zero at Spain…:sob: The price for shipping is totally crazy!!

umm, it was YOU who told me to get one! :blush:

i got it here: https://shop.pimoroni.com/

but feels like im learning another new language, like what’s all the ‘sudo’ and ‘-e’ stuff? far out!

OK, so i have created a new Blynk login, and sent a project via “clone app” from my Blynk cloud account.

but the app says: “your local server is outdated, please update”

i put 16.2 on there - this is the latest?

also when i try to email the token, it says: “Project’s auth token has not been received yet”

so how can i add the auth to my hardware???

also - when i close the Blynk app, it loses the cloned project??

i created a new project, and it sticks, but the cloned project disappears?

when i try to email the auth code from the created app - it says “email not sent, please check your network connection”

also - cannot access ADMIN

https://192.168.0.5:7443/admin

says:

This site can’t be reached

192.168.0.5 refused to connect.
Try:
Reloading the page
Checking the connection
Checking the proxy and the firewall

what firewall setting do i need to change?

Yes I know it! :wink:
I already checked it at the web you suggest, but I don’t like the idea to pay £7.5 just for shipping… Pay £11.5 in total for something that costs £4… :rage:

https://github.com/blynkkk/blynk-server#advanced-local-server-setup - allowed.administrator.ips

Are you sure you really mean clone project? http://docs.blynk.cc/#sharing

yes cloned, am i supposed to share it???

in other words - how do i migrate all my cloud projects to local projects???

Cloning should be fine.

But it disappeared? Twice…

also when i try to email the token, it says: “Project’s auth token has not been received yet”

is my local server not working?

Where do you see this message?

in Project Settings when i click on E-mail token button

app also says “your local server is outdated, please update”

What app version do you have? look like it is outdated

That is very strange. Please post here local server blynk.log output.

can you please explain how to do that?

i have a putty window open, what do i type?

When you start server you should see message that tells where logs folder is. Usually it is same folder where jar file is.

05:39:22.528 INFO - Using data dir ‘/home/pi/Blynk’
05:39:23.782 INFO - Region : local
05:39:24.584 INFO - Initializing mail transport. Username : example@gmail.com. SMTP host : smtp.gmail.com:587
05:39:30.776 INFO - Plain tcp/ip hardware server port 8442.
05:39:30.799 WARN - ATTENTION. Certificate /home/pi and key /home/pi paths not valid. Using embedded certs. This is not secure. Please replace it with your own certs.
05:39:37.515 INFO - SSL hardware port 8441.
05:39:37.613 WARN - ATTENTION. Server certificate paths cert : ‘/home/pi’, key : ‘/home/pi’ - not valid. Using embedded server certs and one way ssl. This is not secure. Please replace it with your own certs.
05:39:40.663 INFO - Application server port 8443.
05:39:41.178 INFO - HTTP API port 8080.
05:39:41.372 WARN - ATTENTION. Certificate /home/pi and key /home/pi paths not valid. Using embedded certs. This is not secure. Please replace it with your own certs.
05:39:47.487 INFO - HTTPS API port 9443.
05:39:47.688 WARN - ATTENTION. Certificate /home/pi and key /home/pi paths not valid. Using embedded certs. This is not secure. Please replace it with your own certs.
05:39:49.025 INFO - HTTPS admin UI port 7443.
05:39:49.041 INFO - Web Sockets port 8082.
05:39:49.058 WARN - ATTENTION. Certificate /home/pi and key /home/pi paths not valid. Using embedded certs. This is not secure. Please replace it with your own certs.
05:39:51.154 INFO - Web SSL Sockets port 8081.
05:41:08.352 INFO - Trying register user : derribong_local@mail.com
05:41:08.409 INFO - Registered derribong_local@mail.com.
05:41:08.737 INFO - Trying register user : derribong_local@mail.com
05:41:08.740 WARN - User with name derribong_local@mail.com already exists.
05:41:08.967 INFO - derribong_local@mail.com app joined.
05:41:10.882 INFO - derribong_local@mail.com app joined.
05:41:33.797 INFO - derribong_local@mail.com app joined.
05:46:49.824 INFO - derribong_local@mail.com app joined.
05:49:19.744 INFO - derribong_local@mail.com app joined.
05:49:37.539 INFO - derribong_local@mail.com app joined.
05:50:02.424 INFO - derribong_local@mail.com app joined.
05:52:41.569 INFO - derribong_local@mail.com app joined.
05:52:52.432 INFO - derribong_local@mail.com app joined.
05:53:16.451 INFO - derribong_local@mail.com app joined.
05:58:43.765 INFO - derribong_local@mail.com app joined.
05:59:29.251 ERROR - Error sending email from application. From user derribong_local@mail.com, to : derribong_local@mail.com. Reason : 535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8 Can't sign in to your Google Account - Gmail Help k74sm2141472pfk.78 - gsmtp

06:00:39.552 INFO - derribong_local@mail.com app joined.
06:02:02.022 ERROR - Error sending email from application. From user derribong_local@mail.com, to : derribong_local@mail.com. Reason : 535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8 Can't sign in to your Google Account - Gmail Help 189sm14391028pfd.18 - gsmtp

06:02:23.772 ERROR - Error sending email from application. From user derribong_local@mail.com, to : derribong_local@mail.com. Reason : 535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8 Can't sign in to your Google Account - Gmail Help tb7sm14362937pab.21 - gsmtp

06:04:12.888 INFO - derribong_local@mail.com app joined.
06:04:42.556 INFO - derribong_local@mail.com app joined.
06:12:06.115 INFO - derribong_local@mail.com app joined.
06:12:16.562 ERROR - Error sending email from application. From user derribong_local@mail.com, to : derribong_local@mail.com. Reason : 535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8 Can't sign in to your Google Account - Gmail Help u65sm14504211pfa.9 - gsmtp

06:18:09.273 INFO - derribong_local@mail.com app joined.
10:59:02.046 INFO - Using data dir ‘/home/pi/Blynk’
10:59:06.672 INFO - Region : local
10:59:07.454 INFO - Initializing mail transport. Username : example@gmail.com. SMTP host : smtp.gmail.com:587
10:59:11.211 INFO - Plain tcp/ip hardware server port 8442.
10:59:11.234 WARN - ATTENTION. Certificate /home/pi and key /home/pi paths not valid. Using embedded certs. This is not secure. Please replace it with your own certs.
10:59:19.536 INFO - SSL hardware port 8441.
10:59:19.627 WARN - ATTENTION. Server certificate paths cert : ‘/home/pi’, key : ‘/home/pi’ - not valid. Using embedded server certs and one way ssl. This is not secure. Please replace it with your own certs.
10:59:22.707 INFO - Application server port 8443.
10:59:23.132 INFO - HTTP API port 8080.
10:59:23.306 WARN - ATTENTION. Certificate /home/pi and key /home/pi paths not valid. Using embedded certs. This is not secure. Please replace it with your own certs.
10:59:27.427 INFO - HTTPS API port 9443.
10:59:27.655 WARN - ATTENTION. Certificate /home/pi and key /home/pi paths not valid. Using embedded certs. This is not secure. Please replace it with your own certs.
10:59:29.792 INFO - HTTPS admin UI port 7443.
10:59:29.810 INFO - Web Sockets port 8082.
10:59:29.820 WARN - ATTENTION. Certificate /home/pi and key /home/pi paths not valid. Using embedded certs. This is not secure. Please replace it with your own certs.
10:59:34.967 INFO - Web SSL Sockets port 8081.
10:59:55.206 INFO - derribong_local@mail.com app joined.
11:00:09.729 INFO - derribong_local@mail.com app joined.
11:03:19.542 INFO - derribong_local@mail.com app joined.
11:05:27.070 INFO - derribong_local@mail.com app joined.