← Javier Martin Gonzalez
EstaciónStationESP32 · techo CalendarioCalendarPython · cron DeportesSportsPython · cron FeriadosHolidaysPython · cron Mosquitto broker ACL RelojESP32 adminauditoríaaudit

Mensajes del diseño real: cada usuario sólo puede escribir en sus topics, y la ACL rechaza el resto.

Messages from the real design: each user may only write to its own topics, and the ACL rejects the rest.

Hub MQTTMQTT hub en progresoin progress

El broker por el que hablan los ESP32 y los servicios de la casa, con un usuario y permisos por dispositivo.

The broker the house's ESP32 boards and services talk through, with a user and permissions per device.

Por qué

Why

Los relojes y la estación del techo necesitaban un lugar donde dejar y leer datos sin conocerse entre sí. Un broker MQTT resuelve eso: cada uno publica o se suscribe a un topic y listo.

The clocks and the rooftop station needed somewhere to drop and read data without knowing about each other. An MQTT broker does exactly that: each one publishes or subscribes to a topic.

Cómo

How

Mosquitto en el server, sólo para la LAN y sin acceso anónimo. Cada dispositivo y cada script tiene su propio usuario, generado con un script, y una ACL que le dice qué topics puede leer y en cuáles escribir, todos bajo casa/…. Una auditoría semanal revisa usuarios, logins fallidos y clientes conectados.

Mosquitto on the server, LAN-only, no anonymous access. Every device and script has its own user, created by a script, and an ACL saying which topics it may read and which it may write, all under casa/…. A weekly audit checks users, failed logins and connected clients.

Estado

Status

El broker y los permisos están andando. Los tres publicadores (calendario, deportes y feriados) los apagué en noviembre de 2026 porque no aportaban: al calendario nunca le terminé de configurar las credenciales de Google, deportes todavía publicaba datos de ejemplo y la API de feriados dejó de existir. El próximo cliente real es la estación solar.

The broker and the permissions are running. I switched off the three publishers (calendar, sports and holidays) in November 2026 because they were not adding anything: the calendar never got its Google credentials, sports was still publishing sample data and the holidays API went away. The next real client is the solar station.

Se integra con

Works with

MosquittoMQTTACLPythonESP32