Go to file
2024-04-12 22:31:16 -04:00
common Get mqtt working 2024-04-07 20:10:08 -04:00
homeassistant-mqtt-discovery Fix scoping 2024-04-12 22:31:16 -04:00
lib-ws2818-rgb-led-spi-driver Fix clippy warnings 2021-10-12 17:15:24 -04:00
lunatic-webui Use tracing logger 2023-06-03 23:37:09 -04:00
mqtt Changes 2024-04-08 23:15:56 -04:00
src Start work on mqtt 2024-04-07 17:25:15 -04:00
webui Move message out of error 2023-06-04 00:24:41 -04:00
.gitignore Add liveview-rust 2021-08-18 10:02:40 -04:00
aw-lights_0.1.0.bb Add bitbakefile I will never use 2022-10-25 18:08:06 -04:00
Cargo.toml Changes 2024-04-08 23:15:56 -04:00
config.toml Update cargo config file 2024-04-07 16:51:34 -04:00
copy-code.sh Add copy-code.sh 2021-10-16 07:36:02 -04:00
entr.sh Update entr.sh 2021-10-12 17:15:14 -04:00
env.dist Add env.dist 2023-02-20 16:57:11 -05:00
Makefile Fix strip and add reverse 2023-06-03 16:24:35 -04:00
README.adoc Allow pattern initialization 2023-05-28 18:47:45 -04:00
rustfmt.toml Use unstable Crate rustfmt option 2021-10-10 16:43:30 +01:00

= aw-lights

== Setup

[source,bash]
----
xbps-install fake-hwclock
ln -s /etc/sv/fake-hwclock/ /var/service/

# Enable SPI
echo 'dtparam=spi=on' >>/boot/config.txt

# Allow big buf for SPI
echo 'options spidev bufsiz=65536' > /etc/modprobe.d/spidev.conf
----

Set CPU clock

* RPI3
+
[title='/boot/config.txt']
----
core_freq=250
----
* RPI4
+
[title='/boot/config.txt']
----
core_freq=500
core_freq_min=500
----

== Cross Compiling

----
xbps-install -y cross-armv7l-linux-gnueabihf
rustup target add armv7-unknown-linux-gnueabihf
make deploy
----

== Notes

----
Car: 102
House: 89; skip 14
----