sensorcontrolled

package
v0.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2024 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Overview

Package sensorcontrolled base implements a base with feedback control from a movement sensor

Index

Constants

This section is empty.

Variables

View Source
var (
	// Model is the name of the sensor_controlled model of a base component.
	Model = resource.DefaultModelFamily.WithModel("sensor-controlled")
)

Functions

This section is empty.

Types

type Config

type Config struct {
	MovementSensor []string `json:"movement_sensor"`
	Base           string   `json:"base"`
}

Config configures a sensor controlled base.

func (*Config) Validate

func (cfg *Config) Validate(path string) ([]string, error)

Validate validates all parts of the sensor controlled base config.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL