Node-RED as a rule/script engine for openHAB

Hello @Artyom_Syomushkin,
this sounds quite promising. I Iooked into Node-RED some time ago but wasn’t sure what’s the benefit and how far the provided blocks go. I’m very interested in the Inject and Debug possibility and the programmable blocks (as a last resort).

Where would you see the limitations of Node-RED when it comes to, as @rlkoshak said, the “tricky edge cases”?
Did you compare the execution speed betweenthe following two?

  • Sensor—openHABRuleEngine—Actuator
  • Sensor—openHAB—MQTT—NodeRED—MQTT—openHAB—Actuator

Is there a better way to integrate NodeRED, other than by MQTT? Was a better way proposed, which upsides would a deeper integration offer?

I woud encourage you to extend your article into a Tutorial and also move it to the according section! The chapter on installation can be pretty short. A few more examples showing the different possibilities would be great.

Here’s one tutorial I wrote a few days ago you might look into for ideas (not related but still): InfluxDB+Grafana persistence and graphing