|
Post by ultrasonic on Oct 6, 2016 21:21:24 GMT -5
Hello, I just published a (very early) draft of my implementation of the Emotiva Network Remote Control protocol, which allows you to control and monitor your XMC-1. I called this Emote. The idea is that Emote makes it very easy to develop apps for your XMC-1. Emote is written in Groovy. To test it, you can get it from GitHub: github.com/hendrikhalkow/emote-demo contains a command line app. To compile and run it, you need a Java JDK and Gradle. Then you can compile and run it as follows: git clone https://github.com/hendrikhalkow/emote-demo.git cd emote-demo ./gradlew build java -jar build/libs/emote-demo-0.0.0.jar This will discover your XMC-1 and shows you the current volume. There is also a script version available at github.com/hendrikhalkow/emote-scriptsTo run this, you need need a Java JDK and Groovy. The script inside this repo is executable from the command line (takes some time at the first start as it downloads the dependencies). Right now, this is far from being complete. The purpose is to develop an elegant and easy API that everybody can use. Feel free to provide feedback. The actual API implementation is available at github.com/hendrikhalkow/emote-api and github.com/hendrikhalkow/emote-schemaThe first one is the library you include in your project, which creates the beautiful API, the latter one contains the XML schemas that describe the Emotiva Network Remote Control protocol and compile it into Java code. Feel free to comment, contribute, hack, to do whatever you want with this code. I will continue working on this as I have time. Edit: For those of you who don't want to compile the demo app by yourself, you can download a pre-compiled jar file. You can run it from the command line by java -jar 'emote-demo-0.0.0.jar'
|
|
|
Post by novisnick on Oct 6, 2016 21:37:32 GMT -5
How is this diferent from XMC-1 Remote? Im not into programming so Im not sure what this does.
|
|
|
Post by ultrasonic on Oct 6, 2016 21:39:35 GMT -5
Emote is not a smartphone app. Yet. It is a library that allows you to easily build your own app.
|
|
|
Post by novisnick on Oct 6, 2016 21:43:17 GMT -5
Just wanted to make sure you weren't reinventing the wheel. You do know there is an app for the XMC-1, right?
|
|
|
Post by ultrasonic on Oct 7, 2016 4:57:43 GMT -5
Just wanted to make sure you weren't reinventing the wheel. You do know there is an app for the XMC-1, right? Yes, I know.
|
|
klinemj
Emo VIPs
Official Emofest Scribe
Posts: 15,101
|
Post by klinemj on Oct 7, 2016 5:29:52 GMT -5
Just wanted to make sure you weren't reinventing the wheel. You do know there is an app for the XMC-1, right? Yes, I know. So, what does this do that the existing app does not do or not do well? I mean, I get you can make your own, but...is there something about the existing one you don't like and you have used this approach to make better? Mark
|
|
|
Post by ultrasonic on Oct 7, 2016 5:52:39 GMT -5
The existing app is a copy of the physical remote control. I expect an app to go beyond that. For example, to change the volume, I don't want two buttons for vol+ and vol-, but a movable slider or a turnable knob. To change inputs, I don't want two buttons input+ and input. I'd rather want to flick through the inputs as I do it with an image gallery. Besides this, the current app isn't open source. Emote is. Which means, everybody can contribute to it or easily build such an app without thinking about technical stuff. However, I don't want this thread focus on whether we need a new app or not. If you are happy with the existing app, everything is fine.
|
|
|
Post by AudioHTIT on Oct 7, 2016 6:26:55 GMT -5
So, what does this do that the existing app does not do or not do well? I mean, I get you can make your own, but...is there something about the existing one you don't like and you have used this approach to make better? Mark I think the existing app is 'adequate', but needs work and I don't think it's getting much attention. If you've followed the threads you'll find that many have experienced regular crashes, I've had some but it's mostly been OK. If I still programmed I'd welcome a toolkit like this to make developing a more intuitive interface or more functional layout. I'd also like more feedback – like a total mirror of the OSD. Thinking back before the XMC-1 was released (during the 'Dark Ages'), I started a thread to gather interest in developing an XMC-1 App, I see it's just over four years ago now. I got as far as prototyping some screens, but there were no protocols so not much else to do; it would be almost two years before we saw the XMC-1, longer for the App and published network protocol. Looking back I still like my screens better than the current App, here's a link to the old thread and screens. emotivalounge.proboards.com/post/453305/threadJava may not work for everyone, but it's portable, and having the low level work handled in a toolkit makes it possible to focus on the niceties instead of slogging around in the muck. Nice contribution ultrasonic !
|
|
klinemj
Emo VIPs
Official Emofest Scribe
Posts: 15,101
|
Post by klinemj on Oct 7, 2016 7:16:14 GMT -5
The existing app is a copy of the physical remote control. I expect an app to go beyond that. For example, to change the volume, I don't want two buttons for vol+ and vol-, but a movable slider or a turnable knob. To change inputs, I don't want two buttons input+ and input. I'd rather want to flick through the inputs as I do it with an image gallery. Besides this, the current app isn't open source. Emote is. Which means, everybody can contribute to it or easily build such an app without thinking about technical stuff. However, I don't want this thread focus on whether we need a new app or not. If you are happy with the existing app, everything is fine. Thanks for the explanation. If you use emote to create a new app as you describe, I would be interested. I am not exactly a DIY guy when it comes to apps, but I do see the benefit of what you are saying. Mark
|
|
|
Post by novisnick on Oct 7, 2016 8:16:42 GMT -5
The existing app is a copy of the physical remote control. I expect an app to go beyond that. For example, to change the volume, I don't want two buttons for vol+ and vol-, but a movable slider or a turnable knob. To change inputs, I don't want two buttons input+ and input. I'd rather want to flick through the inputs as I do it with an image gallery. Besides this, the current app isn't open source. Emote is. Which means, everybody can contribute to it or easily build such an app without thinking about technical stuff. However, I don't want this thread focus on whether we need a new app or not. If you are happy with the existing app, everything is fine. Thanks for the explanation. If you use emote to create a new app as you describe, I would be interested. I am not exactly a DIY guy when it comes to apps, but I do see the benefit of what you are saying. Mark I get it now! Like I said earlier, Im not a tech guy, I agree with Mark. This will be a wonderful tool. Good luck and please keep us posted.
|
|
|
Post by ultrasonic on Oct 7, 2016 12:32:48 GMT -5
Java may not work for everyone, but it's portable, and having the low level work handled in a toolkit makes it possible to focus on the niceties instead of slogging around in the muck. Nice contribution ultrasonic ! Is it really four years? Oh my god ... I remembered that there were several approaches developing apps for the XMC-1. Maybe it's worth getting these things off the archive and start coding again? I am also working on a Swift-based Emote implementation to build iOS, macOS and watchOS apps, but these aren't ready to show yet.
|
|
KeithL
Administrator
Posts: 10,276
|
Post by KeithL on Oct 7, 2016 13:28:58 GMT -5
Keep an eye out for some interesting announcements along these lines in the next week or two... May not be what you're expecting... And you may really like it... No hints...
|
|
|
Post by qdtjni on Oct 7, 2016 13:39:00 GMT -5
Keep an eye out for some interesting announcements along these lines in the next week or two... May not be what you're expecting... And you may really like it... No hints... I hope it's TCP based.
|
|
|
Post by ultrasonic on Oct 7, 2016 15:21:56 GMT -5
Keep an eye out for some interesting announcements along these lines in the next week or two... May not be what you're expecting... And you may really like it... No hints... Just one: Should I wait before I spend any more time on this?
|
|
|
Post by ÈlTwo on Oct 7, 2016 15:57:43 GMT -5
Keep an eye out for some interesting announcements along these lines in the next week or two... May not be what you're expecting... And you may really like it... No hints... Keith, you've really got to start using other smileys
|
|
|
Post by AudioHTIT on Oct 7, 2016 20:08:57 GMT -5
Keep an eye out for some interesting announcements along these lines in the next week or two... May not be what you're expecting... And you may really like it... No hints... Keith, you've really got to start using other smileys Right??? 😜 😆 😶 ☠️
|
|
|
Post by AudioHTIT on Oct 7, 2016 20:18:01 GMT -5
Java may not work for everyone, but it's portable, and having the low level work handled in a toolkit makes it possible to focus on the niceties instead of slogging around in the muck. Nice contribution ultrasonic ! Is it really four years? Oh my god ... I remembered that there were several approaches developing apps for the XMC-1. Maybe it's worth getting these things off the archive and start coding again? Well, not this guy, I retired not long after that and I amazed at how little I miss the things I've forgotten ... 😄 ... hmm, I like that, think I might quote myself. 🤔
|
|