Go to advanced search

by sapnho
Mon Jul 22, 2019 6:01 am
Forum: Deutsch
Topic: Script starten ohne login
Replies: 2
Views: 72

Re: Script starten ohne login

Beim Autostart gibt es viele Möglichkeiten. Dieser Artikel fasst es gut zusammen: https://www.dexterindustries.com/howto/run-a-program-on-your-raspberry-pi-at-startup/ So habe ich es für meinen Bilderrahmen gemacht: https://www.thedigitalpictureframe.com/de/so-erstellst-du-professionelle-ueberblendu...
by sapnho
Sun Jul 21, 2019 5:59 pm
Forum: Raspbian
Topic: Buster bug report thread
Replies: 120
Views: 9767

Re: Buster bug report thread

Code: Select all

vcgencmd display_power 0
doesn't work on Buster + Pi 4. It works with Buster + Pi 3.
by sapnho
Sat Jul 20, 2019 10:47 am
Forum: Raspbian
Topic: vcgencmd display_power not working in buster
Replies: 3
Views: 187

Re: vcgencmd display_power not working in buster

Yes, that works and

Code: Select all

 /opt/vc/bin/tvservice -p; sudo /bin/chvt 6; sudo /bin/chvt 7
to turn it back on.

But I used vcgencmd in many areas and it would be nice to have it back. :?
by sapnho
Sat Jul 20, 2019 9:47 am
Forum: Automation, sensing and robotics
Topic: Alexa Routine to publish MQTT to be picked up by RPi
Replies: 9
Views: 284

Re: Alexa Routine to publish MQTT to be picked up by RPi

Ah yes, you must have one older Alexa Gen (2) in your network for devices to be discovered. Once that has happened, it works fine with all Echos.
by sapnho
Sat Jul 20, 2019 9:05 am
Forum: Raspbian
Topic: vcgencmd display_power not working in buster
Replies: 3
Views: 187

Re: vcgencmd display_power not working in buster

Yep, same issue here. Buster works fine on the Pi 3 but on the Pi4 the command doesn't work.
by sapnho
Sat Jul 20, 2019 8:06 am
Forum: Automation, sensing and robotics
Topic: Alexa Routine to publish MQTT to be picked up by RPi
Replies: 9
Views: 284

Re: Alexa Routine to publish MQTT to be picked up by RPi

Thanks again for the Node-RED lead! I got everything working and have summarized the steps here: https://www.thedigitalpictureframe.com/ ... -node-red/

Node-RED is amazing! 8-)
by sapnho
Mon Jul 15, 2019 2:46 pm
Forum: Automation, sensing and robotics
Topic: Alexa Routine to publish MQTT to be picked up by RPi
Replies: 9
Views: 284

Re: Alexa Routine to publish MQTT to be picked up by RPi

So, I had a closer look at the Alexa local node and the Alexa Skills. They are easy to install but what I would like to avoid is to always add something like "Turn on/off" or "Set" to my commands. My commands should be more natural like "Good morning" activating a script. With the Home Assistant Nab...
by sapnho
Sat Jul 13, 2019 3:41 pm
Forum: Automation, sensing and robotics
Topic: Alexa Routine to publish MQTT to be picked up by RPi
Replies: 9
Views: 284

Re: Alexa Routine to publish MQTT to be picked up by RPi

Excellent, thanks, guys. I think Node Red is the path to try then!
by sapnho
Sat Jul 13, 2019 1:25 pm
Forum: Automation, sensing and robotics
Topic: Alexa Routine to publish MQTT to be picked up by RPi
Replies: 9
Views: 284

Alexa Routine to publish MQTT to be picked up by RPi

