Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rkokkelk/com.jreenen.homeyharmonyhub
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.2.1
Choose a base ref
...
head repository: rkokkelk/com.jreenen.homeyharmonyhub
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Loading
Showing 5,247 changed files with 411,778 additions and 130,661 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
26 changes: 26 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"env": {
"browser": false,
"commonjs": true,
"es6": true
},
"extends": [
"standard",
"plugin:homey-app/recommended"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 2018
},
"rules": {
"semi": 0,
"space-before-function-paren": ["error", {"anonymous": "never", "named": "never", "asyncArrow": "always"}],
"padded-blocks": ["error", { "classes": "always" }],
"curly": ["error", "multi"],
"indent": ["error", 4],
"prefer-promise-reject-errors": ["error", {"allowEmptyReject": true}]
}
}
12 changes: 12 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# These are supported funding model platforms

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: ["https://www.paypal.me/jreenen"]
28 changes: 28 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: Bug report
about: Create a report to help us improve

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- Homey firmware version: [e.g. 1.5.12]
- App version [e.g. 1.2.1]

**Additional context**
Add any other context about the problem here.
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Feature request
about: Suggest an idea for this project

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
8 changes: 6 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
.vscode/
package-lock.json
env.json
jsconfig.json
examplejson/
examplejson/
.DS_Store


# Added by Homey CLI
/.homeybuild/
29 changes: 29 additions & 0 deletions .homeychangelog.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"2.0.4": {
"en": "Stability issues, many thanks to rkokkelk for his support on this!"
},
"2.0.5": {
"en": "Addressed review issues raised by Athom. Hot-fix for issue with device on/off trigger."
},
"2.0.6": {
"en": "Hotfix for crashes on hub friendlyname"
},
"2.0.7": {
"en": "Fix for hub friendlyname crash"
},
"2.0.8": {
"en": "Update websocket dependency to latest version"
},
"2.0.9": {
"en": "Update websocket dependency to latest version, fix title errors"
},
"3.0.0": {
"en": "Change to support SDKv3"
},
"3.0.1": {
"en": "SDKv3 added support Release Candidate 1"
},
"3.0.2": {
"en": "Fixes send_command card"
}
}
88 changes: 88 additions & 0 deletions .homeycompose/app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
{
"id": "com.jreenen.homeyharmonyhub",
"sdk": 3,
"brandColor": "#00B8FC",
"name": {
"en": "Harmony Hub",
"nl": "Harmony Hub"
},
"description": {
"en": "Homey and the Harmony Hub are better together!",
"nl": "Homey en de Harmony Hub zijn samen sterker!"
},
"category": [
"appliances",
"video"
],
"tags": {
"en": [
"logitech",
"remote",
"harmony",
"hub"
],
"nl": [
"logitech",
"remote",
"harmony",
"hub",
"afstandsbediening"
]
},
"version": "3.0.2",
"compatibility": ">=5.0.0",
"images": {
"large": "/assets/images/homey_harmony_hub_large.jpg",
"small": "/assets/images/homey_harmony_hub_small.jpg"
},
"bugs": {
"url": "https://github.com/rkokkelk/com.jreenen.homeyharmonyhub/issues"
},
"api": {
"getPairedDevices": {
"method": "GET",
"path": "/getpaireddevices"
},
"sendDebugReport": {
"method": "POST",
"path": "/senddebugreport"
}
},
"homeyCommunityTopicId": 1747,
"author": {
"name": "Jeroen van Reenen",
"email": "jreenen@hotmail.com"
},
"contributors": {
"developers": [
{
"name": "Jeroen van Reenen",
"email": "jreenen@hotmail.com"
},
{
"name": "Dennie de Groot",
"email": "mail@denniedegroot.nl",
"website": "https://denniedegroot.nl"
},
{
"name": "Raymond Brink",
"email": "homey@rbrink.nl"
},
{
"name": "Roy K",
"website": "https://github.com/rkokkelk"
}
]
},
"contributing": {
"donate": {
"paypal": {
"username": "jreenen"
}
}
},
"platforms": [
"local"
],
"source": "https://github.com/rkokkelk/com.jreenen.homeyharmonyhub"
}
29 changes: 29 additions & 0 deletions .homeycompose/flow/actions/start_activity.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"id": "start_activity",
"title": {
"en": "Start activity",
"nl": "Start een activiteit"
},
"titleFormatted": {
"en": "Start [[hub]][[activity]]",
"nl": "Start [[hub]][[activity]]"
},
"args": [
{
"name": "hub",
"type": "autocomplete",
"placeholder": {
"en": "Select your harmony hub",
"nl": "Selecteer je harmony hub"
}
},
{
"name": "activity",
"type": "autocomplete",
"placeholder": {
"en": "Activity",
"nl": "Activiteit"
}
}
]
}
21 changes: 21 additions & 0 deletions .homeycompose/flow/actions/stop_activity.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"id": "stop_activity",
"title": {
"en": "Stop activity",
"nl": "Stop een activiteit"
},
"titleFormatted": {
"en": "Stop activity on [[hub]]",
"nl": "Stop activiteit op [[hub]]"
},
"args": [
{
"name": "hub",
"type": "autocomplete",
"placeholder": {
"en": "Select your harmony hub",
"nl": "Selecteer je harmony hub"
}
}
]
}
37 changes: 37 additions & 0 deletions .homeycompose/flow/conditions/is_activity.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"id": "is_activity",
"title": {
"en": "Activity !{{is|isn't}} matched",
"nl": "Activiteit !{{is|is niet}} gelijk aan"
},
"titleFormatted": {
"en": "[[hub]][[activity]] !{{is|isn't}} equal to [[activity_input]]",
"nl": "[[hub]][[activity]] !{{is|is niet}} gelijk aan [[activity_input]]"
},
"args": [
{
"name": "activity_input",
"type": "text",
"placeholder": {
"en": "Activity to compare",
"nl": "Activiteit voor vergelijking"
}
},
{
"name": "hub",
"type": "autocomplete",
"placeholder": {
"en": "Select your harmony hub",
"nl": "Selecteer je harmony hub"
}
},
{
"name": "activity",
"type": "autocomplete",
"placeholder": {
"en": "Activity",
"nl": "Activiteit"
}
}
]
}
33 changes: 33 additions & 0 deletions .homeycompose/flow/triggers/activity_started.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"id": "activity_started",
"title": {
"en": "Activity started",
"nl": "Activiteit gestart"
},
"tokens": [
{
"name": "hub",
"type": "string",
"title": {
"en": "hub",
"nl": "hub"
},
"example": {
"en": "Hub living room",
"nl": "Hub woonkamer"
}
},
{
"name": "activity",
"type": "string",
"title": {
"en": "activity",
"nl": "activiteit"
},
"example": {
"en": "Watch television",
"nl": "TV kijken"
}
}
]
}
33 changes: 33 additions & 0 deletions .homeycompose/flow/triggers/activity_starting.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"id": "activity_starting",
"title": {
"en": "Activity starting",
"nl": "Activiteit wordt gestart"
},
"tokens": [
{
"name": "hub",
"type": "string",
"title": {
"en": "hub",
"nl": "hub"
},
"example": {
"en": "Hub living room",
"nl": "Hub woonkamer"
}
},
{
"name": "activity",
"type": "string",
"title": {
"en": "activity",
"nl": "activiteit"
},
"example": {
"en": "Watch television",
"nl": "TV kijken"
}
}
]
}
Loading