![]() |
[Request] Hyperion App
NEW WISH - 28.12.2014
I am change now my Raspberry Pi Amilight system from Hyperion+Ambi-TV to ONLY Hyperion! Now i wish me only a port from the Hyperion (web) App to Sailfish. Source: https://github.com/Gamadril/hyperion-remote is it usefull for someone? OLD WISH Quote:
|
Re: [Request] - SSH connection to RPi (Hyperion/Ambi-TV) App
Unfortunately I cannot see the picure correct, the link goes to some horrible page that has pop-up adverts that go in the front of the picture! :mad:
However, I understand that you want to create an application that you can send signals to one or more Raspberry PI's? Is the connection to be via WLAN? And the application cover actions (swipe left/swipe right) are to activate the commands? |
Re: [Request] - SSH connection to RPi (Hyperion/Ambi-TV) App
Ok i will never use tinypic page. Hope this is now better.
Yes i want send signals to one Raspberry pi over Wlan and or 3G (DynDNS) but Dyndns is not importend both or other commands needs ssh connection to kill some prozedur or reboot/start somthing other things. And yes swipe from cover action/page will send the commands eg "killall ambi-tv" or "reboot" to restart the pi. this is my first wish :) I use my Raspberry Pi for Ambilight (TV). It use Ambi-TV and Hyperion. Hyperion needs to change a spezific color Ambi-TV is for Ambilight effect like Philips TVs. The thing is, i dont want to have only Ambilight, this is why i need the command "killall ambi-tv", than i can open the Android app "Hyperion" and can change the color to white or what ever. A Sailfish App for this is welcome :) The Hyperion App is not connected over SSH... it use PORT: 19444 sorry for my english, but i hope you understand my wishes :) |
Re: [Request] - SSH connection to RPi (Hyperion/Ambi-TV) App
Okay, I had to google ambilight and hyperion, having never heard about those?
So now I understand, you have a raspberry that is controlling a strip of RGB leds behind television, and there are 2 different programs it can run, ambilight which will change the light based on the television program, and hyperion which can show a single programmed colour, right? Also there's some android thing to set up those programs? Now I wonder, if you want to use those both, why not create a single application on the raspberry that can do both, then you'd not need any killing-of-applications, just command it to be in mode A or mode H (or whatever you'd call it :)) Also, you'd need no android to setup the colour, that could be done via the same Sailfish application. |
Re: [Request] - SSH connection to RPi (Hyperion/Ambi-TV) App
Super better than you I could not explain it :)
It would be nice to have both in one program, if that is possible. Only you have to kill Ambi-TV to utilize the Hyperion! There are two connection required. 1) to stop Ambi-TV and/or reboot RPi (via SSH) 2) to control Hyperion, Port: 19444 But as I said. My programming skills are from 0. That's why I'm looking for someone who can help me there. |
Re: [Request] - SSH connection to RPi (Hyperion/Ambi-TV) App
If you look up how to do key-based authentication for ssh (eg [1]), it's not too difficult to then create an icon that executes the command
Code:
ssh pi@piaddress -t 'command' If you want to then start an Android app, you could put all this into a script. [1] http://docs.fedoraproject.org/en-US/...-keypairs.html |
Re: [Request] - SSH connection to RPi (Hyperion/Ambi-TV) App
OneSSHot could also be useful for this.
|
Re: [Request] - SSH connection to RPi (Hyperion/Ambi-TV) App
Well yes, doing what you require is fairly easy. You can invoke a ssh command to the target raspberry from QML easily. I think the default "empty" SDK project even has enough functionality to build this, with adding just a SshConnection class :D
If you want to combine the functionality in raspberry, that requires some programming in the PI end. I am not sure about how those applications are done, but they might even be running in python or javascript, in which case the modification would be pretty easy :) If the sources are not available, then it is more difficult as the application would be needed to be done from scratch. |
Re: [Request] - SSH connection to RPi (Hyperion/Ambi-TV) App
if its help:
https://github.com/poljvd/hyperion-webapp @mrsellout i fix all ip adress from device in my router. I hate it if its change :D I think a password is required to connect to the RPi for the command line |
Re: [Request] - SSH connection to RPi (Hyperion/Ambi-TV) App
Quote:
|
All times are GMT. The time now is 07:28. |
vBulletin® Version 3.8.8