It transfers any item command from the local server to the remote server.
It can map any remote thing to a local thing.
Through this mapping, in your rules (local server), you can take actions based upon status updates or status changes generated by remote things and you can take actions based upon trigger events generated by the trigger channels defined in the remote thing.
Another use is for users to interact with older versions of openHAB that may support old openHABv1 bindings that were not migrated to openHABv2 or openHABv3.
They can keep an openHABv2 server to run their old openHABv1 bindings and setup a new openHABv3 server for everything else.
The Remote openHAB binding installed on the openHABv3 server will then allow to use the openHABv1 bindings through communication with the openHABv2 server.
A third usage is for users that would like to keep unchanged an existing openHABv2 server but would like to use the new UI from openHABv3; they can simply setup a new openHABv3 server with the Remote openHAB binding linked to their openHABv2 server.
There is two supported things: the `server` bridge thing representing a remote openHAB server and the `thing` thing representing a thing from the remote openHAB server.
Once a bridge thing representing a remote openHAB server is created, all things from this remote server will be discovered when you scan for new things.
| aliveInterval | no | Number of last minutes to consider when monitoring the receipt of events from the remote server. If an event is received during this interval, the remote server is considered alive and its accessibility will not be verified. Use 0 to disable this feature. Default is 5. |
| restartIfNoActivity | no | Set it to true if you want to restart the connection (SSE) to the remote server when no events are received in the monitored interval. It is not necessary if the goal is to properly handle a short network outage (few seconds). This can be useful if you want to deal with a long network outage. Do not enable it if you remote server does not send events during the monitored interval under normal conditions, it will cause frequent restart of the connection and potential loss of events. Default is false. |
| thingUID | yes | The thing UID in the remote openHAB server. |
| buildTriggerChannels | no | If set to true, a trigger channel will be automatically created and linked to each trigger channel from the remote thing. Default is true. |
Please note that if your remote server is an openHABv3 server, you will need to define a valid token on your bridge thing to have your things correctly initialized.
For example, if your remote thing provides a trigger channel with this UID `astro:sun:local:night#event`, the channel UID of the channel created by the binding will be `remoteopenhab:thing:xxx:astro_sun_local_night_event`.