Skip to content

quick demo of a config parser using toml files for plugin generation. is it good? idk haha

Notifications You must be signed in to change notification settings

sigil-03/config-parser-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SYSTEM

A 'System' describes a system which we would like to schedule automations for.

Systems are configured with a toml file which describes the location of all the plugin configuration files.

By configuring the system in this way, we allow ourselves the flexibility to configure any number of plugins in our system, and the behavior of those plugins may be arbitrary.

EXAMPLE

# system.toml
plugins = ['light.toml', 'pump.toml']

PLUGINS

A 'Plugin' is a driver for an external object that we would like to control with the scheduler. For example, this could be a powered outlet, a pump, or anything else.

Plugins are configured with a toml file, which describes their type, name, and the location of their schedule file.

EXAMPLE

# light.toml

plugin_type = "Tasmota"
name = "tasmota-light"
schedule_file = "light.json"

About

quick demo of a config parser using toml files for plugin generation. is it good? idk haha

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages