New: the AI firewall watches the whole platform and explains each incident in plain words. See how it works

Kerem Aslan

aslandev

@aslan-k · Joined January 2026

Newcomer

Backend geliştirici · enerji · sahada 24 yıl

Topics
2
Replies
16
Points
0
Newcomer10 points to Member

Forum Replies Created

Viewing 15 posts – 1 through 15 (of 16 total)

Translated from Türkçe by AI ·

At -86 and below, the limit for ESP8266 is marginal, and the metal cabinet acts like a Faraday cage. The ESP-01 has a PCB antenna and no external antenna input. We had the same problem in our warehouse and solved it like this:We replaced the module with an ESP-07S or with the U.FL connector version of the ESP-12 (the ESP-07S has no PCB antenna, only U.FL, so there is no confusion). With an RP-SMA panel-type pigtail cable from the U.FL, we brought the antenna out through the top of the cabinet, and on the outside we fitted a small 3 dBi rod antenna. If you want to use an ESP32, the ESP32-WROOM-32U follows the same approach. The code does not change, only the pin definitions.Keep the cable short (20-30 cm), since a long thin coaxial cable causes losses at 2.4 GHz. Keep the antenna at least a few cm away from the metal surface of the cabinet, and keep it upright. For us, the signal went from -88 to -61.On the Hermetry side, also do this: check the Open after (seconds offline) value in the offline rule. The default is 600, but yours may have been set to something short like 60, so set it back to 600. Short disconnections will not open an alarm, and a device that really disconnects will still be caught within 10 minutes. Details: Offline alarmları. Also keep the keepalive in the 30-60 second range; the PubSubClient default is 15 seconds.

Accepted solution♥ 7

Alarm koşulunda aritmetik yok, haklısın, “eşik + yüzde 20” ya da “geçen haftaya göre” yazılamıyor. Ben bunu kendi su pompalarımda iki adımda çözdüm.

Birinci adım cihazda: her saniyelik akım yerine her açılış-kapanış döngüsünün özetini gönder. Döngü bitince tek mesaj:

{"cycle.peak_a": 4.1, "cycle.avg_a": 2.3,
 "cycle.duration_s": 14.2, "cycle.energy_wh": 0.21}

Yaşlanan motorda önce cycle.duration_s ve cycle.avg_a artıyor. Grafikte günlük ortalama ile çizince aylık trend çok net görünüyor. Mesaj sayısı da düşüyor.

İkinci adım alarm: eşiği sabit sayı yerine cihazın özniteliğinden okut. Motor yeniyken birkaç gün ölç, normal süreyi bul (ör. 12 s), cihaza duration_limit = 14.5 diye bir server attribute yaz. Kural:

"severities": [
  { "severity": "WARNING",
    "condition": { "key": "cycle.duration_s", "op": ">",
                   "value": { "attribute": "duration_limit" } } }
],
"debounce": { "mode": "count", "raise": 3, "clear": 3 }

Debounce 3 sayesinde buzlu bir sabahtaki tek yavaş açılış alarm açmıyor, arka arkaya üç yavaş döngü açıyor. Fırçayı değiştirince özniteliği güncellersin, yarım dakika içinde yeni değer kullanılıyor. 6 A kuralını da kalsın, o sıkışma gibi ani durumlar için.

Öznitelikten eşik okuma: Alarm koşulları referansı.

Accepted solution♥ 5

Tuğba’nın tanımı iyi bir başlangıç. Ben şöyle ayırıyorum, 24 yıldır enerji tarafındayım:

IoT bağlantı katmanı: cihazın veriyi bir yere ulaştırması. CPS fiziksel süreç ile hesaplamanın kapalı döngüde birleşmesi: ölç, karar ver, sahaya geri etki et. Dijital ikiz de bir varlığın verilerle güncel tutulan modeli: nerede, neye bağlı, şu an ne durumda.

Hermetry Twin’i ikiz tarafına koyarım. Sites & Assets’te bir ağaç kuruyorsunuz (saha, köşk, trafo gibi), cihazları bu ağaca yerleştiriyorsunuz. İlişkilerle daha fazlasını söylüyorsunuz: UPS köşkü besler (Feeds), kontrolör pompayı yönetir (Manages), kamera kapıyı izler (Monitors). Her yerin bir durumu var, altındaki cihazların en kötüsü yukarı taşınıyor, bir trafodaki kritik alarm köşkü ve sahayı da kırmızıya çeviriyor. Üstüne 2D çizim ve 3D görünüm bağlanabiliyor.

