Tool for generating config file (online & desktop app) (update 06 June)

App made with HTML5, JS and NodeJS to make a cross flatform tool, could run online as well as desktop app (Window,Linux,MacOSX)

Online version

Desktop app

URL for online tool:

Desktop app (Window): (Linux and MacOSX will be released later)

  • Update 06 June, could use in production with better layout and open/save project

  • Desktop app allows "Save" and "Open" project folder. In first time using, app will ask to specify device

  • Online tool with Code generate (user_config.h, module.h) allow copy with single button

  • More modules will be added later. Test succesfully with IR, DHT11

  • Source code

Any suggestions are welcome!

Hi Tran,

All contributions are welcome !

I will be pleased to integrate your proposals

I will try my best and let you test soon

The other possibility is to embed a web portal into the program for direct configuration.

Would much prefer a web interface for configuration. If i have a problem with the gateway i have to have direct access to it. Web interface would help this tremendously.


All update is in first post

Just wanna let you know I have finished the early version of tool. I would like to receive comment before move on.

All fields are dynamic, not hardcode, it mean thats we can easily add more config.

That’s nice!

Here is some feedback:

  • regarding pins I have only one choice available
  • I have generated the config_IR.h file, the first macros arewithout return to the line
  • in user_config.h generated result there is parameters missing but it is maybe voluntary as it is an early version
  • is it possible to download your page to use it localy, I think there will be some reservations to write wifi password on an external web site

And finaly would it be possible to publish your code on github? It could be interesting to share it so as to have direct contributions and also suggestions for embedding it to the boards.

  • Pin setup: I am using your recommend pin in config file. I think this will be better to limit pin for each module to prevent duplicate. Moreover, my experience with ir and rf pin is painful. Somework, some doesnot so I want this tool make a 100% running device
  • For ir config, code without line work fine when copy to file. Because new line character dont work on browser, i will reformat for better view
  • Could you point out what s missing with user config, I work line per line so dont know what s missing
  • For local tool and code upload: My tool is php sql with many thing on db, so it s could not be run without alot setup and not practical for user. However after loading page, js and html5 do the rest for generate code. So I am thinking about create a “snap html and js version” that could be packed in a exe for distribution or easily running in your website

There was some tests done on pins compatibility but it depends on board used:

All the advanced MQTT parameters/OTA/OTHERS seems to not be there, maybe it is because I don’t expand the menu, nevertheless they should be there in all the case I think.

That s weird behavior because user config works well with me. Could you tell me more about ur browser

My first attemp to port to desktop app

1 Like

Hi, I make update with desktop app released. All info in first post

sorry for wrong link, reupload now

Update 06 June with change in layout for easier usage, add open project feature instead “fix location” for more flexible in working with multiple project

Successfully test