Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] topic alias



On Tue, Jan 2, 2018 at 3:15 AM Tatsuzo Osawa <tatsuzo.osawa@xxxxxxxxx> wrote:
HI Roberto,

Your question seems independent on mosquitto, so better at
https://groups.google.com/forum/#!forum/mqtt than at this place. And
the answer might be "depends on the scale".
I though to ask here because maybe mosquitto did have some "hidden" feature of aliasing or "cheap forwarding".

Although, I'd like to consider a little and have a few questions.

- The broker is only one at the central raspberry and node-red as
mqtt-client is at every raspberry. Right?
Yes 

- Why non-central raspberries must know the other raspberries' gpios?
  (I think only the central must know and it produces the message of
order to the others in need.)
They don't, and i'm trying to put the least possible logic in each "client" raspberry. They only have the connections "PIN -> mqtt topic" for the sensors or  "mqtt topic -> PIN" for the relays.
 
- How many raspberries must be managed?
Probably a maximum of 5/10 in the years to come. At the moment is only 3 with the central one.
 
- How often are the messages produced?
Some sensors are read every second, other every 5 or 10 seconds.

--
Roberto Previdi

Back to the top