Add tasmota detection (#847)
This commit is contained in:
parent
fa7e712bfd
commit
1b3bf5742c
1 changed files with 11 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ const (
|
|||
taskBattery = "battery"
|
||||
taskMeter = "meter"
|
||||
taskFronius = "fronius"
|
||||
taskTasmota = "tasmota"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
|
@ -230,6 +231,16 @@ func init() {
|
|||
},
|
||||
})
|
||||
|
||||
taskList.Add(Task{
|
||||
ID: taskTasmota,
|
||||
Type: "http",
|
||||
Depends: TaskTCP80,
|
||||
Config: map[string]interface{}{
|
||||
"path": "//cm?cmnd=Module",
|
||||
"jq": ".Module",
|
||||
},
|
||||
})
|
||||
|
||||
// taskList.Add(Task{
|
||||
// ID: "volkszähler",
|
||||
// Type: "http",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue