-
-
Save EverythingSmartHome/e4151d7e9b7c1c953a72ddb536730c6d to your computer and use it in GitHub Desktop.
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 |
What is sudo sed -i '/^User/d' /etc/systemd/system/hyperhdr\@.service
for?
Time to update your script to the newest version of HyperHDR, now on 17.0.0.0
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.
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!
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:
● [email protected] - HyperHdr ambient light systemd service for user pi
Loaded: loaded (/etc/systemd/system/[email protected]; 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
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:
● [email protected] - HyperHdr ambient light systemd service for user pi Loaded: loaded (/etc/systemd/system/[email protected]; 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
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 :-(
● [email protected] - HyperHdr ambient light systemd service for user ad> Loaded: loaded (/etc/systemd/system/[email protected]; 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
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/[email protected]
sudo systemctl daemon-reload
sudo service hyperhdr@pi restart
sudo service hyperhdr@pi status
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/[email protected] sudo systemctl daemon-reload sudo service hyperhdr@pi restart sudo service hyperhdr@pi status
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
Guys, shouldn't it be hyperdr@root? i had a problem with permissions to using phisical ports.
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
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/[email protected]
sudo systemctl daemon-reload
sudo service hyperhdr@pi restart
sudo service hyperhdr@pi status
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/[email protected]
sudo systemctl daemon-reload
sudo service hyperhdr@pi restart
sudo service hyperhdr@pi status
Can someone help me with error that I got when I executed above scripts
`● [email protected] - HyperHdr ambient light systemd service for user pi
Loaded: loaded (/etc/systemd/system/[email protected]; 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/[email protected]
└─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]: [email protected]: Main process exited, code=exited, status=127/n/a
Dec 28 17:48:23 raspberrypi systemd[1]: [email protected]: Failed with result 'exit-code'.
`
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
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
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
17.0.0.0 is released, mod to:
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