Open NorbertKrupa opened 3 years ago
I have added the two devices:
Two device handlers:
Two SmartApps:
The two apps in SmartThings:
No data in the player:
Thanks @Mellit7
Let me preface this with: I don't actually have an LMS or PiCore Player, so I'm just going based on the forum discussions and GitHub instructions. 😜
From what I understand, I think you install the code for both the Player and Server in the IDE. Then create just the server device instance with an arbitrary Device Network ID (DNI), then configure that device's preferences (IP and port) at which point it will calculate and show you the formatted DNI to use in the currentActivity
attribute, then edit the DNI of the server device to use the formatted DNI.
Side note: looking at the code, it looks like it actually attempts to correct the DNI itself so you might just need to set the IP and port and save (and no need to adjust the DNI manually). So it might just be that the README instructions are slightly outdated?
Once you have the Server device created and the base configuration / DNI stuff done, then go back in and edit the server device with the mac address of the player and it should automatically create the child devices with the player configured propertly.
Joshua is indeed correct. The device id for the server is the one you need to update for it to work. A bug in smartthings requires this to be done manually, or at least it was when this was released. You do not manually create the players. There are two ways to get have them created for you. This is required for communication with LMS to work.
Because of the many changes to the Smartthings environment, I am no longer supporting this project. It is unknown how long it will continue to work as the developer platform changes, and I was never able to get it fully translated to the new app before I left the Smartthings ecosystem
In https://github.com/Mellit7/Smartthings-SqueezeBox-Control/blob/master/README.md, step 3 states to update the device network id... but of which device?