Automation with Node-RED, MQTT and AI

Internal operations

Starting point

Processes between devices, mail and AI run by hand or in cloud services nobody controls.

Challenge

Recurring processes between devices, mail and AI models were to run automatically on site. They were not to stop during an internet outage, and the operator was to control what is sent to whom.

Solution

Node-RED runs in an isolated container on site and connects devices, mail and cloud AI models.

CloudAm StandortQuellen und ZieleBetreiber legt fest,welche DatenMQTTGeräte, HaustechnikMailNode-REDisolierter ContainerEditornur lokal, mit Anmeldung,hinter dem EingangstorVerschlüsselte SicherungAbläufe, EinstellungenCloud-KI-Modellepro Aufgabe wählbar
The flows run on site, only the AI steps use the cloud. (Diagram labels in German.)
  • Flow automation: Node-RED connects sources and targets graphically, traceably and without custom programming for every flow.
  • Connections: MQTT for devices and building technology, mail and several cloud AI models.
  • Isolated operation: Node-RED runs as a container with its own namespace and without additional privileges. The image version is pinned by checksum so that behaviour does not change unnoticed.
  • Access: The editor is reachable locally only, behind the shared entrance, and requires a login.
  • Backup: Flows and settings are part of the encrypted backup.

With or without the cloud

The flows themselves run internally on site. Cloud models are used for the AI steps, and the suitable model can be chosen per task. The operator decides in each flow which data leaves the site for that, not the service.

Do you have a similar project in mind?

I am happy to contribute my experience and support your implementation end-to-end.

Arrange an initial call