
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
github.com/theriverman/volvooncall/cli
A CLI application] written in Go to interact with the Volvo Cars (Volvo On Call) services.
This project was inspired by molobrakos/volvooncall, and it aims to maintain a certain level of compatibility with it both API and configuration wise.
Go to Releases and download the latest version.
Alternatively, you can install it from source by executing the following command:
go install github.com/theriverman/VolvoOnCall/cli
Interaction can be simplified by adding your credentials and optionally your default car's VIN to a configuration file at $HOME/.voc.conf
:
username: my-volvo-username
password: my-secret-passowrd
defaultCarVin: YV1ABCD00E1234567
# region: your-custom-region
# url: your-custom-api-url
Additionally, the used region and url can be modified too. Possible regions are the following:
This section describes the commands available in VolvoOnCall CLI. Each subsection explains a top-level command. See also the results of voc --help
or just execute voc
without any commands.
Lists all cars associated with your account. No additional options.
Locks the car identified by its VIN.
--vin
Example:
voc lock --vin YV12ABC3456789
Unlocks the car identified by its VIN.
--vin
Example:
voc unlock --vin YV12ABC3456789
Start or stop the heater in the car identified by its VIN.
--vin
start
stop
Example:
voc heater --vin YV12ABC3456789 start
voc heater --vin YV12ABC3456789 stop
Start or stop the engine in the car identified by its VIN.
--vin
start
stop
Example:
voc engine --vin YV12ABC3456789 start
voc engine --vin YV12ABC3456789 stop
Flash the turn signals on the car identified by its VIN.
--vin
Example:
voc blink --vin YV12ABC3456789
Honk the horn on the car identified by its VIN.
--vin
Example:
voc honk --vin YV12ABC3456789
Get a brief overview about a select car.
There are three options to select from:
Examples:
# Returns the most common status parameters only
voc status -vin YV12ABC3456789
# Returns the original JSON
voc status -vin YV12ABC3456789 --json
# Returns only select attributes
voc status -vin YV12ABC3456789 --attributes windows.frontLeftWindowOpen,averageFuelConsumption,averageSpeed
For more advanced query options, see the Path Syntax at https://github.com/tidwall/gjson.
Examples:
voc trips -vin YV12ABC3456789
voc trips -vin YV12ABC3456789 --json
Save your VolvoOnCall username and password in $HOME/.voc.conf
Example:
voc register --username "my-volvo-username" --password "my-volvo-password"
The recommended approach to building the project is using Make.
Typical build targets defined in Makefile
are the following:
./dist/$(BINARY_NAME)$(BINARY_SUFFIX)
./dist
Fork the repository, do your changes, then open a pull request. Thank you!
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.