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 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 trippedI define the message like:
MyMessage msgRelay(CHILD_ID_RELAY1, V_TRIPPED);Any idea? Thanks in advance
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login