aisha.maker
@aisha_r58 · Se unió el octubre 2025
Maker · home automation · Brisbane
- Temas
- 7
- Respuestas
- 40
- Puntos
- 0
Respuestas de foro creadas
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.
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.
Video needs Wi-Fi-class bandwidth, and 2.4 GHz through that much concrete dies fast.
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.
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.
Your single quotes stop $ok from expanding. That literal text isn’t valid JSON, so it gets stored as raw.

