[Ovmsdev] Locations (actions, etc)
Stephen Casner
casner at acm.org
Tue May 5 13:13:16 HKT 2020
Mark,
Implementing actions is still on my TODO list, but the location
command to configure the actions was working. The "Unrecognized
command" response indicates that something has broken. It should
allow the command and store the requested action, but then show the
warning "NOTE: Actions are not implemented yet!" You will see that
same warning after the output of the "location list" command.
Part of the work I completed was an enhancement to the command parsing
to allow lists of keywords following a variable token, like you see
acc, homelink or notify after <location> in the Usage output. This
code was a bit tricky. I have not paid close attention to recent
commits to any of the command processing code, so maybe some change
was made that was incompatible with my enhancement.
I will investigate.
-- Steve
On Tue, 5 May 2020, Mark Webb-Johnson wrote:
> What is the current status of the changes you have been making to the locations
> system?
>
> I have a user asking why:
>
> >location set Likini
>
> >location action enter Likini notiffy entered
>
> >****: location action enter Likini notify entered
>
> Unregconised command
>
> Usage: location action enter <location> acc <profile>
>
> Usage: location action enter <location> homelink 1|2|3
>
> Usage: location action enter <location> notify <text>
>
>
> Was this ever completed?
>
> Regards, Mark
More information about the OvmsDev
mailing list