hakan_fw
@hakangundogdu10 · Joined February 2026
Gömülü yazılım geliştirici · elektronik
- Topics
- 7
- Replies
- 11
- Points
- 0
Forum Replies Created
Çok net oldu, teşekkürler Hakan Bey. Satır satır JSON’a geçtim, ilk gün gerçekten iki tane bozuk satır yakaladı try/except. Baud’u da 115200 yaptım. İkinci Nano gelince gateway’e geçeceğim.
Şu an 9600, ama değiştirebilirim.
Translated from Türkçe by AI ·
Sends on every message, only when it changes. Attribute messages have a separate per-device limit, lower than telemetry.
Her mesajda gönderme, sadece değişince. Attribute mesajlarının cihaz başına ayrı bir limiti var, telemetriden düşük.
Translated from Türkçe by AI ·
I set up the bt-agent service plus a button-triggered 2-minute window, and pairing now works without issues. The getty problem was exactly as you said: the -C was missing, and rfcomm was throwing an “sdp” error, I was looking for the error in the wrong place. Thanks.
bt-agent servisi + butonla 2 dakikalık pencere yaptım, eşleşme artık sorunsuz. getty meselesi tam dediğin gibi -C eksikti, rfcomm “sdp” hatası veriyordu, ben hatayı yanlış yerde arıyordum. Teşekkürler.
Sağ olun. Single channel fikrinden vazgeçtim, SX1302’li bir HAT aldım, eski Pi 3’e taktım, Basics Station ile bağladım. 6 düğümü LMIC ile OTAA’ya geçirdim, hepsi ilk iki denemede join etti. Önce raw hex geldi, kendi codec’imi yazınca sıcaklık ve nem ayrı anahtarlar olarak düştü. Paket kaybı neredeyse sıfır.
Translated from Türkçe by AI ·
The line ending really is , I checked with hexdump. The port problem is also solved with by-id. Now I just send stable readings once a second, and it has been running without issues for 2 days with systemd. Thanks.
Satır sonu gerçekten imiş, hexdump ile baktım. by-id ile port sorunu da bitti. Şimdi sadece stabil okumaları saniyede bir yolluyorum, systemd ile 2 gündür sorunsuz. Sağ olun.
Translated from Türkçe by AI ·
It works, thanks. The ESP32 wasn’t actually subscribed to v1/gw/rpc, and I had put the command in the gateway’s profile. I added 6 sliders, each one bound to its own child. Also, the slider only sends when released. I thought it was sending on every movement and was getting ready to write a queue on the ESP32, but it’s not needed now.
Çalıştı, sağ olun. ESP32 gerçekten v1/gw/rpc’ye abone değilmiş, komutu da gateway’in profiline koymuşum. 6 slider koydum, her biri kendi child’ına bağlı. Bir de slider sadece bırakınca gönderiyor, ben her harekette gidiyor sanıp ESP32’de kuyruk yazmaya hazırlanıyordum, gerek kalmadı.
Translated from Türkçe by AI ·
I defined it. light.set, with parameter level. I first set the Tier to Privileged, got the “This command cannot be sent from a board” error, then moved it to Basic. But when I select the child device, the command doesn’t go out, it stays at Sent.
Tanımladım. light.set diye, parametre level. Tier’ı Privileged yaptım önce, “This command cannot be sent from a board” hatası aldım, Basic’e çektim. Ama child cihazı seçince komut gitmiyor, Sent’te kalıyor.
Translated from Türkçe by AI ·
The permission problem is gone after adding the user to dialout, thanks. But I have two new issues: after rebooting the Pi, sometimes the scale indicator becomes ttyUSB1 (there is also a USB-RS485 on the same Pi), and readline sometimes waits forever, with nothing being printed. The indicator data does flow in a terminal program, though.
dialout ile izin sorunu gitti, teşekkürler. Ama iki yeni dert: Pi’yi yeniden başlatınca bazen ttyUSB1 oluyor (aynı Pi’de bir de USB-RS485 var), ve readline bazen sonsuza kadar bekliyor, hiçbir şey basmıyor. Terminal programında indikatör verisi akıyor ama.
Translated from Türkçe by AI ·
Automatic level shifters like TXS0108 sometimes cause problems on SPI, I use a 74LVC245 or a resistor divider. Cleaner is a 3.3V board.
TXS0108 tarzı otomatik dönüştürücüler SPI’da bazen sorun çıkarıyor, ben 74LVC245 ya da direnç bölücü kullanıyorum. Daha temizi 3.3V bir kart.
Haklısınız, ikisi birden. Seviye dönüştürücü taktım, callback’i bayrağa çevirdim. İlk modül gerçekten bozulmuş, yenisini takınca iki gündür hiç kesilmeden alıyor. CS konusunu da kontrol ettim, shield 10 numarayı, LoRa 53’ü kullanıyor. Teşekkürler Derya Hanım.

