1
0
Fork 0
mirror of https://github.com/Luzifer/tasmota-config.git synced 2024-11-12 16:42:42 +00:00
Helper to configure Tasmota devices in code
Find a file
dependabot[bot] 9d208c5327
Bump gopkg.in/yaml.v2 from 2.2.2 to 2.2.8
Bumps [gopkg.in/yaml.v2](https://github.com/go-yaml/yaml) from 2.2.2 to 2.2.8.
- [Release notes](https://github.com/go-yaml/yaml/releases)
- [Commits](https://github.com/go-yaml/yaml/compare/v2.2.2...v2.2.8)

---
updated-dependencies:
- dependency-name: gopkg.in/yaml.v2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-16 22:28:08 +00:00
.gitignore First working prototype 2020-07-05 01:21:48 +02:00
config.go First working prototype 2020-07-05 01:21:48 +02:00
go.mod Bump gopkg.in/yaml.v2 from 2.2.2 to 2.2.8 2022-05-16 22:28:08 +00:00
go.sum Bump gopkg.in/yaml.v2 from 2.2.2 to 2.2.8 2022-05-16 22:28:08 +00:00
LICENSE Add META 2020-07-05 01:23:43 +02:00
main.go Improve logging and value checking 2020-07-05 01:48:28 +02:00
README.md Document config format 2020-07-05 01:51:07 +02:00
settings.go Add more settings reader 2020-07-15 20:41:14 +02:00

Go Report Card

Luzifer / tasmota-config

tasmota-config is a helper to configure Tasmota devices in code:

  • Settings defined in the config are fetched through MQTT
  • If the setting does not match an update is issued as BackLog command

Example config

---

settings:
  TelePeriod: 30
  Timezone: +00:00

devices:

  bedroom:
    topic: bedroom
    settings:
      DeviceName: Bedroom Sensor
      Module: 0
      Template: '{"NAME":"DevRoom 1 Mov 1 BME","GPIO":[0,0,0,0,6,5,0,0,0,0,9,0,0],"FLAG":0,"BASE":19}'

  fridge:
    topic: fridge
    settings:
      DeviceName: Fridge
      Module: 6
      PowerCal: 13769
      VoltageCal: 2127

  phonecharge:
    topic: phonecharge
    settings:
      DeviceName: Phone Charger
      LedState: 0  # Don't shine on my during night
      Module: 8

...