1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

REQUEST Hyperion statistics

Discussion in 'Feature Requests' started by Brindosch, 16 May 2016.

?

Integrate a "call back" to Hyperion?

  1. Yes, it is ok to gather such information but NOT MORE! We respect your privacy!

  2. No, i really don´t like the idea

  3. Whatever! It doesn´t matter that much.

Results are only viewable after voting.
  1. Brindosch

    Brindosch Active Member

    Messages:
    678
    Hardware:
    RPi1/Zero, RPi2, RPi3, +nodeMCU/ESP8266
    I want to open a discussion if YOU would agree that we implement a "call back" into Hyperion that submit the following information on every startup to our webpage.

    Distribution: example: OpenELEC, LibreELEC, OSMC, Raspbian etc..
    Platform: example RaspberryPi1, RaspberryPi2, Amlogic, X86_64 etc...
    A unique id: We need a ID that will be created during runtime that we don´t count one hyperion more than one time.

    So we will get a good view on which platforms Hyperion runs on.
    This data could be very helpful if we need to deprecate old libs/dependencies that we know if it will affect many users or not. This helps us the keep the code as clean as possible.

    Note: The code is open source - you could really control yourself!


    /discuss
     
    Last edited: 16 May 2016
  2. penfold42

    penfold42 Moderator Developer

    Messages:
    750
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    I'd be happier with a user initiated Hyperion-register script

    While we're at it, we should do a log+config uploader too
     
  3. Rick164

    Rick164 Administrator Staff Member Administrator

    Messages:
    190
    Hardware:
    RPi2, +Arduino, +AtmoOrb
    Could make it part of the install script with a default opt-out like so:

    > Do you want to share Hyperion usage statistics (device / platform name only!) to help improve and prioritize development? y/N

    If selected on each Hyperion daemon startup it does a one time callback including the stats listed in the first post :)
     
    • Agree Agree x 1
  4. Brindosch

    Brindosch Active Member

    Messages:
    678
    Hardware:
    RPi1/Zero, RPi2, RPi3, +nodeMCU/ESP8266
    User input is a problem for our install process atm :)
    But i also thought about a opt-out option.
    maybe via the .json? If you add a flag, it won´t submit data.
     
  5. Brindosch

    Brindosch Active Member

    Messages:
    678
    Hardware:
    RPi1/Zero, RPi2, RPi3, +nodeMCU/ESP8266
    You could really easy get a log of Hyperion. I am not sure if it is necessary to write a log on systemd systems. everything is stored at the journalctl database. Also it is flash based (Pi) we should not really do some more write cycles to it :)

    But a option that you could easy use from a smartphone may be very handy!
     
  6. Rick164

    Rick164 Administrator Staff Member Administrator

    Messages:
    190
    Hardware:
    RPi2, +Arduino, +AtmoOrb
    We could make it part of the init / service script with the opt-out flag in there, that way we can keep it separate and not have it in Hyperion code :)
     
    Last edited: 17 May 2016
  7. Brindosch

    Brindosch Active Member

    Messages:
    678
    Hardware:
    RPi1/Zero, RPi2, RPi3, +nodeMCU/ESP8266
    This is a very interesting idea. Could be my own! :D
    Create s sha256 hash out of MAC and system or some other values.
     
    • Like Like x 1
  8. Rick164

    Rick164 Administrator Staff Member Administrator

    Messages:
    190
    Hardware:
    RPi2, +Arduino, +AtmoOrb
  9. Brindosch

    Brindosch Active Member

    Messages:
    678
    Hardware:
    RPi1/Zero, RPi2, RPi3, +nodeMCU/ESP8266
    Hm, on my vm i don´t get serial number for my cpu. So we should use values that are available on all platforms.
     
    • Agree Agree x 1
  10. Brindosch

    Brindosch Active Member

    Messages:
    678
    Hardware:
    RPi1/Zero, RPi2, RPi3, +nodeMCU/ESP8266
    @Rick164
    which way would be the easiest to push these values to the page?
    Of course via a secured connection! But how? :D
    To store it?

    Also: These statistic could be see by everyone (device/distribution share). Would be interesting i think and don´t harm anything.
     
  11. Rick164

    Rick164 Administrator Staff Member Administrator

    Messages:
    190
    Hardware:
    RPi2, +Arduino, +AtmoOrb
    Was thinking about using Piwi but will need to dig into their API options a bit, that would make it secure and we get combined statistics with a nice UI :)
     
  12. Brindosch

    Brindosch Active Member

    Messages:
    678
    Hardware:
    RPi1/Zero, RPi2, RPi3, +nodeMCU/ESP8266
    Like the idea.
     
  13. Rick164

    Rick164 Administrator Staff Member Administrator

    Messages:
    190
    Hardware:
    RPi2, +Arduino, +AtmoOrb
  14. Brindosch

    Brindosch Active Member

    Messages:
    678
    Hardware:
    RPi1/Zero, RPi2, RPi3, +nodeMCU/ESP8266
    The aggregation of charts out of this might be interesting. If a call is enough with ID=hSdf82Fas8&distro=OpenELEC&platform=BCM2708 would be great.
    If piwik could process this.
     
  15. redPanther

    redPanther Moderator Developer

    Messages:
    211
    Hardware:
    RPi1/Zero, RPi2, 32/64bit, +Arduino
    As id for an installation we can use mac adress of first device. I have cpp and bash code for.rhat somwhere on my hdd.

    Cheers