Skip to content

Commit ff028b2

Browse files
committed
Markdownlint
1 parent d0c116c commit ff028b2

File tree

3 files changed

+57
-55
lines changed

3 files changed

+57
-55
lines changed

tests/INIT.md

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,35 +4,35 @@
44

55
Needed:
66

7-
- [ ] Github account (or organisation and account(s))
8-
- [ ] Codecov account (just choose 'login with github')
9-
- [ ] CodeFactor account (again, login with github)
10-
- [ ] Add codecov as an integration from Github's integrations (basically 'buy' it, except its at no cost)
7+
- [ ] Github account (or organisation and account(s))
8+
- [ ] Codecov account (just choose 'login with github')
9+
- [ ] CodeFactor account (again, login with github)
10+
- [ ] Add codecov as an integration from Github's integrations (basically 'buy' it, except its at no cost)
1111

1212
## Configuration
1313

1414
After the initial setup of the repo/initial commit, walk the repo-settings on GitHub using your browser.
1515

16-
- [ ] [Set the product image, turn off wiki and automatically delete branches (from defaults)](https://github.com/plugwise/python-plugwise/settings)
17-
- [ ] [Activate both dependabots and keep dependency graph open](https://github.com/plugwise/python-plugwise/settings/security_analysis)
18-
- [ ] [Integrations, configure codecov (should show up from organisation)](https://github.com/plugwise/python-plugwise/settings/installations)
16+
- [ ] [Set the product image, turn off wiki and automatically delete branches (from defaults)](https://github.com/plugwise/python-plugwise/settings)
17+
- [ ] [Activate both dependabots and keep dependency graph open](https://github.com/plugwise/python-plugwise/settings/security_analysis)
18+
- [ ] [Integrations, configure codecov (should show up from organisation)](https://github.com/plugwise/python-plugwise/settings/installations)
1919

2020
For this step you might need to follow [this publishing guide](https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/) taking you through most of the steps. Note that the projects on PyPi already [**need to exist**](https://packaging.python.org/tutorials/packaging-projects/) so use a generic token first and later adjust that to only this project (as explained on that howto):
2121

22-
- [ ] [Configure secrets for PYPI_TOKEN and TESTPYPI_TOKEN](https://github.com/plugwise/Plugwise-Smile/settings/secrets)
22+
- [ ] [Configure secrets for PYPI_TOKEN and TESTPYPI_TOKEN](https://github.com/plugwise/Plugwise-Smile/settings/secrets)
2323

2424
## Initializing pypi
2525

26-
Once the project is ready for upload to test (i.e. version number ending in `a0` or something likewise): upload it manually using `twine upload`:
26+
Once the project is ready for upload to test (i.e. version number ending in `a0` or something likewise): upload it manually using `twine upload`:
2727

2828
Prepare:
2929

30-
- [ ] `python3 -m venv venv ; source venv/bin/activate ; pip install --upgrade pip; pip install -r requirements_test.txt ; pip install --upgrade setuptools wheel twine`
30+
- [ ] `python3 -m venv venv ; source venv/bin/activate ; pip install --upgrade pip; pip install -r requirements_test.txt ; pip install --upgrade setuptools wheel twine`
3131

32-
Package: (** ensure you are in your venv**)
32+
Package: (**ensure you are in your venv**)
3333

34-
- [ ] [pypi packaging](https://packaging.python.org/tutorials/packaging-projects/)
35-
- [ ] `python3 setup.py sdist bdist_wheel`
34+
- [ ] [pypi packaging](https://packaging.python.org/tutorials/packaging-projects/)
35+
- [ ] `python3 setup.py sdist bdist_wheel`
3636

3737
Then reconfigure your tokens on the pypi website accordingly (only allowing project updates) and carry on.
3838

@@ -65,6 +65,4 @@ From [integrations](https://github.com/plugwise/python-plugwise/settings/install
6565

6666
If you push templates within the `.github/ISSUE_TEMPLATES` directory they should be available, if not:
6767

68-
- [ ] Go to [issue templates](https://github.com/plugwise/python-plugwise/issues/templates/edit) and create them
69-
70-
68+
- [ ] Go to [issue templates](https://github.com/plugwise/python-plugwise/issues/templates/edit) and create them

userdata/README.md

Lines changed: 41 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -4,37 +4,40 @@ Below you'll find a list of setups we have (green) and are still looking for (ye
44

55
## Setups
66

7-
Intended: (yellow ones means, please submit yours)
7+
Help wanted / submit yours (links to issue tracker)
88

9-
- [![Generic badge](https://img.shields.io/badge/Adam-v3-yellow.svg)]() setup with a boiler, Floor, Koen, Plug, Tom and Lisa (i.e. the whole shebang) (`adam_full_option`)
10-
- [![Generic badge](https://img.shields.io/badge/Adam-v3-green.svg)](https://github.com/plugwise/Plugwise-Smile/tree/docs/tests/adam_living_floor_plus_3_rooms) setup with a boiler, Floor, Lisa and 3x Toms (riemers)
11-
- [![Generic badge](https://img.shields.io/badge/Adam-v3-green.svg)](https://github.com/plugwise/Plugwise-Smile/tree/docs/tests/adam_multiple_devices_per_zone) setup with everything but Koen and Anna, multiple devices per zone (tane)
12-
- [![Generic badge](https://img.shields.io/badge/Adam-v3-green.svg)](https://github.com/plugwise/Plugwise-Smile/tree/docs/tests/adam_zone_per_device) setup with everything but Koen and Anna, device per zone (tane)
13-
- [![Generic badge](https://img.shields.io/badge/Adam-v3-yellow.svg)]() setup without a boiler, but with Lisa and either a Plug or a Tom (`adam_without_boiler`)
9+
- [![Generic badge](https://img.shields.io/badge/Adam-v3-yellow.svg)](https://github.com/plugwise/python-plugwise/issues/new/choose) setup with a boiler, Floor, Koen, Plug, Tom and Lisa (i.e. the whole shebang) (`adam_full_option`)
10+
- [![Generic badge](https://img.shields.io/badge/Adam-v3-yellow.svg)](https://github.com/plugwise/python-plugwise/issues/new/choose) setup without a boiler, but with Lisa and either a Plug or a Tom (`adam_without_boiler`)
11+
- [![Generic badge](https://img.shields.io/badge/P1-v3-yellow.svg)](https://github.com/plugwise/python-plugwise/issues/new/choose) electricity and gas (`p1v3_gas_nosolar`)
1412

15-
- [![Generic badge](https://img.shields.io/badge/Adam_Anna-v3-green.svg)](https://github.com/plugwise/Plugwise-Smile/tree/docs/tests/adam_plus_anna) a boiler, Adam, Anna and Tom (bouwew)
13+
Existing setups (needs validation, e.g. links are still pointing to old repository)
1614

17-
- [![Generic badge](https://img.shields.io/badge/Anna-v4-green.svg)](https://github.com/plugwise/Plugwise-Smile/tree/docs/tests/anna_v4) setup with a boiler ()
18-
- [![Generic badge](https://img.shields.io/badge/Anna-v3-green.svg)](https://github.com/plugwise/Plugwise-Smile/tree/docs/tests/anna_without_boiler_fw3) without boiler(i.e. attached to city heating) (compatech)
19-
- [![Generic badge](https://img.shields.io/badge/Anna-v4-green.svg)](https://github.com/plugwise/Plugwise-Smile/tree/docs/tests/anna_without_boiler_fw4) without boiler(i.e. attached to city heating) (compatech)
20-
- [![Generic badge](https://img.shields.io/badge/Anna-v1-green.svg)](https://github.com/plugwise/Plugwise-Smile/tree/docs/tests/legacy_anna) setup with a boiler, but legacy firmware (1.8) ()
21-
- [![Generic badge](https://img.shields.io/badge/Anna-v1-green.svg)](https://github.com/plugwise/Plugwise-Smile/tree/docs/tests/legacy_anna_2) another setup with a boiler, but legacy firmware (1.8), but with a location ()
15+
- [![Generic badge](https://img.shields.io/badge/Adam-v3-green.svg)](https://github.com/plugwise/Plugwise-Smile/tree/docs/tests/adam_living_floor_plus_3_rooms) setup with a boiler, Floor, Lisa and 3x Toms (riemers)
16+
- [![Generic badge](https://img.shields.io/badge/Adam-v3-green.svg)](https://github.com/plugwise/Plugwise-Smile/tree/docs/tests/adam_multiple_devices_per_zone) setup with everything but Koen and Anna, multiple devices per zone (tane)
17+
- [![Generic badge](https://img.shields.io/badge/Adam-v3-green.svg)](https://github.com/plugwise/Plugwise-Smile/tree/docs/tests/adam_zone_per_device) setup with everything but Koen and Anna, device per zone (tane)
2218

23-
- [![Generic badge](https://img.shields.io/badge/P1-v3-green.svg)](https://github.com/plugwise/Plugwise-Smile/tree/docs/tests/p1v3) electricity only (compatech)
24-
- [![Generic badge](https://img.shields.io/badge/P1-v3-green.svg)](https://github.com/plugwise/Plugwise-Smile/tree/docs/tests/p1v3solarfake) electricity only - just the above with added data, please submit **yours** (from above)
25-
- [![Generic badge](https://img.shields.io/badge/P1-v3-green.svg)](https://github.com/plugwise/Plugwise-Smile/tree/docs/tests/p1v3_full_option) electricity, solar and gas ()
26-
- [![Generic badge](https://img.shields.io/badge/P1-v3-yellow.svg)]() electricity and gas (`p1v3_gas_nosolar`)
27-
- [![Generic badge](https://img.shields.io/badge/P1-v2-green.svg)](https://github.com/plugwise/Plugwise-Smile/tree/docs/tests/smile_p1_v2) electricity and gas ()
28-
- [![Generic badge](https://img.shields.io/badge/P1-v2-green.svg)](https://github.com/plugwise/Plugwise-Smile/tree/docs/tests/smile_p1_v2_2) another electricity and gas ()
19+
- [![Generic badge](https://img.shields.io/badge/Adam_Anna-v3-green.svg)](https://github.com/plugwise/Plugwise-Smile/tree/docs/tests/adam_plus_anna) a boiler, Adam, Anna and Tom (bouwew)
20+
21+
- [![Generic badge](https://img.shields.io/badge/Anna-v4-green.svg)](https://github.com/plugwise/Plugwise-Smile/tree/docs/tests/anna_v4) setup with a boiler ()
22+
- [![Generic badge](https://img.shields.io/badge/Anna-v3-green.svg)](https://github.com/plugwise/Plugwise-Smile/tree/docs/tests/anna_without_boiler_fw3) without boiler(i.e. attached to city heating) (compatech)
23+
- [![Generic badge](https://img.shields.io/badge/Anna-v4-green.svg)](https://github.com/plugwise/Plugwise-Smile/tree/docs/tests/anna_without_boiler_fw4) without boiler(i.e. attached to city heating) (compatech)
24+
- [![Generic badge](https://img.shields.io/badge/Anna-v1-green.svg)](https://github.com/plugwise/Plugwise-Smile/tree/docs/tests/legacy_anna) setup with a boiler, but legacy firmware (1.8) ()
25+
- [![Generic badge](https://img.shields.io/badge/Anna-v1-green.svg)](https://github.com/plugwise/Plugwise-Smile/tree/docs/tests/legacy_anna_2) another setup with a boiler, but legacy firmware (1.8), but with a location ()
26+
27+
- [![Generic badge](https://img.shields.io/badge/P1-v3-green.svg)](https://github.com/plugwise/Plugwise-Smile/tree/docs/tests/p1v3) electricity only (compatech)
28+
- [![Generic badge](https://img.shields.io/badge/P1-v3-green.svg)](https://github.com/plugwise/Plugwise-Smile/tree/docs/tests/p1v3solarfake) electricity only - just the above with added data, please submit **yours** (from above)
29+
- [![Generic badge](https://img.shields.io/badge/P1-v3-green.svg)](https://github.com/plugwise/Plugwise-Smile/tree/docs/tests/p1v3_full_option) electricity, solar and gas ()
30+
- [![Generic badge](https://img.shields.io/badge/P1-v2-green.svg)](https://github.com/plugwise/Plugwise-Smile/tree/docs/tests/smile_p1_v2) electricity and gas ()
31+
- [![Generic badge](https://img.shields.io/badge/P1-v2-green.svg)](https://github.com/plugwise/Plugwise-Smile/tree/docs/tests/smile_p1_v2_2) another electricity and gas ()
2932

3033
## Sharing
3134

3235
If you see a yellow item and feel your setup fits in, please **MAIL** one of the authors the output of the below links. Feel free to create a PR if you follow the below privacy hint:
3336

3437
They should al start with `<xml` and copied as plain text (i.e. not preformatted like Chrome and Safari do).
35-
Either use wget/curl or use your 'developer view' from your browser to copy the source text
36-
37-
```
38+
Either use wget/curl or use your 'developer view' from your browser to copy the source text.
39+
40+
``` txt
3841
http://{ip_of_your_smile}/core/appliances
3942
http://{ip_of_your_smile}/core/domain_objects
4043
http://{ip_of_your_smile}/core/locations
@@ -47,33 +50,32 @@ Don't commit test-data in `tests` that shouldn't be available to 'the internet'.
4750
To prevent this we've included a pre-commit hook that checks and validates that no private information is there (but do double-check yourselves!)
4851
See 'scripts/pre-commit.sh' for details
4952

50-
### Excerpt:
53+
### Excerpt
5154

52-
- [ ] modify `domain_objects` and set `short_id` to `abcdefgh`
53-
- [ ] modify `domain_objects` and set `wifi_ip` to `127.0.0.2`
54-
- [ ] modify `domain_objects` and set `lan_ip` to `127.0.0.1`
55-
- [ ] modify `domain_objects` and set all `ip_addresses` to `127.0.0.3`
56-
- [ ] modify `domain_objects` and set `hostname` to `smile000000`
57-
- [ ] modify `domain_objects` and set `longitude` to `4.49`
58-
- [ ] modify `domain_objects` and set `latitude` to `52.21`
59-
- [ ] modify `domain_objects` and set `city` to `Sassenheim`
60-
- [ ] modify `domain_objects` and set `postal_code` to `2171`
55+
- [ ] modify `domain_objects` and set `short_id` to `abcdefgh`
56+
- [ ] modify `domain_objects` and set `wifi_ip` to `127.0.0.2`
57+
- [ ] modify `domain_objects` and set `lan_ip` to `127.0.0.1`
58+
- [ ] modify `domain_objects` and set all `ip_addresses` to `127.0.0.3`
59+
- [ ] modify `domain_objects` and set `hostname` to `smile000000`
60+
- [ ] modify `domain_objects` and set `longitude` to `4.49`
61+
- [ ] modify `domain_objects` and set `latitude` to `52.21`
62+
- [ ] modify `domain_objects` and set `city` to `Sassenheim`
63+
- [ ] modify `domain_objects` and set `postal_code` to `2171`
6164

6265
### Obfuscating mac-addresses
6366

6467
We used to obfuscate them as they weren't used within our module nor HomeAssistant.
6568
From v0.16.4 this was changed as such we recommend leaving them in, if you do wish to obfuscate
6669
Note: Zigbee mac addresses are 64bit (not 48bit like Ethernet mac addresses)
6770

68-
Prefix:
71+
Prefix:
6972

70-
- `ABCD01234567`
73+
- `ABCD01234567`
7174

7275
Postfix:
7376

74-
- Anything you'd normally have (last 4 digits can remain)
75-
- When standardizing:
76-
- 0001 = Network Mac Address
77-
- 0101 = Controller Zigbee Mac Address
78-
- 0Axx = Nodes Zigbee mac addresses
79-
77+
- Anything you'd normally have (last 4 digits can remain)
78+
- When standardizing:
79+
- 0001 = Network Mac Address
80+
- 0101 = Controller Zigbee Mac Address
81+
- 0Axx = Nodes Zigbee mac addresses

userdata/fail_firmware/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
# Fail firmware
2+
13
Q&D dirty copy of p1v4 data with faulty firmware version

0 commit comments

Comments
 (0)