Çiftlik kulübesi için Wi-Fi erişim noktası ve 4G uplink olarak Pi 4, yoksa lisanslı bir router mı almalı?
Yapay zekâ tarafından English dilinden çevrildi ·
Bir üzüm bağı parselinde kulübe, evden 2 km uzakta. Sekiz ESP32 düğümü (toprak nemi, depo seviyesi, pompa rölesi) evde test ettiğimde Hermetry ile MQTT üzerinden sorunsuz haberleşiyor.Kulübede hiç ağ yok. Planım: USB 4G modemli bir Raspberry Pi 4’ü uplink olarak kullanmak, Pi’nin kendi Wi-Fi’sini ESP32’ler için erişim noktası yapmak ve aralarında NAT kurmak. Yıllar önce Buster’da hostapd + dnsmasq kurmuştum, zahmetliydi. İki sorum var: Bookworm’da hâlâ aynı yol mu geçerli, ve sıcak bir kulübede yıllarca çalışacak bir Pi’ye güvenir misiniz, yoksa lisanslı routerlardan birini mi almalıyım?
Shed on a vineyard block, 2 km from the house. Eight ESP32 nodes (soil moisture, a tank level, a pump relay) already talk MQTT to Hermetry fine when I test them at home.
At the shed there’s no network at all. My plan: Raspberry Pi 4 with a USB 4G dongle as uplink, the Pi’s own Wi-Fi as an access point for the ESP32s, and NAT between them. I’ve done hostapd + dnsmasq on Buster years ago and it was fiddly. Two questions: is that still the way on Bookworm, and would you trust a Pi doing this for years in a hot shed, or should I just buy one of the licensed routers?
Yapay zekâ tarafından English dilinden çevrildi ·
Ne kadar sıcak? Yazın çelik bir kutunun içinde bir Pi 4’ün 80 C’de throttle yaptığını gördük.
How hot? We had a Pi 4 throttle at 80 C inside a steel box in summer.
Yapay zekâ tarafından English dilinden çevrildi ·
Kulübenin içi Ocak ayında 45 dereceye çıkıyor. Kutu gölgede olacak ama yine de.
Shed hits 45 inside in January. The box would be in the shade but still.
Yapay zekâ tarafından English dilinden çevrildi ·
İkisi de çalışır, ikisini de sahada kullandım. Bookworm üzerinde işler çok daha az uğraştırıcı, NetworkManager hem AP’yi hem NAT’ı tek seferde yapıyor:
sudo nmcli dev wifi hotspot ifname wlan0 ssid shed-iot password 'long-passphrase-here'
sudo nmcli con mod Hotspot connection.autoconnect yes ipv4.method shared
ipv4.method shared, ESP32’lere DHCP dağıtır ve onları varsayılan rotada hangisi varsa, yani 4G donanımınız, üzerinden NAT’lar. Pi’nin dahili Wi-Fi’si kısa mesafede 8 istemci için yeterlidir.Burada iki kez düşünmenizi önereceğim konu ısı ve SD kartlar ile Pi takıldığında kimsenin ona erişememesi. Pi tercih ederseniz: ısı emici olarak metal kasa, iyi bir endüstriyel SD kart veya USB SSD, mümkünse salt okunur kök dizin ve donanım watchdog’unun etkinleştirilmesi.Lisanslı bir router, Hermetry’de fiyatı karşılığında şunları sağlar: yerel Cloud sayfasındaki kodla cihazı sahiplenirsiniz, kendi sertifikasıyla oturum açar, ayarlarını değiştirebilir ve yazılımını Hermetry üzerinden güncelleyebilirsiniz; ayrıca 4G bağlantısında sahip olmayacağınız sabit IP olmadan cihaz sayfasından web paneline erişebilirsiniz. Kuruluşunuzun kendi cihazıdır ve cihaz limitine bir kez sayılır. Uzaktan erişim oturumları süreli ve denetlenir.Benim kuralım: Gidip ulaşabileceğim tek bir saha için Pi. Bir pikap ve bir gün gerektiren sahalar için lisanslı router. Ayrıntılar: Licensed gateways and Hermetry Edge.
Both work, I have both in the field. On Bookworm it’s much less fiddly, NetworkManager does the AP and the NAT in one go:
sudo nmcli dev wifi hotspot ifname wlan0 ssid shed-iot password 'long-passphrase-here'
sudo nmcli con mod Hotspot connection.autoconnect yes ipv4.method shared
ipv4.method shared hands out DHCP to the ESP32s and NATs them out of whatever has the default route, your 4G dongle. The Pi’s onboard Wi-Fi is fine for 8 clients at short range.
Where I’d think twice is heat and SD cards, plus nobody can reach the Pi when it hangs. If you go Pi: metal case as heatsink, a decent industrial SD or USB SSD, read-only root if you can, and the hardware watchdog enabled.
What a licensed router gives you on Hermetry for the money: you claim it with the code on its local Cloud page, it logs in with its own certificate, you can change its settings and update its firmware from Hermetry, and you can open its web panel from its device page without a fixed IP, which on a 4G link you won’t have. It’s a device in your org itself and counts once against the device limit. Remote access sessions are time-limited and audited.
My rule: one site I can drive to, Pi. Sites that need a ute and a day, licensed router. Details: Licensed gateways and Hermetry Edge.
Yapay zekâ tarafından English dilinden çevrildi ·
Parçalar elimde olduğu için bu hafta sonu Pi sürümünü yaptım; nmcli hotspot eski öğleden sonra yerine on dakika sürdü. Sekiz düğümün tamamı rapor veriyor. Uzak bloklar için yine de lisanslı bir router fiyatına bakacağım; 4G’de tam olarak eksik olduğum şey “sabit IP olmadan paneli açma” özelliği. Teşekkürler Neha.
Built the Pi version this weekend since I had the parts, the nmcli hotspot took ten minutes instead of the old afternoon. All eight nodes report. I’m going to price a licensed router for the far blocks though, the “open the panel without a fixed IP” bit is exactly what I’m missing on 4G. Thanks Neha.
- Bu konuyu yanıtlamak için giriş yapmış olmalısınız.
Sohbete katılın
Soru sormak ve yanıtlamak, yararlı gönderileri beğenmek ve sorununuzu çözen yanıtı işaretlemek için oturum açın. Her katkı puan ve seviye kazandırır.

