Hi. I am thinking to use puck.js for a project in uni and I'm new to all this and would like a little help. What I'd like to do is to have two or three puck.js that will be used to control bluetooth devices (light bulbs e.t.c.) and report temperature and things like that. One of the puck.js will be connected to a Raspberry Pi Zero W to upload data in Firebase to be used in a web app.
What I'd like to know is if it's possible for the puck.js to transmit data between them until it reach raspberry (and so that they have the same data on them), if we suppose that some of the puck.js are at some distance and could not establish direct connection with the raspberry? This would also make it possible to connect directly from the web app (when offline with a progressive web app and service workers) to the nearest puck.js and since all of the puck.js will share the same information, changes can be made and applied to all of them and stored to the raspberry also to update Firebase, right?
Of course the data that will be shared will be mainly one variable (on/off), temperature and generally small in size, and the system doesn't need to respond instantaneously to each change. So is this doable/viable with puck.js and raspberry? Thank you.