Good day Random Nerds!
Is there any way I could wirelessly control say….some 10 lights at the same time using my BLE cellphone functionality?
I’ve designed a lighting control app with Thunkable Android Classic…works well with a single light but I want to extend the number of lights controlled in order for all of them to respond -preferably…simultaneously…or at least in sequence -perhaps with a (relative acceptable) short delay.
Is there any limits concerning the number of BLE servers that a BLE client can connect, in the first place?
Thanking in advance all the fellows RN bloggers for any meaningful input to this subject question!
And congratulations to Rui & Co for a great site: highly technical but with very practical outcomes and outstanding support.
Hi Daniel.
Thank you so much for following our work.
Regarding your question, I’ve never tried, but it is possible to connect to more than one server. However, I don’t know if there is a limit of servers.
Which BLE extension are you using to design your app?
I think you just need to add multiple BLE elements to your app, connect each element to one BLE server, and then, when you click a button or something, send the same command to all servers at the same time. I don’t know if this will crash the app or something. (I think 10 servers is probably to much to handle at the same time).
Can you try with two servers first and see if it works? If it works, try to add the others.
Then, let me know the results.
Regards,
Sara
Hi there Sara,
The BLE extension (I’m almost certain…) is the latest one provided by the AI2 site (2018/11/24 version, if I recall…).
I will try to add “more-of-the-same” BLE element/s as you suggested to a brand new testing THUNKABLE basic app, starting with 2 BLE elements…and “see-what-happens”…(translated => the good-old “trial-and-error” method… -as you hinted, a “crash” could ensue, but usually…nobody dies!!).
I will keep you posted with the results.
Thanks for your time reviewing my inquiry and promptly attending to it.
Kind regards,
Daniel.