I have set up a script with an RPi that listens in on MQTT topics and executes a code if a specific message comes up. I am doing this using Home Assistant and the Nabu Casa interface. (https://www.thedigitalpictureframe.com/voice-control-your-digital-photo-frame-with-amazon-echo-and-home-assistant/)...
by sapnho
Fri Jul 12, 2019 10:50 am
Forum: Graphics, sound and multimedia
Topic: H2 make a 1920x1080 screen to display only 1620x1080?
Replies: 13
Views: 536

Re: H2 make a 1920x1080 screen to display only 1620x1080?

The plot thickens! I found the settings in the monitor (LG Flatron E2442V) and it works for all the default settings but not for my added setting of 1728 x 1080 px. In this case, the menu item "Wide/Original" is greyed out and not available. And 1728x1080 is lower than 1920x1080, so it should work. ...
by sapnho
Fri Jul 12, 2019 7:23 am
Forum: Graphics, sound and multimedia
Topic: H2 make a 1920x1080 screen to display only 1620x1080?
Replies: 13
Views: 536

Re: H2 make a 1920x1080 screen to display only 1620x1080?

state 0xa [HDMI CUSTOM RGB full 4:3], 800x600 @ 75.00Hz, progressive
So, I guess the monitor does some automatic stretching. Will have to dig deeper here... Thanks!
by sapnho
Fri Jul 12, 2019 7:03 am
Forum: Graphics, sound and multimedia
Topic: H2 make a 1920x1080 screen to display only 1620x1080?
Replies: 13
Views: 536

Re: H2 make a 1920x1080 screen to display only 1620x1080?

Thanks, 6by9. Using your method, I tried various combinations. I am using it on a screen that has an aspect ratio of 16:9 with a standard resolution of 1920x1080. Now, if I choose for example a screen resolution of 800 x 600 which has an aspect ratio of 4:3, I would expect black bars to the left and...
by sapnho
Fri Jul 12, 2019 6:42 am
Forum: Graphics, sound and multimedia
Topic: H2 make a 1920x1080 screen to display only 1620x1080?
Replies: 13
Views: 536

Re: H2 make a 1920x1080 screen to display only 1620x1080?

Seems like xrandr may be a solution: https://superuser.com/questions/716795/ ... -in-debian

I replaced the VGA1 with HDMI0 but that didn't work. What would be the correct name of the first HDMI port?
by sapnho
Fri Jul 12, 2019 4:25 am
Forum: Graphics, sound and multimedia
Topic: H2 make a 1920x1080 screen to display only 1620x1080?
Replies: 13
Views: 536

Re: H2 make a 1920x1080 screen to display only 1620x1080?

My objective is to have a pillarboxed screen with a resolution of 1620 x 1080 like this (in the example I used 1728 px instead of 1620 but the logic is the same).
Ideally, a tool like SwitchResX for the Raspberry Pi would be great.
PictureFrame.png
PictureFrame.png (45.12 KiB) Viewed 209 times
by sapnho
Fri Jul 12, 2019 4:02 am
Forum: Graphics, sound and multimedia
Topic: H2 make a 1920x1080 screen to display only 1620x1080?
Replies: 13
Views: 536

Re: H2 make a 1920x1080 screen to display only 1620x1080?

Could it be that this doesn't work in Buster and with a Pi4? This is what I did: cd /boot sudo nano config.txt framebuffer_width=1620 framebuffer_height=1080 But after rebooting fbset -s still shows the default resolution for my screen which is 1920 x 1080. No expected black bars left and right. Dur...
by sapnho
Sun Jul 07, 2019 7:49 pm
Forum: Raspbian
Topic: What changed using a customised splash screen from Stretch to Buster?
Replies: 0
Views: 91

What changed using a customised splash screen from Stretch to Buster?

I had been using these instructions https://www.thedigitalpictureframe.com/customize-your-raspberry-pi-splash-screen-raspbian-stretch-april-2019-version/ to bring up a customized splash screen. But with Buster and the Pi 4 this doesn't work anymore. Basically, it was about modifying this file: sudo ...
by sapnho
Fri Jul 05, 2019 8:49 pm
Forum: Troubleshooting
Topic: RPi File Sharing for both Windows and macOS
Replies: 29
Views: 1570

Re: RPi File Sharing for both Windows and macOS

Great idea. Have just subscribed and will check. Thanks!
by sapnho
Fri Jul 05, 2019 8:00 pm
Forum: Troubleshooting
Topic: RPi File Sharing for both Windows and macOS
Replies: 29
Views: 1570

Re: RPi File Sharing for both Windows and macOS

So. I added

Code: Select all

[global]
   workgroup = WORKGROUP
   fruit:aapl = yes
   fruit:model = MacSamba
in global but the question mark is still there. Anything I may be missing?
by sapnho
Thu Jul 04, 2019 9:09 pm
Forum: Troubleshooting
Topic: RPi File Sharing for both Windows and macOS
Replies: 29
Views: 1570

Re: RPi File Sharing for both Windows and macOS

Thanks, will check these settings!
by sapnho
Thu Jul 04, 2019 8:34 pm
Forum: Troubleshooting
Topic: RPi File Sharing for both Windows and macOS
Replies: 29
Views: 1570

Re: RPi File Sharing for both Windows and macOS

Well, everything works fine, I just get a strange question mark instead of the usual computer monitor icon in the network overview on my Mac. Also, the name is all Caps, although it is not written this way. All the other networked devices show it right. Screenshot 2019-07-04 at 22.30.34.png Any idea...
by sapnho
Wed Jul 03, 2019 4:42 pm
Forum: Troubleshooting
Topic: RPi File Sharing for both Windows and macOS
Replies: 29
Views: 1570

Re: RPi File Sharing for both Windows and macOS

Thanks, hortimech!
by sapnho
Mon Jul 01, 2019 6:50 pm
Forum: Troubleshooting
Topic: RPi File Sharing for both Windows and macOS
Replies: 29
Views: 1570

Re: RPi File Sharing for both Windows and macOS

Here we go: [global] workgroup = WORKGROUP ; interfaces = 127.0.0.0/8 eth0 ; bind interfaces only = yes log file = /var/log/samba/log.%m max log size = 1000 logging = file panic action = /usr/share/samba/panic-action %d server role = standalone server obey pam restrictions = yes unix password sync =...
by sapnho
Mon Jul 01, 2019 4:51 pm
Forum: Troubleshooting
Topic: RPi File Sharing for both Windows and macOS
Replies: 29
Views: 1570

Re: RPi File Sharing for both Windows and macOS

Thanks, hortimech. Restart command worked, smbd and nmbd are working now. I guess my confusion comes from two things This is how Pi 4 is shown in my finder. Above is a Pi 3. Screenshot 2019-07-01 at 18.38.04.png And second, the home directory of Pi only contains MagPi. Where are all the other defaul...
by sapnho
Mon Jul 01, 2019 3:57 pm
Forum: Troubleshooting
Topic: RPi File Sharing for both Windows and macOS
Replies: 29
Views: 1570

Re: RPi File Sharing for both Windows and macOS

Something seems to have changed in Buster. I connected my Pi 4 today for the first time and when I followed the instructions that worked on Stretch to set up file sharing, the changes in smb.conf didn't do the trick. Previously, I sudo nano /etc/samba/smb.conf and changed the settings in "===Sha­re ...

Go to advanced search