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.