Go to file
Daniel Barlow 6fd41b7e1c fix "could not acquire 'org.freedesktop.ModemManager1'" error
I don't know why this works, but modemmanager-small needs to be
in environment.systemPackages
2024-07-22 16:16:01 +01:00
pkgs build ModemManager with introspection 2024-07-22 14:49:31 +01:00
.gitignore first commit, should have done this a day ago 2024-02-18 21:58:03 +00:00
Makefile add lk2nd makefile target 2024-07-21 21:02:17 +01:00
README clean up README (a bit) 2024-07-22 15:44:55 +01:00
configuration.nix fix "could not acquire 'org.freedesktop.ModemManager1'" error 2024-07-22 16:16:01 +01:00
default.nix first commit, should have done this a day ago 2024-02-18 21:58:03 +00:00

README

Config for my moto harpia to turn it into a bike computer. We will
need

- working gps
- bluetooth (ble) stuff
- wayland "cage" compositor
- an app
- rsync service so that trails can be downloaded to a computer
- ip connectivity with flight mode
 - give it telent and dandroid as APs
 - use rfkill aggressively to save battery
 

Absent any reason I should not write the app in fennel I'm going to
write the app in fennel. I want it to

- display speed/cadence/time of day/power
- show where I am on a map
- record trail of where I've been (note: indoor counts too)



can we somehow do non-flakey bluetooth (is it dbus?)



cool extras
===========

adjust screen brightness 

* turn off backlight when stopped after a minute
* dim the screen when following a route and the next
 navigation instruction is still some way off
* tap to wake screen

note that IPS LCD requires as much battery for dark pixels
as light ones, so we get no power saving by colouring only part
of the screen


------

random notes follow ...

1) Satellite requires these commands to be run before
it will work. 

  mmcli -m 0 --enable
  mmcli -m 0 --location-enable-gps-raw
  mmcli -m 0 --location-enable-gps-nmea 
  mmcli -m 0 --location-status


2) we should make saturn give visual feedback while it's loading an
app. How does it know when the app has finished loading?  Maybe it
could get told when its window is obscured