Support for multiple devices

@Dmitriy, i know this is an old topic, but what is the max number of devices / project? i didn’t find in the docs…

25 devices, 100 projects

thanks!
i have to do lots of automatisation and monitoring stuff on a hotel. but 25 devices probably will be enough. if i use local server it is possible to change this value?

25 devices per project :slight_smile:. Yes, you can change this on local server.

Hi @Dmitriy I am new to Blynk, but i am old into telecom devices and firmwares, current I am willing to enter deep on IoT and invest on it, so, the main focus being direct related to the customer side are, and this is a weird new market for the customs solutions being deployed all over.

We would like to have a true breakpoint with Blynk development in app area.

In our current scenario imagine a mass production for Light Switch, Garage Doors and kind of Pulse switches, each device shall have a unique ID incorporated on it, so, if the user want to use the Blynk app, once they create a user account and login, it could add the device by the model/maker and the pre-auth token on it, so, it could be done by scan barcode on the unit or type it.

What is the idea of it?
As a hardware solution developer it could perfect integrate with Blynk APP device with no hassle and perfect run as all in one solution.

What is in need:

  1. Product Area inside Blynk project
  2. Product Templates
  3. Code running and checking

So, what are the odds it could be done?

@Filzek hello. Not sure what do you mean. But for end customers we released App Preview. It has all related docs - New Android Release 2.14.0

@Dmitriy

1 - When i work with tag i have to set a value on a pin(for example D0 on a nodemcu) so sometimes i want to do for different pins on diferent device (not same or mutual name of pins).

2- i think if we have a widget that bring us to set more thsn one value for a pin or pins on a device or devices

@samisamixp checkout - http://docs.blynk.cc/#widgets-interface-device-selector

1 Like

@Dmitriy
I mean diferent function no same function on devices

Sorry one question when do you want to set some scenarios which widgets will be help me?

http://help.blynk.cc/blynk-basics/what-is-virtual-pins

1 Like

@Gunner
I mean …
on different devices
Now Imagine that we want to do some pin(on different devices for example D0 and D1 on first device and D5 and D6 on second device etc) on oe off with one button at same time(define a scenario for example night mode or party mode).
so we should send values to devices with one button
Imagine that we have a button attached to V1 on first device so how we can send values to other device (for example we have 5 devices)???
is it possible with Tag ? so we add devices together in one Tag and define functions to a mutual Vpin and …

@samisamixp You simply need to read all the Documentation and work through the Help Center, etc… all the info you need is there. And aside from some very basic controls, you need code and virtual pins to do the fancy stuff… no magic “Do it all for ya” Widgets available… yet… Work Harder @Dmitriy :stuck_out_tongue_winking_eye:

Setup 4 bridges for the other four devices and send the data upon button press.

For example, control an LED on each of the five devices with a single slider.

BLYNK_WRITE(V0)  // Slider with range set from 0-255 and send on release.
{
  int value = param.asInt();
  Blynk.virtualWrite(V1, value); // Send value to display widget on V1
  analogWrite(pin, value); // send value to PWM pin on this device (or digitalWrite() for supported MCUs)
  bridge1.virtualWrite(pin, value); // send value to PWM pin on 1st bridged device (vPin or Physical Pin)
  bridge2.virtualWrite(pin, value); // send value to PWM pin on 2nd bridged device
  bridge3.virtualWrite(pin, value); // send value to PWM pin on 3rd bridged device
  bridge4.virtualWrite(pin, value); // send value to PWM pin on 4th bridged device
}

PS - In this example, the same thing happens on each device, however there is no reason you can’t have one of the bridged actions send a different dataset/value to a different pin to accomplish a different action.

1 Like

@Gunner
Sometimes i do consult.
However Thank you.

1 Like

No problem. Open up a new topic if you need help with setting up Blynk Bridge.

@samisamixp EDIT:

I forgot to address this question… A condition when using tags is that each hardware device must have the same pin assigned to whatever action you want on each device; they don’t have to be the same actions… just same pin number (thus pin type), whether Digital, Analog or Virtual.

Virtual pins still give this the most flexibility: e.g. A button, set to V0 on the app, triggers a tag that has three devices linked… V0 on device 1 will activate a LED, while V0 on device 2 starts a motor, and V0 on device 3 will run a function that sends an email and sweeps a servo back and forth.

1 Like

Did Blynk implement this excellent idéer ? I need this because i have temp sensors in all room’s in the house, and besides that, the sensor also manages the light, port open/close or whatever is needed. I’m using ESP8266 Thing Dev board.

@Jagdriver yes they have a very sophisticated system of controlling multiple devices.

1 Like

14 posts were split to a new topic: How to add multiple devices to a single project in MyApps production stage

A post was merged into an existing topic: How to add multiple devices to a single project in MyApps production stage

A post was merged into an existing topic: How to add multiple devices to a single project in MyApps production stage