Re:Update on Mozilla WebThings
by detaro on Monday September 21, 2020 @11:46AM
(#24544725)
Specific to the software discussed here: Bit weird criticism of software that obviously is not intended to run on end-devices with MCUs, but on a more powerful gateway. (But yes, there is overall too much focus on that part compared to the bits that run closer to the hardware)
[ Parent
| on HN ]
They were specifically advertised as something that can run on MCUs
Re:Update on Mozilla WebThings
by benfrancis on Tuesday September 22, 2020 @12:58PM
(#24556934)
The Web of Things direct integration pattern [1] (running a web server directly on a device) is not a good fit for MCUs, with a few very high end exceptions (e.g. ESP8266 and ESP32 for which the WebThings Framework works perfectly well).
For constrained devices like MCUs the gateway integration pattern is a better fit, which means using some other low power communications mechanism on the device itself and having a gateway bridge the device to the Internet and the Web of Things.
It's also within the charter of the Web Thing Protocol Community Group to explore a more lightweight CoAP+CBOR alternative to the default HTTP+JSON sub-protocol, which may help in some cases.
1. https://docs.google.com/document/d/1H3coHbb3Bwd02_NJi4KEBONB...