Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. capibara
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    capibara

    @capibara

    0
    Reputation
    1
    Posts
    184
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    capibara Follow

    Best posts made by capibara

    This user hasn't posted anything yet.

    Latest posts made by capibara

    • Mysensors mqtt gateway (noob question).

      Hello !
      I'm a newbie on mysensors. it seems very interesting, but I was not able to fully understand how it works.

      I'm building my own weather station, based on MQTT and weewx.
      I was wondering if I could use the arduino mysensors lib to make the sensor management easier.

      I have some question regarding the MQTT gateway.

      How is the mqtt topic build exactly ?
      From my understanding and what I have see on the website, it seems to be this way:

      1/ it should be defined a topic prefix, ex mygateway1-out
      #define MY_MQTT_PUBLISH_TOPIC_PREFIX "mygateway1-out"

      2/ The sensors are published with as topic, something like this:
      mygateway1-out/x/x/x/x/x

      Is this correct ? is the xxx some kind of id ?

      Also, for an easier management and also because I use some sensors that would not use mysensors, I wish to use my own mqtt topic structure.
      Is it possible to do this using mysensors ? or shall I build my own software for MQTT management ?

      The topics I would like to use looks like this:
      /weewx/outTemp
      /weewx/rain
      etc...

      Best regards,

      posted in Development
      capibara
      capibara