- Platform information:
- Hardware: RPI 3B+
- OS: Openhabian
I have an infoming mqtt JSON like this
'{"contact":false,"linkquality":123}'
I want to extract the “contact” value to an on/off state. Is this possible (standalone in PaperUI)?
I found this in the configuration and thought this might be the right thing.
Transformation service JSONPATH for pattern $.contact not found!
2019-04-09 20:50:34.209 [WARN ] [eneric.internal.generic.ChannelState] - Command '{"contact":true,"linkquality":123}' not supported by type 'OpenCloseValue': No enum constant org.eclipse.smarthome.core.library.types.OpenClosedType.{"contact":true,"linkquality":123}