Support for multiple devices

Hello everybody.

We would like to discuss with you here one cool feature. As you know - at the moment when you need to control multiple devices from 1 project you have to use either 1 token for all devices or bridge. That is fine for some projects but not suitable for many other cases.

So what we have in our mind is - add some kind of TAG system. Imagine next scenario :

  1. When you create project - you have ability to add more tokens (not only 1 like right now).
  2. You can assign any string value to any token or you can assign multiple strings to 1 token.
  3. So as output youā€™ll have something like ā€œtoken1-tag1ā€, ā€œtoken2-tag2ā€, ā€œtoken3-tag3,tag4ā€.
  4. Every widget will have additional text field where you can specify required tag (maybe we can reuse label here?)
  5. You upload same code to all hardware but with specific token.

Some use cases :

  1. When you need to turn off all lights in house, you assign to button multiple tags : light1, light2, light3. 1 click and 3 lights turned off.
  2. When you need to show on 1 dashboard values from multiple devices. Just create required widget, assign required tag.
  3. Some aggregation functions on data from multiple devices (max, min, average, median). We donā€™t have clear vision here yet. Only ideas.

What do you think? Maybe you have some other ideas how it could be done? Please tell us.

9 Likes

I think it will be great.
I see only one problem, lack of space. Currently i got one project with multiple graphs, buttons and settings. I think expanding workspace to slide down it will be great and not so hard to implement.

It will be fixed. Donā€™t worry :slight_smile:.

I like the idea !
It will be very nice to have ā€œgroupedā€ virtual switches, leds and many of your gui components.

Best Regards,
Mike Kranidis

Very good!
Good tool for creating lamps scenarios.

It would be great! My next project is to Blynkify all of the lighting in the house, so couldnā€™t be more perfect. What sort of time frame are we talking if you decide to go ahead?

@hammerandtongs hard to say. 2 weeks should be enough.

Wow! You guys work fast! Canā€™t wait!

I like the possibility of instead App generate a token and this is written to the device, the App sync with a token existing on the device?

@Costas @Lichtsignaal @tzapulica @Dave1829 @Toshi_Bass hmā€¦ was expecting your feedback here first of all :slight_smile:.

1 Like

will comment tomorrow, currently too tired to wrap my head around it seems. although this could be a sign it s overly complicated?

cheers

1 Like

It could be. But for those who donā€™t need it - everything will be the same.

Really like it, this will expand the possibility

yes, i use singe token on one dash board with many ESP8266 sending many values

i am limited in some respects, but getting by mostlyā€¦

[quote]So what we have in our mind is - add some kind of TAG system. Imagine next scenario :

When you create project - you have ability to add more tokens (not only 1 like right now).
You can assign any string value to any token or you can assign multiple strings to 1 token.
So as output youā€™ll have something like ā€œtoken1-tag1ā€, ā€œtoken2-tag2ā€, ā€œtoken3-tag3,tag4ā€.
Every widget will have additional text field where you can specify required tag (maybe we can reuse label here?)
You upload same code to all hardware but with specific token.
[/quote]

i am having trouble imagining thisā€¦ could you perhaps elaborate?

upload same code to all my devices? i really donā€™t understand how that will make my life easier! all my devices do different jobsā€¦

i must be missing something here!

but i can do this with a function already?

but all my devices send different values? i need to see these differently on my dashā€¦ i just do this with code.

are you moving the code from the device to the app?

i can do all this with functions, but would be convenient to have the Blynk magic do it,

but as i have said before - i dont use history graph as it is too limited. i need to use Thinkspeak for my data logging etcā€¦ if you make a ā€˜averageā€™ or medianā€™ for ā€˜mostā€™ Blynkers, it might not provide sufficient flexibility (for me) etcā€¦

needs more clarity of purposeā€¦

Tags good for cases where devices perform similar tasks. For example you want to deploy 10 smart switches. In general all of them do the same job. So it makes sense to use same code for all of them. Right now you have to use different pins for every separate device. This is ok if you have only few of them, but what if you have dozens? Hundreds?

Yes, you can. However with tags you are much more flexible. Case : you have kitchen with 3 lights, you have room with 3 lights and you have hall with 3 lights. In order to control lights by groups (turn off/on on lights in kitchen) with 1 token you have to code this in every device. With tags - no need in coding. You just assign tags to button and that it and you can remove tags or add more tags at any time and no need to upload new sketch.

Yes. You do that with code and with 1 shared token you have to use different pin for every new hardware. With tags you use same code on all this devices and use 1 pin, so code the same among all devices (if all of them doing the same). And in project you just assign tag + pin for displays.

in my country it is 100% illegal to perform any wiring work on light switches/power points, so the Mains AC control thing kinda is of no interestā€¦

sounds like it is very much focused on simplifying a lighting controllerā€¦ or maybe irrigation?

@Dmitriy I have to say I am in general agreement with @Dave1829 in that I neither fully understand the system you propose or the need for it.

With ESPā€™s costing just a few dollars it is easy enough to have them all over the house if a Blynker wanted to.

If regular Blynkers donā€™t understand the system then new Blynkers are sure to fail to grasp the concept and they are the life blood of the Community.

As Dave points out you canā€™t just go messing around with electrics so I think you are using a bad example and I for one wouldnā€™t want to do all the wiring of one ESP to several rooms.

We have been working on systems where the ESPā€™s can metamorphose into different projects and although it is quite a complex set up it can already be done.

Perhaps if you could provide a better example of how the system would be used we might find it more appealing.

1 Like

I think this is a great ideaā€¦ I just need to think of some uses! :slight_smile:

I will say this caught my attention:

This might be useful for things like multiple temp sensor averaging.

hence moving processing from the device into the cloud :slight_smile:

better battery, shorter code etcā€¦