Skip to content

Commit 87f61bd

Browse files
authored
Merge branch 'master' into GogoVega-patch-2
2 parents 9402968 + 95156a9 commit 87f61bd

File tree

446 files changed

+21114
-7241
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

446 files changed

+21114
-7241
lines changed

.github/workflows/deploy-github.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,15 @@ jobs:
1313
node-version: '16'
1414

1515
- name: Install dependencies
16-
run: yarn install --frozen-lockfile
16+
run: npm ci
1717

1818
- name: Check for linting errors
19-
run: yarn test
19+
run: npm run test
2020

2121
- name: Build production website
22-
run: yarn build
22+
run: npm run build
23+
env:
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2325

2426
- name: Deploy to GitHub Pages
2527
uses: peaceiris/actions-gh-pages@v3

.github/workflows/test.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,21 @@ jobs:
1212
node-version: "16"
1313

1414
- name: Install dependencies
15-
run: yarn install --frozen-lockfile
15+
run: npm ci
1616

1717
- name: Check for linting errors
18-
run: yarn lint
18+
run: npm run lint
1919

2020
- name: Build production website
21-
run: yarn build
21+
run: npm run build:preview
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2224

2325
- name: Netlify Actions
2426
uses: nwtgck/[email protected]
2527
with:
2628
publish-dir: "./public"
2729
github-token: ${{ secrets.GITHUB_TOKEN }}
28-
netlify-config-path: ./netlify.toml
2930
env:
3031
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN_NRCHKB_WIKI }}
3132
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID_NRCHKB_WIKI }}

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,7 @@ bin
77
.vscode
88

99
*.iml
10+
11+
12+
data/nrchkb/contributors.json
13+
data/nrchkb/contributorsMap.json

.husky/pre-commit

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
yarn lint
4+
npm run lint

CHANGELOG.md

