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. Domoticz
  4. Get last update notification of Relay node within Domoticz

Get last update notification of Relay node within Domoticz

Scheduled Pinned Locked Moved Domoticz
2 Posts 1 Posters 41 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.
  • G Offline
    G Offline
    grumpazoid
    wrote on last edited by
    #1

    Re: Relay Actuator - send periodic status as heart beat.

    I am creating a new post as the above thread is quite old and I think this is specific to Domoticz.
    Thanks to @sundberg84 and also @Denis-Renaud for the code which I have used in my relay node.

    Domoticz now shows "last seen" every 30 seconds.
    However, what I want to be able to do is get Domoticz to send me a notification when "last update" is greater than a certain value.
    However "last update" is not available from the notifications tab - presumably because it is seen as a switch and that option is not available for switches.

    Any suggestions how to make this work? Could I send a status as some other sensor type/child ID that allows the last update message?

    I use the MQTT plugin in Domoticz to send messages into Node Red - I only get a MQTT message when the switch is physically changed, not on the heartbeat interval.

    Raspberry Pi 3B - Domoticz + Node Red
    Arduino Pro Mini 3.3V - W5100 Ethernet, Nrf24
    Arduino Mega, RFLink 433Mhz
    Sonoff/ESP8266/Tasmota switches

    1 Reply Last reply
    0
    • G Offline
      G Offline
      grumpazoid
      wrote on last edited by
      #2

      I have found a workaround by sending the heartbeat message as a separate V_MULTIMETER child. This then gives me a voltage reading of 0V every 30 seconds that I can use with the Domoticz last update feature :grinning:

      Would like to hear any better ways of doing this.

      Raspberry Pi 3B - Domoticz + Node Red
      Arduino Pro Mini 3.3V - W5100 Ethernet, Nrf24
      Arduino Mega, RFLink 433Mhz
      Sonoff/ESP8266/Tasmota switches

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


      19

      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