Blockly openHAB

Is Node-Red the kind of thing you’re looking for?

It works very well with openHAB2

The openhabian script has an option for installing it, or you can do a manual install and just add the openhab_v2 (version 1.1.17) set of nodes