I’m just switching from the old 0.79 to 0.84 and experiencing some issues with device linking. I try to link three devices as follows. However, they are not getting linked:
Linking:
Yamaha_Livingroom_Power.sendCommand(ON)
Yamaha_Kitchen_Power.sendCommand(ON)
Yamaha_Bedroom_Power.sendCommand(ON)
Yamaha_Livingroom_MCLinkStatus.sendCommand("server")
Yamaha_Kitchen_MCLinkStatus.sendCommand("client")
Yamaha_Bedroom_MCLinkStatus.sendCommand("client")
Thread::sleep(300)
Yamaha_Kitchen_MCLinkStatus.sendCommand("192.168.1.11***main")
Thread::sleep(300)
Yamaha_Bedroom_MCLinkStatus.sendCommand("192.168.1.11***main")
(192.168.1.11 = Yamaha_Livingroom_Power)
Unlinking:
Yamaha_Livingroom_MCLinkStatus.sendCommand("")
Yamaha_Kitchen_MCLinkStatus.sendCommand("")
Yamaha_Bedroom_MCLinkStatus.sendCommand("")
What am I doing wrong? To be honest, documentation on linking seems quite sparse. Maybe you could add a full example for linking and unlinking? It also doesn’t become apparent what the different linking commands do exactly as they seem ambiguous. For example, for what do I tell the server to be the server when this will be automatically done when a device connects?