Hy.
I have a text box linked to the serial port that perfectly receives the information from the RFlink
But I can not send orders on this one.
My sitemap:{
sitemap rf_test label= "RfLink Test"{
Text item=RFLinkRaw // ["%s"]
}
}
My items
String RFLinkRaw "RFLink raw data [%s]" <text> { serial="/dev/ttyUSB0@57600" }
Switch Test_RFlinj "Send Command"
My rules
rule "RFLink IN"
when
Item RFLinkRaw received update
then
//treatment values received
end
rule "RFLink OUT"
when
Item Test_RFlink received command ON
then
val reponse = RFLinkRaw.sendCommand("10;Newkaku;02128800;1;ON")
end
When I send the command I receive this error:
16:01:43.799 [ERROR] [untime.internal.engine.RuleEngineImpl] - Rule ‘RFLink IN’: 5
I do not have to have everything understood to send information on / dev / ttyUSB0 …
Please Help me