Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

Yamahareceiver Binding

mischuh edited this page Dec 19, 2015 · 30 revisions

Yamahareceiver Binding

Documentation of the Yamahareceiver binding Bundle

Details

This binding connects openhab with varoius Yamaha Receivers.

tested Receivers:

  • V473
  • V475
  • V477
  • V479
  • V575
  • V671
  • V675
  • V773
  • V775
  • RX-A1030
  • RX-A1050 (Aventage)
  • RX-A2020
  • RX-A810
  • HTR-4065

please add sucessfully tested receivers!

Configuration

inside openhab.cfg you need only the host definition:

 yamahareceiver:<uid>.host=192.168.1.1 

represent your instance name inside your items list right from the equal sign you must define the ip address from your receiver.

items:

 {yamahareceiver="uid=living, zone=main, bindingType=power"}

allowed zone entrys:

  • main: Main Zone
  • zone2: Zone 2
  • zone3: Zone 3
  • zone4: Zone 4

depends on the real zones implemented on your receiver.

allowed bindingTypes:

  • power: Openhab Type Switch, Switches The Receiver ON or OFF (ON only if you have the Receiver allowed insid settings to react on this Signal in OFF state!!)

  • mute: Openhab Type Switch, Mute or Unmute the receiver

  • volume: Openhab Type Dimmer, Set's the receivers Volume percent Value.

  • input: Openhab Type String, Set's the input selection, depends on your receiver's real inputs examples: HDMI1, HDMI2, AV4, TUNER, NET RADIO, etc.

  • surroundProgram: Openhab Type String, Set's the surround Mode examples: 2ch Stereo, 7ch Stereo, Hall in Munic, Straight, Surround Decoder

Example

 openhab.cfg

 #Yamaha Receiver 
 yamahareceiver:living.host=192.168.1.1

 .items

 Switch Yamaha_Power         "Power [%s]"         <tv>    { yamahareceiver="uid=living, zone=main,  bindingType=power" }
 Dimmer Yamaha_Volume         "Volume [%.1f %%]"             { yamahareceiver="uid=living, zone=main, bindingType=volumePercent" }
 Switch Yamaha_Mute             "Mute [%s]"                 { yamahareceiver="uid=living, zone=main, bindingType=mute" }
 String Yamaha_Input         "Input [%s]"                 { yamahareceiver="uid=living, zone=main, bindingType=input" } 
 String Yamaha_Surround         "surround [%s]"             { yamahareceiver="uid=living, zone=main, bindingType=surroundProgram" } 
 Number Yamaha_NetRadio  "Net Radio" <netRadio> { yamahareceiver="uid=living, zone=main, bindingType=netRadio" }

 .sitemap

 Selection item=Yamaha_NetRadio label="Sender" mappings=[1="N Joy", 2="Radio Sport", 3="RDU", 4="91ZM", 5="Hauraki"]
 Selection item=Yamaha_Input mappings=[HDMI1="BlueRay",HDMI2="Satellite","NET RADIO"="NetRadio",TUNER="Tuner"]
 Selection item=Yamaha_Surround label="Surround Mode" mappings=["2ch Stereo"="2ch","7ch Stereo"="7ch"]

the tricky thing are the " around NET RADIO, this Key (left from the equal sign) is a value that must be send to the receiver with the space inside. If you omit the " the binding sends only the NET and the receiver do's nothing. Same are in surround definition!

Installation


User Interfaces


Community

(link to openHAB forum)

Development



Misc


Samples

A good source of inspiration and tips from users gathered over the years. Be aware that things may have changed since they were written and some examples might not work correctly.

Please update the wiki if you do come across any out of date information.

Use case examples

Collections of Rules on a single page

Single Rules

Scripts


Release Notes

Clone this wiki locally