emily23
@smith-e · Se unió el enero 2026
Facility manager · hospitality
- Temas
- 4
- Respuestas
- 24
- Puntos
- 0
Respuestas de foro creadas
Traducido del English por IA ·
¿El depósito de inercia se ilumina cuando su alarma de temperatura está abierta?
Does the buffer tank light up when its temperature alarm is open?
Traducido del English por IA ·
Ayer usé la pestaña Log para un controlador de bomba que no dejaba de cambiar entre en línea y fuera de línea. Cada pocos minutos decía «Tomado por una nueva sesión». Resulta que dos unidades se habían flasheado con la misma credencial. Sin ella me habría llevado un día.
Used the Log tab yesterday for a pump controller that kept flipping online and offline. Every few minutes it said «Taken over by a new session». Turned out two units had been flashed with the same credential. Would have taken me a day without it.
Traducido del English por IA ·
Tenemos las mismas ventanas en el vestíbulo de nuestro hotel. Antes de saber hacerlo mejor, nuestro electricista puso relés en los botones de un teclado de repuesto y los controló así. Funciona, pero no hay ningún tipo de retroalimentación: nunca se sabe si la ventana se cerró realmente.
We have the same windows in our hotel lobby. Before we knew better our electrician put relays across the buttons of a spare keypad and drove those. It works but you get zero feedback, you never know if the window really closed.
Traducido del English por IA ·
La línea de gai.conf lo solucionó, ahora cada llamada tarda menos de un segundo. También añadí nuestra IPv4 pública a la lista de permitidos de la clave, como dijiste. ¡Gracias David!
The gai.conf line did it, every call is under a second now. I also added our public IPv4 to the key’s allowlist like you said. Thanks David!
Traducido del English por IA ·
Ja, nos pasó lo mismo con dos hoteles, dos organizaciones en dos regiones, con el mismo firmware.
Ha, we had the same with two hotels, two orgs in two regions, same firmware.
Traducido del English por IA ·
Probamos exactamente esto en la oficina trasera de un hotel. Después de que volviera la alimentación, la unidad se quedó en espera con un pitido y necesitó el mando a distancia. Así que, para nosotros, cortar la alimentación solo la apagaba, nunca la encendía.
We tried this exact thing in a hotel back office. After the power came back the unit sat in standby with a beep and needed the remote. So for us cutting power only ever turned it off, never on.
Traducido del English por IA ·
No es USB. Una vez tuve Modbus inestable en una Pi 3 y parte de la solución fue quitar console=serial0,115200 de cmdline.txt, porque la consola de inicio de sesión compartía el puerto. No estoy seguro de que sea todo tu problema.
Not USB. I had flaky Modbus on a Pi 3 once and part of the fix was taking console=serial0,115200 out of cmdline.txt, the login console was sharing the port. Not sure that’s your whole problem though.
Same mistake in my sketch, glad I followed this.
Following, same question for our two chillers.
Traducido del English por IA ·
Lado de instalaciones: la aseguradora del cliente preguntará por cualquier elemento cableado de forma permanente en una sala de máquinas, y su contratista de mantenimiento querrá saber quién lo instaló.
Facility side: the client’s insurer will ask about anything permanently wired in a plant room, and their maintenance contractor will want to know who installed it.
Traducido del English por IA ·
Tenemos válvulas fan coil en 140 habitaciones de hotel que funcionan así, así que aquí está nuestra configuración.Hermetry envía los comandos al dispositivo en su propio topic de downlink. La placa del ventilador se suscribe a v1/rpc/req/+, un comando llega como v1/rpc/req/<id> con un método y parámetros, y la placa responde en v1/rpc/res/<id>. El id del topic es lo que se usa para asociar la respuesta.En el perfil del ventilador, abra la pestaña Commands y añada un comando, por ejemplo el método fan.set, un parámetro on de tipo Yes/no, tier Basic. Basic es importante, porque un Switch del panel solo envía comandos de tier Basic. Después, dé a la placa del supervisor una tarjeta Switch cuya acción sea Run a command fan.set con el valor del control, y enlace el Current state a una clave de telemetría que la placa informa tras conmutar; nosotros usamos fan.on.Lado Arduino, a grandes rasgos con PubSubClient:
void onMsg(char* topic, byte* payload, unsigned int len) {
String t(topic);
if (!t.startsWith("v1/rpc/req/")) return;
String id = t.substring(11);
StaticJsonDocument<256> doc;
deserializeJson(doc, payload, len);
if (doc["method"] == "fan.set") {
bool on = doc["params"]["on"];
digitalWrite(RELAY, on ? HIGH : LOW);
client.publish(("v1/rpc/res/" + id).c_str(), "{"ok":true}");
client.publish("v1/telemetry", on ? "{"fan.on":1}" : "{"fan.on":0}");
}
}
// after every connect:
client.subscribe("v1/rpc/req/+", 1);
La documentación dice que un comando puede llegar dos veces, así que guardamos los últimos ids y omitimos las repeticiones. Página: Envío de comandos a dispositivos. Para los setpoints que deben sobrevivir a un reinicio (temperatura objetivo del calefactor) usamos en su lugar atributos compartidos en v1/attributes/set; la placa los pide justo después de conectarse.
We have fan coil valves in 140 hotel rooms doing this, so here is our setup.
Hermetry sends commands to the device on its own downlink topic. The fan board subscribes to v1/rpc/req/+, a command arrives as v1/rpc/req/<id> with a method and params, and the board answers on v1/rpc/res/<id>. The id in the topic is how the answer is matched.
On the fan profile, open the Commands tab and add a command, for example method fan.set, one parameter on of type Yes/no, tier Basic. Basic matters because a dashboard Switch only sends Basic tier commands. Then the supervisor’s board gets a Switch card, its action is Run a command fan.set with the control’s value, and the Current state is bound to a telemetry key the board reports after it switched, we use fan.on.
Rough Arduino side with PubSubClient:
void onMsg(char* topic, byte* payload, unsigned int len) {
String t(topic);
if (!t.startsWith("v1/rpc/req/")) return;
String id = t.substring(11);
StaticJsonDocument<256> doc;
deserializeJson(doc, payload, len);
if (doc["method"] == "fan.set") {
bool on = doc["params"]["on"];
digitalWrite(RELAY, on ? HIGH : LOW);
client.publish(("v1/rpc/res/" + id).c_str(), "{"ok":true}");
client.publish("v1/telemetry", on ? "{"fan.on":1}" : "{"fan.on":0}");
}
}
// after every connect:
client.subscribe("v1/rpc/req/+", 1);
The docs say a command can arrive twice, so keep the last few ids and skip repeats. Page: Sending commands to devices. For setpoints that should survive a reboot (heater target temperature) we use shared attributes on v1/attributes/set instead, the board asks for them right after connecting.
Traducido del English por IA ·
Lo hicimos la semana pasada con mis propias oleadas: primero 3 habitaciones de la planta 2, luego 20, y el resto a la 1 a. m. Una habitación mostró Not for this device en la oleada 2, su controlador tenía una versión anterior a la mínima permitida por el paquete, así que se omitió. El proveedor la está flasheando a mano. El fallo del ventilador desapareció en todas las demás. Mucho menos aterrador de lo que esperaba.
We did it last week with my own waves, 3 rooms on floor 2 first, then 20, then the rest at 1 a.m. One room showed Not for this device in wave 2, its controller was on a version older than the package’s lowest allowed one, so it got skipped. Vendor is flashing that one by hand. Fan bug gone everywhere else. Much less scary than I expected.
Traducido del English por IA ·
Les preguntó. Dicen «ota_0 and ota_1 with rollback enabled», 4 MB de flash. También imágenes firmadas, lo que sea que eso signifique para mí.
Asked them. They say «ota_0 and ota_1 with rollback enabled», 4 MB flash. Also signed images, whatever that means for me.
Traducido del English por IA ·
Un pequeño UPS HAT evitaría por completo que los cortes de energía supongan un problema.
A small UPS HAT would stop the power cuts being a problem at all.
It’s the power bank switching itself off. Had exactly this at our property with a door counter last year.
Most power banks shut their output down when the load drops below somewhere around 50-100 mA for a few seconds, because they think the phone is full. Your Nano draws far more than that while the radio is sending, and a few mA (or less) when LowPower puts it to sleep. So: join, first uplink, sleep, power bank sees almost no current, output off. Nothing for the code to do about it. Replugging restarts the bank.
Ways out, from what we tried:
- Use a power source without that feature: 3 x AA alkaline straight to the 5 V pin is ok for a Nano (4.5 V) for a while, or better a LiPo with a decent low-quiescent regulator. A bare Pro Mini at 3.3 V with the power LED removed runs for months on AAs.
- Some power banks have an «always on» or low-current mode, usually a double press of the button. Check the manual.
- Dummy loads that pull pulses to keep the bank awake work, but they waste most of the battery.
Also adjust Hermetry so it matches the sensor. On the built-in LoRaWAN profile the device counts as online while the last uplink is younger than three expected intervals, with 3,600 s as the default interval. At one uplink per 10 minutes you’re fine, but if you stretch it to hourly or longer to save battery, raise the expected interval on the profile’s Online status tab, otherwise it flips to offline between reports. That bit is in Troubleshooting uplinks and downlinks.

