Git Product home page Git Product logo

Comments (3)

benzino77 avatar benzino77 commented on August 20, 2024 1

It looks like it is already solved: arendst/Tasmota#6330 - so, from the current development branch you can do this by user_config_override.h file.
You can use then "Custom parameters" field to put your MQTT TLS related stuff.

I will add an option inside "Select features" step to allow to check "MQTT over TLS"

from tasmocompiler.

benzino77 avatar benzino77 commented on August 20, 2024

Technically TasmoCompiler do not overwrite my_user_config.h - git does.
When you hit Compile button, TasmoCompiler callsgit reset --hard to throw away all uncommitted changes, to have clean, unmodified Tasmota source code for selected branch/version (all changes made before hitting Compile button will be discarded). Then TasmoCompiler create platformio.ini, user_config_override.h and starts compiling the source.
Since MQTT over TLS can be enabled only by editing/changing my_user_config.h this has to be implemented in TasmoCompiler to make it work as expected.

For now, you can prepare my_user_config.h file outside Tasmota source directory, and after hitting compile button you have to overwrite this file:

cp /home/dprus/my_user_config.h /tmp/Sonoff-Tasmota/sonoff

This is just idea for quick-fix, I haven't tested it.

Anyway, I will think about how to implement it in the future.

from tasmocompiler.

benzino77 avatar benzino77 commented on August 20, 2024

It is already implemented. You can try it.

from tasmocompiler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.