openhab-addons/bundles/org.openhab.binding.yioremote
openhab-bot 344a4ceae3
New Crowdin updates (#11960)
* New translations openweathermap.properties (Italian)

* New translations openweathermap.properties (German)

* New translations icalendar.properties (Italian)

* New translations network.properties (German)

* New translations atlona.properties (Italian)

* New translations yeelight.properties (Italian)

* New translations yioremote.properties (Italian)

* New translations astro.properties (German)

* New translations deconz.properties (German)

* New translations deconz.properties (Italian)

* New translations pollytts.properties (German)

* New translations mqtt.properties (Italian)

* New translations publictransportswitzerland.properties (Italian)

* New translations mqtt.properties (Italian)

* New translations mqtt.properties (Italian)

* New translations ipp.properties (German)
2022-01-14 23:30:41 +01:00
..
src/main New Crowdin updates (#11960) 2022-01-14 23:30:41 +01:00
NOTICE added migrated 2.x add-ons 2020-09-21 03:37:19 +02:00
pom.xml pom update from http to https reference (#11833) 2021-12-23 19:40:44 +01:00
README.md [yioremote] Fixed reconnection and thing creation issues (#8596) 2020-09-29 19:48:11 +02:00

YIOremote Binding

This binding will control a YIO Dock/Remote combination. YIO Remote/Dock is a smart home solution that includes an IP based remote. More information can be found at yio-remote or in the forums at yio-remote.

This binding has been designed to compliment the YIO websocket Transport Protocol.

Since this binding allows actual you to trigger IR send/receive actions on YIO Dock, this allows you to use the YIO Dock as an IR solution to openHAB and even learn new IR codes from your remotes. In other words, if the IR code is known then openHAB can use the YIO Dock to control that Device regardless if there is an openHAB binding for it or not.

Supported Things

  • Thing Type ID: yioRemoteDock

The following are the configurations available to each of the bridges/things:

YIO Dock

Name Type Required Default Description
host string Yes (None) Host/IP Address or host name of the YIO Dock
accesstoken string Yes 0 The authentication token for the access currently 0

Channels

YIO Dock

The YIO Dock has the following channels:

Channel Input/Output Item Type Description
receiverswitch Input Switch The switch to enable disable the IR receiving diode/function
status Output String The status of the YIO Dock. If the reciever is on than the recognized IR code will be displayed otherwise the IR send status is displayed of the last IR code send.

Actions

With the YIO remote action, you can send IR Codes via the YIO Remote Dock.

Example

rule "yioremote Action Example"
when
  ...
then
	val actions = getActions("yioremote", "yioremote:yioRemoteDock:livingroom")
	if (actions === null)
	{
		......
	}
	else
	{
		actions.sendIRCode("3;0x20DF40BF;32;0")
	}
end

Full Example

.things

yioremote:yioRemoteDock:livingroom [ 	host="xxx.xxx.xxx.xxx",	accesstoken="0"  ]

.items

Switch 	receiverswitch	"IR recieving switch"	{channel="yioremote:yioRemoteDock:livingroom:input#	receiverswitch"}
String 	status			"YIO Dock status[%s]" 	{channel="yioremote:yioRemoteDock:livingroom:output#	status"}

.sitemap

sitemap Basic label="YIO Dock" {
        Switch item=	receiverswitch
        Text item=	status
}