I Control EVERYTHING with this Raspberry Pi

  Рет қаралды 289,871

Jeff Geerling

Jeff Geerling

Күн бұрын

Пікірлер: 485
@JohnneyleeRollins
@JohnneyleeRollins 16 күн бұрын
it even controlled my attention span for almost nine minutes wow
@JeffGeerling
@JeffGeerling 16 күн бұрын
sorry about that!
@Uberragen21
@Uberragen21 12 күн бұрын
Amazing! You're adulting now...
@A453
@A453 11 күн бұрын
Linux news is quite good at that.
@NickyNiclas
@NickyNiclas 16 күн бұрын
You could add a button in the dashboard that sends the kill kiosk command using the Shell Command integration. I use that a lot for various things.
@JeffGeerling
@JeffGeerling 16 күн бұрын
Oh, haven't even thought of doing that! A lot you could do tying the display to Home Assistant more directly!
@FlexibleToast
@FlexibleToast 16 күн бұрын
I thought that was where he was going with it. Seemed like a fairly obvious solution.
@V8VRUte
@V8VRUte 16 күн бұрын
I came here to say the same thing
@linuxdragon57
@linuxdragon57 15 күн бұрын
I just use the openbox window manager. It has built-in support for putting the screen to sleep when not in use. In ~/.config/openbox/autostart, I put my script to launch chromium in kiosk mode. And then ~/.xinitrc launches openbox-session. And logging in triggers startx in my ~/.bashprofile. Systemd uses agetty to automatically log in the kioskuser on tty1 on boot.
@siberx4
@siberx4 15 күн бұрын
Not only that, you could likely rig up a slider control to send screen brightness adjustment commands to the tablet via scripting too.
@PiotrekR-aka-Szpadel
@PiotrekR-aka-Szpadel 16 күн бұрын
There is a way to rotate the screen using kernel cmd params - it's very poorly documented and not well known you can add `video=DSI-1:panel_orientation=right_side_up` you might need to replace DSI-1 with something different, but you get the point
@ThibaultJochem
@ThibaultJochem 16 күн бұрын
Came here to say that :D
@JeffGeerling
@JeffGeerling 16 күн бұрын
Thanks! Opened an issue in my pi-kiosk project and will see if it works! github.com/geerlingguy/pi-kiosk/issues/3
@goldfingerdash
@goldfingerdash 16 күн бұрын
Thanks for the comment. This also works with the reTerminal. I just tested it.
@JeffGeerling
@JeffGeerling 16 күн бұрын
@@goldfingerdash It worked!!! Thank you :)
@sebarsS9
@sebarsS9 16 күн бұрын
On which pis/ pi oses does this work? Only Pi 5?
@techdude1541
@techdude1541 16 күн бұрын
Our college capstone project was actually building out a custom car infotainment system (although we didn't have carplay) But for the hardware, we used a raspberry pi with touchscreen and a hifiberry dac to get composite audio then a car stereo amp to actually push it out to the speakers. Honestly unless you want a lot of software control in a pi I would consider a standard double din stereo. You don't have to worry about temperature issues and after costs are considered (crutchfield has stereos for ~$250-300) it's roughly the same
@zvpunry1971
@zvpunry1971 16 күн бұрын
5:45 Don't throw own service files to /lib/systemd/system/, there they belong to /etc/systemd/system/. But that is only for services that don't belong to some specific user. On a raspberry pi you have the default user that is automatically logged in. This user has its own systemd running, it is controlled with "systemctl --user ..." and has its service files in ~/.config/systemd/user/ That said, depending on your desktop environment (I assume raspberry pi defaults), there is another place to automatically start the script: ~/.config/autostart/ where you can put *.desktop files.
@JeffGeerling
@JeffGeerling 16 күн бұрын
Good points! Could you raise an issue about that on GitHub, would be nice to keep things user-specific since they're not system-wide.
@zvpunry1971
@zvpunry1971 16 күн бұрын
@@JeffGeerling rGunti was faster ;)
@AndersJackson
@AndersJackson 10 күн бұрын
@@JeffGeerling there are not a definite line where some things are users define and system defined. I would say that in the case of controlling the car or home assisten controller, it is system defined, but added by the local administrator. Like one add local administrators programs and scripts used by all users or system in /usr/local/{bin,sbin,lib} etc. There is where they are supposed to be put in Debian based Linux distributions. I strongly recommend reading A Debian Administrators Handbook", which are available as a package in Debian, as an eBook, Web pages at their site or can be bought as a ordinary book printed on processed dead trees (paper that is). There this differences are pointed out between package files and local administration files and user local files.
@thetinkerer5300
@thetinkerer5300 16 күн бұрын
I built a head unit out of pi 4 a few years back. I used a time delayed relay to control the power to the pi. When the pi is turned off it still consumes a small amount of power, like a a few hindered miliamps. That was enough to kill the car battery in 2-3 days. For sound, I used an external amp, the amp was fed audio through a usb sound card, some pulseaudio changes needed to be made to stop it from popping all the time. Amplifing from usb will feed ALL electrical noise from your car into speakers, it's truly awful, so you'll need a usb power conditioner between the port and the sound card. I think it was 5 - 10 bucks on amazon, and the best solution I had tried.
@theonlynafester
@theonlynafester 15 күн бұрын
same, I used the aux to a 25w amp and a ground loop isolator. Quality wasn't great.. but not bad. I didn't run it off the constant power line tbh but yeah, there's only one earth in a car which makes things tricky. I used the constant power line to run a a 12->5v bucky so I could have phone charging
@xshadow-0
@xshadow-0 15 күн бұрын
A few hundred milliamps while turned off? And it killed your battery in 2-3 days? An idle Pi while turned ON draws 540 mA. That still should kill a battery in over a week, most likely two weeks. Not to mention it's IMPOSSIBLE that it draws HUNDREDS of milliamps while OFF. It should've been fine for a few months. You must've done something wrong or had a bad battery. Besides, if you were concerned about power, why not power Pi from the lighter socket? It gets turned off along with ignition (at least in all cars I've ever seen).
@theonlynafester
@theonlynafester 15 күн бұрын
@xshadow-0 yup yup. This is why I was incredibly fortunate - I lived next door to a guy who did car audio and he made sure I didn't destroy my car and pi just for Waze and Spotify.
@AndersJackson
@AndersJackson 10 күн бұрын
@@xshadow-0 sounds like something else is drawing power through the RPi, if one get that much drawn when turned off. Maybe through USB or something like that. But yes, a relay will definitely turn the Pi and auxiliaries off when the car is not running. But there are other sources which will turn of when the key isn't on, that is better suited. It can be turned of by the Pi, with a self holding circuit, and then when turn of, the Pi can release the self holding relay. So it get started after the key has turned on, and turns of when ready when the key has turned off. One should probably think about the lower voltage when the car is starting.
@ExplainingComputers
@ExplainingComputers 16 күн бұрын
Fantastic! Surely the definitive Pi touchscreen video. :)
@JeffGeerling
@JeffGeerling 16 күн бұрын
I was imagining you could do something fun with it too. Maybe find a way to integrate the touchscreen with your custom Pi 500!
@Neilhuny
@Neilhuny 16 күн бұрын
@@JeffGeerling On behalf of @Chris_Barnatt - "Challenge Accepted" .... we await his output ...
@Maulana_rhodes
@Maulana_rhodes 16 күн бұрын
I read the comment in your voice
@ahmad-murery
@ahmad-murery 16 күн бұрын
Chris and Jeff together, what a day!
@Winnetou17
@Winnetou17 14 күн бұрын
@@ahmad-murery It's not the first day, but it's always a fantastic day!
@bennetb01
@bennetb01 16 күн бұрын
Old enough to vote but didn’t vote in the last election. Typical car.
@JeffGeerling
@JeffGeerling 16 күн бұрын
Haha
@Billcasiopost
@Billcasiopost 16 күн бұрын
That's a 10/10 comment.
@fierce134
@fierce134 16 күн бұрын
Great joke, no notes!
@musiqtee
@musiqtee 16 күн бұрын
Cars vote by breaking down (or not) on the last minute trip to the polling station…
@trowawayacc
@trowawayacc 16 күн бұрын
​@@musiqtee they have more agency than the world on choosing a guy or girl that controls the foremost military power on the planet. Sad.
@domramsey
@domramsey 16 күн бұрын
This is very cool. I want to say though that if you're specifically interested in Home Assistant, then an old Android tablet and the "Fully Kiosk" app is a much more useful - and useable option. You can have it run from boot, and it gives Home Assistant access to a load of the sensors on the tablet, meaning the front camera can be used to detect motion and automatically turn the screen on when someone stands in front of it. It's very powerful and given it's really just a wrapper for a web browser, it runs well even on old & low power tablets.
@U1TR4F0RCE
@U1TR4F0RCE 16 күн бұрын
Any recommendations for what are good choices? I’ve been thinking of a home assistant powered home inventory for a while but a display and connecting it to a barcode scanner are the two big hurdles.
@domramsey
@domramsey 16 күн бұрын
@@U1TR4F0RCE Not really, the tablet I use was a budget model when it came out in 2016. The only things I'd look out for is getting one with the Google Play store (or an easy way to add it), and not an absolute bottom of the line model, as that's going to be a bit unresponsive, which can get annoying.
@stubarnes1965
@stubarnes1965 16 күн бұрын
@@U1TR4F0RCE I have a couple of de-amazoned fire hd10 tablets, a Fire HD8, a Samsung Galaxy Tab A, an old Acer tablet and a couple of android phones running as HA touchscreens Running the HA android app. They all do a fine job. Since most android devices expose things like battery level the charger can be connected via a smart socket set to turn on at 10% battery and off at 90%. This reduces the problem of bloating batteries due to constant charging that some badly designed devices seem to suffer from. The HA server itself runs on an old Wyse thin client I had laying around.
@seanunderscorepry
@seanunderscorepry 16 күн бұрын
As someone with a car old enough to drink.. i'd love to follow this car play project if you want to expand on it.
@technikchaot
@technikchaot 16 күн бұрын
So a 16 year old car? A German here...
@primalaspid7197
@primalaspid7197 16 күн бұрын
@@technikchaot*14 if its owners allow it and are present
@allanisme3826
@allanisme3826 16 күн бұрын
my car is 22
@technikchaot
@technikchaot 16 күн бұрын
​@@primalaspid7197 I know. And in small Bavarian villages from day 1.
@KameraShy
@KameraShy 16 күн бұрын
My car is old enough for Medicare.
@_syedmx86
@_syedmx86 16 күн бұрын
8:45 No, 7 inches is enough for me Jeff.
@larryberry2436
@larryberry2436 16 күн бұрын
😂
@davemeech
@davemeech 14 күн бұрын
Don't buy into screen size shaming, they're all sufficient for their tasks
@Saturn2888
@Saturn2888 9 күн бұрын
I went searching and found this video. Was hoping it was a few years old and things had improved, but 7 days ago? Man, you worked on this at the perfect time!
@dudeh9702
@dudeh9702 16 күн бұрын
Home Assistant dashboard is a perfect use case (especially with dimming). I have a future project to build out a Hi-Fi music control interface (maybe piCorePlayer project) that pulls in my entire local (legal!) music collection from the NAS and outputs the audio through some fancy DACs and speakers, so I'm very happy there's a newer Pi display out.
@bdlii
@bdlii 7 күн бұрын
Great video! I’ve been working on repairing my magic mirror I built 6 years ago but screen failed a couple years ago. Got it working last night. Also fixed my OSMC Kodi Pi and have been using it to stream music. Both on Pi 3B’s. Helps when watching you talk about challenges and solutions. Appreciate all your work and sharing.
@chris-tal
@chris-tal 16 күн бұрын
It might be advisible to use a DC/DC converter in the car that has proper 12/24V UVLO limits which prevents accidental deep discharge. Also it needs to fully control power to the Pi (with it's power mgmt signals factored in) to avoid trickle current drain when it's powered down and goes to a simple halt() state (just like /w old AT PSUs) or get power from IGN as an alternative and loose the ability to to run it from the battery as a compromise and risk SD corruption (tmpfs/ssd/run with fs mounted ro?). An input circuit that has noise filtering and at least transient suppression ensures a long life for the Pi.
@scottn4963
@scottn4963 15 күн бұрын
I have the original display and paired with a rp3 the two projects i did were: 1) an insulin calculator (software i wrote) for a type 1 diabetic family member. And then when that wasn't needed anymore (they got better tech), i converted it to run crankshaft in my old 2008 car with a custom 3d printed mount to run android auto. These screens can be used for all sorts of projects, think i might try your home assistant project next. Thanks for the review, home assistant idea and walk through!
@direfbr
@direfbr 16 күн бұрын
I would like to suggest making an edit to your comment on WaveShare displays. I have the 10.1" DSI display for a project and it works almost out of the box, only 2 lines need to be added to the config.txt file once you write the SD card (not uncommon for DSI displays). Ask me this 2 months ago and I would agree that it had setup issues, but it appears to be more supported today! It is a great alternative to consider given the size and price. I was trying to use this display for a drone ground control station until I realized no GCS software works well on a Pi, so it has been sitting around since summer... Now I am making a Home Assistant dash like yours! I have done similar setup to your kiosk mode for a work project. I had it auto-load Firefox to a pre-defined page and automatically go into fullscreen mode (aka F11).
@aaron57422
@aaron57422 16 күн бұрын
The carplay dongle is interesting, hadn't heard of that before! But I would probably avoid using a screen with flaky touch response for my car, trying to wrestle with inconsistent touch input is not ideal at 60mph.
@musicamessage2915
@musicamessage2915 16 күн бұрын
you are correct. Even a car stereo with a cheap display is a bad idea at 60 mph. Been there, done that. I got to where I rarely used the stereo because i had to fuddle around with it and don't want to mess with it while driving.
@chompdoesathing
@chompdoesathing 16 күн бұрын
To be fair the UI of Android Auto and Car Play and OpenAuto/Dash are large and chunky and kind of built around super simple touch controls so even the old screen worked well and from my limited testing in an old build (15) of open auto the new one worked fine there too. Only thing of note I could figure out was there was no multitouch support in Android auto back then, but then again the 9" screen in my 5th gen RAM doesn't do that either so I think that's more of a platform limit than a screen issue (or it could be entirely supported now and I just don't have a new enough vehicle to test that against lol)
@markmuir7338
@markmuir7338 16 күн бұрын
Except most Tesla owners continuously tell me it’s fine to interact with a touchscreen at 60mph, and I’m an old man for telling them it’s only a matter of time before they kill someone. As a Tesla driver myself I just can’t understand them.
@pcurd
@pcurd 16 күн бұрын
I used the original screen to make a bedside smart screen, I wrote scripts to start KZbin in chrome, to stream my favourite radio station then turn the volume down and turn off the screen, and a few other night time things. Each script also had a shutdown command on a timer so after 2 hours it would shut the pi down. This didn’t turn it off-off (Pi 3, and later 4 problems) but I had a foot switch on an extension cable that I would hit every morning to turn it off properly. That same switch turned it back on when I wanted to use it. Paired with some USB speakers it worked fine but was bulky and eventually the footswitch technique got tedious so I replaced it with a cheap android tablet - although now I have to control the volume and turn off the screen manually. I also have to charge it every 5-7 days which is also annoying. One day I’ll build a perfect setup!
@faeranne
@faeranne 16 күн бұрын
The early rotation option is tricky but possible, as I'm pretty sure the driver used on this board uses the same kernel entrypoint that the old screen used, Kernel Mode Setting. It's just a kernel command line change (`video=DSI-1:800x480@60,rotate=90` for the original display, adjust resolution for display 2), which can be put into cmdline.txt on the boot partition. I believe even the config.txt can be set to rotate the pre-kernel boot screen (`display_lcd_rotate=1`), but only when used on a SD Card, and only for pre-kernel environment. NVME, USB, and Net boot all start after the bootloader starts rendering, only the SD Card is read before the GPU finishes starting up.
@Lachlan.Wright
@Lachlan.Wright 16 күн бұрын
I've got one of those EDA tec hmis, I want to make a kiosk to launch an industrial SCADA Ignition. Super keen to give it a try using your method. (I'm planning on having the PI host both Ignition via docker, and then run the web browser for the HMI part) A replacement is currently sitting on my desk because there were a few booting issues with the first one that was sent. This video got me excited again!
@JeffGeerling
@JeffGeerling 16 күн бұрын
Their gear is certainly robust! I may end up using one of their displays in my car instead of my homebrew solution.
@MrSeanroberts1969
@MrSeanroberts1969 16 күн бұрын
I’ve got CarPlay working on a pi4 using a 5 inch wave share screen and a dongle. The pi runs android and runs quite nicely off a usb connector in the car from the cigarette lighter port. Now it’s setup it boots and loads the dongle apk from boot up so takes about 30 - 40 seconds, whilst playing back via the aux input of the car. A 3D printed custom case I designed makes it fit perfectly. I can send you details if you want, and the touch screen seems a better response than the pi screen.
@hongkonghacker
@hongkonghacker 16 күн бұрын
You're always the best of Pi product!
@Augmented_AI
@Augmented_AI 16 күн бұрын
I’m glad the display has equal bezels. Helps my ocd
@AndersJackson
@AndersJackson 10 күн бұрын
Hm, you don't mean CDO, if you want to go all the way there. 🙂 . . . . . . . . . Sorry.
@thorsten9211
@thorsten9211 16 күн бұрын
Look Mum No Computer mentioned. Nice.
@JeffGeerling
@JeffGeerling 16 күн бұрын
Love his channel, love his vibe!
@thorsten9211
@thorsten9211 16 күн бұрын
@@JeffGeerling See him live, you wont regret it. (btw thanks for your work.)
@kattz753
@kattz753 16 күн бұрын
OMG. You are SO right about those cheap Amazon screens. I have two - both people were trying to give a thoughtful gift. I saw your first video about the new screen and realized that I still had them. I considered getting them out. I immediately got a headache. I'm going to send them to a thrift shop and get this screen. Maybe someone else will have better luck.
@MarcoGPUtuber
@MarcoGPUtuber 16 күн бұрын
I control EVERYTHING with my Raspberry Pi and use it to watch Jeff Geerling and hit the notification :P
@gruntlord6
@gruntlord6 16 күн бұрын
this is actually pretty helpful for a kiosk project I am working on, ever since porteous kiosk got scummy and decided to rugpull everyone using the software I have been looking to build something myself to replace it when the systems I am using ultimately need to be replaced
@lint7914
@lint7914 16 күн бұрын
Years ago I got the original Pi Touch Screen, a Raspberry Pi 3, a audio hat (forget the specific model) that I could wire the speakers up to, and one of the USB power switches from Mausberry Circuits to build a car computer. I did a similar thing as you, where it would launch Chrome into kiosk mode, and then I built a node.js custom touch interface that would switch between bluetooth audio, MPD, and rtl_fm. But it was always a little bit flakey (mostly the bluetooth) and didn't have CarPlay support (I don't think that dongle you mentioned was available then). So in the end, I ended up just buying one of those cheap Android dual-DIN car stereos on Amazon a couple years ago. It's not the greatest thing ever but it's a lot more reliable (and it spends most of it's time in CarPlay mode anyway). I do miss tinkering on the Pi car computer, though.
@paulh0029
@paulh0029 16 күн бұрын
Nice display, I use the touch display for a Software defined radio project and use LVGL library to have a responsive touch GUI. Have to try it with this new display
@pjmq
@pjmq 16 күн бұрын
Portrait can be set from grub so the terminal outputs in landscape I believe.
@JeffGeerling
@JeffGeerling 16 күн бұрын
AFAICT this isn't possible on the Pi... would love to find a way to do it though.
@jargolauda2584
@jargolauda2584 16 күн бұрын
In Linux, anything is possible. When ever someone uses the word can't, it means he can't, but Linux does not have any restrictions. Re-compile the kernel.
@jan_harald
@jan_harald 16 күн бұрын
​@@JeffGeerling why isn't it possible? at the boot log stage, it's just a framebuffer, after all using grub, on desktop, it'd be something like `GRUB_CMDLINE_LINUX="fbcon=rotate:1"` or `GRUB_CMDLINE_LINUX="video=efifb fbcon=rotate:1"` according to raspberry forums you would use `/boot/cmdline.txt` and put `fbcon=rotate:1` in it which is even more likely to work (since afaik pi doesn't use grub) of course, other numbers will rotate it other multiples of 90°
@fluoriteByte
@fluoriteByte 16 күн бұрын
​@@JeffGeerling i think you could use an option in the linux kernel's cmdline, if the raspberry pi is using u-boot/systemd-boot, then it should be a standalone file in /etc
@lukemillermakes
@lukemillermakes 11 күн бұрын
I think you can do this with "fbcon=rotate:1" in the grub config (boot/cmdline.txt) or in the config.txt "lcd_rotate=1" and "display_hdmi_rotate=1". I have a weird custom cyberdeck/pizero laptop I built that correctly shows portrait shell on boot--though it only shows in the middle of the 480x1920 widescreen display.
@sniff122plays
@sniff122plays 16 күн бұрын
Ive just recently ordered one of them as a proof of concept project for work, planning to use them for meeting room displays to show who has it booked, when, etc. Already have a web based frontend ive been testing and got a custom image build going that i setup with pi-gen that boots to an empty X session and launches chromium in kiosk mode
@xXhotshot55Xx
@xXhotshot55Xx 16 күн бұрын
This looks pretty nice, I might set one up for my living room to control home assistant.
@Miloking101
@Miloking101 16 күн бұрын
Ran a pi 4 and the original screen for about 2 years in my old car with open auto. Never had any issues with temperature and that was in Australia!
@paulhasser625
@paulhasser625 16 күн бұрын
This project could be what I need with one twist…my wife uses speech assist devices and takes over CarPlay while we’re in the van….which becomes a problem when I’m driving and navigation choices present themselves while she is “talking” or using a communications app on her phone.
@wouldntyaliktono
@wouldntyaliktono 16 күн бұрын
This is great! I think for my needs I'd really love to use an e-ink display to act as a "good things to know" dashboard for next to the front door. Do you have any suggestions (or follow up videos) about that kind of thing? I've considered using ESPHome for that purpose, but it feels clunkier and I like the flexibility of a linux native development environment.
@JeffGeerling
@JeffGeerling 16 күн бұрын
I've looked into eInk here and there, may do a project with it at some point. It's great for status display!
@jacekruzyczka3058
@jacekruzyczka3058 16 күн бұрын
Yes, integrating home-brewn solutions like yours into a new car can be next to impossible. I've been fighting with an issue on my 1987 Oldsmobile (which is already stuffed with fancy electronics) whose radio broke down: A Raspberry Pi, a DAB+ / FM tuner board, a (wide-range!) power supply HAT, an amp, and a (non-touch) VF display were the solution…well…at least, in theory. Integrating the display took me months (partially because it expects little-endian data, thereas the Pi is big-endian!), and now a very smart guy from the hackspace in the nearest city is helping me to complete my project.
@Nick404
@Nick404 16 күн бұрын
For the mouse cursor, maybe try wayfire-plugins-extra it hides the cursor even for when the touchscreen is actively being used in wayland, so you dont see a tiny bit of cursor when touching the screen (Because this is a prerequisite for me and pickieness) Hope this is useful!
@simonsayshomeassistant
@simonsayshomeassistant 20 сағат бұрын
Home Assistant is just amazing Jeff!
@MarcoGPUtuber
@MarcoGPUtuber 16 күн бұрын
0:30 Your sponsorship policies are missing segue policies. ;)
@iExploder
@iExploder 11 күн бұрын
Oh hey, Linus Tech Tips!
@Skillnoob_
@Skillnoob_ 16 күн бұрын
If you want a good on screen keyboard, I've used onboard in the past with my Pi 5 and a display. Its much smaller and you can move it around, configure it etc.
@JeffGeerling
@JeffGeerling 16 күн бұрын
Honestly if RPi made the keyboard at least transparent a little, that'd help. Or make it detachable... but onscreen keyboards are very tricky for Linux, which is not like iOS where it's touchscreen-first.
@lescarneiro
@lescarneiro 12 күн бұрын
This approach to CarPlay on RaspberryPi reminds me of the "olden" days of CarPC. I almost built one...
@WattTheTech
@WattTheTech 16 күн бұрын
I'm waiting for that 15" Pi display. It's fine that's not touch. Seeing that a few months ago I need it. It looks nice. Please Pi release it before Christmas
@abhimaanmayadam5713
@abhimaanmayadam5713 16 күн бұрын
you could get a cheap driver board for any old laptop panel off of ebay. Its basically that
@SuperConker
@SuperConker 16 күн бұрын
2:00 For one second there I thought I was looking at the code-animation from The Matrix lol.
@BrandonIngli
@BrandonIngli 16 күн бұрын
I've got a Home Assistant dashboard on a Pi Touch Screen 1 with a Pi 3B(?) and love it. Something I've added that's been helpful are buttons on the HA dashboard to make the screen brighter/dimmer and shutdown the pi over SSH. That, plus a cron job to make the display brighter in the morning/dimmer at night have helped tremendously.
@MakeOrBreakSociety
@MakeOrBreakSociety 16 күн бұрын
I'm using my OG display for a home assistant dashboard and it hasn't been great. However your setup looks interesting. Looks like I'll be setting that up as a weekend project😅
@JeffGeerling
@JeffGeerling 16 күн бұрын
Certainly worth seeing if it's any better with the higher resolution!
@MakeOrBreakSociety
@MakeOrBreakSociety 16 күн бұрын
@@JeffGeerling the way mine is running is with pios lite I have no touch keyboard it's getting old having to plug one in ever few days. I'm really excited to have a working touch keyboard 😂
@kritikusi-666
@kritikusi-666 16 күн бұрын
"If 7in is not enough for you" -Jeff that is plenty. You always leave me satisfied. LOL
@tcghunter9196
@tcghunter9196 16 күн бұрын
I do not mean this as a bad thing by any means, love the vids, love what you do, started my home lab journey from your pihole and speed test monitor. Just a funny thought when you kicked on the screen and booted into home assistant. You made a stream deck >< if you had home assistant have 32 buttons in a grid, you just recreated the wheel on this one. Obviously there's much more you can do than the simple things a deck can do, but you could use this for both
@Tevruden
@Tevruden 16 күн бұрын
I've been thinking about a similar display for a home assistant dashboard, and was leaning toward "the display polls its brightness setting from a helper entity via home assistant's API" Then I can just use automation in home assistant to change the brightness.
@JeffGeerling
@JeffGeerling 16 күн бұрын
I've honestly been thinking about that - also tying boot to Home Assistant status like away/home... have to keep noodling on that, because I don't want to overcomplicate it either!
@CedroCron
@CedroCron 15 күн бұрын
You could take the Pi/Pi-display out of the car with you when you aren't in it, similar to 1990's when people would take their stereo faces off to prevent theft. 😂😂😂
@JeffGeerling
@JeffGeerling 15 күн бұрын
Ha! I had one of those head units. I'd pop off the little front display and toss it in my glove box. Thought I was pretty cool with a CD player in my Olds lol
@CedroCron
@CedroCron 15 күн бұрын
@@JeffGeerling And probably worth more than the car right? ... First car for me was a babe magnet... 1986 Dodge Caravan, beige with gold trim and tan interior. 4 Cylinder 90hp of raw power. Used to blow blue smoke on start-up and a bit taking off from a light... But the JVC removable face CD & MP3 radio was awesome! Hahahaha ... Those were the days!
@JeffGeerling
@JeffGeerling 15 күн бұрын
@@CedroCron About the same price, heh.
@baccusx13
@baccusx13 16 күн бұрын
It is unbelievable how car manufacturers invoke safety measures when their proprietary solutions are only good for collecting data and generating unnecessary stress on the road. I wish you the best of success for this new project, Jeff! 😃
@ScullyBrewing
@ScullyBrewing 16 күн бұрын
Definitely interested in the carplay project, ive been wanting to add carplay to my old car (25 years old this year) but the cheapo ones on amazon dont have the best reviews
@jumbleblue
@jumbleblue 15 күн бұрын
I was quite surprised how little I cared about the tesla not having car play. maps / apps, playing music from the phone. It's all really surprisingly good and usefull. First I wanted to buy one of the many CarPlay-extra screen options which exist for Teslas, but after a month I didn't see it bring me any benefits at all. Also, its as with Home Assistant. The best Smarthome is the one which doesn't need buttons, doesn't need voice control. Over the past two years I got so much stuff automated that I really don't need to control that much anymore. Same in a Tesla. Automation to a large degree is just so good, you just miss the buttons almost never. In your case I would get one of those car-play screens for your own car. There are many outthere which cost little and have the bluetooth/wifi connection right built in. And do the temperatures and 12v etc. just without the hassle of setting up a pi and probably more efficient. Cause pis use quite a lot of power, btw everything above 2W in standby is a lot imho.
@FelixWombat
@FelixWombat 16 күн бұрын
Thanks for this great review and answering the question of the compatibility with the case for the old one. I'm using the old original 7" Touchscreen with the case which looks very nice. The Case covers the whole pi4 and Screen. The only point is the low pixel density and the view angle. I'm also using this setup as HA Dashboard. Autostart lxde with chromium in fullscreem w/o kiosk mode and some energy settings to turn the Screen of after 30s. My ikea zigbee PIR is Switching it on via nodered flow and sending an xset -dpms and +dpms command.😅 In my setup i dont have this scrolling issue. The mouse cursor is not visible during Touch Operation and it is very smooth and easy to scroll up and down. I can move the Finger somewhere on the Screen up and down without using the scrollbar. It was working out of the box, i guess (raspi os, an older Version😮). It seems that not everything was improved in the meantime😂. Thanks for your channel and work. Cheers from germany
@andrewstewart9492
@andrewstewart9492 16 күн бұрын
I respect your need to hack, but if you MUST retrofit CarPlay or Android Audio into a car from the mixtape era, they make head units that have touchscreens and android auto. Some even have HDMI inputs, so you can still throw a Pi behind the glovebox and wardrive or do RetroPi or whatever.
@AndersJackson
@AndersJackson 10 күн бұрын
Hm, mixted tape era? How old is his car? Or how old do you have to be to drink where you are from?
@djlalorocks
@djlalorocks 16 күн бұрын
I am with you about modern vehicles taking away audio interface options. I would be interested in your pursuits in this field. I tried using a rp5 headless, with my phone as an interface with Moode. I live in south Texas and could not keep the rp5 in the vehicle and expect it to function - way to hot.
@JohnMatthew1
@JohnMatthew1 16 күн бұрын
As always Jeff, great job!
@tnbtech5436
@tnbtech5436 16 күн бұрын
I built a digital picture frame system w RPi, cloud service, and iOS app to manage it all. I also have a RPi 7 in touchscreen for my home dashboard to view my cameras,system status, etc from home assistant. I even use the picture frame sw as a screen saver for the home dashboard when it’s not in use. Works great for several years now.
@theogdavro
@theogdavro 16 күн бұрын
Neat little screen. Can this be used a substitute for an old tablet to use to follow a documentation when doing a build (like building a 3d printer or a soldering project, etc...) ?
@JeffGeerling
@JeffGeerling 16 күн бұрын
That's certainly an option, though I'd wait for scrolling support to be added to browsers before going down that rabbit hole. Scrolling is probably the most annoying thing right now in apps that don't support it like Firefox/Chromium.
@rocketman374
@rocketman374 10 күн бұрын
Man am I glad I found this channel! I've been dying to ditch the idiotic Alexa's in my home, and this is heading in the right direction!
@apollolux
@apollolux 16 күн бұрын
Got an ElecLab wide touchscreen for RPi 4B a while back, it was the first time I actually needed to use a 3 or more amp rated power supply to power the thing but allows the screen's USB-C port as the power source for the whole shebang through some right-angled passthrough cable trickery and the Pi's remaining ports are still exposed enough to allow plugging in USB devices like keyboard and mouse. The screen was somewhere in the US$40-70 range depending on whether you get the 480 or the 720 pixel tall version (both are 1280 wide), hooks up to the Pi via MiniHDMI, and can hook up to regular-sized HDMI as an output as well (I haven't used it that way yet, so don't know off the top of my head if it needs to be externally powered for that or not).
@darknessblades
@darknessblades 16 күн бұрын
I have one of these displays myself, it uses a Rasperry pi zero 2W that plugs straight into the display, making it a nice and sleek look. [still have to change the case so its more flat/portable]
@8bitHuman
@8bitHuman 16 күн бұрын
8:20 its not fun. we should get rid of Fahrenheit at all. Also inches and foot. Celsius is the most logical thing. 0C° water freezes. 100C° water boils. as simple as that.
@am2dan
@am2dan 16 күн бұрын
My other hobby is woodworking, so my 7" Pi weather display has a nice walnut case. For the UI I write directly to the video memory buffer and catch touch events at a low level. But the cursor is always blinking in the corner despite my efforts to get rid of it. I'm gonna have to try that unclutter package. Thanks!
@Sqaaakoi
@Sqaaakoi 16 күн бұрын
Scrolling and touch keyboard didn't work properly in Chromium because Chromium doesn't enable Wayland support by default. You will have to go to the flags page and enable it there (and another flag) for scrolling and text input to work properly. Alternatively you can enable this from the command line using the arguments `--ozone-platform=auto --enable-wayland-ime` which also works for Electron applications.
@lifelover69
@lifelover69 4 күн бұрын
this is awesome Jeff
@MikeHarris1984
@MikeHarris1984 16 күн бұрын
Here in Phoenix the inside of your car will get over 140 160. The outside temperatures are 120 plus. This last summer we beat the number of days of over 110° and that was even all the way in October we were still hitting 110. And it was also the first time ever we'd ever hit over 100° in October. But yeah, that touch screen would not survive a single summer day in Phoenix. It might survive a winter day but the winter is up to about mid '70s during the day, so inside the car should be maybe in the '90s or even close to 100
@JohnDoe-tq7ju
@JohnDoe-tq7ju 16 күн бұрын
Great shirt you're wearing! Greetings from the Netherlands
@jimmyscott5144
@jimmyscott5144 15 күн бұрын
One thing I would recommend is an FM antenna plug interrupt. Tons of types out there but you plug it in, in line of the FM antenna and can then hardware or have Bluetooth connected so that it kills the antenna signal and only plays your audio on FM like an fm transmitter but better
@AngryK9
@AngryK9 16 күн бұрын
Useful for making a DIY "Stream Deck"
@Ziggurat1
@Ziggurat1 15 күн бұрын
What you show when you say the boot screen is rotated is called console, and it can be rotated. The name sound obvious for someone like you, but I'm just saying that's the technical name. A kernel boot parameter can be used to rotate it! fbcon=rotate:1 (or 3) should fix the issue! It is possible, if the kernel can recognize the model of the screen, if the screen communicates edid, the raspberry pi foundation can add a quirk (that's the technical term the kernel guys use for a patch like this) so the kernel will have the landscape rotation by default on this screen. But maybe the rpi foundation thinks landscape is optional. You can optionally use Plymouth to display a rotation agnostic animation instead of the kernel boot information
@JonVB-t8l
@JonVB-t8l 15 күн бұрын
I know you are hesitant to get a new car, but my Tesla has been bullet proof and it's super easy to add features and games. You just add them via the browser. Jellyfin works great, emulatorJS even works while driving (although you this is something I'd recommend for passengers only), Home assistant is hosted locally but controlled via the browser can be super useful and integrated into voice controls in the car! Thats not even mentioning BT support is very wide spread and the modding community and open-source nature of Tesla CAN bus and Ether-loop make things like track and drift mode possible with plug and play adapters from sexy-button to diy raspberry pi solutions! Host things on your phone, export things from your car to track it's use locally is also super cool and shockingly easy. My favorite thing is, because the camera feed is exported by the car via the Tesla app. Every hour or on-demand I can have it take a snapshot to add to my existing home security system and even export events from sentry mode to my home security system!
@DISCO-munication
@DISCO-munication 14 күн бұрын
For the keyboard covering screen issue you can install Yakuake drop down terminal and adjust the size so that terminal isn't obscured
@lucidmoses
@lucidmoses 16 күн бұрын
In my experience, when it gets super cold, like -40c. Electronics still work. Batteries are very compromised although lead acid batteries only loose 60% or so. Screens are also very affected but this mostly revolves around a single screen refresh taking 5-10 seconds. While driving, the cabin temperature increases and the devices own heat warms it up it gets faster and faster. The touch screen has several problems but it depends on the type. Again, it warms up in 1 - 10 minutes. I don't know the tech type in the screens I've used but this has been common among all the screens I've used outside. Personally I wouldn't be scared to try your specific screen, I don't think it would break, Just function like an old e-ink display trying to play a movie until it warms up to -20 or so. That being said, I've not tried your specific screen.
@AndersJackson
@AndersJackson 10 күн бұрын
And if you also add and use a motor and cabin heater, you get more comfortable and save petrol. That is something like this: Calix se experts-in-vehicle-heating-and-power-solutions That type of heaters are really useful even before the temperature goes below +10°C.
@the_beefy1986
@the_beefy1986 14 күн бұрын
No too shocked that RPi is heading to larger LCDs. I've been seeing similar sized units on AliExpress the last few months for like $15! I picked one up last time I was buying a few things there and it's coming in next week (in theory). It even has 75mm VESA mount holes, and of course a reasonable stand cost more than the display hahaha
@christopherparker1823
@christopherparker1823 15 күн бұрын
Love your work. Thanks for your wisdom and help
@AlexanderEngler
@AlexanderEngler 13 күн бұрын
For my home assistant dashboard I used a way too old tablet that is struggling with web browsing. But as a HA dashboard device it's enough. This plus the wallpanel app and the tablet is now able to register faces In front of the screen and then turning on. Love it and I circumvented throwing it away.
@Yuriel1981
@Yuriel1981 16 күн бұрын
Jeff:"Need a stand for your new Pi display? I got chu! Me: my man. Lol and I havent even picked one up yet. They look super useful for some scenarios I have planned though!
@hispanico81
@hispanico81 2 сағат бұрын
Nice video. Could you share your HomeAssistant Dashboard configuration? Is there a way to auto-resize the dashboard cards to avoid the scrolling bar in kiosk?
@steaders82
@steaders82 16 күн бұрын
I like the fact you're doing avata and neo drones now Ian. I was getting bored of my mini personally. Phil
@MarkoCloud
@MarkoCloud 16 күн бұрын
My kid cracked his Chromebook touch screen. That gave the Chromebook a second life as an always-on browser that shows the current temperature from the various temp sensors in Home Assistant.
@JeffGeerling
@JeffGeerling 16 күн бұрын
Always nice to find a good use for an old slightly-broken laptop! Like my old MacBook Air with a row of dead pixels. Still good enough to tote around for quick remote access/Terminal in the studio.
@ICEWALRUS
@ICEWALRUS 5 күн бұрын
I used to buy "for parts" ipad 2s on ebay and take the screen out and then grab a hdmi controller board for that lcd. The result was most of my pi projects have an Ipad lcd as a display. They dont make the controller board anymore, so the ones for sale are far too expensive now. However when I did this like 5 years back you got a really nice apple lcd compared to similar screens on amazon and hdmi + VGA + audio out for like $20. It was big compared to other options offered by retailers for pi projects. The caveat is you need to make a housing for it which I 3d printed so no biggie. I don't think I saved any money time and effort considered, but it was fun and felt good, giving part of the tablets a second life. I even resold the rest of the ipad back on ebay in big lots to people who needed other components which reduced the cost.
@johnknight7293
@johnknight7293 16 күн бұрын
My (version 1) touchscreen sits on the wall in the hallway showing weather info, my Google calendar and a "screensaver" weather satellite image. After 7pm it switches to random A.P.O.D. images. Works with UK or Spanish weather APIs (no good for you!) and is all coded in Java. UI is JavaFX.
@Nobe_Oddy
@Nobe_Oddy 16 күн бұрын
So my parents got a 2021 Honda CRV with a semi-basic entertainment center and I think it's the best mix of simplicity, accessibility (still using knobs for the heat/AC so you don't HAVE TO look away from the road - AND having steering wheel controls to change volume/track and cruise control... plus the buttons are in a good layout) I connect my phone with bluetooth and it does calls over the speakers if I want, plus I can control my phone from the steering wheel.... BUT it doesn't have GPS.... but you can connect to you phone with bluetooth and will come over the speakers and you can control the volume with the steering wheel... but the map doesn't come up on the car's screen.... but mounting a phone is easy - the car has lane keep assistant (it rumbles the steering wheel when you get too close to the lines) and auto braking which I didn't know about until it started doing it way sooner than I would have and it SCARED ME!!!! - And it's great on gas..... Oh and it has a rear-reverse cam too, which I've grown to love LOL - - So you don't HAVE TO get the latest and greatest tech when you buy a new car, and I think they would have electric cars that have the same level of tech that I listed here (I think that's the type of tech that you'd want in a car too... I think MOST PEOPLE would be just fine with that level of tech (except maybe built-in GPS) - you don't need all the apps, and all the internet connection so you get album art for the music you already own.... - so MAYBE a Honda is a brand you haven't looked into, and the small SUV's carry 5 adults snuggly lol, but 4 comfortably... and they have a decent size trunk too... So maybe you ought to look into the CRV and see if it's something you'd like (idk if you want and electric car or not, but I'm sure they have a good selection) - I hope this helps is some way :)
@_Turbocat777
@_Turbocat777 16 күн бұрын
having android auto setup at my desk or in house to play music would be cool. almost kinda like the carthing that spotify had when people started using it on their desk for media controls.
@jeffreypohlmeyer8782
@jeffreypohlmeyer8782 16 күн бұрын
For what it's worth, I can rotate the terminal on my Lenovo IdeaPad with this command: echo 1 > /sys/class/graphics/fbcon/rotate (Value can be one of: 0=Normal; 1=Clockwise; 2=upside-down; 3=CCW) It might be possible to add something like that into early userspace to force the boot messages into landscape but I doubt if it would be worth the trouble.
@JeffGeerling
@JeffGeerling 16 күн бұрын
We figured it out over on GitHub! (Thanks especially to one of the YT comments, too!).
@ambhaiji
@ambhaiji 16 күн бұрын
It has been 0 days since I recompiled the Linux kernel
@lucdesvaux8230
@lucdesvaux8230 16 күн бұрын
Nice video! You should also try using Ubuntu server or Ubuntu core with snap packages like Ubuntu Frame for kiosk and other for vnc, etc. I find it very nice as it is super easy, fast, and really simple to setup! Compared to raspberry pi OS, when the pi boots, it will open the kiosk directly and not display a desktop (although you could also do this with raspberry pi os).
@MetzenJSR
@MetzenJSR 16 күн бұрын
Another problem for the Pi in the car is how to handle shutdown when the car turns off. I’d love to see a video with your solution to this. I’ve tried a couple of options and neither worked reliably.
@JeffGeerling
@JeffGeerling 16 күн бұрын
Most supercaps wouldn't have the energy to do a safe shutdown, so yeah, could be an interesting thing to try to solve.
@_DSch
@_DSch 16 күн бұрын
If you want to use carplay/aa with close to zero delay on linux I have a fork of node-carplay which has some fixes :D Audio has some alsa mixers too since I wanted different volume levels for media and navigation and proper (as per apple spec) audio hedging. I had it running on a PI2 for some years now, have to update the repo though since gstreamer is blazing fast compared to mpv. A reimplementation in rust would be better, it could even be made native since the only thing needed for carplay is an mfi chip (which i have) on i2c and a usb host&device capable usb port. Since openauto got apparently sold and is unavailable rn I think a community project would be awesome. My Idea was to use gstreamer for playback and UI and code in the background that handles background stuff like ui logic, canbus messages and buttons in the car - needs more people than a single person though.
@KimmoJaskari
@KimmoJaskari 16 күн бұрын
To set up a dashboard there are many ways, but one popular one is a cheapo Android tablet (there's a plethora to choose from) and then getting Fully Kiosk for them, an app. That lets you run a dashboard on them fullscreen.
@gadget1968
@gadget1968 15 күн бұрын
Many thanks for the content and sharing you knowledge and experiences .
@JoelJosephReji
@JoelJosephReji 16 күн бұрын
Have you tested phosh on it? (I believe it is the smartphone linux interface, maybe it has better touchscreen support)
@bigwave_dave8468
@bigwave_dave8468 16 күн бұрын
Jeff, did Ubuntu ever add any significant enhancements to x11/wayland touch screens? Middle/right mouse operations are always a pain preventing Windows/Motif style GUIs from working well in a moving environment. I ended up using a 3-button track ball for an airplane project I was involved in. The Carplay idea is great. Probably this works out to be more expensive to get temp-qualified displays and 'glue' bits than a pre-fab'ed head unit but the entertainment value is priceless. :-)
@nikobellic570
@nikobellic570 16 күн бұрын
Is the argon thrml fan and heatsink near silent? I find the official active cooler a bit noisy
@JeffGeerling
@JeffGeerling 16 күн бұрын
The sound is quite similar. Slightly different pitch but the sound level is about the same.
@GeFlixes
@GeFlixes 13 күн бұрын
I've been using an okd Android tablet as a secondary touch screen. a 90 or 180 degree USB adapter and a kickstand is all it takes, and it saves a old device with a dead battery from the ewaste bin.
@Hoerli
@Hoerli 16 күн бұрын
For Android Auto you can flash CrankShaft on the sd-card. With this you don't need a dongle.
@willpimblett
@willpimblett 16 күн бұрын
Just ordered one of these screens to give this a go. With the Spotify car thing dying I fancy an upgrade
@TechnoTim
@TechnoTim 16 күн бұрын
We get -20 °f here 🥶
@JeffGeerling
@JeffGeerling 16 күн бұрын
Probably in the middle of summer, you're so far North! haha
@TechnoTim
@TechnoTim 16 күн бұрын
@ on a sunny day 😅
@SilentDecode
@SilentDecode 16 күн бұрын
Time for you to get another shirt, Jeff. This shirt has seen better days. As always, greetings from the Netherlands!
@JeroenVissers
@JeroenVissers 16 күн бұрын
I used the first Pi screen for years with Node-Red Dashboard until I discovered Fully Kiosk. It unloads the pi significantly as you do no longer need to run desktop. Fully Kiosk gives you an API of your tablet. The ways you can interact with the tablet is almost endless, face recognition, auto brightness when movement is detected, endless. I'm curious to see how you'll use this screen in your car. Integrating it with OBD2 data came to mind.
@Combatwhombat
@Combatwhombat 16 күн бұрын
Ditch the old FM transmitter and get a good bluetooth to fm bridge. I've been using the Avantree Roadtrip for a year now and love it.
@silverstone7778
@silverstone7778 16 күн бұрын
Cool Setup. I am considering doing something similar for a Wall mounted Tablet (e.g. second-hand Acer Aspire Switch 10 or 12) / Display. Going with the second Hand Tablets / Convertibles it's Luck of the Draw (especially finding one where you can Remove the Battery ... I'm not interested in a Fire Hazard), while Screens with Good Size (12-15.6'') AND Good Resolution (more than FDH) are extremely expensive and difficult to find :(.
I Built a CoPilot+ AI PC (without Windows)
12:50
Jeff Geerling
Рет қаралды 434 М.
Smallest 4K 120fps Camera Possible
27:10
BPS.space
Рет қаралды 103 М.
Do you love Blackpink?🖤🩷
00:23
Karina
Рет қаралды 16 МЛН
I got this PC from a fast food restaurant. What now?
16:32
Hardware Haven
Рет қаралды 811 М.
Best 10 Items I Tested in 2024!
20:12
Project Farm
Рет қаралды 396 М.
Shelly Wall Display vs Sonoff NS Panel Pro for Home Assistant Dashboards
11:33
Spotify Bricked The Car Thing, So I Hacked Mine
21:20
Dammit Jeff
Рет қаралды 2,1 МЛН
I Have 2 Weeks to File a Dispute for this Scam TV
25:35
Linus Tech Tips
Рет қаралды 3,4 МЛН
M4 Mac Mini vs Intel and AMD Flagships - It's Not Even Close!
17:28
Elevated Systems
Рет қаралды 366 М.
Whatever Happened to Millimeter-Wave 5G?
21:29
Asianometry
Рет қаралды 321 М.
I replaced my Apple TV-with a Raspberry Pi
16:12
Jeff Geerling
Рет қаралды 828 М.
Raspberry Pi 5: Getting Started
24:43
Jeff Geerling
Рет қаралды 491 М.
The Home Server I've Been Wanting
18:14
Hardware Haven
Рет қаралды 438 М.
Do you love Blackpink?🖤🩷
00:23
Karina
Рет қаралды 16 МЛН