oguz59
@oguz-ozkan · Joined May 2025
Akıllı şehir mühendisi · su ve atık su
- Topics
- 5
- Replies
- 36
- Points
- 0
Forum Replies Created
Translated from Türkçe by AI ·
If you can’t cut the cable, the ACS712 is already ruled out, it connects in series. An SCT-013 clamp goes around the phase conductor and you don’t touch anything. At our pump stations we fitted one on each of the 3 phases.
Kablo kesemiyorsan ACS712 zaten elendi, o seri bağlanıyor. SCT-013 pens, faz iletkeninin etrafına takıyorsun, hiçbir şeye dokunmuyorsun. Biz pompa istasyonlarında 3 fazın her birine birer tane taktık.
Translated from Türkçe by AI ·
Have you tried pinging raspberrypi.local? If mDNS is enabled, you’ll find it directly.
raspberrypi.local ile ping atmayı denedin mi? mDNS açıksa direkt bulursun.
Hermetry City’nin dokümanlarda kendi sayfası yok, gürültü izleme yapıp yapmadığını oradan çıkaramadım. Bu iş için City şart değil bence, normal IoT modülleriyle (cihaz, kural, grafik) kurulur.
Translated from Türkçe by AI ·
The same applies to the device too, don’t set a static IP in the firmware. On one of our RTUs it was done that way, and for months we searched for why it wasn’t connecting.
Cihazda da aynı şey geçerli, firmware’de IP sabitlemeyin. Bizim bir RTU’da öyle yapılmıştı, aylarca neden bağlanmadığını aradık.
259 byte kalmış, sorun büyük ihtimalle orada. Modbus cevabını oluşturacak yer kalmıyordur.
Translated from Türkçe by AI ·
Add -d, it gives debug output.
-d ekle, debug çıktısı verir.
Translated from Türkçe by AI ·
On a Pi 4 you don’t need to look at bus 1, 0 on the header. A completely empty table usually comes from one of two things, and I ran into the same thing on a site:1. SDA and SCL are swapped. Pin 3 is SDA (GPIO2), pin 5 is SCL (GPIO3). Follow the wiring again using the labels on the module, cheap cables often have mixed-up colours.2. On a 6-pin module, if CSB is left floating the chip can switch to SPI mode at power-up. Connect CSB to 3.3 V and SDO to GND and the address becomes 0x76; connect SDO to 3.3 V and it becomes 0x77.Quick check: with the Pi on and the sensor connected, measure the voltage of SDA and SCL against GND with a multimeter. Both should be around 3.3 V (the Pi has pull-ups). If you see 0 V, something is pulling the line down: a short circuit or a wrong pin.Once the address shows up, check the chip ID too: on a BME280 register 0xD0 returns 0x60. If it returns 0x58, you were sold a BMP280, which has no humidity sensor; there are a lot of them on the market.
sudo i2cget -y 1 0x76 0xD0
Pi 4’te header’daki bus 1, 0’a bakmana gerek yok. Tamamen boş bir tablo genelde iki şeyden olur, ben de bir sahada aynısını yaşadım:
1. SDA ve SCL ters. Pin 3 SDA (GPIO2), pin 5 SCL (GPIO3). Modülün üstündeki yazıya göre kabloyu bir daha takip et, ucuz kablolarda renkler karışıyor.
2. 6 pinli modülde CSB boşta kalırsa çip açılışta SPI moduna geçebiliyor. CSB’yi 3,3 V’a bağla, SDO’yu GND’ye bağlarsan adres 0x76, 3,3 V’a bağlarsan 0x77 olur.
Hızlı kontrol: Pi açıkken ve sensör bağlıyken multimetreyle SDA ve SCL’nin GND’ye göre gerilimini ölç. İkisi de 3,3 V civarında olmalı (Pi’de pull-up var). 0 V görüyorsan bir şey hattı aşağı çekiyor, kısa devre ya da yanlış pin.
Adres çıkınca chip id’ye de bak: BME280’de 0xD0 register’ı 0x60 döner. 0x58 dönüyorsa sana BMP280 satmışlar, onda nem yok, piyasada çok oluyor.
sudo i2cget -y 1 0x76 0xD0
Aynısını ben de yaşadım, sonunda USB-RS485 dönüştürücü taktım, UART’lara hiç dokunmadım. O da bir yol.
Translated from Türkçe by AI ·
A note: make the soil moisture sensor capacitive; resistive ones corrode out in the field within a few months. That’s what happened in our field.
Bir not: toprak nemi sensörü kapasitif olsun, rezistif olanlar tarlada birkaç ayda korozyondan bitiyor. Bizim sahada öyle oldu.
ESP32-S3 DevKitC ile denedim. Toprak Bey’in dediği odak sorunu ilk testte başıma geldi, değer Not Defteri’ne yazıldı 🙂 Programın F2 kısayolunu öne aldım, artık düzgün yazıyor. Komut Privileged + High impact, aralık 0.2-3.0. BT tarafı test bilgisayarında izin verdi, sahaya geçmeden önce resmi onay alacağız.
Translated from Türkçe by AI ·
Summing watts with sum doesn’t give energy, you’re adding up each 10-second reading. 8640 readings per day × 0.9 W ≈ 7776, that’s where the number comes from.
sum ile watt toplamak enerji vermez, her 10 saniyelik okumayı topluyorsun. Günde 8640 okuma × 0.9 W ≈ 7776, sayı oradan geliyor.
Translated from Türkçe by AI ·
Ayşe caught it, that’s the real issue. There are two things.Frequency: The Ra-02 is a 433 MHz module. On Hermetry the frequency plan is determined by the gateway, so if your friends’ gateway is on 868, the device also needs to be EU868. The join request sent on 433 is not heard by anyone, which is why the frames log is empty. Even if you fix the level shifting, you won’t join with this module.Voltage: As Büşra said, there’s no driving at 5V. I would do it this way: an 868 MHz SX1276 module (the RFM95W 868 version is common) and a 3.3V board. An ESP32 works, and so does a 3.3V Pro Mini. That way you don’t need a level converter. If it’s something battery-powered like a soil moisture sensor, the Pro Mini draws less current.On the Hermetry side, add the device as Class A, OTAA. In LMIC, select the EU868 region (CFG_eu868 in lmic_project_config.h), and pay attention to the byte order of DevEUI and AppEUI: LMIC wants LSB, AppKey wants MSB. Everyone gets stuck there on the first try.Regions and channels are here: Bölgeler ve frekans planları
Ayşe yakaladı, asıl mesele bu. İki şey var.
Frekans: Ra-02 433 MHz’lik modül. Hermetry’de frekans planı gateway’e göre belirleniyor, arkadaşlarının gateway’i 868’deyse cihazın da EU868 olması lazım. 433’ten çıkan join isteğini kimse duymuyor, frames log’un boş olması bu yüzden. Seviye dönüştürmeyi düzeltsen de bu modülle join olmazsın.
Gerilim: Büşra’nın dediği gibi 5V sürme yok. Ben şöyle yapardım: 868 MHz’lik bir SX1276 modülü (RFM95W 868 sürümü yaygın) ve 3.3V bir kart. ESP32 de olur, 3.3V Pro Mini de olur. Böylece seviye dönüştürücüye gerek kalmıyor. Toprak nemi gibi pille çalışacak bir şeyse Pro Mini daha az akım çeker.
Hermetry tarafında cihazı Class A, OTAA olarak ekle. LMIC’te EU868 bölgesini seç (lmic_project_config.h içinde CFG_eu868), DevEUI ve AppEUI’nin bayt sırasına dikkat, LMIC LSB istiyor, AppKey MSB. İlk denemede herkes orada takılıyor.
Bölge ve kanallar burada: Bölgeler ve frekans planları
Translated from Türkçe by AI ·
A browser cannot speak plain TCP MQTT, so WebSocket is a must. 8883 is the normal MQTT/TLS port, I think there is no WebSocket there. I honestly don’t know whether Hermetry has a separate ws port.
Tarayıcı düz TCP MQTT konuşamaz, websocket şart. 8883 normal MQTT/TLS portu, orada websocket yok bence. Hermetry’de ayrı bir ws portu var mı bilmiyorum açıkçası.
Ekibe kendi master fikrini bıraktırdım 🙂 Modbus TCP’li bir master ile Pi üzerinden v1/gw yolunu denedik, 4 port, 4 child cihaz, teşhis değerleri dahil geliyor. İlk denemede gateway işaretini unutmuşum, forbidden_topic aldım, işaretleyince düzeldi. Teşekkürler Hakan Bey.
Hazır modülden sonra Hermetry’ye nasıl gidiyor peki? OPC UA mı kullanıyorsunuz?

