Hi there, i have created some items for http binding addon in one .items file but only the first one is visible to the system…
i need to split each item in a single .items file in order to use each of theme…
The syntax is simple:
number Entrance_temperature_Item "Entrance Temperature" <temperature> { http="<[EntranceTemperatureCache:30000:JS(senseTemp.js)]" }
number Fridge_temperature_Item "Fridge Temperature" <temperature> { http="<[FridgeTemperatureCache:30000:JS(senseTemp.js)]" }
number Bedroom_temperature_Item "Bedroom Temperature" <temperature> { http="<[BedroomTemperatureCache:30000:JS(senseTemp.js)]" }
Only the first Entrance_temperature_Item is visible if not splitted on multiple files…
Note that you can make your posting more readable by correctly formatting your items code using the small paper button (the one next to the smiley button).
Number Entrance_temperature_Item "Entrance Temperature" { http="<[EntranceTemperatureCache:30000:JS(senseTemp.js)]" }
Number Fridge_temperature_Item "Fridge Temperature" { http="<[FridgeTemperatureCache:30000:JS(senseTemp.js)]" }
Number Bedroom_temperature_Item "Bedroom Temperature" { http="<[BedroomTemperatureCache:30000:JS(senseTemp.js)]" }
I don’t know which service you are using that requires tags, but at least for ImperiHome it indicates the tag goes before the { }. I don’t user tags so can’t say anything else for sure, but if the tag is in the wrong place it would cause later Items in that file to fail to parse.
You should be seeing errors in the logs.
Designer certainly shows an error with the tag at the end but not when the tag is before the { }.