aisha.maker
@aisha_r58 · Se unió el octubre 2025
Maker · home automation · Brisbane
- Temas
- 7
- Respuestas
- 42
- Puntos
- 0
Respuestas de foro creadas
Traducido del English por IA ·
El módulo me costó unos 4 USD más que el chip desnudo para 500 unidades. Los hoteles tienen 3 edificios con quizás 20 habitaciones por planta.
Module cost me about 4 USD more than the bare chip at 500 pcs. Hotels are 3 buildings with maybe 20 rooms per floor.
Traducido del English por IA ·
Enviar telemetría con el token del dispositivo equivale a hacerse pasar por el dispositivo. Hermetry solo almacena lo que dice «el dispositivo». Lo que necesitas es un comando en sentido contrario.
Posting telemetry with the device token is you pretending to be the device. Hermetry just stores what «the device» says. You want a command going the other way.
Traducido del English por IA ·
hciuart falla en una Pi 3 que también usa Modbus en el puerto serie: apostaría a que quien configuró el Modbus puso dtoverlay=pi3-disable-bt en /boot/config.txt para tener la UART buena en GPIO14/15. Ese overlay desactiva por completo el chip BT, así que hciuart no tiene con qué comunicarse.Puede tener ambos. En Stretch use el otro overlay, que da al BT la mini UART y mantiene la PL011 en el conector:
# /boot/config.txt
#dtoverlay=pi3-disable-bt
dtoverlay=pi3-miniuart-bt
core_freq=250
core_freq=250 mantiene estable el reloj de la mini UART; sin él, el BT da fallos. Asegúrese también de que console=serial0,115200 no esté en cmdline.txt. Reinicie, luego ejecute sudo systemctl restart hciuart y hciconfig debería mostrar hci0.Su lado de Modbus sigue usando /dev/ttyAMA0, así que el código del chiller no debería notar el cambio.
hciuart failing on a Pi 3 that also does Modbus on the serial header: I’d bet whoever set up the Modbus put dtoverlay=pi3-disable-bt in /boot/config.txt to get the good UART on GPIO14/15. That overlay switches the BT chip off completely, so hciuart has nothing to talk to.
You can have both. On Stretch use the other overlay, which gives BT the mini UART and keeps the PL011 on the header:
# /boot/config.txt
#dtoverlay=pi3-disable-bt
dtoverlay=pi3-miniuart-bt
core_freq=250
core_freq=250 keeps the mini UART’s clock stable, BT gets flaky without it. Also make sure console=serial0,115200 is not in cmdline.txt. Reboot, then sudo systemctl restart hciuart and hciconfig should show hci0.
Your Modbus side keeps /dev/ttyAMA0, so the chiller code shouldn’t notice.
Traducido del English por IA ·
Algunas de esas máquinas tienen un bus MDB interno que informa correctamente de las ventas; quizá merezca la pena echarle un vistazo antes de taladrar más agujeros.
Some of those machines have an MDB bus inside that reports vends properly, might be worth a look before you drill more holes.
Traducido del English por IA ·
El punto de Kevin A es importante, porque determina la velocidad en baudios que debe usar el HC-05: el bootloader antiguo usa 57600 y el nuevo Optiboot usa 115200. Primero hay que configurar el HC-05 a esa misma velocidad con comandos AT.
Kevin A’s point matters, because it decides which baud the HC-05 has to use: old bootloader is 57600, the new Optiboot one is 115200. The HC-05 has to be set to that same speed with AT commands first.
Traducido del English por IA ·
Hice casi exactamente esto para una cámara de puerta en la granja de mi tío.Cable: 100 m es por segmento. Opciones, de la más barata a la más cara: un extensor PoE a mitad de camino (necesita un lugar donde montarlo, algunos se alimentan del propio PoE), un pequeño switch exterior a mitad de camino con alimentación, o dos convertidores de medios de fibra con un tramo de fibra, lo que además elimina los problemas de rayos entre edificios. La idea del Wi-Fi de Kevin funciona como puente punto a punto con dos unidades direccionales, no con el Wi-Fi propio de la cámara.Por parte de Hermetry, el rechazo es lo esperado. La nube se conecta a la cámara, así que debe ser accesible mediante un nombre de host público o una IP, o a través de un Hermetry Edge en la red del sitio (la plataforma entonces accede a través de la conexión cifrada de Edge, sin redirección de puertos). Una dirección privada como 192.168.x por sí sola se rechaza. Sin una caja Edge: redirige los puertos HTTP y RTSP de la cámara en tu router, permite en el cortafuegos solo las direcciones de la plataforma y añádela con un usuario de cámara solo de visualización, no de administrador. Después ve a Dispositivos > Nuevo dispositivo > Cámara o grabador, prueba la conexión y colócala en el panel.Revisa el códec del flujo. Solo es H.264, sin audio. Muchas cámaras nuevas vienen con H.265 por defecto y verás un recuadro negro. La vista en vivo no almacena nada: solo transmite vídeo mientras alguien mira, y cada minuto que alguien mira cuenta para los minutos de cámara del plan. Si la pones en una pantalla de pared todo el día, se acumula. Límites en Camera limits and privacy.
Did almost exactly this for a gate camera at my uncle’s farm.
Cable: 100 m is per segment. Options, cheapest first: a PoE extender halfway (needs a spot to mount it, some are powered by the PoE itself), a small outdoor switch halfway with power, or two fibre media converters with a fibre run, which also kills any lightning worries between buildings. Kevin’s Wi-Fi idea works as a point-to-point bridge with two directional units, not with the camera’s own Wi-Fi.
Hermetry side, the refusal is expected. The cloud connects to the camera, so it has to be reachable at a public host name or IP, or through a Hermetry Edge on the site network (the platform then gets to it over Edge’s encrypted connection, no port forward). A private address like 192.168.x on its own is refused. Without an Edge box: forward the camera’s HTTP and RTSP ports on your router, allow only the platform’s addresses through the firewall, and add it with a view-only camera user, not admin. Then Devices > New device > Camera or recorder, test the connection, and put it on the board.
Check the stream codec. It’s H.264 only, no audio. A lot of new cameras default to H.265 and you’ll get a black tile. Live view stores nothing, it pulls video only while someone watches, and each minute somebody watches counts toward the plan’s camera minutes. If you put it on a wall screen all day that adds up. Limits on Camera limits and privacy.
Traducido del English por IA ·
El vídeo necesita un ancho de banda del nivel de Wi-Fi, y 2,4 GHz a través de tanto hormigón se degradan muy rápido.
Video needs Wi-Fi-class bandwidth, and 2.4 GHz through that much concrete dies fast.
Traducido del English por IA ·
¿No podrías simplemente añadir una segunda resistencia en serie en el lazo y leer la tensión en sus extremos con el ESP? Eso es lo que hice con un sensor de presión en casa.
Could you just add a second resistor in series in the loop and read the voltage across it with the ESP? That’s what I did with a pressure sensor at home.
Traducido del English por IA ·
No soy abogado, pero pasé por esto con un laboratorio de pruebas para un producto BLE. La concesión modular cubre la radio mientras se mantenga dentro de ella: mismo tipo y ganancia de antena, sin cambios en la potencia de salida, frecuencias o modulación, y el FCC ID del módulo visible en su etiqueta («Contains FCC ID …»). Actualizar el código de su propia aplicación no afecta a eso. El producto final aún necesita su propia comprobación como emisor no intencional (Part 15B), una vez, no en cada actualización. Pida a su laboratorio que lo deje por escrito para su expediente; para ellos es un correo breve.Podría romper la concesión si una actualización llegara a permitir cambiar la configuración de radio, así que bloquéelo: la aplicación no debería tener ningún comando ni ajuste que cambie bandas o potencia.Por el lado de Hermetry, esto es lo que configuraría antes del primer despliegue real:
- Registre su clave pública de firma en Firmware > Signing keys y mantenga «Allow unsigned images» desactivado en el perfil del rastreador. Solo un propietario puede añadir claves, y el dispositivo debe rechazar cualquier imagen cuya firma no se verifique, así que incorpore esa comprobación en su bootloader.
- Rellene Hardware models en cada carga, para que una imagen de rev. B nunca llegue a placas de rev. A.
- Use Send in waves en la asignación del perfil, empezando por sus propios 10 rastreadores de prueba.
- Deje «Allow updates over LTE» desactivado hasta conocer el tamaño de la imagen y su plan de datos; si no, cada rastreador descargará la actualización por datos móviles en cuanto se le asigne.
- Informe
current_fw_versiondespués de cada conexión. Hermetry solo marca una actualización como completada cuando la nueva versión aparece de verdad, y la señala si vuelve la anterior.
Todo está en Firmware updates (OTA).
Not a lawyer, but I went through this with a test lab for a BLE product. The modular grant covers the radio as long as you stay inside it: same antenna type and gain, no changes to output power, frequencies or modulation, and the module’s FCC ID shown on your label («Contains FCC ID …»). Updating your own application code doesn’t touch that. The host product still needs its own unintentional-emitter check (Part 15B), once, not per update. Ask your lab to put that in writing for your file, it’s a short email for them.
Where you could break the grant is if an update ever lets the radio config change, so lock that: the app should have no command or setting that changes bands or power.
On the Hermetry side, what I’d set up before the first real rollout:
- Register your signing public key under Firmware > Signing keys and keep «Allow unsigned images» off on the tracker profile. Only an owner can add keys, and the device must refuse an image whose signature doesn’t verify, so build that check into your bootloader.
- Fill in Hardware models on each upload, so a rev B image never goes to rev A boards.
- Use Send in waves on the profile assignment, start with your own 10 test trackers.
- Leave «Allow updates over LTE» off until you know the image size and your data plan, otherwise each tracker downloads it on cellular the moment it’s assigned.
- Report
current_fw_versionafter every connect. Hermetry only marks an update done when the new version actually shows up, and flags it if the old one comes back.
All on Firmware updates (OTA).
Traducido del English por IA ·
¿Habilitaste 1-Wire en raspi-config? Y la resistencia no es opcional, 4.7k entre datos y alimentación.
Did you enable 1-Wire in raspi-config? And the resistor is not optional, 4.7k between data and power.
Traducido del English por IA ·
Era el orden de los bytes. Al intercambiarlos, el valor del suelo se queda estable en 1.62 V. Añadí soil.raw junto a soil.v como dijo Keisha, y la batería en AIN1 marca 12.7 V tras el cálculo del divisor. Además, ya entiendo qué es ese argumento, gracias Aoife.
Byte order it was. Swapped them and the soil value sits at 1.62 V, steady. I added soil.raw next to soil.v like Keisha said, and the battery on AIN1 reads 12.7 V after the divider maths. Also understand now what that argument is, thanks Aoife.
Traducido del English por IA ·
Tus comillas simples impiden que $ok se expanda. Ese texto literal no es JSON válido, así que se guarda como raw.
Your single quotes stop $ok from expanding. That literal text isn’t valid JSON, so it gets stored as raw.

