Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
C

capibara

@capibara
About
Posts
1
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Mysensors mqtt gateway (noob question).
    C capibara

    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,

    Development
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular