This bridge connects the Rademacher Homepilot2 to an MQTT broker. I've built and tested it for the RolloTube I-line DuoFern series, since this is the only device I've from Rademacher. Feel free to implement more functions, but please use the GitHub Fork system if you do so, so that I can track your improvements.
I also don't use any of the Homepilot's logic functions. Logic is done in an upper layer (MQTT, OpenHAB, ..), so if you want to use this library would recommend to disable all automatic functions (called "Scenes") in the Homepilot webinterface.
git clone https://github.com/dersimn/homepilot2mqtt.git
cd homepilot2mqtt
node index.js --help
docker run -d --restart=always --mqtt-url mqtt://10.0.0.20 --bridge-address 10.0.0.22 dersimn/homepilot2mqtt
homepilot2/status/<device id>
homepilot2/set /<device id>
This script accepts values from 0 .. 1.0
either plain format or in JSON object {"val":1.0}
.
This project follows Oliver "owagner" Wagner's architectural proposal for an mqtt-smarthome.
Built by copy-pasting together a bunch of snippets from Sebastian "hobbyquaker" Raff's mqtt-smarthome scripts. Initial idea from Marvin Heyder.