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. Controllers
  3. OpenHAB
  4. Questions regarding smartsleep/request heartbeat/request ack?

Questions regarding smartsleep/request heartbeat/request ack?

Scheduled Pinned Locked Moved OpenHAB
3 Posts 2 Posters 759 Views 2 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.
  • W Offline
    W Offline
    waspie
    wrote on last edited by
    #1

    I'm using the 2.4 version of the binding and everything is just lovely using smartSleep. I send a message to a sleeping and after the prescribed time, it gets it.

    In the event that the node dies or the gateway goes offline or whatever, what can I do to be made aware that the messages aren't getting where they need to go?

    There's two separate problems there...

    So, what of those options should be on to handle a node going away?

    What about if the gateway goes away?

    T 1 Reply Last reply
    0
    • W waspie

      I'm using the 2.4 version of the binding and everything is just lovely using smartSleep. I send a message to a sleeping and after the prescribed time, it gets it.

      In the event that the node dies or the gateway goes offline or whatever, what can I do to be made aware that the messages aren't getting where they need to go?

      There's two separate problems there...

      So, what of those options should be on to handle a node going away?

      What about if the gateway goes away?

      T Offline
      T Offline
      TimO
      Hero Member
      wrote on last edited by
      #2

      @waspie
      I'm using rules to detect if a thing changes its status to offfline: https://www.openhab.org/docs/configuration/rules-dsl.html#thing-based-triggers

      If my gateway changes its state to offline I receive a pushover notification.

      1 Reply Last reply
      0
      • W Offline
        W Offline
        waspie
        wrote on last edited by
        #3

        @timo said in Questions regarding smartsleep/request heartbeat/request ack?:

        I'm using rules to detect if a thing changes its status to offfline

        You wrote the 2.4.0 binding, right?

        If so...I'm getting this error if I add a Mysensors MQTT GW while mysgw is not running:

        12:51:49.096 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'mysensors:bridge-mqtt:13cd0a37' changed from INITIALIZING to OFFLINE
        12:52:02.804 [ERROR] [ransport.mqtt.internal.ClientCallback] - MQTT message received. MqttMessageSubscriber#processMessage() implementation failure
        java.lang.NullPointerException: null
                at org.openhab.binding.mysensors.internal.protocol.mqtt.MySensorsMqttConnection$MySensorsMqttSubscriber.processMessage(MySensorsMqttConnection.java:134) ~[?:?]
                at org.eclipse.smarthome.io.transport.mqtt.internal.ClientCallback.lambda$3(ClientCallback.java:90) ~[207:org.eclipse.smarthome.io.transport.mqtt:0.10.0.oh240]
                at java.util.ArrayList.forEach(ArrayList.java:1257) ~[?:?]
                at org.eclipse.smarthome.io.transport.mqtt.internal.ClientCallback.messageArrived(ClientCallback.java:90) [207:org.eclipse.smarthome.io.transport.mqtt:0.10.0.oh240]
                at org.eclipse.paho.client.mqttv3.internal.CommsCallback.deliverMessage(CommsCallback.java:499) [206:org.eclipse.paho.client.mqttv3:1.2.0]
                at org.eclipse.paho.client.mqttv3.internal.CommsCallback.handleMessage(CommsCallback.java:402) [206:org.eclipse.paho.client.mqttv3:1.2.0]
                at org.eclipse.paho.client.mqttv3.internal.CommsCallback.run(CommsCallback.java:206) [206:org.eclipse.paho.client.mqttv3:1.2.0]
                at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
                at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
                at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?]
                at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?]
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
                at java.lang.Thread.run(Thread.java:748) [?:?]
        

        This is a quite vanilla install with only the Mysensors binding for testing.

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


        31

        Online

        11.7k

        Users

        11.2k

        Topics

        113.1k

        Posts


        Copyright 2025 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