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
M

miclane

@miclane
About
Posts
29
Topics
9
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Gateway Address EEPROM
    M miclane

    I solved my need.
    I get the bytes from the EEPROM as well.
    #define MY_IP_ADDRESS_B0 EEPROM.read(xxxx)
    ....
    #define MY_IP_ADDRESS_B3 EEPROM.read(yyyy)

    Then I define the address of the gateway like this:
    #define MY_IP_ADDRESS ((uint32_t)(MY_IP_ADDRESS_B3) << 24) | ((uint32_t)(MY_IP_ADDRESS_B2) << 16) | ((uint32_t)(MY_IP_ADDRESS_B1) << 8) | (uint32_t)(MY_IP_ADDRESS_B0)

    This applies to the other addresses required for the operation of an MQTT gateway.
    Hopefully this sharing is useful.
    Thank you

    General Discussion gateway address eeprom

  • The gateway mqtt restarts when the node is absent
    M miclane

    The 2.2.0-rc.1 version in development seems to solve the problem.
    See also the message : https://forum.mysensors.org/topic/6684/serial-gateway-restarting/30
    Can you explain the change in the new version?
    Thank you.

    Troubleshooting

  • Send message from gateway MQTT to controller
    M miclane

    I tested the solution proposed above.
    It works very well.
    I can send to the controller the subscription topic of the gateway, its IP address, etc. during the presentation phase of the gateway.
    Thanks again.

    General Discussion
  • Login

  • Don't have an account? Register

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