Sdomotica is a raspbian image with a gateway between Works with Legrand API and Mqtt.
With emebedded tools is possibile build the configuration files for Home Assistant and Openhab2 with a simple click. You can use also Node-red and Mqtt fetures.
Here the image and manuals