Copying Reading value into 'state' field
FHEM
5
Posts
3
Posters
2.9k
Views
2
Watching
-
I have my mysensors connected to FHEM and everything works fine so far - just the 'state' flag of my sensors is not getting populated and always shows questionsmarks. How can i change that? I would prefer to always see the latest value from this sensor here - can it be done via a mapping?
-
-
I have my mysensors connected to FHEM and everything works fine so far - just the 'state' flag of my sensors is not getting populated and always shows questionsmarks. How can i change that? I would prefer to always see the latest value from this sensor here - can it be done via a mapping?
@Stephan-Noller
I set the stateFormat attribute to something like{sprintf("T:%.1f H:%.0f P:%.0f B:%.0f",ReadingsVal("MYSENSOR_105","temperature1",0), ReadingsVal("MYSENSOR_105","humidity",0), ReadingsVal("MYSENSOR_105","pressure2",0), ReadingsVal("MYSENSOR_105","batterylevel",0))} -
Here's a good source of info for non German speakers: