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 ·
Soy de instalaciones, no ingeniero electrónico, pero el año pasado intenté exactamente esta idea para una pantalla de recepción y perdí una tarde entera con ella. La Pi no implementa HEC. En HDMI son los pines 14 y 19, y la Pi no tiene un PHY Ethernet detrás de ellos, así que no hay nada que activar por software. Ningún overlay lo arreglará.Lo que terminé usando, y lo que probaría en tu orden:
- Un adaptador micro-USB a Ethernet en el puerto USB del Zero (no el de PWR). Los basados en ASIX AX88772 funcionan de inmediato, eth0 simplemente aparece. El mío costó unos diez dólares.
- Modo gadget USB: el Zero se hace pasar por una tarjeta de red ante un portátil a través del cable USB. Añade
dtoverlay=dwc2a config.txt ymodules-load=dwc2,g_etherdespués de rootwait en cmdline.txt. Luego el portátil tiene que compartir su conexión. - Cambiar a un Zero 2 W si algún día se permite el Wi-Fi.
Una vez que eth0 esté activo, el lado de MQTT es igual que en cualquier otra Pi: TLS en el 8883 con el token del dispositivo.
I’m a facilities guy, not an EE, but I chased this exact idea for a lobby display last year and burned an afternoon on it. The Pi doesn’t implement HEC. On HDMI that’s pins 14 and 19, and the Pi has no Ethernet PHY behind them, so there’s nothing to switch on in software. No overlay will fix it.
What I ended up with, and what I’d try in your order:
- A micro-USB to Ethernet adapter on the Zero’s USB port (not the PWR one). ASIX AX88772 based ones work out of the box, eth0 just appears. Mine was about ten dollars.
- USB gadget mode: the Zero pretends to be a network card to a laptop over the USB cable. Add
dtoverlay=dwc2to config.txt andmodules-load=dwc2,g_etherafter rootwait in cmdline.txt. Then the laptop has to share its connection. - Swap for a Zero 2 W if Wi-Fi ever becomes allowed.
Once eth0 is up the MQTT side is the same as any other Pi, TLS on 8883 with the device token.
Traducido del English por IA ·
Pasamos por lo mismo en nuestros hoteles el año pasado, así que aquí va lo que aprendí (no soy ingeniero, así que es la versión para directivos).El edge es software en la pasarela con licencia. Lee sus dispositivos Modbus en planta, y cada contador o controlador aparece en Hermetry como su propio dispositivo hijo. La pasarela se conecta hacia afuera por TLS; nada en su planta tiene que aceptar conexiones entrantes.Si cae la banda ancha, las pasarelas con licencia pueden guardar las lecturas localmente y enviarlas cuando vuelva el enlace. Cada lectura lleva la hora en que se tomó, así que el historial se completa en el lugar correcto. Cuánto puede almacenar depende del modelo, así que pida la cifra para su modelo antes de confiar en ella. Nuestro integrador tuvo que comprobarlo por nosotros.Lo que me sorprendió fue que las reglas de alarma y los flujos se ejecutan en Hermetry, en la nube, y el equipo solo lee y almacena en búfer. Así que durante un corte nadie recibe un correo de alarma y, cuando llega el acumulado, las reglas de alarma revisan las lecturas tardías con sus propias reglas. Todo lo que deba detener una prensa ante un fallo se queda en el PLC o en el controlador, nunca en la nube. Nuestro responsable de mantenimiento se quedó tranquilo cuando lo oyó.La página que nos convenció: Licensed gateways and Hermetry Edge
We went through the same thing at our hotels last year, so here is what I learned (I’m not an engineer, so this is the manager version).
Edge is software on the licensed gateway. It reads your Modbus devices on site, and each meter or controller shows up in Hermetry as its own child device. The gateway dials out over TLS, nothing on your site has to accept incoming connections.
If the broadband drops, licensed gateways can keep the readings locally and send them when the link is back. Each reading carries the time it was taken, so the history fills in at the right place. How much it can hold depends on the model, so ask for the figure for your model before you rely on it. Our integrator had to check that for us.
What surprised me was that alarm rules and flows run in Hermetry, on the cloud side, and the box only reads and buffers. So during an outage nobody gets an alarm e-mail, and when the backlog arrives the alarm rules look at the late readings by their own rules. Anything that must stop a press in a fault stays in the PLC or the controller, never in the cloud. Our maintenance lead was happy once he heard that.
The page that settled it for us: Licensed gateways and Hermetry Edge
Traducido del English por IA ·
Nuestro encargado de mantenimiento hizo la ronda con escalera el mes pasado con el firmware compatible con OTA. Ayer subimos primero la 2.1.1 (la corrección de reconexión) a la placa de mi oficina y luego al perfil en tandas de 5. Las 30 muestran Updated, sin escalera. Una sala dio «No answer in time» porque el personal de limpieza desenchufó la placa; se actualizó a la mañana siguiente, al volver a conectarse. La primera carga fue rechazada porque el Name era «Room-Sensor» con mayúsculas y las placas reportan «room-sensor».
Our maintenance guy did the ladder round last month with the OTA-capable firmware. Yesterday we pushed 2.1.1 (the reconnect fix) to my office board first, then to the profile in waves of 5. All 30 show Updated, no ladder. One room went «No answer in time» because the board was unplugged by housekeeping, it updated the next morning when it came back. The first upload was refused because the Name was «Room-Sensor» with capitals and the boards report «room-sensor».
Traducido del English por IA ·
No soy ingeniero, pero esto nos pasó el año pasado, así que aquí va lo que aprendí por las malas.Compramos 12 sensores de fugas para nuestros hoteles a un pequeño proveedor, LTE-M, módulo certificado, todos enviando datos a Hermetry. Tres meses después, los 12 se desconectaron la misma mañana. Solo me di cuenta porque las alarmas de «Dispositivo desconectado» saltaron para cada uno de ellos en diez minutos, antes del desayuno. El proveedor dedicó una semana al asunto. Resultó que el operador había empezado a rechazar dispositivos cuyo rango de IMEI (los primeros 8 dígitos, el TAC) no estuviera registrado con ellos como dispositivo aprobado. El módulo tenía sus homologaciones, pero nadie había registrado nunca el sensor terminado.Lo que lo solucionó: el proveedor pasó por la aprobación de dispositivos del operador, que para un producto construido sobre un módulo certificado consistió sobre todo en papeleo y una breve prueba de campo. Nuestro TAC se añadió y los sensores volvieron a funcionar al día siguiente, sin cambios por nuestra parte.Así que, para sus 300 rastreadores, le recomendaría llamar al operador ahora, antes de la fabricación, preguntarle cómo es su aprobación para un producto sobre un módulo certificado y hacer que registren su TAC. Y configure una regla de «Dispositivo desconectado» en el perfil de los rastreadores. Sus rastreadores se activan cada 30 minutos por HTTPS, así que yo ajustaría el perfil a Último mensaje con algo como 1.800 s por 2 y un breve retardo de desconexión, para enterarse de un bloqueo la misma mañana.
I’m not an engineer, but this happened to us last year, so here’s what I learned the expensive way.
We bought 12 leak sensors for our hotels from a small vendor, LTE-M, certified module, all reporting to Hermetry. Three months in, all 12 went offline on the same morning. I only noticed because the Device offline alarms fired for every one of them within ten minutes, before breakfast. The vendor spent a week on it. It turned out the operator had started rejecting devices whose IMEI range (the first 8 digits, the TAC) wasn’t registered with them as an approved device. The module had its approvals, but nobody had ever registered the finished sensor.
What fixed it: the vendor went through the operator’s device approval, which for a product built on a certified module was mostly paperwork plus a short field test. Our TAC got added and the sensors came back the next day with no changes on our side.
So for your 300 trackers, I’d call the operator now, before the build, ask what their approval looks like for a product on a certified module, and get your TAC registered. And set up a Device offline rule on the tracker profile. Your trackers wake every 30 minutes over HTTPS, so I’d set the profile to Recent message with something like 1,800 s times 2 and a short offline delay on top, so you hear about a block the same morning.
Traducido del English por IA ·
¿Has girado el tornillo azul pequeño de la parte trasera? A mí me mostraba bloques hasta que lo hice. No estoy seguro de que sea lo mismo.
Have you turned the little blue screw on the back? Mine showed blocks until I did. Not sure it’s the same thing.
Traducido del English por IA ·
Bien saberlo, tenemos dos de estos shields antiguos en la lavandería del hotel y el departamento de TI está hablando de nuevos switches.
Good to know, we have two of these old shields in the hotel laundry and IT is talking about new switches.
Traducido del English por IA ·
¡Gracias, emily! Tenías razón, lo medí: la batería externa se corta unos 30 segundos después del primer uplink. La mía no tiene modo siempre encendido, así que pasé a 3 x AA en el pin de 5 V y quité el LED. Desde ayer ha enviado 140 uplinks. El siguiente paso es un Pro Mini, como dijiste.
Thank you emily! You were right, I measured it: the bank cuts out about 30 seconds after the first uplink. Mine has no always-on mode, so I moved to 3 x AA on the 5 V pin and took the LED off. It has sent 140 uplinks since yesterday. Next step is a Pro Mini like you said.
Traducido del English por IA ·
Siguiendo el hilo, tengo planeada una configuración similar para el invernadero de nuestro hotel.
Following, I have a similar setup planned for our hotel greenhouse.
Traducido del English por IA ·
Tenemos algo parecido con un altavoz en el vestíbulo de nuestro hotel: zumba cuando alguien tiene el teléfono sonando cerca. ¿Es lo mismo?
We have something similar with a speaker in our hotel lobby, it buzzes when someone’s phone rings near it. Same thing?
Traducido del English por IA ·
115200 y el rn eran el problema; tras cambiar ambos, recibí OK al primer intento. Me uní en el segundo intento (en el primero había escrito el AppKey en el módulo con un espacio). Los bytes aparecen en el registro de tramas. Ahora estoy leyendo sobre codecs, como dijo Owen.
115200 and the rn were it, I got OK on the first try after changing both. Joined on the second attempt (first one I’d typed the AppKey with a space in it on the module side). Bytes are showing in the frames log. Now reading up on codecs like Owen said.
Traducido del English por IA ·
¿Podría ser un acumulador? Tenemos de esos en las bombas de presurización de nuestro hotel, parecen algo redondo sobre una línea.
Could it be an accumulator? We have those on our hotel’s booster pumps, they look like a round thing on a line.
Traducido del English por IA ·
Actualización tras dos semanas: mi sobrino me ayudó con la parte de Python. La regla simple (CO2 en aumento + movimiento en los últimos 30 min) acertó el 87 % de las veces frente al registro de recepción, y el modelo pequeño el 91 %. Funciona en el Uno, 24 pesos. No vamos a comprar la solución del proveedor. Y sí, creé una clave de solo lectura como dijo Brian; la primera que hice era una clave de administrador…
Update after two weeks: my nephew helped with the Python part. The simple rule (CO2 rising + motion in last 30 min) was right 87% of the time against the front desk log, the tiny model 91%. It runs on the Uno, 24 weights. We’re not buying the vendor thing. And yes, I made a Read-only key like Brian said, my first one was an admin key…
Traducido del English por IA ·
Tengo el problema de la alarma intermitente con una batería de SAI en nuestro hotel, siguiendo este hilo.
I have the flapping alarm problem with a UPS battery at our hotel, following this.
Traducido del English por IA ·
No sabía lo de Allowed networks, lo añado también a nuestro perfil del hotel.
Didn’t know about Allowed networks, adding it to our hotel profile too.
Traducido del English por IA ·
¿No ralentizaría Tor todo bastante? Probamos una VPN en nuestro hotel y los sensores de puerta se volvieron lentos.
Wouldn’t Tor slow everything down a lot? We tried a VPN in our hotel and the door sensors got laggy.

