Local server and USB as possible?

Hello, sorry for my English, I am Belgian
I hope to write in the right place
I use Blink with smatphone (wireless) and USB cable connected to Arduino UNO, everything works ok. (Windows 10).

it is possible to use a local server and USB?
I install the .jar file to the local server (server-0.18.3.jar) normally successfully, see print screen

Then I am lost for use “if possible”, could you help me

Thanks for reading me

Francis

Yes ,it is possible
Read the docs

1 Like

Thank you, but your answer does not help me, I tried to understand the docomentation, but I can not, thank you anyway

Dmitriy thank you, I’ll try to understand, my English is very limited, sorry.
If I open the file blink.log I

2016-10-04 16:13:52.302 INFO - Using data dir ‘\path’
2016-10-04 16:13:52.363 INFO - Region : local
2016-10-04 16:13:52.919 INFO - Initializing gmail smtp mail transport. Username : example@gmail.com. SMTP host : smtp.gmail.com:587
2016-10-04 16:13:53.119 WARN - ATTENTION. Certificate C:\Blink server and key C:\Blink server paths not valid. Using embedded certs. This is not secure. Please replace it with your own certs.
2016-10-04 16:13:53.311 WARN - ATTENTION. Server certificate paths cert : ‘C:\Blink server’, key : ‘C:\Blink server’ - not valid. Using embedded server certs and one way ssl. This is not secure. Please replace it with your own certs.
2016-10-04 16:13:53.636 WARN - ATTENTION. Certificate C:\Blink server and key C:\Blink server paths not valid. Using embedded certs. This is not secure. Please replace it with your own certs.
2016-10-04 16:13:53.786 WARN - ATTENTION. Certificate C:\Blink server and key C:\Blink server paths not valid. Using embedded certs. This is not secure. Please replace it with your own certs.
2016-10-04 16:13:53.933 WARN - ATTENTION. Certificate C:\Blink server and key C:\Blink server paths not valid. Using embedded certs. This is not secure. Please replace it with your own certs.
2016-10-04 16:13:54.236 INFO - Hardware plain tcp/ip server listening at 8442 port.
2016-10-04 16:13:54.238 INFO - Hardware SSL server listening at 8441 port.
2016-10-04 16:13:54.238 INFO - Application server listening at 8443 port.
2016-10-04 16:13:54.238 INFO - HTTP API server listening at 8080 port.
2016-10-04 16:13:54.239 INFO - HTTPS API server listening at 9443 port.
2016-10-04 16:13:54.239 INFO - HTTPS Admin UI server listening at 7443 port.
2016-10-04 16:13:54.240 INFO - Web Sockets server listening at 8082 port.
2016-10-04 16:13:54.240 INFO - Web SSL Sockets server listening at 8081 port.
2016-10-04 16:13:54.240 INFO - Mqtt hardware server listening at 8440 port.

I’ll watch your link to understand my mistake

is your local working fine???
have you tired to connect your smart phone to local server??

hello I tried
App and sketch exchange

 Specify custom server path in your app

With my IP and password

can not connect

first solve this problem.


follow this guide.in this video at 7:50min
give the absolute/real path
or run this command
-jar server-0.18.3.jar -dataFolder data
the folders look like this
enter link description here

i get the message

Blynk Server successfully started.
All server output is stored in folder ‘C:\Users\Francis\Blink server.\logs’ file.

I’m forced to use a gmail.com address ?, I have a hotmail.com address

Blink in server I do not have
server_embedded.crt
server_embedded.csr
server_embedded.key
server_embedded.pem

In data I have no .user file

I watched the video, but I do not know what to enter certain parameters, much too complicated to create a local seveur for me

thank you for your help, I’m an ass

Are you native dutch or french speaker? I can probably help you out in the first case, but my french is very much non-existent.

I’m running a local server too and it works fine. Mail and server certificates are not mandatory by the way, so it should work without them (except mailing notifications of course).

Bonjour Lichtsignaal, c’est le français, merci.

Désolé, je n’ai pas appris le Néerlandais

je n’ai pas de module wifi connecté à l’Arduino, c’est donc commander l’Arduino connecté en USB et smartphone en wifi en réseau local,

Arduino connecté en USB et smartphone en wifi par serveur blink ok fonctionne mais par réseau local je n’arrive pas

Google traduction

Lichtsignaal Hallo, dit is Frans, dank je.

Sorry, ik heb niet leren Nederlands

Ik heb geen wifi-module aangesloten op de Arduino, zodat het bevel van de Arduino-USB aangesloten smartphone en draadloze LAN,

Arduino aangesloten via USB en wifi smartphone door knipperen server werkt ok, maar door LAN Ik kan niet

Ok, nevermind than, as I said, I don’t speak French, I’m from holland.

You can edit your sketch to connect the Arduino to your local server, so yes, that is possible. Please see the “Manual connection” example. It shows you how you can connect to a different server than the standard one.

