Skip to content

Add some new /config flags & /status property  #595

@KipK

Description

@KipK

/config:

  • wizard_passed
    feature: set default to 0, when wizard has been passed once, set the flag to 1.
    comment: find a way to not display the wizard for upgraded setup. ssid is not sufficient as it doesn't solve ethernet module. Can we detect the whole config file is still default ?

  • default_state: 0 | 1 ( active | disabled )
    feature: allows to choose default evse state (active or disabled) when no override/claim has been setup.
    comment: I think EVSE fw should also be set to disabled by default, not sure this is the case or if it has any collaterals.

  • divert_type: -1 | 0 | 1 ( unset | solar | grid i/e )
    feature: store divert type. Remove needs of mqtt topic ( needed for http push ) ( -1 needed to import previous fw behavior )

  • vehicle_data_src: -1 | 0 | 1 | 2 ( unset | tesla | mqtt | http)
    feature: store vehicle data source. remove needs on checking tesla credentials or mqtt feed.

/status:

- mode_auto: 0|1
feature: match the auto mode from UI, if there's no "state" property set in /override , then auto is 1
goal: remove some boilerplate code from UI side & simplify other integrations to match current UI2 use case.
comment: probably also need an endpoint on api to activate auto ( if called, it remove /override "state" property if there's other properties in the /override claim, or clear the override if there's only the "state" prop set. For now it's done on UI side. )

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions