davidp11
@david-patel · Se unió el marzo 2025
Facility manager · hospitality · new to IoT
- Temas
- 8
- Respuestas
- 63
- Puntos
- 0
Respuestas de foro creadas
Traducido del English por IA ·
Siguiendo con esto, quiero hacer algo similar para las salas de reuniones de nuestro hotel.
Following, I want to do something similar for meeting rooms in our hotel.
Traducido del English por IA ·
Se lo envío a nuestro contratista de persianas, la misma idea debería funcionar.
Sending this to our blinds contractor, same idea should work.
Traducido del English por IA ·
Siguiendo con esto, tenemos lo mismo con las persianas motorizadas.
Following this, we have the same with motorised blinds.
Traducido del English por IA ·
No sabía que las versiones de Pi OS habían cambiado esto, buena información.
Didn’t know the Pi OS versions changed this, good to know.
Traducido del English por IA ·
No hace falta reenvío, los dispositivos siempre inician las conexiones hacia afuera. Yo también soy del área de instalaciones, no de TI, pero lo viví en nuestro hotel el año pasado, cuando nuestro contratista de TI puso todos los sensores de las habitaciones y la pasarela de la caldera en un SSID separado, y aprendí mucho de aquello.Lo que los sensores necesitan de salida:
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
Nada de entrada. En la red de invitados del AX55 con «verse entre sí y acceder a mi red local» desactivado, obtienes más o menos lo correcto: los ESP pueden llegar a internet pero no al portátil.Mi suposición para tu sensor de prueba: o no puede resolver el host (algunas redes de invitados entregan DNS raros), o no puede obtener la hora. A nosotros nos pasó exactamente eso: los ESP fallaban en TLS porque NTP estaba bloqueado en el nuevo SSID. Mira la salida serie si puedes.En el lado de Hermetry, abre el perfil de tu dispositivo y revisa la lista de endurecimiento en la página de seguridad del transporte de dispositivos: MQTT sin cifrar desactivado (solo TLS, puerto 8883), token en la URL desactivado, comandos permitidos sin TLS vacío. También hay un campo de Redes permitidas (hasta 64 redes o direcciones); los dispositivos fuera de él son rechazados. Si tu casa tiene una IP pública fija, puedes ponerla ahí, de modo que un token copiado de una placa no sirva en ningún otro lugar.Para tu página del medidor: con el aislamiento activado, tu teléfono en la Wi-Fi principal no podrá acceder a él. Nosotros dejábamos un portátil en el SSID de los dispositivos para ese tipo de cosas.
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.
Traducido del English por IA ·
Mi sensor de piscina hacía cosas raras cuando había condensación en la cara, merece la pena limpiarla.
My pool sensor did weird stuff when there was condensation on the face, worth wiping it.
Traducido del English por IA ·
Soy responsable de instalaciones, no ingeniero, pero tuvimos exactamente esto con contadores en el anexo de nuestro hotel, y nuestro electricista me lo explicó. Dos edificios con suministros separados no están al mismo potencial de tierra. Su señal RS485 se mide respecto a la tierra de la pasarela, y el MAX485 solo tolera que el bus esté a unos -7 a +12 V de su propia tierra. Cuando algo grande conmuta en el edificio B, la diferencia supera ese rango y el chip muere. El apantallamiento conectado a tierra en ambos extremos también deja circular corriente por la pantalla entre las dos tierras, lo que empeora la situación. Él midió varios voltios AC entre las dos tierras con un multímetro.Lo que solucionó el nuestro, según el electricista:
- Un transceptor RS485 aislado en la pasarela (tipo ADM2587E o ISO3082, o un módulo aislado listo para usar). El lado del bus flota con el bus, y el lado de la Pi se mantiene en la tierra de la Pi.
- Apantallamiento conectado a tierra solo en un extremo, y un tercer cable como referencia de señal entre los transceptores.
- Protección contra sobretensiones (diodos TVS diseñados para RS485, como el SM712) en la entrada del edificio, que además cubre el punto de impacto de rayos de Michael.
Desde el cambio, dos años sin ningún chip muerto.Y en cuanto a «nadie se da cuenta»: nuestro script de la pasarela envía v1/gw/disconnect para un contador que deja de responder a tres consultas seguidas, así que el hijo pasa a estar desconectado en Hermetry, y el perfil de los contadores tiene una alarma de desconexión. Recibimos un mensaje en 15 minutos.
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.
Traducido del English por IA ·
Siguiendo con esto, tenemos los mismos sensores sobrantes en dos de nuestros hoteles.
Following this, we have the same leftover sensors in two of our hotels.
Traducido del English por IA ·
No sabía que de la 34 a la 39 son solo de entrada, lo anoto.
Didn’t know about 34 to 39 being input only, noted.
Traducido del English por IA ·
Me queda muy grande, pero sigo el hilo porque el año que viene vamos a tener sensores LoRa.
Way over my head, but following because we’re getting LoRa sensors next year.
Traducido del English por IA ·
No soy ingeniero, pero peleé contra este error exacto durante una semana con una Pi 3 y un medidor de calor en la sala de calderas de nuestro hotel, y eran dos cosas a la vez.En una Pi 3, la UART adecuada (PL011) está conectada al Bluetooth, y los pines GPIO usan la mini UART, ttyS0. La velocidad en baudios de la mini UART depende del reloj del núcleo, así que cuando la CPU cambia de velocidad, los 9600 dejan de ser 9600. Además, la mini UART no tiene paridad, y tu medidor está en 8E1. Así que el medidor oye tu petición, responde, y la Pi no logra interpretar la respuesta.La segunda me pilló: la consola de inicio de sesión serie. Si cmdline.txt todavía tiene console=serial0,115200, la Pi escribe su indicador de login en el bus RS-485 al arrancar y mantiene un getty en el puerto.Lo que me solucionó el problema:
# /boot/firmware/config.txt (o /boot/config.txt en imágenes antiguas)
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
Reinicia y usa /dev/serial0 (que apunta a ttyAMA0 después de esto) en pymodbus. Comprueba también si tu medidor cuenta los registros desde 0 o desde 1. Los manuales de Schneider los listan desde 1, así que el 3028 del manual es el 3027 en el bus, y tú lo tenías bien.
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.
Traducido del English por IA ·
No soy ingeniero, pero nuestro hotel acogió una demostración de robótica de rescate la primavera pasada, y pasé el día preguntando exactamente esto a su equipo. Qué hicieron y por qué:El vídeo y la conducción iban por un cable (tether): un cable fino en un carrete sobre el robot, que se desenrollaba mientras avanzaba. Dijeron que todas las radios que probaron para el vídeo fallaron en sus pruebas con escombros, y que un cable además significa que el robot nunca pierde el control al tomar una curva.La telemetría y la parada de emergencia iban por una radio sub-GHz independiente (868 MHz en Europa) a baja velocidad de datos, así que si el cable se rompía, el operador podía seguir deteniéndolo y seguir viendo las lecturas de gas.Cuando tuvieron que pasar a lo inalámbrico para el vídeo, dejaban pequeños nodos repetidores detrás del robot según entraba, cada uno a la vista del anterior.El 4G era inútil bajo tierra para ellos. El portátil de la estación base era lo único que se comunicaba con internet.Para tu panel: el portátil reenvía la telemetría por MQTT; el robot nunca se comunica con la nube directamente. Si usas LoRaWAN en lugar de LoRa punto a punto, el servidor de red de Hermetry sigue el plan de frecuencias de la pasarela, así que equipos EU868 en Irlanda.
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.
Traducido del English por IA ·
¿No tiene ya la Pi su propio sensor de temperatura? Eso es lo que lee vcgencmd, creo.
Doesn’t the Pi have its own temperature sensor already? That’s what vcgencmd reads I thought.
Traducido del English por IA ·
¿Cron lo está ejecutando siquiera? En nuestro caso nunca se ejecutó porque el script no era ejecutable
Is cron running it at all? Ours never ran because the script wasn’t executable
Traducido del English por IA ·
Esto me supera bastante, pero ¿la placa está dentro de una caja metálica? La nuestra perdió el GPS por completo en un gabinete de acero.
Way over my head, but is the board in a metal box? Ours lost GPS completely in a steel enclosure.

