MyMessage with bool value from relay state to controller (fhem)?
-
I have a 4 channel relay in my node (version 2.11).
It can be controlled by FHEM. Working fine so farAdditionally 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
-
are you sure v_tripped is the right type?
-
@gohan I don't know. I also tried
V_STATUS
, doesn't work either ...edit:
V_STATUS
works, was a wrong configuration in FHEM
Suggested Topics
-
Arduino Celebrates 10 years (Malmö/Sweden)
Announcements • 29 Mar 2014, 17:08 • hek 29 Mar 2014, 17:08 -
Home Assistant/MySensors quirks
Development • 13 days ago • OldSurferDude 13 days ago -
Saving last known good state, but not in EEPROM
Development • 30 Jan 2024, 18:46 • OldSurferDude 15 Jan 2025, 08:51 -
Gateway without a radio
Development • 12 Jan 2025, 23:19 • OldSurferDude 14 Jan 2025, 22:07 -
Counting Incoming and Outgoing Messages from a Gateway
Development • 10 Dec 2024, 21:57 • Trand 14 Dec 2024, 20:23 -
MQTT-Help me understand about the MQTT Gateway.
Development • 28 days ago • dpcons 17 days ago