Raspberry Pi tools
AREDN MeshChat - Linux script 2021-11-19
If you have a #HamRadio #AmateurRadio mesh network based on #AREDN and would like a way to read/send messages in MeshChat by Trevor (http://www.trevorsbench.com/meshchat-messaging-for-mesh-networks/) without the web interface, I created a simple #Linux text script for that.
(no need to register in dropbox).
If you have a router in your mesh network and connect your cellphone (android) to it, you can use termux to use it (https://f-droid.org/en/packages/com.termux)
Raspberry Pi - check wifi script 2021-12-02
I run two out of my three raspberries headless. And my WiFi router is not too good (have to change it soon). In the mean time, this script tries to restore WiFi connectivity when it gets lost. Pings an IP, if that fails try to stop and start the WiFi interface in the #RaspberryPi, and if that fails reboots.
https://www.dropbox.com/s/bjgjl2mf75e99qn/checkwifi.sh?dl=0
(no need to register in dropbox).
A couple things that can help keeping WiFi connectivity.
sudo vi /etc/network/interfaces
auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
wireless-power off
iface default inet dhcp
sudo vi /etc/modprobe.d/8192cu.conf
# prevent power down of wireless when idle
options 8192cu rtw_power_mgnt=0 rtw_enusbss=0
sudo vi /etc/rc.local
/etc/init.d/cron/start
Garage Opener with Raspberry Pi 2021-12-09
SunFounder 2 Channel DC 5V Relay Module
https://www.amazon.com/gp/product/B00E0NTPP4/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
Aokin Raspberry Pi Camera Module 5MP 1080p OV5647
https://www.amazon.com/gp/product/B07JPLV5K1/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
Pure Python script pending.
sudo apt install python3-flask
~/GarageOpener.py
https://www.dropbox.com/s/mzwh9asz853nwt6/GarageOpener.py?dl=0
~/Garage.sh
https://www.dropbox.com/s/g55h1mt0wf5xm8z/garage.sh?dl=0
~/templates/index.html
https://www.dropbox.com/s/bpazzp18rsy482l/index.html?dl=0
(no need to register in dropbox).
matrix/element @rimugu:matrix.org (Android app: Element)
Comentarios