Skip to content
This repository has been archived by the owner on Feb 24, 2023. It is now read-only.
/ tasmota-build Public archive

Build environment to automatically configure and build a Sonoff-Tasmota image

Notifications You must be signed in to change notification settings

Luzifer/tasmota-build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Luzifer / tasmota-build

Inside this repostitory there is a small build environment to automatically configure and build a Sonoff-Tasmota image.

Usage

  • Adjust config.yml to your needs
    • !undef ensures the parameter is not defined
    • !def ensures the parameter is defined
    • ${VAR} reads the contents of the parameter from the environment
    • Any other string will be inserted into the config
  • Define a env file for everything you are reading from the environment (Format: VAR=VALUE, one per line)
  • Build the firmware
    # docker run --rm -ti --env-file=env -e UID=$(id -u) -v $(pwd):/src -w /src python make default clean chown

Pay attention: When defining strings you need to wrap them in double quotes for the compiler to understand them as strings: PARAM: '"mystring"'. If you are defining numbers you will define them like this: PARAM: '1'. Constants are used like this: PARAM: CONSTANT.

About

Build environment to automatically configure and build a Sonoff-Tasmota image

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published