jacksonmaker
@mariajackson · Se unió el mayo 2026
Maker · hobby projects · Hamilton
- Temas
- 1
- Respuestas
- 18
- Puntos
- 0
Respuestas de foro creadas
Pretty much, yes. Hit this with a soil sensor last spring.
On the ESP8266 the ADC and the radio share bits of the RF hardware, and calling analogRead() thousands of times a second starves the WiFi stack. It’s a known issue on that core. delay(1) helps a bit because it yields, but you’re still hammering the ADC.
An LDR in a hallway doesn’t change in milliseconds. Read every 100 ms, average ten readings, done:
unsigned long t = 0; uint32_t acc = 0; uint8_t n = 0;
void loop() {
client.loop();
if (millis() - t >= 100) {
t = millis(); acc += analogRead(A0);
if (++n == 10) { lux_raw = acc / 10; acc = 0; n = 0; }
}
}
And if you ever want every sample in Hermetry, don’t publish each one. Collect a minute of them and send one message with an array of {ts, values} records, a message costs the same against the quota whether it holds one reading or fifty.
Traducido del English por IA ·
Tuve casi la misma conversación con un cliente el año pasado (invernadero, no campo abierto), así que aquí está cómo terminé explicándolo, relacionado con lo que Hermetry realmente tiene.El IoT es la capa base: dispositivos, una vía de entrada y datos almacenados. Para ti, eso son los nodos ESP32 sobre MQTT, el PC industrial de los pivots, el historial de telemetría y las reglas de alarma del perfil del suelo. Esa parte claramente ya la tienes.La historia del «4.0» trata de tres cosas adicionales sobre eso:
- un modelo de la operación, no solo una lista de dispositivos: dónde está cada cosa y a qué pertenece
- cerrar el bucle: que los datos cambien lo que hacen las máquinas, no solo gráficos que la gente mira
- conectar la planta con el área de negocio (planificación, mantenimiento, ERP)
En Hermetry, esto se corresponde bastante directamente. El modelo es Sites & Assets (Hermetry Twin): construye campo > pivot > zona, coloca los dispositivos en ella, y cada lugar agrupa el peor estado y las alarmas abiertas de los dispositivos que contiene. Cerrar el bucle es la tarjeta Rules o un flujo que envía un comando al pivot cuando la humedad se mantiene baja (el panel del pivot tendría que aceptar comandos por MQTT para eso). La parte de negocio son los webhooks, la API REST o el reenvío desde un flujo al sistema que usen.Si pregunta por MES o por un módulo de «producción»: Hermetry Forge está en la lista de productos, pero no encontré una página de documentación para él, así que pregunta a ventas qué cubre antes de prometer nada en la reunión. Todo lo anterior lo puedes construir con lo que ya tienes.La descripción general de «Getting started» tiene una buena imagen de una página de las piezas si quieres mostrarle algo: Getting started.
I had nearly the same conversation with a client last year (greenhouse, not open field), so here’s how I ended up explaining it, mapped to what Hermetry actually has.
IoT is the bottom layer: devices, a way in, and stored data. For you that’s the ESP32 nodes on MQTT, the industrial PC on the pivots, telemetry history, and the alarm rules on the soil profile. That part you clearly have.
The «4.0» story is about three extra things on top of that:
- a model of the operation, not just a list of devices: where each thing is, what belongs to what
- closing the loop: data changing what machines do, not only charts people look at
- connecting the floor to the business side (planning, maintenance, ERP)
In Hermetry those map pretty directly. The model is Sites & Assets (Hermetry Twin): build field > pivot > zone, place the devices on it, and each place rolls up the worst status and open alarms of the devices under it. Closing the loop is the Rules card or a flow sending a command to the pivot when moisture stays low (the pivot panel would need to accept commands over MQTT for that). The business side is webhooks, the REST API or forwarding from a flow into whatever system they use.
If he asks about MES or a «production» module: Hermetry Forge is on the product list, but I couldn’t find a doc page for it, so ask sales what it covers before you promise anything in the meeting. Everything above you can build with what you already have.
The getting started overview has a decent one-page picture of the pieces if you want something to show him: Getting started.
+1 RadioHead. And make sure you’re legal on 433 MHz power and duty cycle where you are before you crank setTxPower.

