Skip to content

Instantly share code, notes, and snippets.

@EverythingSmartHome
Last active May 6, 2024 17:22
Show Gist options
  • Star 18 You must be signed in to star a gist
  • Fork 6 You must be signed in to fork a gist
  • Save EverythingSmartHome/e4151d7e9b7c1c953a72ddb536730c6d to your computer and use it in GitHub Desktop.
Save EverythingSmartHome/e4151d7e9b7c1c953a72ddb536730c6d to your computer and use it in GitHub Desktop.
Installs HyperHDR v16.0.0.1
sudo apt update && sudo apt upgrade -y
wget https://github.com/awawa-dev/HyperHDR/releases/download/v16.0.0.1/HyperHDR-16.0.0.1-Linux-`uname -m`.deb
sudo apt install ./HyperHDR-16.0.0.1-Linux-`uname -m`.deb
sudo sed -i '/^User/d' /etc/systemd/system/hyperhdr\@.service
sudo systemctl daemon-reload
sudo service hyperhdr@pi restart
sudo service hyperhdr@pi status
@Trevorlg
Copy link

Trevorlg commented Feb 14, 2022

17.0.0.0 is released, mod to:

wget https://github.com/awawa-dev/HyperHDR/releases/download/v17.0.0.0/HyperHDR-17.0.0.0-Linux-`uname -m`.deb
sudo apt install ./HyperHDR-17.0.0.0-Linux-`uname -m`.deb

Rest is the same

If upgrading, you will need to uninstall HyperHDR first:
Note: Don't forget to export your config first. My config survived, but better safe than sorry
sudo apt remove hyperhdr

NoteThen run the rest of the commands to reinstall HyperHDR

@TarcisioMenezes
Copy link

What is sudo sed -i '/^User/d' /etc/systemd/system/hyperhdr\@.service for?

@l-gothberg
Copy link

Time to update your script to the newest version of HyperHDR, now on 17.0.0.0

@l-gothberg
Copy link

What is sudo sed -i '/^User/d' /etc/systemd/system/hyperhdr\@.service for?

Seems to be initializing the service for the current user. The '/^User/d' is grabbing the username, and the rest of the command is saving the config to a file for later use.

@lenigma1
Copy link

What is sudo sed -i '/^User/d' /etc/systemd/system/hyperhdr\@.service for?

Seems to be initializing the service for the current user. The '/^User/d' is grabbing the username, and the rest of the command is saving the config to a file for later use.

