I'm really struggling with this.. like over 1hr...
I'd like a regexp to match the state and only the state of the RESIDENTS module. specifically when it goes to 'home' and 'gone'
I've tried every combination i can think of... and nothing works...
rgr_Residents:state:home set mqtt_livingroom_couchlight on
I think I'm going mad!
I was struggling with this all yesterday.
pretty easy in the end!
rgr_Residents:home
Just a suggestion for the future: https://regex101.com/
LG
pah
One more option:
https://fhem.de/commandref.html#addStateEvent
bookmarked. thanks
Zitat von: Benni am 23 März 2017, 11:56:08
One more option: https://fhem.de/commandref.html#addStateEvent (https://fhem.de/commandref.html#addStateEvent)
I do not understand how this can work in userReadings ? Could you elaborate please ?
Zitat von: oliv06 am 30 März 2017, 13:46:48
I do not understand how this can work in userReadings ? Could you elaborate please ?
This option is only to prefix the event generated for the reading "state" with "state: ".
By default the event for the state-reading comes with no prefix.
This is not for userReadings!