i´ve been trying to use your approach for a couple of days now and do not have
a working solution right now.
My items look like this:
Number CurrentTemp "Bad4 [%s]"
{ channel="homematic:HM-CC-TC:LiNaDo_ID:HEQ0508540:1#TEMPERATURE" }
Number CurrentHum "Bad5 [%s]"
{ channel="homematic:HM-CC-TC:LiNaDo_ID:HEQ0508540:1#HUMIDITY" }
Number ItemMerged
My rule is:
rule "Merge items"
when
Item CurrentTemp updated or
Item CurrentHum updated
then
ItemMerged.postUpdate(CurrentTemp.state.toString + " " + CurrentHum.state.toString)
end
In the Eclipse Smarthome Designer the syntax checker tells me
"no viable alternative at input “Item” " next to the both lines starting with item.
For sure it will be just a little error - but i do not find it
Could you help me once again?