Skip to content

Commit

Permalink
Cleanup, new structure
Browse files Browse the repository at this point in the history
  • Loading branch information
naltatis committed Oct 1, 2021
1 parent 6b0783a commit 6effcb7
Show file tree
Hide file tree
Showing 148 changed files with 845 additions and 2,810 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,22 @@ jobs:
update-evcc-config:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
fetch-depth: 0
- name: Update git subtree
run: |
git config --global user.email "[email protected]"
git config --global user.name "evcc-bot"
git remote add -f evcc-config https://github.com/evcc-io/config.git
git fetch evcc-config master
git subtree pull --prefix evcc-config evcc-config master --squash
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
- uses: actions/checkout@v2
with:
persist-credentials: false
fetch-depth: 0
- name: Update git subtree
run: |
git config --global user.email "[email protected]"
git config --global user.name "evcc-bot"
git remote add -f evcc-config https://github.com/evcc-io/config.git
git fetch evcc-config master
git subtree pull --prefix evcc-config evcc-config master --squash
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
checks:
if: github.event_name != 'push'
needs: update-evcc-config
Expand All @@ -36,7 +36,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '12.x'
node-version: "12.x"
- name: Test Build
run: |
if [ -e yarn.lock ]; then
Expand All @@ -55,7 +55,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '12.x'
node-version: "12.x"
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY }}
Expand All @@ -73,4 +73,4 @@ jobs:
else
npm i
fi
npm run deploy
npm run deploy
4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.docusaurus
build
node_modules
evcc-config
1 change: 1 addition & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
presets: [require.resolve("@docusaurus/core/lib/babel/preset")],
};
12 changes: 0 additions & 12 deletions blog/2019-05-28-first-blog-post.md

This file was deleted.

44 changes: 0 additions & 44 deletions blog/2019-05-29-long-blog-post.md

This file was deleted.

20 changes: 0 additions & 20 deletions blog/2021-08-01-mdx-blog-post.mdx

This file was deleted.

Binary file not shown.
25 changes: 0 additions & 25 deletions blog/2021-08-26-welcome/index.md

This file was deleted.

17 changes: 0 additions & 17 deletions blog/authors.yml

This file was deleted.

6 changes: 3 additions & 3 deletions docs/Home.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ EVCC runs on a computer connected to your local network and with access to the s
- [Create and edit the EVCC configuration](1.3.-manual-configuration) to tell EVCC about your setup and how to access it. Use a [sample configuration](7.-sample-configurations) of EVCC users for a starting point.
- Open a web browser and access EVCC to start charging


## Requirements

To run EVCC you must have:
Expand All @@ -31,7 +30,8 @@ Optional:
- a supported [Vehicle](6.-vehicle) to get the cars battery current state of charge

This is how you can talk to us:
- Support, Configuration, Device question: https://github.com/andig/evcc/discussions
- Chat about development related topics: [Slack](https://join.slack.com/t/evccgroup/shared_invite/zt-fw52e6lt-tdazCp1LPdPlYuKz3PvTAw) or [Matrix](https://app.element.io/#/room/#evcc-io:matrix.org)

- Support, Configuration, Device question: https://github.com/andig/evcc/discussions
- Chat about development related topics: [Slack](https://join.slack.com/t/evccgroup/shared_invite/zt-fw52e6lt-tdazCp1LPdPlYuKz3PvTAw) or [Matrix](https://app.element.io/#/room/#evcc-io:matrix.org)

See [getting started](1.-getting-started) for first steps.
20 changes: 18 additions & 2 deletions docs/api/mqtt-api.md → docs/api.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
# MQTT API
---
sidebar_position: 5
---

# API

## REST API

- `/api/state`: EVCC state (static configuration and dynamic state)
- `/api/loadpoints/<id>/mode`: loadpoint charge mode (writable)
- `/api/loadpoints/<id>/minsoc`: loadpoint minimum SoC (writable)
- `/api/loadpoints/<id>/targetsoc`: loadpoint target SoC (writable)
- `/api/loadpoints/<id>/phases`: loadpoint enabled phases (writable)

Note: to modify writable settings perform a `POST` request appending the value as path segment.

## MQTT API

The MQTT API follows the REST API's structure, with loadpoint ids starting at `0`:

Expand All @@ -14,4 +30,4 @@ The MQTT API follows the REST API's structure, with loadpoint ids starting at `0
- `evcc/loadpoints/<id>/targetSoC`: loadpoint target SoC (writable)
- `evcc/loadpoints/<id>/phases`: loadpoint enabled phases (writable)

Note: to modify writable settings append `/set` to the topic for writing.
Note: to modify writable settings append `/set` to the topic for writing.
4 changes: 0 additions & 4 deletions docs/api/_category_.json

This file was deleted.

9 changes: 0 additions & 9 deletions docs/api/http-rest-api.md

This file was deleted.

12 changes: 0 additions & 12 deletions docs/configuration/Config.jsx

This file was deleted.

2 changes: 1 addition & 1 deletion docs/configuration/_category_.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"label": "Configuration",
"label": "Konfiguration",
"position": 3
}
3 changes: 3 additions & 0 deletions docs/configuration/_sponsorship_required.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
:::tip Sponsoring
Dieser Funktion erfordert ein [Sponsorship-Token](/docs/sponsorship).
:::
62 changes: 0 additions & 62 deletions docs/configuration/battery-inverter.md

This file was deleted.

Loading

0 comments on commit 6effcb7

Please sign in to comment.