I want to use the http binding to get some values for some openhab items.
I have a specific URL for each Item that exactly contains the needed value…But it seems as If it is neccessary to give the ITEM a transformation service?
Example: Number itemxyz "sometext" {http="<[http://myurl:60000:]"}
But this throws an error and does not work.
What’s the correct syntax for a url that needs no transformation?
I ran into that a few days ago. While there is default for outbound, it seems to have been omitted for inbound, likely an oversight that you must work round.
Thanks for your reply.
I also saw this posting and used it this way. It works, the items have the correct value. But now each minute this is written in the log for every item I handle this way (~10):
[.core.transform.TransformationHelper] - Cannot get service reference for transformation service of type REGEX
You’d need to install the REGEX transformation service. When a transform fails (because the specified service is missing, for example) you get the whole string returned - which is what you want - but of course you also get the failure message.