Evening all
Anyone out there that can help, it seems like the code isnt stripping the data properly or am I missing some thing.
/ Common part: MQTT server definition, Sonoff RF Bridge state control
Thing mqtt:topic:RFBridge1 {
Channels:
Type string : reachable "Reachable" [ stateTopic="tele/RFBridge1/LWT" ]
Type string : recieveddata "Received Data" [ stateTopic="tele/RFBridge1/RESULT", transformationPattern="JSONPATH:$.RfReceived.Data"]
Type string : recievedsync "Received Sync" [ stateTopic="tele/RFBridge1/RESULT", transformationPattern="JSONPATH:$.RfReceived.Sync"]
Type string : recievedlow "Received Low" [ stateTopic="tele/RFBridge1/RESULT", transformationPattern="JSONPATH:$.RfReceived.Low"]
Type string : recievedhigh "Received High" [ stateTopic="tele/RFBridge1/RESULT", transformationPattern="JSONPATH:$.RfReceived.High"]
Type string : recievedrfkey "Received RfKey" [ stateTopic="tele/RFBridge1/RESULT", transformationPattern="JSONPATH:$.RfReceived.RfKey"]
Type number : rssi "WiFi Signal Strength" [ stateTopic="tele/RFBridge1/STATE", transformationPattern="JSONPATH:$.Wifi.RSSI"]
Group GF_Sonoff_RF "RF Bridge" <sonoff_rf> (Sonoff_RF)
String GF_Sonoff_RF_Reachable "Reachable: [%s]" <contactable> (GF_Sonoff_RF) { channel="mqtt:topic:RFBridge1:reachable" }
String GF_Sonoff_RF_Received_Data "Received Data: [%s]" <none> (GF_Sonoff_RF) { channel="mqtt:topic:RFBridge1:recieveddata" }
String GF_Sonoff_RF_Received_Sync "Received Sync: [%s]" <none> (GF_Sonoff_RF) { channel="mqtt:topic:RFBridge1:recievedsync" }
String GF_Sonoff_RF_Received_Low "Received Low: [%s]" <none> (GF_Sonoff_RF) { channel="mqtt:topic:RFBridge1:recievedlow" }
String GF_Sonoff_RF_Received_High "Received High: [%s]" <none> (GF_Sonoff_RF) { channel="mqtt:topic:RFBridge1:recievedhigh" }
String GF_Sonoff_RF_Received_RfKey "Received RfKey: [%s]" <none> (GF_Sonoff_RF) { channel="mqtt:topic:RFBridge1:recievedrfkey" }
Number GF_Sonoff_RF_RSSI "WiFi Signal Strength [%d %%]" <wifi> (GF_Sonoff_RF) { channel="mqtt:topic:sonofbridge:rssi" }
Group item=GF_Sonoff_RF {
Text item=GF_Sonoff_RF_Reachable label="Status [%s]"
Text item=GF_Sonoff_RF_Received_Data label="Data [%s]"
Text item=GF_Sonoff_RF_Received_Sync label="Sync [%s]"
Text item=GF_Sonoff_RF_Received_Low label="Low [%s]"
Text item=GF_Sonoff_RF_Received_High label="High [%s]"
Text item=GF_Sonoff_RF_Received_RfKey label="RfKey [%s]"
Text item=GF_Sonoff_RF_RSSI label="WiFi Signal Strength [%d %%]"
Regards