The Beta 18.0.0. Interestingly enough has a toggle for auto updating, that after chatting with the dev on his *.org site of virtually the same name explains it IS functional - perfect for the folks using a PC, or a secondary old laptop ( I fitted my son's gaming PC with HyperHDR being run from my first laptop I bought brand new off the shelf - a SIXTEEN year old Dell Inspiron 1525, running a processor that didn't get released till roughly 3 years after the 1525 was discontinued 😅 It's doing a bang up job too I might add!!).

This program here truly is next level immersion!
Integrated with my 5 RGB pit lights, 2 desk lamps flanking the 65" OLED, and even the new diffused RGB baseboards I've been tinkering with and building - this program is simply AMAZING with everything it does (via HyperSPI) and the virtually limitless integration!!

For some reason I felt compelled to pass that on to you. Unsure why this ended up as a life story of my use case for hyper HDR, lol!

@vraengmose
Copy link

vraengmose commented Jul 18, 2022

Tried with a Raspberry Pi 2 Mobel B Rev 1.1 any reason why it will not work with:

sudo apt update && sudo apt upgrade -y
wget https://github.com/awawa-dev/HyperHDR/releases/download/v17.0.0.0/HyperHDR-17.0.0.0-Linux-uname -m.deb
sudo apt install ./HyperHDR-17.0.0.0-Linux-uname -m.deb
sudo sed -i '/^User/d' /etc/systemd/system/hyperhdr\@.service
sudo systemctl daemon-reload
sudo service hyperhdr@pi restart
sudo service hyperhdr@pi status

Status tells me:

hyperhdr@pi.service - HyperHdr ambient light systemd service for user pi
Loaded: loaded (/etc/systemd/system/hyperhdr@.service; disabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: signal) since Mon 2022-07-18 23:06:20 BST; 1s ago
Process: 8133 ExecStart=/usr/bin/hyperhdr (code=killed, signal=ILL)
Main PID: 8133 (code=killed, signal=ILL)
CPU: 108ms

But no webservice on http://ip.adr:8090

@lars79
Copy link

lars79 commented Jul 19, 2022

Tried with a Raspberry Pi 2 Mobel B Rev 1.1 any reason why it will not work with:

sudo apt update && sudo apt upgrade -y wget https://github.com/awawa-dev/HyperHDR/releases/download/v17.0.0.0/HyperHDR-17.0.0.0-Linux-uname -m.deb sudo apt install ./HyperHDR-17.0.0.0-Linux-uname -m.deb sudo sed -i '/^User/d' /etc/systemd/system/hyperhdr\@.service sudo systemctl daemon-reload sudo service hyperhdr@pi restart sudo service hyperhdr@pi status

Status tells me:

hyperhdr@pi.service - HyperHdr ambient light systemd service for user pi Loaded: loaded (/etc/systemd/system/hyperhdr@.service; disabled; vendor preset: enabled) Active: activating (auto-restart) (Result: signal) since Mon 2022-07-18 23:06:20 BST; 1s ago Process: 8133 ExecStart=/usr/bin/hyperhdr (code=killed, signal=ILL) Main PID: 8133 (code=killed, signal=ILL) CPU: 108ms

But no webservice on http://ip.adr:8090

It's the same for me, the same configuration Rpi 2B v1.1

@vraengmose
Copy link

pi

Fund out i was stubpid and startet the servic with wrong account. But looks better now, still no website thou on my Raspberry Pi 2 Mobel B Rev 1.1 :-(

● hyperhdr@admttv.service - HyperHdr ambient light systemd service for user ad> Loaded: loaded (/etc/systemd/system/hyperhdr@.service; enabled; vendor pre> Active: activating (auto-restart) (Result: signal) since Tue 2022-07-19 22> Process: 2199 ExecStart=/usr/bin/hyperhdr (code=killed, signal=ILL) Main PID: 2199 (code=killed, signal=ILL) CPU: 128ms

@lars79
Copy link

lars79 commented Jul 19, 2022

File renaming worked for me:
sudo apt update && sudo apt upgrade -y
wget https://github.com/awawa-dev/HyperHDR/releases/download/v17.0.0.0/HyperHDR-17.0.0.0-Linux-armv6l.deb
sudo apt install ./HyperHDR-17.0.0.0-Linux-armv6l.deb
sudo sed -i '/^User/d' /etc/systemd/system/hyperhdr@.service
sudo systemctl daemon-reload
sudo service hyperhdr@pi restart
sudo service hyperhdr@pi status

@vraengmose
Copy link

Great worked for me now... Thanks Lars!

File renaming worked for me: sudo apt update && sudo apt upgrade -y wget https://github.com/awawa-dev/HyperHDR/releases/download/v17.0.0.0/HyperHDR-17.0.0.0-Linux-armv6l.deb sudo apt install ./HyperHDR-17.0.0.0-Linux-armv6l.deb sudo sed -i '/^User/d' /etc/systemd/system/hyperhdr@.service sudo systemctl daemon-reload sudo service hyperhdr@pi restart sudo service hyperhdr@pi status

@vinnybad
Copy link

vinnybad commented Dec 8, 2022

Updated for 18.x

sudo apt update && sudo apt upgrade -y
wget https://github.com/awawa-dev/HyperHDR/releases/download/v18.0.0.0/HyperHDR-18.0.0.0-Linux-`uname -m`.deb
sudo apt install ./HyperHDR-18.0.0.0-Linux-`uname -m`.deb
sudo sed -i '/^User/d' /etc/systemd/system/hyperhdr\@.service
sudo systemctl daemon-reload
sudo service hyperhdr@pi restart
sudo service hyperhdr@pi status

@kamilk91
Copy link

Guys, shouldn't it be hyperdr@root? i had a problem with permissions to using phisical ports.

@wifidoneright
Copy link

Warning

For those who are installing HyperHDR > 16 and are trying to use the Hyperion Home assistant integration. 118 explains that the API for HyperHDR has changed. Shoutout to @mjoshd for creating a hyperHDR integration. Check it out here. https://github.com/mjoshd/hyperhdr-ha

@Maciox55
Copy link

Maciox55 commented Jun 9, 2023

For HyperHDR v19:

sudo apt update && sudo apt upgrade -y
wget https://github.com/awawa-dev/HyperHDR/releases/download/v19.0.0.0/HyperHDR-19.0.0.0-Linux-`uname -m.deb sudo apt install ./HyperHDR-19.0.0.0-Linux-uname -m`.deb
sudo sed -i '/^User/d' /etc/systemd/system/hyperhdr@.service
sudo systemctl daemon-reload
sudo service hyperhdr@pi restart
sudo service hyperhdr@pi status

@HakanOez
Copy link

For v19 inspired by @lars79 this worked for me:

sudo apt update && sudo apt upgrade -y
wget https://github.com/awawa-dev/HyperHDR/releases/download/v19.0.0.0/HyperHDR-19.0.0.0-Linux-armv6l.deb
sudo apt install ./HyperHDR-19.0.0.0-Linux-armv6l.deb
sudo sed -i '/^User/d' /etc/systemd/system/hyperhdr@.service
sudo systemctl daemon-reload
sudo service hyperhdr@pi restart
sudo service hyperhdr@pi status

@ashish-kumar1011
Copy link

Can someone help me with error that I got when I executed above scripts

`● hyperhdr@pi.service - HyperHdr ambient light systemd service for user pi
Loaded: loaded (/etc/systemd/system/hyperhdr@.service; disabled; vendor preset: enabled)
Active: active (running) since Thu 2023-12-28 17:48:23 IST; 176ms ago
Main PID: 14452 (hyperhdr)
Tasks: 1 (limit: 779)
CPU: 14ms
CGroup: /system.slice/system-hyperhdr.slice/hyperhdr@pi.service
└─14452 /usr/bin/hyperhdr

Dec 28 17:48:23 raspberrypi systemd[1]: Started HyperHdr ambient light systemd service for user pi.
Dec 28 17:48:23 raspberrypi hyperhdr[14452]: /usr/bin/hyperhdr: error while loading shared libraries: libudev.so.1: cannot open shared object file: No suc>
Dec 28 17:48:23 raspberrypi systemd[1]: hyperhdr@pi.service: Main process exited, code=exited, status=127/n/a
Dec 28 17:48:23 raspberrypi systemd[1]: hyperhdr@pi.service: Failed with result 'exit-code'.
`

@meictec
Copy link

meictec commented Jan 6, 2024

Update v20.0.0.0beta1

sudo apt update && sudo apt upgrade -y
wget https://github.com/awawa-dev/HyperHDR/releases/download/v20.0.0.0beta1/HyperHDR-20.0.0.0beta1-Linux-`uname -m`.deb
sudo apt install ./HyperHDR-20.0.0.0beta1-Linux-`uname -m`.deb
sudo sed -i '/^User/d' /etc/systemd/system/hyperhdr\@.service
sudo systemctl daemon-reload
sudo service hyperhdr@pi restart
sudo service hyperhdr@pi status

@umidmurad
Copy link

umidmurad commented Jan 21, 2024

Hello all,

I have Raspberry PI 3 v2. I initially installed the first code @EverythingSmartHome provided above. After a while, lights would not work sometimes. I decided to dive deeper and realized I am on the old version. I uninstalled the version I had with:
sudo apt remove hyperhdr
Remember to save your configurations, LED count and etc. All will be deleted
I tried to use @meictec 's code since it was the latest. However, it wouldn't work for me.
I tried to run uname -m and realized that my device architecture is armv7l, which latest 20beta1 does not support. At least they didn't have the file there. However v19 did have it. So I I change it to this, and worked fine. :)

sudo apt update && sudo apt upgrade -y
wget https://github.com/awawa-dev/HyperHDR/releases/download/v19.0.0.0/HyperHDR-19.0.0.0-Linux-`uname -m`.deb
sudo apt install ./HyperHDR-19.0.0.0-Linux-`uname -m`.deb
sudo sed -i '/^User/d' /etc/systemd/system/hyperhdr\@.service
sudo systemctl daemon-reload
sudo service hyperhdr@pi restart
sudo service hyperhdr@pi status

@dkedinger
Copy link

dkedinger commented May 6, 2024

For anyone else that ends up here to I have updated it with the newest version of HyperHDR 20.0.0.

sudo apt update && sudo apt upgrade -y
wget https://github.com/awawa-dev/HyperHDR/releases/download/v20.0.0.0/HyperHDR-20.0.0.0-Linux-`uname -m`.deb
sudo apt install ./HyperHDR-20.0.0.0-Linux-`uname -m`.deb
sudo sed -i '/^User/d' /etc/systemd/system/hyperhdr\@.service
sudo systemctl daemon-reload
sudo service hyperhdr@pi restart
sudo service hyperhdr@pi status

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment