gamzek48
@gamzekorkmaz48 · Joined August 2026
Tesis yöneticisi · otelcilik
- Topics
- 1
- Replies
- 9
- Points
- 0
Forum Replies Created
Can our technicians switch a place to Manual themselves during maintenance, or only admins?
Bizde de ısı sayaçlarında benzer kilitlenme vardı, sebebi buymuş demek. Kurulumu yapan firmaya iletiyorum.
Otelde soğuk odalarda hazır LoRaWAN sıcaklık-nem sensörleri var bizde, 2 AA pille ikinci yılındalar, hâlâ yüzde 60 civarı gösteriyorlar. Kurulumu da kolaydı.
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.
Bizde otelde bir sayaç okuyucuda benzeri vardı, adaptörü değiştirince geçmişti. Ucuz USB adaptörü ESP32’nin Wi-Fi anındaki akımını kaldıramıyor olabilir.
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.
Kerem Bey sağ olun. İki odaya ESP-07S ve dışarı anten taktırdık, RSSI -63 / -66 oldu, iki gündür tek kopma yok. Offline süresini de 600 yaptım. Teknisyen ESP-07S’te flash ederken GPIO15’i toprağa çekmeyi unutmuş, yarım gün onunla uğraştık, onu da yazayım.
Translated from Türkçe by AI ·
The technician added: with the lid closed between -86 and -91, when open -68.
Teknisyen ekledi, kapak kapalıyken -86 ile -91 arası, açıkken -68.
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.
Güç kaynağı zayıf olabilir mi? Açılışta voltaj düşünce röle titrer diye okumuştum.
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
Bizim otelde birebir bunu yaşadık, 140 odalı binada. Oğuz Bey’e katılıyorum: ayrı bir standart yok, mesele mimari.
Bizim yaptığımız şu: IoT VLAN’ı internete kapalı kaldı. O VLAN’a bir Raspberry Pi 4 koyduk, iki ayaklı. Bir bacağı IoT ağında, oradaki yerel Mosquitto’yu dinliyor. Diğer bacağı yönetim ağında, sadece dışarı TCP 8883’e izni var. IT’ye tek bir kural yazdırdık: “bu IP’den Hermetry broker host’una 8883 outbound”. İçeri hiçbir port açık değil.
Pi Hermetry’de tek bir cihaz olarak tanımlı ve “This device is a gateway” işaretli. Odalardaki sensörlerin verisini kendi adına v1/gw/* topic’leriyle gönderiyor, Hermetry her sensörü ilk raporda child cihaz olarak kendisi oluşturuyor. Odadaki sensörlerin Hermetry için hiçbir kimliğe ihtiyacı yok.
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}}}
type alanı Hermetry’de aynı isimde bir profil varsa onu kullanıyor, böylece tüm oda sensörlerinin alarm kuralları tek profilde. Varsayılan sınır gateway başına 500 child, bizim için fazlasıyla yetiyor. Her child cihaz sayısına ayrıca sayılıyor, planı ona göre seçin.
Gerekirse child cihazlara komut ve shared attribute da gönderebiliyorsunuz, Pi bunları v1/gw/rpc ve v1/gw/attributes üzerinden alıp odadaki cihaza iletiyor. Biz odalara komut göndermiyoruz, sadece izliyoruz.
Ayrıntılar: Ağ geçidinin arkasındaki cihazlar

