sensorcontrolled

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: AGPL-3.0 Imports: 14 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 sencor 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