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

Gamze Korkmaz

gamzek48

@gamzekorkmaz48 · Joined August 2026

Newcomer

Tesis yöneticisi · otelcilik

Topics
1
Replies
9
Points
0
Newcomer10 points to Member

Forum Replies Created

Viewing 9 posts – 1 through 9 (of 9 total)

Otelde pilli kapı sensörlerinin ömrünü takip ederken bunu yaşadık, birlikte çalıştığımız teknisyen şöyle kurmuştu.

Sahada akımı ölçmeye çalışmayın. PPK2 ile masada bir kere ölçün: uykuda kaç µA, bir uyanma döngüsü kaç ms sürüyor ve ortalama kaç mA çekiyor. Sonra cihaz her uyanmada bu döngünün harcadığı yükü kendisi hesaplasın ve onu göndersin:

// masada olculen degerler
const float UYKU_uA = 7.5;
const float UYANIK_mA = 92.0;

float uyanik_s = (millis() - uyanma_ms) / 1000.0;
float uyku_s   = son_uyku_suresi_s;          // RTC'den
float mAs = UYANIK_mA * uyanik_s + (UYKU_uA / 1000.0) * uyku_s;
// gonderilen: {"enerji.mAs": 41.3, "pil.v": 2.97}

Hermetry’de her mesaj ayrı bir tutar olduğu için grafik kartında bu anahtarın toplama fonksiyonunu sum seçiyoruz, günlük kova ile her gün kaç mAs gittiğini görüyoruz (3600’e bölünce mAh). Sayaç gibi sürekli artan bir değer gönderseydiniz increase kullanılırdı, tutar gönderiyorsanız sum. Bir not: günlük kovalar UTC gününe göre. Ayrıntılar: toplama fonksiyonları sayfası.

Gizem Hanım’ın dediği pil voltajını da yanına koyun (pil.v, toplama last ya da min). Voltaj eğrisi düzken tükenmiş mAh’ı görmek, voltaj düşmeye başlayınca da gerçek durumu görmek işe yarıyor.

Modbus sadece register'dır, ta ki olmayana kadar.
Accepted solution♥ 6

Translated from Türkçe by AI ·

Thanks a lot, Kerem. We fitted two rooms with ESP-07S and external antennas, RSSI is -63 / -66, and there have been no drops for two days. I also set the offline timeout to 600. The technician forgot to pull GPIO15 to ground while flashing the ESP-07S, and we struggled with it for half a day, so I’ll mention that too.

Modbus sadece register'dır, ta ki olmayana kadar.
♥ 0

Translated from Türkçe by AI ·

The technician added: with the lid closed between -86 and -91, when open -68.

Modbus sadece register'dır, ta ki olmayana kadar.
♥ 0

Translated from Türkçe by AI ·

Could the power supply be weak? I read that the relay chatters when the voltage drops during startup.

Modbus sadece register'dır, ta ki olmayana kadar.
♥ 0

Translated from Türkçe by AI ·

We experienced exactly this in our hotel, a building with 140 rooms. I agree with Oğuz Bey: there is no separate standard, it is an architecture issue.What we did: the IoT VLAN was kept closed to the internet. We put a Raspberry Pi 4 with two legs on that VLAN. One leg is on the IoT network, where it listens to the local Mosquitto. The other leg is on the management network, and it is only allowed outbound TCP 8883. We had IT write a single rule: “from this IP to the Hermetry broker host, 8883 outbound”. No inbound port is open.The Pi is defined in Hermetry as a single device and marked “This device is a gateway”. It sends the room sensors’ data under its own name using v1/gw/* topics, and Hermetry creates each sensor as a child device itself on its first report. The room sensors need no identity in Hermetry.

PUBLISH v1/gw/connect
{"device": "oda-214-klima", "type": "oda-sensoru"}

PUBLISH v1/gw/telemetry
{"oda-214-klima": {"values": {"temperature": 22.4, "humidity": 51}},
 "oda-214-kapi":  {"values": {"door_open": 0}}}

If Hermetry has a profile with the same name as the type field, it uses that profile, so all room sensors’ alarm rules are in one profile. The default limit is 500 children per gateway, which is more than enough for us. Each child device is also counted separately, so choose your plan accordingly.If needed, you can also send commands and shared attributes to child devices. The Pi receives them via v1/gw/rpc and v1/gw/attributes and forwards them to the room device. We don’t send commands to the rooms, we only monitor them.Details: Devices behind a gateway

Modbus sadece register'dır, ta ki olmayana kadar.
Accepted solution♥ 5
Viewing 9 posts – 1 through 9 (of 9 total)