Open kelsos opened 9 years ago
It sounds great.
I'm a rookie user of home assistant. Maybe some open API can make musicbee be remote by home assistant. And home assistant merged "home bridge", so maybe can use Home App(iOS/apple TV/mac) to remote control musicbee.
Hi @Erimus-Koo I will have a look to see how possible it is to use something like this. Currently, the problem with the API is that it's a pure TCP socket implementation that doesn't talk any standard protocol so it is harder to interface with anything.
Thanks for your time. I've tried to read some docs like: Creating your first integration · Home Assistant dev docs, but still many problems.
So I wrote a little service to receive 'key' from computer in LAN, and 'replay' the keys on local, utility/remote_key_service.py. I can remote control the player by media keys now, and home assistant can use command line as buttons. Just some basic feature, play/pause/next/prev. I still look forward to your full-featured web app.
Hi @Erimus-Koo I will have a look to see how possible it is to use something like this. Currently, the problem with the API is that it's a pure TCP socket implementation that doesn't talk any standard protocol so it is harder to interface with anything.
Hey, are you planning on changing the protocol to WebSocket anytime soon? If not, it might be possible to write a WebSocket server that proxies to the TCP socket.
Hey @nitzanbueno at the moment I am not directly planning to do that. I need to get an initial version of v2.0.0 of the application ready and then I will deal with that.
OK. At the moment, I'm working on a websocket proxy server and web client, if you're interested.
I forked your project and switched SocketServer for a WebSocket server written with Fleck. I also made a web client to go along with it, if you'd like to take a look. Thanks for the great work!
Fleck is what I had in mind too. I will take a look when I find time :)
Add an embedded web application that will use Websockets to implement the notification protocol. The web application will be used in systems where a native application is not available (iOS/Windows Phone etc).