Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [Request] Hyperion App

    Reply
    Page 1 of 2 | 1   2   | Next
    cvp | # 1 | 2014-10-27, 23:06 | Report

    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
    Originally Posted by
    Hi. So I'm looking for someone who can possibly help me to write a program. It is a real simple program shown and I hope it will be easy the programming for the person

    Of course I would like to have more function, like eg Change colors or modes. But I would be satisfied without first time.

    If the picture is not understandable:
    It is a program where one enters a Raspberry Pi (RPi). This should automatically connect to it as soon as you start the app. You should be able to add more servers and are listed. The program will connect via SSH to the RPi. So I want to avoid annoying terminal input. In the Cover Page should be two commands can run "killall ambi-tv" and "reboot".
    It would also be nice if you could change the commands of the Cover Page inviduell.

    Page 1: Server list / pulldown menu: Add Server
    Page 1 Cover Page settings => about add RPi Server / if it is possible!
    Page 2: add server information / maybe pulldown menu: delete information

    press and hold on stored server => opens a menu to delete to the server.

    I would be very happy if someone could with managed it so. Unfortunately I have no programming knowledge. Therefore, I have only done what you see on the picture. And with copying and pasting from another app (SMPC)


    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by cvp; 2014-12-28 at 19:09.

     
    juiceme | # 2 | 2014-10-28, 16:01 | Report

    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!

    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?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    cvp | # 3 | 2014-10-28, 16:59 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    juiceme | # 4 | 2014-10-28, 17:09 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    cvp | # 5 | 2014-10-28, 17:22 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    mrsellout | # 6 | 2014-10-28, 17:25 | Report

    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'
    This would work over WLAN, and needs your pi to have a fixed ip address (probably easiest to do in your router)

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    evk | # 7 | 2014-10-28, 17:34 | Report

    OneSSHot could also be useful for this.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    juiceme | # 8 | 2014-10-28, 17:35 | Report

    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

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    cvp | # 9 | 2014-10-28, 17:45 | Report

    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

    I think a password is required to connect to the RPi for the command line

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by cvp; 2014-10-28 at 17:48.

     
    juiceme | # 10 | 2014-10-28, 17:47 | Report

    Originally Posted by cvp View Post
    if its help:
    https://github.com/poljvd/hyperion-webapp
    Yes, it's all javascript, very easy to modify

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 1 of 2 | 1   2   | Next
vBulletin® Version 3.8.8
Normal Logout