mtudor / HomeySqueezebox

Control your Logitech Squeezebox server and devices with your Athom Homey!
4 stars 10 forks source link

FEATURE: LMS Hook for Track & State Updates #3

Open mtudor opened 7 years ago

mtudor commented 7 years ago

Such that the LMS will ping us when the track changes, volume changes, play stops / stars etc. and this can be updated in the Homey interface.

dvanp commented 6 years ago

Would love this feature, but is this app still being developed?

Inversion-NL commented 6 years ago

Currently not very, no. We're planning on continuing later on

mtudor commented 6 years ago

Yep, that's pretty much it. We're both still here but time is short at the moment. Rest assured though that we want our Squeezeboxes singing and dancing with Homey too ;) Are you a potential contributor @dvanp? No worries if not, we'll keep you informed!

Sent from my Samsung SM-G955F using FastHub

dvanp commented 6 years ago

I might be able to contribute, but unfortunately haven't discovered yet how to add these features. If somebody can give me some pointers I will try again!

dvanp commented 6 years ago

My main problem is with figuring out how to get Homey notified of state/song changes. I've got getCurrentTitle showing up on the mobile card, but it is only updated on init, so when the app is started.

Inversion-NL commented 6 years ago

You'll have to emit an real-time event: https://apps.developer.athom.com/v1/library/drivers/index.html

module.exports.realtime( device_data, capability, newValue );