Lets say i will create a template from my account and setup all the data streams ( we know the drill ).
Now i will add the device from my phone to my app and setup the widgets.
After few days/months if i want to install the device to my grandma’s home, I can just hold the re provisioning button for 10sec and again add the device from my granny’s phone(her own Blynk account)
Now my question is !
Will the same template id and device name work on her account?
What will happen to my device that was previously working on my account? Will i still be able to control the same with my account? Even though its added to my granny’s account?
How to setup data streams ?
How to setup widgets ? What if i don’t remember what virtual pins i have used in my code ?
If i don’t remember the virtual pin numbers then it will be hard to setup data streams on web console too.
It would be nice if :
As soon as a person adds the device, the widgets must automatically appear on the blynk app. I dont know if this is already possible!
There should be no hassle of placing widgets manually and tying them to data streams.
Because old generations or non technical guys cannot go through this.
So how do i get this working ? Is this only for business clients ?
How Dynamic AuthTokens work
Dynamic AuthToken generation is a part of the device provisioning process:
In the beginning, your device will act as an Access Point (AP). It means that your device will broadcast its own WiFi network with an SSID (name) similar to Blynk Device-1234
Your smartphone will connect to this AP with the Blynk app (or from smartphone settings) and they will start communicating directly with each other over WiFi
Blynk app will ask your customers for the name (SSID) and password of the WiFi network they would like to connect their device to.
WiFi information (SSID and password) will be sent to the device.
Also, Blynk app will request a new AuthToken from the server and send this AuthToken to the device.
Device will store all of these parameters in Flash/EEPROM memory
After that, device will automatically reboot. The AP mode will be turned off.
Device will use the WiFi credentials your client provided to connect to their home or office WiFi network
After the successful authentication, the device is added to their account and ready to use
If they later need to connect to this device to a different network, WiFi credentials can be changed by using Blynk app, by resetting the device with a physical button (you would need to plan it into your electrical circuit design)
You invite your granny to be a user on your account - which gives you visibility of the device, template etc, and the ability to do B,yank.Air updates.
Or, you manually re-create everything in your granny’s Blynk account.
Does not speak anything about inviting people to our account. The documentation looks very straight forward, but it is not how it works. May be i have misunderstood or the documentation needs to be corrected or improved with all the points / steps involved.
Can you go through that link that i have posted n see if you can make me understand better ! ?
Creating the template all over again in a new account is a real headache. You know how it is.
It is how it works.
The documentation is talking about provisioning your device. That’s a device that belongs within your organisation, and has been flashed with a sketch which includes template ID and device name relating to your organisation.
Nowhere does it state or imply that you can use this process to transfer a device from your organisation to your granny’s organisation.
That’s covered elsewhere in the documentation, because it’s not connected to provisioning credentials to devices.
I am planning to take a device to my village for my granny. As she is old she can control her bedroom lights and fans right from her bed.
Now i know her personally(very obvious) and i have access to her phone, her email id etc etc . I will help her setup the app and lots of things ( we know it by now ).
Now lets talk with a company’s POV.
This X company produces a air quality monitoring system for home. And sells them online, supermarkets, etc.
And they never get to know who’s gonna buy their product.
This way how can they know their customers. How to fetch their email id ? No email id ! Cannot add them to your org. And how to guide on setting up the app ?
Placing widgets, selecting appropriate data streams for that particular widget? And what if they choose wrong one(by mistake) and starts complaining about the product NOT WORKING.
People nowadays like to have a very easy approach to things. Just with few clicks, it should be ready.
But with Blynk’s workflow, don’t you think its quite a bit hassle to set things up !?
Is not better to design a new workflow? In which both companies and their customers have a easy flow ?
My case is just a single device for my personal use. But thinking the same for large scale will turn the tables.
My understanding is that is what “Blynk.Discovery” will do. Hopefully it is out soon. Selling on our own website is fine since we have the customers e-mails, but expanding to stores is an issue with the current setup as you mentioned.
Yep that is what i was thinking while i was reading the docs.
And people nowadays deny sharing their email address, as ads and other unwanted mails start rushing to their inbox. We as a company can tell the store to collect the email address, but they may not agree to it.
Just imagine per day if there are 100’s of device activations to be done ! Imagine the workload a company has to take !!
Inviting each and every customers to their org!!! If we delay the process !! And by that time if the customer is in a hurry to get their device online it ain’t possible.
This workflow is total chaos in a way if we think practically.
If Blynk team is reading this!! Please let us know a walk around. Also please tell us when can we expect blynk.discovery.
As there’s a 500 user limit on the PRO plan then the plan would me maxed-out in under 5 days, so clearly that’s not a valid real-life scenario.
If you have that many sales planned then you need to be talking directly to Blynk, not turning a “how do I transfer a device to my granny” topic into a hypothetical “100’s of new device sales/users per day” discussion.
Dont get offended by every line or everything we say. Sometimes discussions go a bit overboard but stays on track. You need not pin point saying granny granny.
We do have common sense.
You stressed granny twice so i am saying this. Orelse its fine to talk things related to the topic.
We cannot go on creating topics for each n every bit. That will fill the forum with lots of bits n pieces of topics n information.
My request is please do not stress or point out on small little things.
Lets end the topic here.
Edit: i just noticed the topic name is wifi provisioning
Not “granny’s provisioning” so its ok to discuss a bit about it fine i guess
Kidding.