davidp11
@david-patel · Mart 2025 tarihinde katıldı
Facility manager · hospitality · new to IoT
- Konular
- 8
- Yanıtlar
- 63
- Puan
- 0
Oluşturulan forum yanıtları
Yapay zekâ tarafından English dilinden çevrildi ·
Devamla, otelimizdeki toplantı odaları için buna benzer bir şey yapmak istiyorum.
Following, I want to do something similar for meeting rooms in our hotel.
Yapay zekâ tarafından English dilinden çevrildi ·
Bunu panjur yüklenicimize gönderiyorum, aynı fikir işe yaramalı.
Sending this to our blinds contractor, same idea should work.
Yapay zekâ tarafından English dilinden çevrildi ·
Bunun devamı olarak, motorlu panjurlarda da aynı durum var.
Following this, we have the same with motorised blinds.
Yapay zekâ tarafından English dilinden çevrildi ·
Pi OS sürümlerinin bunu değiştirdiğini bilmiyordum, bilmek güzel.
Didn’t know the Pi OS versions changed this, good to know.
Yapay zekâ tarafından English dilinden çevrildi ·
Yönlendirme gerekmiyor, cihazlar her zaman dışarıya bağlantı başlatır. Ben de tesis yönetimiyim, BT uzmanı değilim; ancak geçen yıl otelimizde BT yüklenicimiz tüm oda sensörlerini ve kazan ağ geçidini ayrı bir SSID’ye aldığında bunu yaşadım ve bu süreçten çok şey öğrendim.Sensörlerin dışarıya giden ihtiyaçları:
TCP 8883 MQTT over TLS to the device host on your Connection details card
TCP 443 only if any of them use the HTTPS device API
UDP 53 DNS (they connect by host name, TLS needs the name)
UDP 123 NTP, the ESP needs real time to check the server certificate
Içeriye gelen trafik yok. AX55 misafir ağında “birbirini görsün ve yerel ağıma erişsin” seçeneği KAPALI olduğunda hemen hemen doğru yapılandırmayı elde edersiniz: ESP’ler internete erişebilir ama dizüstü bilgisayara erişemez.Test sensörünüz için tahminim: ya ana makineyi çözümleyemiyor (bazı misafir ağları tuhaf DNS adresleri dağıtır) ya da zamanı alamıyor. Bizde tam olarak böyle oldu; yeni SSID’de NTP engellendiği için ESP’ler TLS bağlantısında başarısız oluyordu. Mümkünse seri çıktıyı izleyin.Hermetry tarafında cihaz profilinizi açın ve cihaz taşıma güvenliği sayfasındaki sertleştirme listesini kontrol edin: düz MQTT kapalı (yalnızca TLS, 8883 portu), URL’deki token kapalı, TLS olmadan izin verilen komutlar boş. Ayrıca en fazla 64 ağ veya adres alabilen bir İzin verilen ağlar alanı var; bu listenin dışındaki cihazlar reddedilir. Evinizin sabit bir genel IP adresi varsa onu buraya yazabilirsiniz, böylece karttan kopyalanan bir token başka hiçbir yerde işe yaramaz.Sayaç sayfanız için: izolasyon açıkken, ana Wi-Fi’deki telefonunuz ona erişemez. Bu tür işler için bir dizüstü bilgisayarı cihaz SSID’sinde tuttuk.
No forwarding needed, the devices always call out. I’m a facilities guy too, not IT, but I went through this at our hotel last year when our IT contractor put all the room sensors and the boiler gateway on a separate SSID, and I learned a lot from that.
What the sensors need outbound:
TCP 8883 MQTT over TLS to the device host on your Connection details card
TCP 443 only if any of them use the HTTPS device API
UDP 53 DNS (they connect by host name, TLS needs the name)
UDP 123 NTP, the ESP needs real time to check the server certificate
Nothing inbound. On the AX55 guest network with “see each other and access my local network” switched OFF you get roughly the right thing: the ESPs can reach the internet but not the laptop.
My bet for your test sensor: either it can’t resolve the host (some guest networks hand out odd DNS), or it can’t get time. Ours did exactly that, the ESPs sat there failing TLS because NTP was blocked on the new SSID. Watch the serial output if you can.
On the Hermetry side, open your device profile and check the hardening list on the device transport security page: plain MQTT off (TLS only, port 8883), token in the URL off, commands allowed without TLS empty. There is also an Allowed networks field (up to 64 networks or addresses); devices outside it are refused. If your home has a fixed public IP you can put it there, so a token copied off a board is useless anywhere else.
For your meter page: with isolation on, your phone on the main Wi-Fi won’t reach it. We kept one laptop on the device SSID for that kind of thing.
Yapay zekâ tarafından English dilinden çevrildi ·
Havuz sensörüm yüzeyinde yoğuşma olduğunda garip davranışlar gösterdi, silmekte fayda var.
My pool sensor did weird stuff when there was condensation on the face, worth wiping it.
Yapay zekâ tarafından English dilinden çevrildi ·
Ben tesis yöneticisiyim, mühendis değilim; ama otelimizin ek binasındaki sayaçlarda tam olarak bu sorunu yaşadık ve elektrikçimiz bana bunu açıkladı. Ayrı besleme hatlarına sahip iki bina aynı toprak potansiyelinde değildir. RS485 sinyalinizi geçidin toprağına göre ölçülür ve MAX485, hattın kendi toprağına göre yaklaşık -7 ile +12 V arasındaki farkı tolere eder. B binasında büyük bir cihaz devreye girdiğinde fark bu sınırı aşar ve entegre bozulur. Ekranlamanın iki ucunun da topraklanması, ekran üzerinden iki toprak arasında akım akmasına yol açar ve bu durumu daha da kötüleştirir. Elektrikçi, iki toprak arasında bir multimetreyle birkaç volt AC ölçtü.Elektrikçiye göre bizde sorunu çözen şey şunlardı:
- Geçitte izole bir RS485 alıcı-verici (ADM2587E veya ISO3082 tipi ya da hazır izole bir modül). Hat tarafı hatla birlikte yüzer, Pi tarafı Pi’nin toprağında kalır.
- Ekran yalnızca bir uçtan topraklanır ve alıcı-vericiler arasında sinyal referansı olarak üçüncü bir tel kullanılır.
- Bina girişinde RS485 için üretilmiş TVS diyotlarla (SM712 gibi) aşırı gerilim koruması; bu aynı zamanda Michael’ın yıldırım noktasını da kapsar.
Değişiklikten bu yana iki yıldır bozulan bir entegre yok.”Kimse fark etmiyor” kısmına gelince: geçit betiğimiz, üç sorgulamaya arka arkaya yanıt vermeyen bir sayaç için v1/gw/disconnect gönderir; böylece bu cihaz Hermetry’de çevrimdışı olur ve sayaç profilinde bir çevrimdışı alarmı bulunur. 15 dakika içinde bir mesaj alıyoruz.
I’m a facility manager, not an engineer, but we had exactly this with meters in our hotel’s annex, and our electrician explained it to me. Two buildings with separate supplies don’t sit at the same ground potential. Your RS485 signal is measured against the gateway’s ground, and the MAX485 only tolerates the bus being about -7 to +12 V away from its own ground. When something big switches in building B, the difference jumps past that and the chip dies. Shield grounded at both ends also lets current flow along the shield between the two grounds, which makes it worse. He measured several volts AC between the two grounds with a meter.
What fixed ours, per the electrician:
- An isolated RS485 transceiver on the gateway (ADM2587E or ISO3082 type, or a ready isolated module). The bus side floats with the bus, the Pi side stays on the Pi’s ground.
- Shield grounded at one end only, and a third wire as signal reference between the transceivers.
- Surge protection (TVS diodes made for RS485, like the SM712) at the building entry, which also covers Michael’s lightning point.
Since the change, two years without a dead chip.
And for “nobody notices”: our gateway script sends v1/gw/disconnect for a meter that stops answering three polls in a row, so the child goes offline in Hermetry, and the profile of the meters has an offline alarm. We get a message within 15 minutes.
Yapay zekâ tarafından English dilinden çevrildi ·
Bunun devamı olarak, iki otelimizde de aynı artık sensörlere sahibiz.
Following this, we have the same leftover sensors in two of our hotels.
Yapay zekâ tarafından English dilinden çevrildi ·
34 ile 39 arasının yalnızca giriş olduğunu bilmiyordum, not aldım.
Didn’t know about 34 to 39 being input only, noted.
Yapay zekâ tarafından English dilinden çevrildi ·
Benim için epey karmaşık, ama gelecek yıl LoRa sensörleri alacağımız için takip ediyorum.
Way over my head, but following because we’re getting LoRa sensors next year.
Yapay zekâ tarafından English dilinden çevrildi ·
Mühendis değilim, ama bu tam hatayla bir hafta uğraştım. Pi 3 ve otelimizin kazan dairesindeki bir ısı sayacıyla çalışıyordum ve sorun iki şeyin birlikte olmasıymış.Pi 3’te asıl UART (PL011) Bluetooth’a bağlı, GPIO pinleri ise mini UART’a, yani ttyS0’a gidiyor. Mini UART’ın baud hızı çekirdek saatini takip ediyor; bu yüzden CPU hızı değiştiğinde 9600 artık 9600 olmuyor. Mini UART’ın ayrıca eşlik biti (parity) yok, sayacınız ise 8E1 ayarında. Sonuçta sayaç isteğinizi duyup yanıt veriyor, Pi ise yanıtı çözemiyor.Beni asıl yakalayan ikinci sorun seri giriş konsoluydu: cmdline.txt hâlâ console=serial0,115200 içeriyorsa Pi açılışta giriş istemini RS-485 hattına yazıyor ve porta bir getty süreci bağlı kalıyor.Benim için işe yarayan çözüm:
# /boot/firmware/config.txt (eski imajlarda /boot/config.txt)
enable_uart=1
dtoverlay=disable-bt
sudo systemctl disable hciuart
# raspi-config: Interface Options > Serial Port
# login shell over serial: No, serial port hardware: Yes
Yeniden başlattıktan sonra pymodbus’ta /dev/serial0 kullanın (bu işlemden sonra ttyAMA0’ı gösterir). Ayrıca sayacınızın registerları 0’dan mı yoksa 1’den mi saydığını kontrol edin. Schneider kılavuzları registerları 1 tabanlı listeler; yani kitapta 3028 olan register hatta 3027 olarak gider, ve siz bunu doğru bilmişsiniz.
I’m not an engineer, but I fought this exact error for a week with a Pi 3 and a heat meter in our hotel’s boiler room, and it was two things together.
On a Pi 3 the proper UART (PL011) is wired to Bluetooth and the GPIO pins get the mini UART, ttyS0. The mini UART’s baud rate follows the core clock, so when the CPU changes speed the 9600 isn’t 9600 any more. The mini UART also has no parity, and your meter is on 8E1. So the meter hears your request, answers, and the Pi can’t make sense of the reply.
Second one got me: the serial login console. If cmdline.txt still has console=serial0,115200, the Pi writes its login prompt onto the RS-485 bus at boot and keeps a getty on the port.
What fixed it for me:
# /boot/firmware/config.txt (or /boot/config.txt on older images)
enable_uart=1
dtoverlay=disable-bt
sudo systemctl disable hciuart
# raspi-config: Interface Options > Serial Port
# login shell over serial: No, serial port hardware: Yes
Reboot, then use /dev/serial0 (it points to ttyAMA0 after this) in pymodbus. Also check whether your meter counts registers from 0 or 1. Schneider manuals list them 1-based, so 3028 in the book is 3027 on the wire, and you had that right.
Yapay zekâ tarafından English dilinden çevrildi ·
Mühendis değilim, ama otelimiz geçen bahar bir kurtarma robotiği gösterimine ev sahipliği yaptı ve bütün günü tam olarak bunu ekibe sorarak geçirdim. Ne yaptıklarını ve nedenini:Görüntü ve sürüş bir kablo (tether) üzerinden yapılıyordu: robotun üzerindeki bir makaraya sarılı ince bir kablo, robot ilerledikçe açılıyordu. Görüntü için denedikleri her radyonun enkaz testlerinde başarısız olduğunu, ayrıca kablonun robotun köşeyi dönerken kontrolü asla kaybetmemesi anlamına geldiğini söylediler.Telemetri ve acil durdurma, düşük veri hızında ayrı bir sub-GHz radyo (Avrupa’da 868 MHz) üzerinden gidiyordu; böylece kablo kopsa bile operatör robotu durdurabiliyor ve gaz okumalarını görmeye devam edebiliyordu.Görüntü için kablosuz geçmek zorunda kaldıklarında, robot içeri girerken arkasına küçük röle düğümleri bırakıyorlardı; her biri bir öncekini görüş alanında tutuyordu.Yeraltında 4G onlar için işe yaramazdı. İnternetle konuşabilen tek şey baz istasyonu dizüstü bilgisayarıydı.Panonuz için: dizüstü bilgisayar telemetriyi MQTT üzerinden iletiyor, robot bulutla kendisi hiçbir zaman konuşmuyor. Noktadan noktaya LoRa yerine LoRaWAN kullanırsanız, Hermetry’nin ağ sunucusu ağ geçidinin frekans planını takip ediyor, yani İrlanda’da EU868 cihazları.
Not an engineer, but our hotel hosted a rescue robotics demo last spring and I spent the day asking their team exactly this. What they did, and why:
Video and driving went over a tether: a thin cable on a reel on the robot paying out as it drives. They said every radio they tried for video failed in their rubble tests, and a cable also means the robot never loses control when it turns a corner.
Telemetry and an emergency stop went over a separate sub-GHz radio (868 MHz in Europe) at a low data rate, so if the tether snapped the operator could still stop it and still see gas readings.
When they had to go wireless for video they dropped small relay nodes behind the robot as it went in, each one in sight of the last.
4G was useless underground for them. The base station laptop was the only thing that talked to the internet.
For your dashboard: the laptop forwards the telemetry over MQTT, the robot never talks to the cloud itself. If you do use LoRaWAN rather than point-to-point LoRa, Hermetry’s network server follows the gateway’s frequency plan, so EU868 gear in Ireland.
Yapay zekâ tarafından English dilinden çevrildi ·
Pi’nin zaten kendi sıcaklık sensörü yok mu? Sanırım vcgencmd’nin okuduğu da bu.
Doesn’t the Pi have its own temperature sensor already? That’s what vcgencmd reads I thought.
Yapay zekâ tarafından English dilinden çevrildi ·
Cron bunu hiç çalıştırıyor mu? Bizimki hiç çalışmadı, çünkü betik çalıştırılabilir değildi
Is cron running it at all? Ours never ran because the script wasn’t executable
Yapay zekâ tarafından English dilinden çevrildi ·
Benim anlayabileceğimin çok üstünde, ama kart metal bir kutuda mı? Bizimki çelik bir muhafazada GPS’i tamamen kaybetti.
Way over my head, but is the board in a metal box? Ours lost GPS completely in a steel enclosure.

