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
  1. Home
  2. Development
  3. How to check if serial gateway is operational ?

How to check if serial gateway is operational ?

Scheduled Pinned Locked Moved Development
arduinoserial gateway
4 Posts 3 Posters 2.2k Views 1 Watching
  • 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.
  • J Offline
    J Offline
    joshmosh
    wrote on last edited by
    #1

    Hi,
    I have implemented a serial gateway to Domoticz on a pro mini. Just used the code given in the example. Works well so far, but recently I noticed that the gateway seemed to got stuck. It did not react to messages from sensor nodes. A reset of the gateway was all to fix it.
    Would be nice to have a means to get a notification in case that a gateway does not react anymore.
    Any ideas how that could be accomplished ?
    Josh

    1 Reply Last reply
    0
    • F Offline
      F Offline
      fot
      wrote on last edited by
      #2

      Hi!

      I ask my gateway about it's version (0;0;3;0;2;). It will responde with the library version number (1.4.1 in my case).

      It tells me that the gateway software is up and running. But it will not give me any clue about if the (NRF)network is working.

      I only ask the gateway if no other packages are received in $timeout seconds.

      /Magnus

      J 1 Reply Last reply
      0
      • marceltrapmanM Offline
        marceltrapmanM Offline
        marceltrapman
        Mod
        wrote on last edited by
        #3

        When the gateway does not respond it should be noticed by the controller imho.

        Fulltime Servoy Developer
        Parttime Moderator MySensors board

        I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
        I have a FABtotum to print cases.

        1 Reply Last reply
        0
        • F fot

          Hi!

          I ask my gateway about it's version (0;0;3;0;2;). It will responde with the library version number (1.4.1 in my case).

          It tells me that the gateway software is up and running. But it will not give me any clue about if the (NRF)network is working.

          I only ask the gateway if no other packages are received in $timeout seconds.

          /Magnus

          J Offline
          J Offline
          joshmosh
          wrote on last edited by
          #4

          @fot said:

          Hi!

          I ask my gateway about it's version (0;0;3;0;2;). It will responde with the library version number (1.4.1 in my case).

          It tells me that the gateway software is up and running. But it will not give me any clue about if the (NRF)network is working.
          That's a problem, right.

          I only ask the gateway if no other packages are received in $timeout seconds.

          /Magnus
          Of course ! Thank you for pushing my nose on it. Sometimes you don't see the most obvious ;-)
          Since my gateway is relatively close to the controller (Domoticz on a Raspi), I can do a hard reset of the gateway (via Raspi GPIO), which should resolve the issue.
          Cheers
          Josh

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          14

          Online

          11.7k

          Users

          11.2k

          Topics

          113.0k

          Posts


          Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
          • Login

          • Don't have an account? Register

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