On 19/09/2023 05:19, Jeremy David wrote:
> That's pretty much exactly what I was looking for Mark! Would you happen
> to have insight or a project build you may have followed?
>
> On Monday, September 18, 2023 at 3:08:00 PM UTC-5 Mark Fraser wrote:
>
> I used an LCD screen and made this
>
https://www.printables.com/model/499066-hanging-case-for-waveshare-8-display <
https://www.printables.com/model/499066-hanging-case-for-waveshare-8-display>
>
> On Mon, 18 Sept 2023, 18:30 Jeremy David, <
jeremy...@gmail.com> wrote:
>
> I moved into a new home a few months ago and have been wanting
> to build my own weather station with a RPi and route it
> wirelessly to display on another RPi with an LCD or epaper
> screen of sorts in my kitchen. I believe I have gotten away from
> the idea of building my own weather station because I was
> wanting to power it with PoE, but it looks like the HAT that
> gives that functionality might not work the best in hotter
> operating temps on my roof.
>
> So I think I have settled on getting either a Tempest or an
> Ecowitt and just route the data to Weewx on a RPi or Arduino
> with a screen attached. However, and maybe I am just blind, but
> I can't seem to find a project build on making a display screen
> that could project the data, would someone happen to have any
> links to one? I swear I found one weeks ago when I was looking
> for something else and can't find it again. I have seen ones
> that just run Raspbian and have a browser up with Weewx or
> running an Android app on an old tablet, but was hoping for
> something more plug in and start up for some of the less tech
> savvy people in my house.
> I'm thinking this should be possible, but maybe I'm overestimating?
>
> Thank you in advance!
You need to have the Belchertown skin and the mqtt extensions installed
on the Raspberry Pi that is running your weather station.
On another Raspberry Pi I installed Raspberry Pi OS, created a file in
.config/autostart called kiosk.desktop which contained:
[Desktop Entry]
Type=Application
Name=conky
Exec=/home/<username>/kiosk.sh
StartupNotify=false
Terminal=false
In the home directory, I created the kiosk.sh file which contained:
#!/bin/bash
# Run this script in display 0 - the monitor
export DISPLAY=:0
# Disable xset blanking.
xset s noblank
xset s off
# Hide the mouse from the display
unclutter &
# If Chrome crashes (usually due to rebooting), clear the crash flag so
we don't have the annoying warning bar
sed -i 's/"exited_cleanly":false/"exited_cleanly":true/'
/home/<username>/.config/chromium/Default/Preferences
sed -i 's/"exit_type":"Crashed"/"exit_type":"Normal"/'
/home/<username>/.config/chromium/Default/Preferences
# Run Chromium and open tabs
/usr/bin/chromium-browser --kiosk --window-position=0,0 <kiosk website> &
# Start the kiosk loop. This keystroke changes the Chromium tab
# To have just anti-idle, use this line instead:
xdotool keydown ctrl; xdotool keyup ctrl;
# Otherwise, the ctrl+Tab is designed to switch tabs in Chrome
In both files, replace <username> with your username and <kiosk website>
with the URL that points to the Kiosk page in Belchertown.