I erased everything

What works

  1. Create program with Blink, turn on and off an LED
  2. Connect the USB Arduino board, Boards_Serial_USB Use example (in Arduino)
  3. Place the tank auth
  4. Upload in Arduino
  5. Set Blynk_Release_v0.3.9
  6. Copied Blynk, BlynkESP8266_Lib, SimpleTimer and Time in directory
  7. Open the file ser.bat blynk-line set COMM_PORT = COM to my com port (12)
  8. Rename com2tcp.bin in com2tcp.exe
  9. Leaving the Arduino program
  10. Throwing the blynk-ser.bat file
  11. Start the Blink program on my smartphone with my email address and password Token + (OK connection)
  12. OK everything works

To go well, can you tell me the same procedure to create a local
server via USB, I am probably toujour the same error when I want to
create one

I have java installed

java version “1.8.0_101”
Java ™ SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot ™ Client VM (build 25 101-b13, mixed mode, sharing)

  1. create Blink directory server in c: / user / francis / server blink
  2. copied server-0.18.3.jar in c: / user / francis / server blink
  3. Start CMD and go to c: / user / francis / server blink
  4. Type java -jar server-0.18.3.jar -dataFolder / path
  5. The window displays

Blynk Server successfully started.
All server output is Stored in folder 'C:. \ Users \ Francis \ Blink server \ logs ’ file.

  1. file appears blink.log

2016-10-05 17: 11: 59,538 INFO - Using data dir \ path ’
2016-10-05 17: 11: 59,601 INFO - Region: local
2016-10-05 17: 12: 00,255 INFO - Initializing gmail SMTP email transport. Username: example@gmail.com. SMTP host: smtp.gmail.com:587
2016-10-05 17: 12: 00,487 WARN - CAUTION. Certificate C: \ Users \ Francis \ Blink server and key C: \ Users \ Francis \ Blink server paths not valid. Using embedded certs. This is not secure. Please replace it with your own certs.
2016-10-05 17: 12: 00,803 WARN - CAUTION. Server certificate cert paths: ‘C: \ Users \ Francis \ Blink server’ key: ‘C: \ Users \ Francis \ Blink server’ - not valid. Using embedded server ssl certs and one way. This is not secure. Please replace it with your own certs.
2016-10-05 17: 12: 01,157 WARN - CAUTION. Certificate C: \ Users \ Francis \ Blink server and key C: \ Users \ Francis \ Blink server paths not valid. Using embedded certs. This is not secure. Please replace it with your own certs.
2016-10-05 17: 12: 01,288 WARN - CAUTION. Certificate C: \ Users \ Francis \ Blink server and key C: \ Users \ Francis \ Blink server paths not valid. Using embedded certs. This is not secure. Please replace it with your own certs.
2016-10-05 17: 12: 01,488 WARN - CAUTION. Certificate C: \ Users \ Francis \ Blink server and key C: \ Users \ Francis \ Blink server paths not valid. Using embedded certs. This is not secure. Please replace it with your own certs.
2016-10-05 17: 12: 01,757 INFO - Hardware plain tcp / ip server listening at 8442 port.
2016-10-05 17: 12: 01,757 INFO - Hardware SSL server listening at 8441 port.
2016-10-05 17: 12: 01,773 INFO - Application server listening at port 8443.
2016-10-05 17: 12: 01,773 INFO - API HTTP server listening at port 8080.
2016-10-05 17: 12: 01,773 INFO - API HTTPS server listening at port 9443.
2016-10-05 17: 12: 01,773 INFO - HTTPS Admin UI server listening at 7443 port.
2016-10-05 17: 12: 01,773 INFO - Web Sockets server listening at port 8082.
2016-10-05 17: 12: 01,773 INFO - Web Sockets SSL server listening at port 8081.
2016-10-05 17: 12: 01,773 INFO - MQTT hardware server listening at 8440 port.


I made a mistake? If ok, I did what then sorry to take your time

No spaces please in folder names.
Try again and provide new results.

In 4) replace “/ path” with something real like C:/user/francis/serverblink no spaces between server and blink

In time you will also need to sort out your certificates.

I believe work has been done with other email providers but for now I would use Gmail and set up forwarding to Hotmail. You need to authorise Gmail to process emails via Blynk. Procedure is covered in the comprehensive local server setup on GitHub.

Hello Costas

sorry, no space is google translation which placed

means use C:\Users\Francis\Blinkserver\ NOT C:\Users\Francis\Blink server\

OK this is done, then?

no change, always the same messages

I made the connection with my manual IP token and password but do not want to connect it

Error messages are because you a haven’t created the certs but this doesn’t normally stop the system working, it is just that it is insecure.

Read through this thread Help with Blynk Server and look at @Castle’s post regarding firewall settings at Help with Blynk Server