• Categories
    • Recent
    • Tags
    • Popular
    • Register
    • Login

    Is NATS.io needed on RPi?

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 2 Posters 352 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W Offline
      wint0178
      last edited by

      I am setting up the MC v2 on my RPi-4 with 4GB memory. I am hoping to add multiple gateways each with several MySensors boards connected to each gateway. It is not clear to me whether I need to have all of the dependant software installed or not. For example, do I need to have NATS.io installed for this? If so, should it be installed in my host or in docker?

      I have the same questions for influxdb and MQTT broker. How do I know which ones I need and whether they should be installed in the host system or in docker?

      W 1 Reply Last reply Reply Quote 0
      • W Offline
        wint0178 @wint0178
        last edited by

        @wint0178 I see the notes on the "Installation" page of the documentation that the MongoDB, MQTT broker and nasts.io are optional, but how would I determine if I need them or should install them?

        jkandasaJ 1 Reply Last reply Reply Quote 0
        • jkandasaJ Offline
          jkandasa @wint0178
          last edited by jkandasa

          hi @wint0178,

          • MQTT Broker - if you plan to connect your gateway via MQTT, you need an mqtt broker. If you already one. you can use that. You can have MQTT broker in any system, that should be accessible for MyController and your gateway device. If you do not have complex system, you can keep everything on the same system.
          • MongoDB - for storage the default option is in-memory database. It keeps all the configurations(except metrics) in memory and dumps to dis in an interval. It will be faster. You can take a frequent backup with schedule. But someone wants to keep the storage in mongoDB, may be due to large setof configurations or to keep the data in remote location, or other reasons. It is up to you. fyi, I am using in-memory db and I do not see an issue till now(about 2 years)
          • InfludDB - you need to have this database, if you want graphs and metrics details

          I hope I have addressed your queries

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          0

          Online

          587

          Users

          529

          Topics

          3.4k

          Posts
          Copyright © 2015-2025 MyController.org | Contributors | Localization