1
0
Dustin C. Hatch 990de7fbb9 sensor: Improve reported value precision
Casting the measured values to `int` loses a lot of precision.  Sending
the raw values, however, results in uselessly over-precise values.
Thus, we need to compromise by truncating the values at the tenths
place.
2021-06-18 18:31:34 -05:00
2021-04-30 08:24:14 -05:00
2021-04-29 09:36:49 -05:00
2021-04-29 09:36:49 -05:00
2021-04-30 08:24:14 -05:00
2021-04-30 08:24:14 -05:00
2021-04-29 09:36:49 -05:00
2021-04-29 09:36:49 -05:00
2021-04-29 09:36:49 -05:00
2021-04-29 09:36:49 -05:00

Thermostat Display

Screen Setup

As instructed at https://www.acmesystems.it/CM3-PANEL-7-BASIC_microsd

  1. Device Tree Overlay (config.txt)
  2. Enable SSH: thouch /run/media/boot/ssh
  3. Configure wpa_supplicant

Build/Install

  1. Build wheel: poetry build
  2. Copy wheel to Raspberry Pi
  3. Install: python3 -m pip install --user ~/thermostat-*.whl
  4. Copy sensor.service to ~/.config/systemd/user
  5. Start sensor: systemctl --user enable --now sensor

Automatic Login/Autostart

  1. Install packages:

    • firefox-esr
    • matchbox-window-manager
    • x11-xserver-utils
    • xdotool
    • xinit
  2. Copy xinit@.service to /etc/systemd/system

  3. Copy xinit.sh to ~/.xinitrc

  4. Start GUI:

    systemctl enable xinit@pi.service
    systemctl set-default graphical.target
    systemctl isolate graphical.target
    
  5. Install Auto Fullscreen add-on fore Firefox

Description
No description provided
Readme 56 KiB
Languages
Python 99%
Shell 1%