Kapalı döngü kısmı Twin’de değil, kurallar ve komutlarda: örneğin sıcaklık 5 dakika boyunca eşiğin üstünde kalırsa fanı çalıştıran bir kural. İkisini birlikte kurarsanız teklifte “CPS” demek de haksız olmaz.

Bir tuzak: durum anahtarında true kritik sayılıyor. Cihazınız “çalışıyor” anlamında status: true gönderirse saha kırmızı görünür. Ayrıntı: Hermetry Twin.

Accepted solution♥ 2

Aynı değil. Desibel, havadaki ses basıncının ölçüsü, onu ölçmenin yolu bir basınç dönüştürücü, yani mikrofon. İvmeölçer duvarın ya da makinenin titreşimini ölçer, havadan gelen sesi değil. Soğutma kulesinin fan sesi duvarı neredeyse hiç titretmez ama komşunun penceresine kadar gider.

Yağmur meselesi çözülmüş bir konu. Bir enerji santralinin çevre ölçümünde kullandığımız düzen şuydu: dış ortam kiti (yağmur başlığı, rüzgarlık, kurutucu) olan sınıf 2 bir ses seviye ölçer, RS485 Modbus çıkışlı. Cihaz 1 dakikalık LAeq değerini bir register’da tutuyor. Bir gateway onu Modbus ile okuyup Hermetry’ye gönderiyor, ölçer child cihaz olarak görünüyor.

Hermetry tarafı bugün çalışan parçalarla:

  • laeq_1min telemetrisi, grafik kartında gece-gündüz.
  • Rules kartı: When “A value changes” laeq_1min 55’in üstüne çıkınca, Only if “A time window” 22:00 sonrası, 07:00 öncesi, Then “Tell people”. Kartta rol seçiliyor (Owners, Admins, Members), tek tek kişi ya da ekip vermek için kurallar API’si var.
  • Şikayet gelince ilgili gecenin verisini grafikten indirirsiniz.

Ölçerin yeri önemli, duvarın 1-2 m üstüne ve yansıtıcı yüzeylerden uzağa koyun. Kural kartının saat koşulu sitenin saat dilimine göre çalışıyor, site ayarı boşsa UTC kullanılıyor, onu bir kontrol edin. Ayrıntı: Saat, gün doğumu/batımı, tarihler ve tatiller.

Accepted solution♥ 6

Translated from Türkçe by AI ·

avg × 24 is a rough estimate, but with one condition: the readings must arrive regularly. Hermetry’s avg is not time-weighted. It is the plain mean of the readings within a bucket. If the ESP32 drops off Wi-Fi for half an hour, that half hour is not counted at all, and if readings arrive in a rush after it reconnects, those minutes get too much weight.By the way, I work on the energy side. With the relay off, seeing 0.4 to 1.2 W on these plugs is normal. The Wi-Fi module stays on all the time. So a reading of 0.9 on yours is reasonable.

♥ 1

Translated from Türkçe by AI ·

Don’t fall back to PNG. For this there is a display link, which we use on the screens in the plant control room.The dashboard must be shared. Open the shared dashboard, from the dashboard menu select Display links…, give the screen a name (Lab corridor), choose its duration (from 1 day up to 365 days), Create link. The link is shown only once, copy it right away. A screen opened with this link doesn’t ask for a login and works with the authority of the person who created the link, no more than that. No controls work from the screen; even if there are buttons, they are inactive, so someone in the corridor can’t change anything.In the Pi’s autostart, add this:

chromium-browser --kiosk --noerrdialogs --disable-infobars 
"https://<host>/...#<bağlantının gizli kısmı>"

In the dashboard settings, turn on Fill the screen height and set Refresh every to a value such as 30 seconds. Two notes: 3D views are not shown on display links, so if the dashboard has a 3D card, it stays empty on the screen. Make a separate link for each screen, so that cancelling one doesn’t affect the others.Duvar ekranları, tam ekran ve yakınlaştırma

Accepted solution♥ 1

24V DIN ray kaynağı taktık, uç noktada öğlen 21.8V ölçtüm. Üç gündür tek bir sensör düşmedi. Sensörlerin besleme register’ı varmış, onu da gönderiyorum, Tuğba hanımın dediği grafiği de rapora koydum. Ekran zaten tek uçtan bağlıymış.

♥ 2

Translated from Türkçe by AI ·

The flow editor looks scary but is easy once it’s set up. I think you do it with a Schedule trigger + Send command block. I don’t know about the sunset part.

♥ 0
Viewing 15 posts – 1 through 15 (of 16 total)