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. MyMessage with bool value from relay state to controller (fhem)?

MyMessage with bool value from relay state to controller (fhem)?

Scheduled Pinned Locked Moved Development
3 Posts 2 Posters 893 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.
  • dirkcD Offline
    dirkcD Offline
    dirkc
    wrote on last edited by dirkc
    #1

    I have a 4 channel relay in my node (version 2.11).
    It can be controlled by FHEM. Working fine so far :-)

    Additionally I have a RCSwitch (https://github.com/sui77/rc-switch) receiver connected to the same node to switch the same 4 channel relay via a remote control (one of those cheep 433Mhz remote controls / seems to be stupid, but is necessary as backup)

    When I receive the messages from the remote control via RCSwitch I want to send a MyMessage to the controller and front-end to visualize the status.

    send(msgRelay.setSensor(CHILD_ID_RELAY1+id).set((bool)bValue));
    

    The UI doesn't seem to receive these messages, instead the log shows
    MYSENSORS_DEVICE MYSENSOR_1: ignoring C_SET-message no reading-mapping for childId 1, type tripped

    I define the message like: MyMessage msgRelay(CHILD_ID_RELAY1, V_TRIPPED);

    Any idea? Thanks in advance

    Controller: Home Assistant & FHEM - Gateway: ESP8266wifi - MySensors: 2.3.2 (nRF24)

    1 Reply Last reply
    0
    • gohanG Offline
      gohanG Offline
      gohan
      Mod
      wrote on last edited by
      #2

      are you sure v_tripped is the right type?

      dirkcD 1 Reply Last reply
      0
      • gohanG gohan

        are you sure v_tripped is the right type?

        dirkcD Offline
        dirkcD Offline
        dirkc
        wrote on last edited by dirkc
        #3

        @gohan I don't know. I also tried V_STATUS, doesn't work either ...

        edit: V_STATUS works, was a wrong configuration in FHEM

        Controller: Home Assistant & FHEM - Gateway: ESP8266wifi - MySensors: 2.3.2 (nRF24)

        1 Reply Last reply
        0
        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