marvinroger / node-red-contrib-homie

Node-RED nodes for the Homie home automation system
GNU General Public License v2.0
14 stars 5 forks source link

Configurable baseTopic #2

Open manelmg opened 7 years ago

manelmg commented 7 years ago

Hi Marvin, Great job with Homie ESP8266, it's really amazing.

I have seen that in node red, the configuration node has the base topic hardcoded as "devices/" ( this.baseTopic = 'devices/' + this.deviceId; in line 24). I am asking if it is possible create a new configurable field to modify this property, so the default value in set up configuration (http://setup.homie-esp8266.marvinroger.fr) is "homie/". Or at least change default base topic in node red to be the same at in set up configuration page.

Thanks in advance, MAnel