摘要: 首先使用编写文件hass@homeassistant.service,文件内容如下 # 这个文件用于systemd方式自动启动hass服务。 # 这个文件实际是/usr/lib/systemd/system/hass@homeassistant.service,使用下面的命令创建开机自动启动服务。 阅读全文
posted @ 2022-04-16 09:14 慕炎 阅读(1369) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-04-16 09:11 慕炎 阅读(23) 评论(0) 推荐(0)
摘要: sudo nano /etc/dphys-swapfile 将 CONF_SWAPSIZE 的值修改成你想要的大小。 一般在内存小于2G的情况下,交换分区应为内存的2倍! sudo /etc/init.d/dphys-swapfile restartfree -h 阅读全文
posted @ 2022-01-29 16:42 慕炎 阅读(79) 评论(0) 推荐(0)
摘要: sudo apt-get update sudo apt-get install i2c-tools python-smbus sudo raspi-config a. 打开 pi 配置工具 raspi-config, b.选择 Interfacing Options c.选择启用 I2C sudo 阅读全文
posted @ 2022-01-28 10:57 慕炎 阅读(446) 评论(0) 推荐(0)
摘要: 升级 rust https://forge.rust-lang.org/infra/other-installation-methods.html#which curl https://sh.rustup.rs -sSf | sh /usr/local/bin/python3.9 -m venv . 阅读全文
posted @ 2022-01-26 18:32 慕炎 阅读(1697) 评论(0) 推荐(0)
摘要: sudo raspi-config Interfacing Options -> VNC -> Yes 分辨率调整,修改SD卡的config.txt文件后便可更改分辨率.RealVNC更改树莓派分辨率 修改config.txt:hdmi_force_hotplug=1 Tells your Pi a 阅读全文
posted @ 2022-01-24 12:14 慕炎 阅读(128) 评论(0) 推荐(0)
摘要: https://tech.biko.pub/tool#/rpi-apt-sources wget -qO- https://tech.biko.pub/resource/rpi-replace-apt-source-buster.sh | sudo bash Debian 10 (buster) c 阅读全文
posted @ 2022-01-24 09:34 慕炎 阅读(162) 评论(0) 推荐(0)
摘要: 在使用WebUpdate方式上传固件时,发生了重启,串口信息如下 E (32652) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time: E (32652) ta 阅读全文
posted @ 2022-01-23 22:52 慕炎 阅读(3059) 评论(0) 推荐(0)
摘要: https://tasmota.github.io/docs/ https://github.com/arendst/Tasmota/releases/tag/v10.1.0 阅读全文
posted @ 2022-01-23 10:49 慕炎 阅读(375) 评论(0) 推荐(0)
摘要: 显示器 流光溢彩 WLED https://kno.wled.ge/ https://github.com/Aircoookie/WLED esp32 自行编译WLED 固件,会遇到程序过大无法上传的问题,通过更改分区大小可解决,但是失去OTA功能 不过这里有 releases版本,编译好的固件 h 阅读全文
posted @ 2022-01-23 09:28 慕炎 阅读(709) 评论(0) 推荐(0)