keys

package
v0.0.0-...-610f8f3 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AdminPassword = "adminPassword"
	JwtSecret     = "jwtSecretKey"
)
View Source
const (
	Interval           = "interval"
	PasswordConfigured = "passwordConfigured"
	SponsorToken       = "sponsorToken"
	Network            = "network"
	Mqtt               = "mqtt"
	Influx             = "influx"
	EEBus              = "eebus"
	Hems               = "hems"
	Messaging          = "messaging"
	ModbusProxy        = "modbusproxy"
	Tariffs            = "tariffs"
	Version            = "version"
	Fatal              = "fatal"
)
View Source
const (
	// loadpoint settings
	Title            = "title"       // loadpoint title
	Mode             = "mode"        // charge mode
	Priority         = "priority"    // priority
	MinCurrent       = "minCurrent"  // min current
	MaxCurrent       = "maxCurrent"  // max current
	MinSoc           = "minSoc"      // min soc
	LimitSoc         = "limitSoc"    // limit soc
	LimitEnergy      = "limitEnergy" // limit energy
	EnableThreshold  = "enableThreshold"
	DisableThreshold = "disableThreshold"
	EnableDelay      = "enableDelay"
	DisableDelay     = "disableDelay"
	BatteryBoost     = "batteryBoost"

	PhasesConfigured = "phasesConfigured" // configured phases (1/3, 0 for auto on 1p3p chargers, nil for plain chargers)
	PhasesEnabled    = "phasesEnabled"    // enabled phases (1/3)
	PhasesActive     = "phasesActive"     // active phases as used by vehicle (1/2/3)

	ChargerIcon           = "chargerIcon"           // charger icon for ui
	ChargerFeature        = "chargerFeature"        // charger feature
	ChargerPhysicalPhases = "chargerPhysicalPhases" // charger phases
	ChargerPhases1p3p     = "chargerPhases1p3p"     // phase switcher (1p3p chargers)
	ChargerStatusReason   = "chargerStatusReason"   // either awaiting authorization or disconnect required

	// loadpoint status
	Enabled   = "enabled"   // loadpoint enabled
	Connected = "connected" // connected
	Charging  = "charging"  // charging

	// smart charging
	SmartCostActive    = "smartCostActive"    // smart cost active
	SmartCostLimit     = "smartCostLimit"     // smart cost limit
	SmartCostNextStart = "smartCostNextStart" // smart cost next start

	// effective values
	EffectivePriority   = "effectivePriority"   // effective priority
	EffectivePlanId     = "effectivePlanId"     // effective plan id
	EffectivePlanTime   = "effectivePlanTime"   // effective plan time
	EffectivePlanSoc    = "effectivePlanSoc"    // effective plan soc
	EffectiveMinCurrent = "effectiveMinCurrent" // effective min current
	EffectiveMaxCurrent = "effectiveMaxCurrent" // effective max current
	EffectiveLimitSoc   = "effectiveLimitSoc"   // effective limit soc

	// measurements
	ChargeCurrent     = "chargeCurrent"     // charge current
	ChargePower       = "chargePower"       // charge power
	ChargeCurrents    = "chargeCurrents"    // charge currents
	ChargeVoltages    = "chargeVoltages"    // charge voltages
	ChargedEnergy     = "chargedEnergy"     // charged energy
	ChargeDuration    = "chargeDuration"    // charge duration
	ChargeTotalImport = "chargeTotalImport" // charge meter total import

	// session
	ConnectedDuration       = "connectedDuration"       // connected duration
	ChargeRemainingDuration = "chargeRemainingDuration" // charge remaining duration
	ChargeRemainingEnergy   = "chargeRemainingEnergy"   // charge remaining energy

	// plan
	PlanTime           = "planTime"           // charge plan finish time goal
	PlanEnergy         = "planEnergy"         // charge plan energy goal
	PlanSoc            = "planSoc"            // charge plan soc goal
	PlanActive         = "planActive"         // charge plan has determined current slot to be an active slot
	PlanProjectedStart = "planProjectedStart" // charge plan start time (earliest slot)
	PlanProjectedEnd   = "planProjectedEnd"   // charge plan ends (end of last slot)
	PlanOverrun        = "planOverrun"        // charge plan goal not reachable in time

	// repeating plans
	RepeatingPlans = "repeatingPlans" // key to access all repeating plans in db

	// remote control
	RemoteDisabled       = "remoteDisabled"       // remote disabled
	RemoteDisabledSource = "remoteDisabledSource" // remote disabled source

	// vehicle
	VehicleName            = "vehicleName"            // vehicle name
	VehicleIdentity        = "vehicleIdentity"        // vehicle identity
	VehicleDetectionActive = "vehicleDetectionActive" // vehicle detection active
	VehicleOdometer        = "vehicleOdometer"        // vehicle odometer
	VehicleRange           = "vehicleRange"           // vehicle range
	VehicleSoc             = "vehicleSoc"             // vehicle soc
	VehicleLimitSoc        = "vehicleLimitSoc"        // vehicle api soc limit
	VehicleClimaterActive  = "vehicleClimaterActive"  // vehicle climater active
	VehicleWelcomeActive   = "vehicleWelcomeActive"   // vehicle might need welcome charge
)
View Source
const (
	Aux                   = "aux"
	AuxPower              = "auxPower"
	Currency              = "currency"
	GreenShareHome        = "greenShareHome"
	GreenShareLoadpoints  = "greenShareLoadpoints"
	GridConfigured        = "gridConfigured"
	GridCurrents          = "gridCurrents"
	GridEnergy            = "gridEnergy"
	GridPower             = "gridPower"
	GridPowers            = "gridPowers"
	HomePower             = "homePower"
	PrioritySoc           = "prioritySoc"
	Pv                    = "pv"
	PvEnergy              = "pvEnergy"
	PvPower               = "pvPower"
	ResidualPower         = "residualPower"
	SiteTitle             = "siteTitle"
	SmartCostType         = "smartCostType"
	Statistics            = "statistics"
	TariffCo2             = "tariffCo2"
	TariffCo2Home         = "tariffCo2Home"
	TariffCo2Loadpoints   = "tariffCo2Loadpoints"
	TariffFeedIn          = "tariffFeedIn"
	TariffGrid            = "tariffGrid"
	TariffPriceHome       = "tariffPriceHome"
	TariffPriceLoadpoints = "tariffPriceLoadpoints"
	Vehicles              = "vehicles"
	Circuits              = "circuits"
	Ext                   = "ext"

	// meters
	GridMeter     = "gridMeter"
	PvMeters      = "pvMeters"
	BatteryMeters = "batteryMeters"
	ExtMeters     = "extMeters"
	AuxMeters     = "auxMeters"

	// battery settings
	BatteryCapacity         = "batteryCapacity"
	BatteryDischargeControl = "batteryDischargeControl"
	BatteryGridChargeLimit  = "batteryGridChargeLimit"
	BatteryGridChargeActive = "batteryGridChargeActive"
	BufferSoc               = "bufferSoc"
	BufferStartSoc          = "bufferStartSoc"

	// battery status
	Battery       = "battery"
	BatteryEnergy = "batteryEnergy"
	BatteryMode   = "batteryMode"
	BatteryPower  = "batteryPower"
	BatterySoc    = "batterySoc"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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