Bridge not working

Hi D,

Is there something I can check, since i have changed to 0.8.0 of the local server my bridge has died completely, if i go back to 0.7.4 it works “ok” again (besides dropping the devices after a few hours).

Anything we should update on the devices for the revised server version?


1 Like

Thank you for reporting. I’ll check.


When running 0.8.1 now it seems the options have changed:

Exception in thread “main” org.apache.commons.cli.UnrecognizedOptionException: Unrecognized option: -dataFolder

The command i use to run the app is as follows:

/usr/bin/java -jar /home/pi/blynk/server-0.8.1.jar -dataFolder /home/pi/blynk/data

@Bobbo_SA oops. typo… Thank you very much. Uploaded fixed build.

Hi D,

Pleased to report its semi working again, but its only keeping the connection alive for a few minutes (maybe 5 or so), then it responds to the direct input from the dashboard but does not send any commands (i.e. bridge.virtualwrite(x,x)) to the other “bridged” devices.

Edit: also found another strange anomaly, could just be me though - if i log out the app and log back in it clears all the pin assignments on the first dashboard. I think I’ll bring all my devices down form their locations, wipe them and the local server and start from fresh.

it clears all the pin assignments

It is iOS bug. It is fixed and will be available in next release.

Regarding Bridge… You are saying that bridge.virtualWrite is working only few minutes? What library version do you use?

Where can i check?

Yes, after a while (now anywhere from 2-5 mins) my virtualwrite to all the other devices stops, but if i go to each device’s own dashboard (created to get unique auth codes) and send the same command (e.g. button to v14) it works fine, so the device is online and responding - not sure how else to explain the issue

I’ve just updated to the latest release, I know the one I was using was from a few months ago, will reload my devices with the revised libraries and see if it fixes it.

Any hint on the next iOS release date? We waiting on Apple or is it still to be submitted?

Ok, if new release doesn’t help. Please post your bridge code.

or is it still to be submitted?

Still to be submitted :(.

Reloaded all my devices using the latest libraries and the latest server updates and still the bridge functions were only running for +/- 5 to 10 minutes at a time.

I have now changed my approach completely and have Blynk and MQTT running on the same primary device and local server.

I’ll continue testing the Bridge function on some separate devices but my primary “production” devices around the house are now stable.

Not sure it has to do with iOS as you mentioned, just want to report anomalies in behavior of bridge:

Arduino 1 has a bridge defined to send values to Arduino 0.
Arduino 1 is switched off. Arduino 0 is running.
Arduino 1 has a LED defined in blynk (V31) which is blinking??? How can that be? The bridge should work the other way round?
Both Arduinos have a LED defined on Port V31, and both are blinking

definitions Arduino 1:
WidgetBridge bridge1(V30);
in Setup:
bridge1.setAuthToken(“othe token”);

in another funtion:
Blynk.virtualWrite(V31, running); I expect this LED to blink only when Arduino 1 is active.
bridge1.virtualWrite(V1, running);

I also have coded :
bridge1.virtualWrite(V0, “text”) (V0 beeing a terminal widget on Arduino 0.
How do I bridge1.virtualFlush?

1 Like