Thread
:
[Announce] Pierogi - a universal infrared remote control app
View Single Post
chewster
2014-04-13 , 17:36
Posts: 7 | Thanked: 6 times | Joined on Jan 2010
#
1142
Epic thread. Good to see that devs are still active for N900 apps.
I myself moved to a GS4 a little while ago. I have to admit, it is a much better phone. I do miss the openness of having a full linux phone, but I don't miss all of the fun quirks when it came to the actual phone part.
That being said, the N900 is still an epic little computer! I'm trying to bring some life back into mine and have been working on a personal project to create a hacked-up jukebox type device connected to a stereo with a web based UI.
So far, I've managed to get the following working pretty well:
Mounting NAS and syncing music to device nightly via script
Running MPD on device (works with MPD remote apps in Android, using desktop MPD clients or over SSH, but not geeky enough.)
Running lighttpd and php on device (surprisingly well performing!)
running old PHP MPD remote apps in lighttpd which can play music and manage the queue*
DNS masq from music.net on my router to the PHP file on N900 ip.
*I've still got some work to do on the PHP UI. It can pull playlists and the full song list from the MPD DB, but for whatever reason, it doesn't have the artist>album>song hierarchy. Also, no way to put the play queue into random mode or move songs up/down. Might be something the original PHP dev never implemented. I'm pretty sure I can figure this out with some effort. And I'm likely going to have to as I can't find any modern PHP MPD clients or any with active development.
So where does pierogi come into this?
Well, right now, I need to turn my stereo on/off and adjust volume with the low tech original remote. That doesn't satisfy my inner nerd in the slightest. In my use case, I'm never actually touching my N900. It just sits on top of the stereo and plays music when the web UI tells it to.
Conveniently, the stereo 'tower' is inside of a glass cabinet. If I point the N900 just right with the door closed, the reflection on the glass works and I can control it with pierogi.
The problem in my case of course is that I don't want to touch the N900 (ever). I read through some of the history on this thread and through your documentation. Did you ever get a CLI running? What I would like to do is take advantage of all the protocol work that you did and call pierogi buttons from bash scripts from PHP. I'd add some PHP code and introduce buttons in my web UI for power and volume.
I've looked through your source, but I can't wrap my head around how the protocols actually work (Kaseikyo using the PanasonicAudio2 keyset; working flawless on Panasonic SA-AK40). Way too complicated for my current skill.
I was thinking that as more and more people need a non-phone use for their N900, that adding a CLI to pierogi could turn it into an IR blaster of sorts for the bash script happy like me. You could even write a PHP web ui in theory giving people whole home IR blaster capability.
Unfortunately, my C++ foo is limited to reading it and getting the gist. I've never written anything so adding a CLI to your app is out of my current capabilities.
If you are not interested in a CLI at the moment, perhaps you might be willing to share some info on constructing the command array[s] based on the protocol above? I'm assuming that if I modprobe the lirc0 device and echo a proper array to it that it would actually transmit?
I can easily create and destroy the device, just have no idea how to 'make it go' in bash.
Lastly, really well done on this app! Not only is it really well designed and implemented, but your commitment to the app and the users is truly amazing and impressive.
Quote & Reply
|
The Following 2 Users Say Thank You to chewster For This Useful Post:
Copernicus
,
reinob
chewster
View Public Profile
Send a private message to chewster
Find all posts by chewster