This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to set up the connection between multiple thingy52 and a raspberry pi 4

Hi, I am new to thingy52 and raspberry pi and now I am trying to connect 4 thingy52 to a raspberry pi to get the data from those sensors.

I have followed the Nodejs examples in Github and able to connect 1 thingy52 and get the data. However, the example does not support multiple thingy52 or maybe I don't know how to edit the code.

Could someone help me with this issue? How can I edit the Nodejs code to make it work for 4 thingy52 or any other simple ways to establish the connection for 4 thingy52

Parents Reply
  • Hi,

    The library is currently made in such a way that it is hard coded to 1 thingy at the time. Since you say that you are new to both the Thingy and RPi then i might be cumbersome to dive in to the library and re-write/modify it so that it can accommodate for more devices at the same time. 

    One thing that you could do is to use a BLE dongle for each Thingy52 device and one program talking to each dongle/thingy. I dont know how you work with the data but you should be able to write the data to whatever you want or push it to a cloud storage like firebase ect. 


    Sorry for not having a better solution.

    Regards,
    Jonathan

Children
No Data
Related