@shareandcharge/sharecharge-example-bridge

Default bridge used by the Core Client

Usage no npm install needed!

<script type="module">
  import shareandchargeSharechargeExampleBridge from 'https://cdn.skypack.dev/@shareandcharge/sharecharge-example-bridge';
</script>

README

Example Bridge

A simulated implementation of a Share & Charge core client bridge. It uses @motionwerk/sharecharge-bridge-tools to manage sessions.

Install

Note that the example bridge is installed by default with every S&C Core Client install.

npm install -g @motionwerk/sharecharge-example-bridge`

Usage

With the Share & Charge CLI:

sc-cli config set bridgePath @motionwerk/sharecharge-example-bridge

Or edit $HOME/.sharecharge/config.json directly:

{
    "bridgePath": "@motionwerk/sharecharge-example-bridge"
}

Information

Charges at a rate of 25 Wh per second!