+22
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,28 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [1.51.0](https://github.com/NRCHKB/NRCHKB.github.io/compare/v1.50.3...v1.51.0) (2022-02-22)
6+
7+
8+
### Features
9+
10+
* add relation between Camera* Services to Camera Control Service ([5ae7c84](https://github.com/NRCHKB/NRCHKB.github.io/commit/5ae7c8496e5e29de481e83b34cee51d6a830c5c8))
11+
* disable bottom alert ([49915b0](https://github.com/NRCHKB/NRCHKB.github.io/commit/49915b0e256eee609f8a4bd7af57cc1adbc16c84))
12+
* Faucet Service + Valve Service ([#103](https://github.com/NRCHKB/NRCHKB.github.io/issues/103)) ([2086fff](https://github.com/NRCHKB/NRCHKB.github.io/commit/2086fff8a5552bc4a5ff14c02acdc73ce8441c19))
13+
* Main page improvements ([7e00e9b](https://github.com/NRCHKB/NRCHKB.github.io/commit/7e00e9bd8fc9dc68ada7b8c20e3be90d4ba372d2))
14+
* make alert background on light theme more contrast ([ba6a07d](https://github.com/NRCHKB/NRCHKB.github.io/commit/ba6a07da9d118b1c84fde642b863b795ad91c95d))
15+
* Update HomePage, Introduction and Nodes + Alert Style ([#112](https://github.com/NRCHKB/NRCHKB.github.io/issues/112)) ([0f3d2c8](https://github.com/NRCHKB/NRCHKB.github.io/commit/0f3d2c82935e9c1db0e2be7ba5e7d94b22cb5ce3))
16+
17+
18+
### Bug Fixes
19+
20+
* Custom config path for netlify ([#115](https://github.com/NRCHKB/NRCHKB.github.io/issues/115)) ([f99e451](https://github.com/NRCHKB/NRCHKB.github.io/commit/f99e451dc54fbba8754d823eaa517a6b24d89364))
21+
* netlify preview url ([622caa8](https://github.com/NRCHKB/NRCHKB.github.io/commit/622caa8c8b06bc02eb6b5f16f1ceb0773a263141))
22+
* netlify.toml lines nesting ([ad027fc](https://github.com/NRCHKB/NRCHKB.github.io/commit/ad027fcb80c0eff73e75d215071aede881e965e6))
23+
* Probably correct netlify preview config ([9cff781](https://github.com/NRCHKB/NRCHKB.github.io/commit/9cff7818b8dc6951d81bfff52701f87667fff433))
24+
* Resolve Problem with non-stationary sidebar ([c40a7b0](https://github.com/NRCHKB/NRCHKB.github.io/commit/c40a7b0deb90c7b6dcf4fea26b1bf8aa9fc7ef26))
25+
* Resolve Problem with Scrollbar (docs-menu) ([9dc652a](https://github.com/NRCHKB/NRCHKB.github.io/commit/9dc652a2ad37c1f57938d4b941c137e08ef5bc8c))
26+
527
### [1.50.3](https://github.com/NRCHKB/NRCHKB.github.io/compare/v1.50.2...v1.50.3) (2022-01-06)
628

729

archetypes/blog.md

-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,9 @@ title: "{{ replace .Name "-" " " | title }}"
33
description: ""
44
lead: ""
55
date: {{ .Date }}
6-
lastmod: {{ .Date }}
76
draft: true
87
weight: 50
98
images: ["{{ .Name | urlize }}.jpg"]
10-
contributors: []
119
---
1210

1311
{{< img src="{{ .Name | urlize }}.jpg" alt="{{ replace .Name "-" " " | title }}" caption="{{ replace .Name "-" " " | title }}" class="wide" >}}

archetypes/default.md

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
title: "{{ replace .Name "-" " " | title }}"
33
description: ""
44
date: {{ .Date }}
5-
lastmod: {{ .Date }}
65
draft: true
76
images: []
87
---

archetypes/wiki.md

-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ title: "{{ replace .Name "-" " " | title }}"
33
description: ""
44
lead: ""
55
date: {{ .Date }}
6-
lastmod: {{ .Date }}
76
draft: true
87
images: []
98
menu:
@@ -15,7 +14,6 @@ service:
1514
name: ""
1615
weight: 999
1716
toc: true
18-
contributors: []
1917
---
2018

2119
{{< img src="{{ .Name | urlize }}.jpg" alt="{{ replace .Name "-" " " | title }}" caption="{{ replace .Name "-" " " | title }}" >}}

assets/scss/common/_global.scss

-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ body {
107107
position: -webkit-sticky;
108108
position: sticky;
109109
top: 4rem;
110-
z-index: 1000;
111110
height: calc(100vh - 4rem);
112111
}
113112
}

assets/scss/components/_alerts.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
}
3030

3131
.alert-warning {
32-
background: $beige;
32+
background: #1b1f221f;
3333
color: $black;
3434
}
3535

assets/scss/layouts/_sidebar.scss

+7
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ a.docs-link {
6060
display: block;
6161
padding: 0.125rem 0;
6262
font-size: $font-size-base;
63+
margin-right: 100px;
6364
}
6465

6566
.page-links li {
@@ -108,3 +109,9 @@ a.docs-link {
108109
.page-links h3.sidebar-link a:hover {
109110
text-decoration: underline;
110111
}
112+
113+
.docs-link.divider {
114+
border-bottom: 1px dashed #dee2e6;
115+
padding-bottom: 4px;
116+
margin-bottom: 4px;
117+
}

config/_default/config.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ baseurl = "/"
22
disableAliases = true
33
disableHugoGeneratorInject = true
44
enableEmoji = true
5-
enableGitInfo = false
5+
enableGitInfo = true
66
enableRobotsTXT = true
77
languageCode = "en"
88
paginate = 7

config/_default/menus.toml

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
weight = 10
6565

6666
[[footer]]
67+
name = "Discord"
6768
pre = "<img src=\"https://img.shields.io/discord/586065987267330068?color=%238f0000&label=Discord&logo=discord\" alt=\"NRCHKB Discord\"/>"
6869
url = "https://discord.gg/uvYac5u"
6970
weight = 20

config/_default/params.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ lqipWidth = "20x"
3939
footer = "Powered by <a href=\"https://gohugo.io/\">Hugo</a> and <a href=\"https://getdoks.org/\">Doks</a>"
4040

4141
# Alert
42-
alert = true
42+
alert = false
4343
alertText = "Like NRCHKB? <a class=\"alert-link\" href=\"https://github.com/NRCHKB/node-red-contrib-homekit-bridged\">Star on GitHub</a>. Thanks!</a>"
4444

4545
# Edit Page

config/netlify/config.json

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"baseURL": "/",
3+
"enableRobotsTXT": false,
4+
"gc": true,
5+
"minify": true,
6+
"buildDrafts": true,
7+
"buildFuture": true,
8+
"googleAnalytics": ""
9+
}

config/production/config.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"baseURL": "https://nrchkb.github.io/",
3+
"gc": true,
4+
"minify": true,
5+
"googleAnalytics": "G-XYRM4ZVKJS"
6+
}

config/production/config.toml

-2
This file was deleted.

config/staging/.gitkeep

Whitespace-only changes.

content/_index.md

+39-30
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,46 @@
11
---
2-
title : "HomeKit all the things!"
2+
title: "HomeKit all the things!"
33
description: "NRCHKB is a Node-RED nodes pack to simulate Apple HomeKit devices. The goal is to emulate native HomeKit devices as closely as possible."
44
lead: "NRCHKB is a Node-RED nodes pack to simulate Apple HomeKit devices. The goal is to emulate native HomeKit devices as closely as possible."
5-
date: 2021-04-01T00:00:00+02:00
6-
lastmod: 2022-01-22T20:32:10.143Z
5+
date: 2021-04-05T11:54:45.000Z
76
draft: false
87
images: []
98
---
109

11-
12-
<div class="clearfix">
13-
<img src="/images/presentation/demonstration.gif" class="col-md-9 float-md-end mb-3 ms-md-3" style="max-width: 100%;" alt="NRCHKB Demonstration"/>
14-
15-
### About this Contrib
16-
17-
This is a collection of nodes which can be used to imitate HomeKit devices inside Node-RED. Messages coming into these nodes are able to set device states and status in Apple's iOS and macOS Home apps. Commands from Home apps (or Siri) will be passed from these nodes into your Node-RED flows.
18-
19-
### Easy Install
20-
21-
If you have Node-RED already installed, the recommended install method is to use the editor. To do this, select `Manage palette` from the Node-RED menu (top right).
22-
Then select `Install` tab in the palette. Search for and install this node (`node-red-contrib-homekit-bridged`).
23-
</div>
24-
25-
### Docker Install
26-
27-
You can also pull a [docker image](https://github.com/NRCHKB/node-red-contrib-homekit-docker) containing everything needed to get started.
28-
29-
### Getting Started
30-
31-
[**Example flows**]({{< ref "/wiki/examples" >}} "Examples")
32-
For a quick start, we recommend checking out the flows which are included with the plugin, they can be imported using the Node-RED hamburger menu after install.
33-
34-
[**Documentation home page**]({{< ref "/wiki/introduction/quick-start" >}} "Quick Start")
35-
For more instructions, information about how things work, and detailed examples (including various real life examples from the community).
36-
37-
[**Discord**](https://discord.gg/uvYac5u) Again, one of us is on Discord every day, always ready to help!
10+
<div class="container">
11+
<div class="row justify-content-center text-center row align-items-center">
12+
<div class="col-lg-7 order-lg-first order-md-last order-last">
13+
<h2 class="h4">About NRCHKB</h2>
14+
<p style="text-align: left;">This is a collection of nodes which can be used to simulate HomeKit accessories inside of Node-RED. Messages coming into these nodes are able to set accessory states and status in Apple's iOS and MacOS Home apps. Commands from Home.app (or Siri) will be passed from these nodes into your Node-RED flows.</p>
15+
</div>
16+
<div class="col-lg-7 order-lg-last order-md-first order-first">
17+
<video autoplay loop muted playsinline>
18+
<source src="/images/presentation/nrchkb-demonstration.webm" type="video/webm">
19+
<source src="/images/presentation/nrchkb-demonstration.mp4" type="video/mp4">
20+
<source src="/images/presentation/nrchkb-demonstration.mov" type="video/quicktime">
21+
</video>
22+
</div>
23+
</div>
24+
<div class="row justify-content-center text-center">
25+
<div class="col-lg-7">
26+
<h2 class="h4">Easy Install</h2>
27+
<p style="text-align: left;">Installation of this collection of nodes (<code>node-red-contrib-homekit-bridged</code>) is done directly in Node-RED from <code>Manage palette</code>. </p>
28+
</div>
29+
<div class="col-lg-7">
30+
<h2 class="h4">Docker Install</h2>
31+
<p style="text-align: left;">You can also pull a <a href="https://github.com/NRCHKB/node-red-contrib-homekit-docker">Docker image</a> containing everything needed to get started. </p>
32+
</div>
33+
<div class="col-lg-7">
34+
<h2 class="h4">Examples Included</h2>
35+
<p style="text-align: left;">
36+
<a href="{{"/wiki/examples/" | absURL }}"><strong>Example flows</strong></a> are included with the plugin, they can be imported using the Node-RED menu after install.
37+
</p>
38+
</div>
39+
<div class="col-lg-7">
40+
<h2 class="h4">Getting Started</h2>
41+
<p style="text-align: left;">Our <a href="{{"/wiki/introduction/quick-start/" | absURL }}"><strong>Documentation Page</strong></a> is full of explanations, examples, and information to get you moving! </p>
42+
</div>
43+
<div class="col-lg-12 mt-4 pt-1">
44+
<p style="text-align: center;">If you have any questions we are every day on <a href="https://discord.gg/uvYac5u"><strong>Discord</strong></a>, always ready to help!</p>
45+
</div>
46+
</div>

content/blog/_index.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
---
22
title: "Blog"
33
description: "The NRCHKB Blog."
4-
date: 2021-04-01T00:00:00+02:00
5-
lastmod: 2021-04-01T00:00:00+02:00
4+
date: 2021-04-05T11:54:45.000Z
65
draft: false
76
images: []
87
---

content/blog/release-1.4.0/index.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
title: "Release 1.4.0 🥳"
33
description: "NRCHKB/node-red-contrib-homekit-bridged Release 1.4.0"
44
lead: "New version is now available to install!"
5-
date: 2021-10-04T16:04:58.440Z
6-
lastmod: 2021-10-04T16:04:58.440Z
5+
date: 2021-10-04T16:11:26.000Z
76
draft: false
87
images: ["title.png"]
98
contributors: ["Shaquu"]

content/contact/index.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
---
22
title: "Contact"
33
description: "Drop us an email."
4-
date: 2021-04-01T00:00:00+02:00
5-
lastmod: 2021-10-13T22:52:57+02:00
4+
date: 2021-04-05T11:54:45.000Z
65
draft: false
76
images: []
87
---

content/contributors/_index.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
---
22
title: "Contributors"
33
description: "The NRCHKB Wiki contributors."
4-
date: 2021-04-01T00:00:00+02:00
5-
lastmod: 2021-04-01T00:00:00+02:00
4+
date: 2021-04-05T11:54:45.000Z
65
draft: false
76
images: []
87
---

content/contributors/crxporter/_index.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
---
22
title: "crxporter"
33
description: "Contributor"
4-
date: 2021-10-04T16:08:10.810Z
5-
lastmod: 2021-10-04T16:08:10.810Z
4+
date: 2021-10-04T16:11:26.000Z
65
draft: false
76
images: []
87
---

content/contributors/kevinkub/_index.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
---
22
title: "kevinkub"
33
description: "Contributor"
4-
date: 2021-10-04T16:08:10.810Z
5-
lastmod: 2021-10-04T16:08:10.810Z
4+
date: 2021-10-04T16:11:26.000Z
65
draft: false
76
images: []
87
---

content/contributors/shaquu/_index.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
---
22
title: "Tadeusz Wyrzykowski"
33
description: "Main NRCHKB developer"
4-
date: 2021-04-11T22:00:00+02:00
5-
lastmod: 2021-10-13T22:54:57+02:00
4+
date: 2021-04-11T20:22:26.000Z
65
draft: false
76
images: []
87
---

content/privacy-policy/index.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
---
22
title: "Privacy Policy"
33
description: "We do use cookies only to improve your experience."
4-
date: 2021-04-01T00:00:00+02:00
5-
lastmod: 2021-04-09T16:41:00+02:00
4+
date: 2021-04-05T11:54:45.000Z
65
draft: false
76
images: []
87
---

content/wiki/_index.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
title : "Wiki"
33
description: "NRCHKB Wiki."
44
lead: ""
5-
date: 2021-04-01T00:00:00+02:00
6-
lastmod: 2021-04-01T00:00:00+02:00
5+
date: 2021-04-05T11:54:45.000Z
76
draft: false
87
images: []
98
---

content/wiki/characteristic/_index.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
title: "Characteristics"
33
description: ""
44
lead: ""
5-
date: 2021-04-01T00:00:00+02:00
6-
lastmod: 2021-04-01T00:00:00+02:00
5+
date: 2021-04-05T11:54:45.000Z
76
draft: false
87
images: []
98
weight: 40

content/wiki/characteristic/access-code-control-point/index.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
title: "AccessCodeControlPoint"
33
description: "Access Code Control Point"
44
lead: ""
5-
date: 2021-09-27T18:51:43.207Z
6-
lastmod: 2021-09-27T18:51:43.207Z
5+
date: 2021-09-27T18:54:22.000Z
76
draft: false
87
images: []
98
menu:

0 commit comments

Comments
 (0)