Persistence engine using URL calls.
While OpenHAB supports a wide range of external tools, it can never support them all. A lot of those tools however expose API's.
Add the org.openhab.persistence.http.jar to the addons folder of an openHAB runtime installation and restart.
The following configuration items can be set in openhab.cfg:
httppersistence:pattern=<some pattern>
This pattern is used to construct an URL to call. It uses the java formatter syntax. The URL is constructed using three parameters:
-
Name (or alias) of the item
-
Its value
-
Date This item is required.
httppersistence:forcenumeric=true Some tools do not support String and only accept numeric (decimal) values. When setting this to
true
all values will be changed into a number. If its unable to do that, the value is ignored. This item is optional and defaults tofalse
.