This is a rehash of email@example.com's ST Yamaha integration. This doesn't poll automatically but has a poll command in case you want to set up your own polling (just like the old solution) with one of the solutions floating around for polling (or use RM).
- Create two new device drivers from the code below:
hubitat_codahq/yamaha-receiver.groovy at master · codahq/hubitat_codahq · GitHub
hubitat_codahq/yamaha-zone.groovy at master · codahq/hubitat_codahq · GitHub
- Create a virtual device. Put whatever value you want in the DNI. The driver will update it. Make sure you choose the type as "Yamaha Receiver"
- After save make sure you populate the IP and choose a zone and hit save again.
The driver will update the DNI to the IP address and add a child device for each zone you choose. I'm sure I could have done this better e.g. discovery or whatever but for now I don't care. I just want it working.
One way to use this driver in automations (because you can't capture inputs in scenes):
[Release] Yamaha Network Receivers Basic Integration
Is my Yamaha compatible with this driver?
Does your Yamaha support a web interface if you try to connect to its LAN IP with your browser? If so, probably yes. More specifically, the driver uses POST calls to [LAN IP]/YamahaRemoteControl/ctrl. If you see your web interface doing this then very likely yes. Yamaha refers to this feature as a few different things because it has been around for so long but my receivers refer to it simply as "Web Control". As an example, my web interface looks like this:
192.168.1.40 would be the receiver's LAN IP address.