Traducido del English por IA ·
Soy de instalaciones, no ingeniero electrónico, pero el año pasado intenté exactamente esta idea para una pantalla de recepción y perdí una tarde entera con ella. La Pi no implementa HEC. En HDMI son los pines 14 y 19, y la Pi no tiene un PHY Ethernet detrás de ellos, así que no hay nada que activar por software. Ningún overlay lo arreglará.Lo que terminé usando, y lo que probaría en tu orden:
- Un adaptador micro-USB a Ethernet en el puerto USB del Zero (no el de PWR). Los basados en ASIX AX88772 funcionan de inmediato, eth0 simplemente aparece. El mío costó unos diez dólares.
- Modo gadget USB: el Zero se hace pasar por una tarjeta de red ante un portátil a través del cable USB. Añade
dtoverlay=dwc2a config.txt ymodules-load=dwc2,g_etherdespués de rootwait en cmdline.txt. Luego el portátil tiene que compartir su conexión. - Cambiar a un Zero 2 W si algún día se permite el Wi-Fi.
Una vez que eth0 esté activo, el lado de MQTT es igual que en cualquier otra Pi: TLS en el 8883 con el token del dispositivo.
I’m a facilities guy, not an EE, but I chased this exact idea for a lobby display last year and burned an afternoon on it. The Pi doesn’t implement HEC. On HDMI that’s pins 14 and 19, and the Pi has no Ethernet PHY behind them, so there’s nothing to switch on in software. No overlay will fix it.
What I ended up with, and what I’d try in your order:
- A micro-USB to Ethernet adapter on the Zero’s USB port (not the PWR one). ASIX AX88772 based ones work out of the box, eth0 just appears. Mine was about ten dollars.
- USB gadget mode: the Zero pretends to be a network card to a laptop over the USB cable. Add
dtoverlay=dwc2to config.txt andmodules-load=dwc2,g_etherafter rootwait in cmdline.txt. Then the laptop has to share its connection. - Swap for a Zero 2 W if Wi-Fi ever becomes allowed.
Once eth0 is up the MQTT side is the same as any other Pi, TLS on 8883 with the device token.

