Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
399 commits
Select commit Hold shift + click to select a range
c306e65
chore: release v3.8.0
Apollon77 May 11, 2021
78daf76
Bump ws from 7.4.5 to 7.4.6 (#116)
dependabot[bot] May 30, 2021
9a9e0a4
Set missing Accept Header in requests
bbindreiter Jun 2, 2021
398335f
Increase version to 3.8.1
bbindreiter Jun 2, 2021
8b4803c
Revert "Increase version to 3.8.1"
bbindreiter Jun 3, 2021
d0434cb
Change Version number to ### __WORK_IN PROGRESS__ in README.md
bbindreiter Jun 3, 2021
94fe08e
Merge pull request #117 from bbindreiter/master
Apollon77 Jun 4, 2021
b47da95
* prepare release, fixes #118
Apollon77 Jun 4, 2021
94bd393
chore: release v3.8.1
Apollon77 Jun 4, 2021
2f8d3d5
Bump actions/setup-node from 2.1.5 to 2.2.0
dependabot[bot] Jul 1, 2021
2ede35e
* remove travis/appveyot
Apollon77 Jul 3, 2021
ce59dfe
Merge pull request #119 from Apollon77/dependabot/github_actions/acti…
Apollon77 Jul 11, 2021
27e6b68
Add skill launch function
guilhermelirio Jul 25, 2021
b694373
Add getSkills() function
guilhermelirio Jul 26, 2021
589accd
Merge pull request #125 from guilhermelirio/master
Apollon77 Jul 30, 2021
b47a80d
* update deps
Apollon77 Jul 30, 2021
20502e2
chore: release v3.9.0
Apollon77 Jul 30, 2021
e7797e6
add typescript types definition
RodolfoSilva Sep 29, 2021
6e714b5
Bump actions/setup-node from 2.2.0 to 2.4.1
dependabot[bot] Oct 1, 2021
cf994ad
Bump @alcalzone/release-script from 2.2.1 to 3.4.0
dependabot[bot] Oct 1, 2021
d2c52c9
Bump ws from 7.5.3 to 8.2.2
dependabot[bot] Oct 1, 2021
64be75e
Merge pull request #136 from Apollon77/dependabot/npm_and_yarn/ws-8.2.2
Apollon77 Oct 10, 2021
f49249b
Merge pull request #135 from Apollon77/dependabot/npm_and_yarn/alcalz…
Apollon77 Oct 10, 2021
9552fdc
Merge pull request #134 from Apollon77/dependabot/github_actions/acti…
Apollon77 Oct 10, 2021
0f7b8d5
chore(deps): bump axios from 0.21.1 to 0.21.4
dependabot[bot] Oct 10, 2021
9c2acce
chore(deps): bump ansi-regex from 5.0.0 to 5.0.1 (#138)
dependabot[bot] Oct 10, 2021
1950c45
Merge pull request #133 from RodolfoSilva/feature/add-typescript-types
Apollon77 Oct 10, 2021
172dc7c
Merge pull request #139 from Apollon77/dependabot/npm_and_yarn/axios-…
Apollon77 Oct 10, 2021
9da44a3
* IMPORTANT: Node.js 10 support is dropped, supports LTS versions of …
Apollon77 Oct 10, 2021
3564c1e
* fixes
Apollon77 Oct 10, 2021
448d6b5
* fixes
Apollon77 Oct 10, 2021
d12c29d
* fixes
Apollon77 Oct 10, 2021
585e422
* fixes
Apollon77 Oct 10, 2021
76b285d
* fixes
Apollon77 Oct 10, 2021
d80fd9c
* fixes
Apollon77 Oct 10, 2021
1f6c355
* fixes
Apollon77 Oct 10, 2021
c179e41
* fixes
Apollon77 Oct 10, 2021
0b19edc
* fixes
Apollon77 Oct 10, 2021
06c6a44
* lower debug
Apollon77 Oct 10, 2021
56ec06c
* try if also works with other domain
Apollon77 Oct 10, 2021
dd9a811
* work on automatic refresh of data
Apollon77 Oct 11, 2021
7c21198
* work on automatic refresh of data
Apollon77 Oct 11, 2021
a86dbbb
* prepare release
Apollon77 Oct 11, 2021
4d99969
chore: release v4.0.0
Apollon77 Oct 11, 2021
613e0f7
* (Apollon77) Adjust call headers
Apollon77 Oct 11, 2021
0bb52fe
* prepare release
Apollon77 Oct 11, 2021
f0e53fc
chore: release v4.0.1
Apollon77 Oct 11, 2021
3c9d524
* prepare release
Apollon77 Oct 11, 2021
db65baa
* (Apollon77) Adjust Timing on Push Connection initialization
Apollon77 Oct 12, 2021
82c6034
* add 100ms delay
Apollon77 Oct 12, 2021
3f0d344
* add 100ms delay
Apollon77 Oct 12, 2021
affc0f1
* fix
Apollon77 Oct 12, 2021
a91024f
* adjust timings a bit again
Apollon77 Oct 12, 2021
8c2f17c
chore: release v4.0.2
Apollon77 Oct 12, 2021
ab668d3
* prepare release
Apollon77 Oct 12, 2021
7706560
* (Apollon77) Fix crash case (Sentry IOBROKER-ALEXA2-AT)
Apollon77 Oct 12, 2021
66a2414
chore: release v4.0.3
Apollon77 Oct 12, 2021
52278b1
chore(deps-dev): bump @alcalzone/release-script from 3.4.0 to 3.4.1 (…
dependabot[bot] Nov 1, 2021
873ae55
* prepare release
Apollon77 Oct 12, 2021
ce612be
* fix crash case
Apollon77 Nov 6, 2021
53b1022
chore: release v4.0.4
Apollon77 Nov 6, 2021
e621a47
* (Apollon77) SequenceNodes created for a device are also bound to th…
Apollon77 Nov 6, 2021
446ff62
* (Apollon77) Allow to overritde user id and not use deviceOwnerId
Apollon77 Nov 8, 2021
1b0b91a
Remove extraneous ;
alandtse Nov 12, 2021
40fb20c
Merge pull request #144 from alandtse/patch-1
Apollon77 Nov 12, 2021
b098834
* (Apollon77) SequenceNodes created for a device are now bound to the…
Apollon77 Nov 13, 2021
ee2ea56
chore: release v4.1.0
Apollon77 Nov 13, 2021
80ecebe
* (Apollon77) Prevent crash case in edge cases when unexpected WSMQTT…
Apollon77 Nov 13, 2021
ad145e5
chore: release v4.1.1
Apollon77 Nov 13, 2021
5dceca7
chore(deps-dev): bump eslint from 8.2.0 to 8.3.0 (#146)
dependabot[bot] Dec 1, 2021
6145c1b
Allow csrf to be updated on cookie refresh and add 401 error handling
TactfulElf Dec 22, 2021
d0dc8ec
chore(deps): bump actions/setup-node from 2.4.1 to 2.5.1
dependabot[bot] Jan 1, 2022
b325ebc
chore(deps-dev): bump eslint from 8.3.0 to 8.6.0 (#150)
dependabot[bot] Jan 1, 2022
6016518
chore(deps-dev): bump @alcalzone/release-script from 3.4.1 to 3.4.2 (…
dependabot[bot] Jan 1, 2022
3dfdd3b
chore(deps): bump follow-redirects from 1.14.4 to 1.14.7 (#153)
dependabot[bot] Jan 14, 2022
fb2a655
chore(deps-dev): bump @alcalzone/release-script-plugin-license (#155)
dependabot[bot] Feb 1, 2022
e383e6d
chore(deps-dev): bump @alcalzone/release-script from 3.4.2 to 3.5.0 (…
dependabot[bot] Feb 1, 2022
2c12f94
chore(deps): bump follow-redirects from 1.14.7 to 1.14.8 (#160)
dependabot[bot] Feb 13, 2022
55b7730
chore(deps-dev): bump eslint from 8.6.0 to 8.9.0 (#161)
dependabot[bot] Feb 13, 2022
20b71fa
Merge pull request #148 from TactfulElf/speak_issue
Apollon77 Feb 20, 2022
d027f73
Merge pull request #149 from Apollon77/dependabot/github_actions/acti…
Apollon77 Feb 20, 2022
1965be6
* update deps
Apollon77 Feb 20, 2022
546eb5f
chore: release v4.1.2
Apollon77 Feb 20, 2022
ce15ac6
chore(deps-dev): bump eslint from 8.9.0 to 8.10.0 (#163)
dependabot[bot] Mar 1, 2022
0522625
chore(deps): bump actions/checkout from 2 to 3
dependabot[bot] Apr 1, 2022
9a32919
chore(deps-dev): bump @alcalzone/release-script from 3.5.2 to 3.5.6 (…
dependabot[bot] Apr 1, 2022
d9ae7a9
chore(deps-dev): bump @alcalzone/release-script-plugin-license (#167)
dependabot[bot] Apr 1, 2022
ee632c5
chore(deps-dev): bump @alcalzone/release-script-plugin-license (#171)
dependabot[bot] May 1, 2022
ac795bb
chore(deps-dev): bump eslint from 8.10.0 to 8.12.0 (#169)
dependabot[bot] May 1, 2022
90d484f
chore(deps): bump actions/setup-node from 2.5.1 to 3.2.0
dependabot[bot] Jun 1, 2022
73f2232
chore(deps-dev): bump @alcalzone/release-script-plugin-license (#176)
dependabot[bot] Jun 1, 2022
b9c867f
chore(deps-dev): bump @alcalzone/release-script from 3.5.6 to 3.5.9 (…
dependabot[bot] Jun 1, 2022
d7dfcd0
chore(deps-dev): bump eslint from 8.14.0 to 8.16.0 (#177)
dependabot[bot] Jun 1, 2022
3eeb5be
* add disclaimer
Apollon77 Jun 24, 2022
29393b5
Merge pull request #179 from Apollon77/dependabot/github_actions/acti…
Apollon77 Jun 30, 2022
6f8496f
Merge pull request #168 from Apollon77/dependabot/github_actions/acti…
Apollon77 Jun 30, 2022
53a3314
* dep update
Apollon77 Jun 30, 2022
dab8c99
chore(deps): bump actions/setup-node from 3.2.0 to 3.3.0
dependabot[bot] Jul 1, 2022
5cf672c
* (Apollon77/hive) Correctly end all timers on disconnect
Apollon77 Jul 1, 2022
33564ff
* readme
Apollon77 Jul 1, 2022
c46aaba
fix
Apollon77 Jul 1, 2022
6f61ad8
* (Apollon77) Add option to also query the App Devices to allow to se…
Apollon77 Jul 1, 2022
db8bede
* last updates
Apollon77 Jul 2, 2022
d831f99
chore: release v5.0.0
Apollon77 Jul 2, 2022
bb2bef9
* (Apollon77) fix type definition for sequenceCommand methods
Apollon77 Jul 3, 2022
dad5c20
chore: release v5.0.1
Apollon77 Jul 3, 2022
0892cfb
* (Apollon77) Detect Rate limit exceeded response and do one automati…
Apollon77 Jul 4, 2022
de63ff2
chore: release v5.1.0
Apollon77 Jul 4, 2022
ba68474
* see changelog
Apollon77 Jul 6, 2022
cc4c7b7
chore: release v5.2.0
Apollon77 Jul 6, 2022
e79bd5b
* new version, see changelog
Apollon77 Jul 9, 2022
359881c
chore: release v5.3.0
Apollon77 Jul 9, 2022
9f19982
* (Apollon77) Increase timeouts for getting smart home device data
Apollon77 Jul 11, 2022
af46c7d
chore: release v5.4.0
Apollon77 Jul 11, 2022
e82a71b
* (Apollon77) Add playAudible() to play Audible books
Apollon77 Jul 11, 2022
652d4c5
chore: release v5.5.0
Apollon77 Jul 11, 2022
c52559f
* (Apollon77) Add sequence command "wait"
Apollon77 Jul 12, 2022
acabd63
* readme
Apollon77 Jul 12, 2022
fd92f6a
chore: release v5.6.0
Apollon77 Jul 12, 2022
c523fe4
* see changelog
Apollon77 Jul 18, 2022
85a073b
chore: release v5.7.0
Apollon77 Jul 18, 2022
c9cb7bc
* (Apollon77) Fix doNotDisturb/doNotDisturbAll in sequenceCommands
Apollon77 Jul 18, 2022
d9fc683
chore: release v5.7.1
Apollon77 Jul 18, 2022
6af1ca9
* (Apollon77) Fix crash case reported by Sentry
Apollon77 Jul 19, 2022
b216834
chore: release v5.7.2
Apollon77 Jul 19, 2022
6f8a6ef
* (Apollon77) Fix deviceStop sequence command
Apollon77 Jul 19, 2022
d533412
chore: release v5.7.3
Apollon77 Jul 19, 2022
61dbdd4
Merge pull request #182 from Apollon77/dependabot/github_actions/acti…
Apollon77 Jul 22, 2022
751926f
* Add info on push connection issues and how to solve them
Apollon77 Jul 23, 2022
f207235
* update examplem
Apollon77 Jul 23, 2022
f2e1c9e
chore(deps): bump actions/setup-node from 3.3.0 to 3.4.1
dependabot[bot] Aug 1, 2022
4d49659
Merge pull request #188 from Apollon77/dependabot/github_actions/acti…
Apollon77 Aug 3, 2022
793085a
* (Apollon77) Update cookie library to optimize cookie handling in ot…
Apollon77 Aug 3, 2022
df1ef8a
chore: release v5.7.4
Apollon77 Aug 3, 2022
79b32e2
* (Apollon77) Fix rate limit retries
Apollon77 Aug 4, 2022
19b12f0
chore: release v5.7.5
Apollon77 Aug 4, 2022
45210d5
* (Apollon77) Fix Timer/Alarm creation with just providing the time a…
Apollon77 Aug 6, 2022
22f24d4
chore: release v5.7.6
Apollon77 Aug 6, 2022
e9957f2
* (Apollon77) Allow sendSequenceCommand method to also send commands …
Apollon77 Aug 9, 2022
74e8646
chore: release v5.8.0
Apollon77 Aug 9, 2022
0f8927f
* (Apollon77) Fix doNotDisturb sequence command
Apollon77 Aug 18, 2022
c6e6657
chore: release v5.8.1
Apollon77 Aug 18, 2022
c017c5e
* (Apollon77) Fix doNotDisturb sequence command when time string was …
Apollon77 Aug 19, 2022
a4d1a72
chore: release v5.8.2
Apollon77 Aug 19, 2022
9c43afc
* update gha
Apollon77 Oct 27, 2022
0ef6789
* (Apollon77) Fix retry issues for rate limited responses from amazon
Apollon77 Oct 27, 2022
aca70e4
chore: release v5.8.3
Apollon77 Oct 27, 2022
424f74f
* (Apollon77) Add new methods for enable/disable of alarms and use in…
Apollon77 Oct 30, 2022
ceea61b
chore: release v5.9.0
Apollon77 Oct 30, 2022
b85654d
* (Apollon77) Adjust deleteConversation to the new API (additional pa…
Apollon77 Oct 30, 2022
4de2bcc
chore: release v5.10.0
Apollon77 Oct 30, 2022
4385835
chore(deps): bump actions/setup-node from 3.4.1 to 3.5.1
dependabot[bot] Nov 1, 2022
6ec8862
Merge pull request #197 from Apollon77/dependabot/github_actions/acti…
Apollon77 Nov 30, 2022
7d8729b
update deps
Apollon77 Nov 30, 2022
f3c7b0f
* (Apollon77) Do not overwrite Device details by potentially duplicat…
Apollon77 Nov 30, 2022
7e5dfe4
chore: release v5.10.1
Apollon77 Nov 30, 2022
3a33407
chore(deps): bump actions/setup-node from 3.5.1 to 3.6.0
dependabot[bot] Feb 1, 2023
f25712f
Update deps
Apollon77 Aug 8, 2023
4edbeb6
Merge pull request #200 from Apollon77/dependabot/github_actions/acti…
Apollon77 Aug 8, 2023
d329688
* (Apollon77) Add new parameter usePushConnectType to specify which c…
Apollon77 Aug 8, 2023
d8bb257
License
Apollon77 Aug 8, 2023
6125f51
chore: release v5.10.2
Apollon77 Aug 8, 2023
5e94aa5
readme
Apollon77 Aug 8, 2023
d4ba8c4
fix for the fix
Apollon77 Aug 8, 2023
ff60f19
chore: release v5.10.3
Apollon77 Aug 8, 2023
0d4a159
release updates
Apollon77 Aug 8, 2023
4e6a68e
gha updates
Apollon77 Sep 8, 2023
7e79be1
Add new HTTP2/Push handling
Apollon77 Sep 8, 2023
63606a1
integrate push handling
Apollon77 Sep 8, 2023
dac99bc
dep upgrades
Apollon77 Sep 8, 2023
77de267
Optimize reconnection logics
Apollon77 Sep 8, 2023
5a1564d
Readme
Apollon77 Sep 8, 2023
bc687b9
chore: release v6.0.0
Apollon77 Sep 8, 2023
9915a13
chore(deps): bump actions/checkout from 3 to 4
dependabot[bot] Sep 8, 2023
1aeb8cd
chore(deps): bump ws from 8.13.0 to 8.14.0
dependabot[bot] Sep 8, 2023
93f0645
Merge pull request #211 from Apollon77/dependabot/github_actions/acti…
Apollon77 Sep 8, 2023
c8514f8
Merge pull request #212 from Apollon77/dependabot/npm_and_yarn/ws-8.14.0
Apollon77 Sep 8, 2023
158144c
optimization
Apollon77 Sep 8, 2023
6740fb0
optimization
Apollon77 Sep 8, 2023
f4f6826
release preps
Apollon77 Sep 8, 2023
9289914
chore: release v6.0.1
Apollon77 Sep 8, 2023
128adf8
* (Apollon77) Added experimental support for BR region
Apollon77 Sep 9, 2023
c29aec3
chore: release v6.0.2
Apollon77 Sep 9, 2023
c4fc6c9
* (Apollon77) Introduce optional parameter "pushDispatchHost" to spec…
Apollon77 Sep 9, 2023
b98c473
chore: release v6.1.0
Apollon77 Sep 9, 2023
1f419f8
* (Apollon77) Fix for cookie refresh check
Apollon77 Sep 9, 2023
5de34f1
chore: release v6.1.1
Apollon77 Sep 9, 2023
22cfcef
* (Apollon77) Optimize reconnection handling for push connections
Apollon77 Sep 12, 2023
b801cc9
chore: release v6.1.2
Apollon77 Sep 12, 2023
fc933da
chore(deps-dev): bump eslint from 8.48.0 to 8.50.0
dependabot[bot] Oct 1, 2023
8c3b259
chore(deps): bump ws from 8.14.0 to 8.14.2
dependabot[bot] Oct 1, 2023
c623353
Merge pull request #216 from Apollon77/dependabot/npm_and_yarn/ws-8.14.2
Apollon77 Oct 27, 2023
653814e
Merge pull request #215 from Apollon77/dependabot/npm_and_yarn/eslint…
Apollon77 Oct 27, 2023
6df48e2
* (Apollon77) Adjust Activity detection to work with recent Amazon ch…
Apollon77 Oct 27, 2023
9e9476a
chore: release v6.2.0
Apollon77 Oct 27, 2023
df0a171
* (Apollon77) Optimize activity detection to process all relevant ent…
Apollon77 Oct 27, 2023
53fdfa1
chore: release v6.2.1
Apollon77 Oct 27, 2023
feb1dfc
* (Apollon77) Optimize activity detection to process all relevant ent…
Apollon77 Oct 29, 2023
165035d
chore: release v6.2.2
Apollon77 Oct 29, 2023
690be7e
chore(deps): bump actions/setup-node from 3 to 4
dependabot[bot] Nov 1, 2023
7178c1a
* (Apollon77) Optimize activity detection to process all relevant ent…
Apollon77 Nov 8, 2023
fa51a2c
chore: release v7.0.0
Apollon77 Nov 8, 2023
8a84e49
Merge pull request #222 from Apollon77/dependabot/github_actions/acti…
Apollon77 Nov 8, 2023
3e677b5
troubleshooting enhanced
Apollon77 Nov 10, 2023
b88f402
update
Apollon77 Nov 24, 2023
5054e07
chore: release v7.0.1
Apollon77 Nov 24, 2023
0598d48
* (Apollon77) Adjust some texts
Apollon77 Nov 25, 2023
d03f25c
chore: release v7.0.2
Apollon77 Nov 25, 2023
cb2123f
Hide "undefined" in the logging
GermanBluefox Dec 21, 2023
bfce41b
Updated package-lock.json
GermanBluefox Dec 21, 2023
f61ee47
Merge pull request #226 from GermanBluefox/master
Apollon77 Dec 25, 2023
ee80f50
deps
Apollon77 Jan 25, 2024
7f50e06
* (Apollon77) Adjust Activity Record query to newest Amazon adjustments
Apollon77 Jan 25, 2024
1e4d75c
typo
Apollon77 Jan 25, 2024
c103641
gha
Apollon77 Jan 25, 2024
e2ae2da
chore: release v7.0.3
Apollon77 Jan 25, 2024
13190bf
fix missing amazonPage reference instead of amazon.de
NebzHB Feb 3, 2024
7ab0d8c
Merge pull request #230 from NebzHB/patch-1
Apollon77 Feb 3, 2024
0e49fd5
chore(deps): bump softprops/action-gh-release from 1 to 2
dependabot[bot] Apr 1, 2024
8132e1c
* (Apollon77) Adjust Activity Record query to Amazon changes
Apollon77 Apr 16, 2024
3e132dc
chore: release v7.0.4
Apollon77 Apr 16, 2024
6205bde
Names is returning Serial and not string
beothorn Jul 14, 2024
7d57121
Add additional Amazon domains for host connection lookup
danielbrunt57 Oct 19, 2024
687b769
Merge pull request #246 from danielbrunt57/amazon.ca
Apollon77 Oct 20, 2024
f753859
Merge pull request #237 from Apollon77/dependabot/github_actions/soft…
Apollon77 Oct 20, 2024
ee20f50
update deps
Apollon77 Oct 20, 2024
251f304
Merge pull request #244 from beothorn/incorrectTSForNames
Apollon77 Oct 20, 2024
ba8894d
update readme
Apollon77 Oct 20, 2024
c5708e6
chore: release v7.0.5
Apollon77 Oct 20, 2024
700ac7a
API adjustments
Apollon77 Jul 13, 2025
d69f5ea
dep update
Apollon77 Jul 13, 2025
47e82b2
other changes, changelog, gha
Apollon77 Jul 13, 2025
a25434e
chore: release v8.0.0
Apollon77 Jul 13, 2025
9758149
chore(deps): bump uuid from 10.0.0 to 11.0.3
dependabot[bot] Jul 13, 2025
4046988
chore(deps-dev): bump axios from 1.7.7 to 1.10.0
dependabot[bot] Jul 13, 2025
b5d9cfa
Merge pull request #260 from Apollon77/dependabot/npm_and_yarn/axios-…
Apollon77 Jul 13, 2025
75e81aa
Merge pull request #256 from Apollon77/dependabot/npm_and_yarn/uuid-1…
Apollon77 Jul 13, 2025
70e171a
Fix List updates in some cases. Disable removing details for now
Apollon77 Jul 14, 2025
457329c
chore: release v8.0.1
Apollon77 Jul 14, 2025
cb7fc55
Fix List updates in some cases. Disable removing details for now
Apollon77 Jul 14, 2025
c1d8632
chore: release v8.0.2
Apollon77 Jul 14, 2025
bd21d99
chore(deps): bump actions/checkout from 4 to 5
dependabot[bot] Sep 1, 2025
e0323da
chore(deps): bump actions/setup-node from 4 to 6
dependabot[bot] Nov 1, 2025
f79905f
Adjusts Authentication check to recent Amazon changes
Apollon77 Nov 6, 2025
7df7c54
Merge pull request #270 from Apollon77/dependabot/github_actions/acti…
Apollon77 Nov 6, 2025
6fcd4dc
Merge pull request #264 from Apollon77/dependabot/github_actions/acti…
Apollon77 Nov 6, 2025
3cc0774
chore: release v8.0.3
Apollon77 Nov 6, 2025
bb5d3e4
fix deploy
Apollon77 Nov 6, 2025
b44c0a9
chore: release v8.0.4
Apollon77 Nov 6, 2025
1e1fd1f
fix perms
Apollon77 Nov 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"root": true,
"env": {
"es6": true,
"node": true,
"mocha": true
},
"extends": [
"eslint:recommended"
],
"plugins": [],
"rules": {
"indent": [
"error",
4,
{
"SwitchCase": 1
}
],
"no-console": "off",
"no-var": "error",
"no-trailing-spaces": "error",
"prefer-const": "error",
"quotes": [
"error",
"single",
{
"avoidEscape": true,
"allowTemplateLiterals": true
}
],
"semi": [
"error",
"always"
]
},
"parserOptions": {
"ecmaVersion": 2018
}
}
4 changes: 4 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# These are supported funding model platforms

github: Apollon77
patreon: Apollon77
32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: Bug report
about: Something is not working as it should
title: ''
labels: ''
assignees: ''
---

**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 & Logfiles**
If applicable, add screenshots and logfiles to help explain your problem.

**Versions:**
- Adapter version: <adapter-version>
- JS-Controller version: <js-controller-version> <!-- determine this with `iobroker -v` on the console -->
- Node version: <node-version> <!-- determine this with `node -v` on the console -->
- Operating system: <os-name>

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

---

**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.
17 changes: 17 additions & 0 deletions .github/auto-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Configure here which dependency updates should be merged automatically.
# The recommended configuration is the following:
- match:
# Only merge patches for production dependencies
dependency_type: production
update_type: "semver:patch"
- match:
# Except for security fixes, here we allow minor patches
dependency_type: production
update_type: "security:minor"
- match:
# and development dependencies can have a minor update, too
dependency_type: development
update_type: "semver:minor"

# The syntax is based on the legacy dependabot v1 automerged_updates syntax, see:
# https://dependabot.com/docs/config-file/#automerged_updates
16 changes: 16 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: monthly
time: "04:00"
timezone: Europe/Berlin
- package-ecosystem: npm
directory: "/"
schedule:
interval: monthly
time: "04:00"
timezone: Europe/Berlin
open-pull-requests-limit: 5
versioning-strategy: increase
79 changes: 79 additions & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
# Configuration for probot-stale - https://github.com/probot/stale

# Number of days of inactivity before an Issue or Pull Request becomes stale
daysUntilStale: 90

# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
daysUntilClose: 7

# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled)
onlyLabels: []

# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
exemptLabels:
- enhancement
- security
- bug

# Set to true to ignore issues in a project (defaults to false)
exemptProjects: true

# Set to true to ignore issues in a milestone (defaults to false)
exemptMilestones: true

# Set to true to ignore issues with an assignee (defaults to false)
exemptAssignees: false

# Label to use when marking as stale
staleLabel: wontfix

# Comment to post when marking as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs within the next 7 days.
Please check if the issue is still relevant in the most current version of the adapter
and tell us. Also check that all relevant details, logs and reproduction steps
are included and update them if needed.
Thank you for your contributions.

Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab.
Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden.
Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist,
und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte
enthalten sind bzw. aktualisiert diese.
Vielen Dank für Eure Unterstützung.

# Comment to post when removing the stale label.
# unmarkComment: >
# Your comment here.

# Comment to post when closing a stale Issue or Pull Request.
closeComment: >
This issue has been automatically closed because of inactivity. Please open a new
issue if still relevant and make sure to include all relevant details, logs and
reproduction steps.
Thank you for your contributions.

Dieses Problem wurde aufgrund von Inaktivität automatisch geschlossen. Bitte öffnet ein
neues Issue, falls dies noch relevant ist und stellt sicher das alle relevanten Details,
Logs und Reproduktionsschritte enthalten sind.
Vielen Dank für Eure Unterstützung.

# Limit the number of actions per hour, from 1-30. Default is 30
limitPerRun: 30

# Limit to only `issues` or `pulls`
only: issues

# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls':
# pulls:
# daysUntilStale: 30
# markComment: >
# This pull request has been automatically marked as stale because it has not had
# recent activity. It will be closed if no further activity occurs. Thank you
# for your contributions.

# issues:
# exemptLabels:
# - confirmed
22 changes: 22 additions & 0 deletions .github/workflows/dependabot-automerge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Automatically merge Dependabot PRs when version comparison is within the range
# that is configured in .github/auto-merge.yml

name: Auto-Merge Dependabot PRs

on:
pull_request_target:

jobs:
auto-merge:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v5

- name: Check if PR should be auto-merged
uses: ahmadnassri/action-dependabot-auto-merge@v2
with:
# This must be a personal access token with push access
github-token: ${{ secrets.AUTO_MERGE_TOKEN }}
# By default, squash and merge, so Github chooses nice commit messages
command: squash and merge
113 changes: 113 additions & 0 deletions .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
# This is a composition of lint and test scripts
# Make sure to update this file along with the others

name: Test and Release

# Run this job on all pushes and pull requests
# as well as tags with a semantic version
on:
push:
branches:
- '*'
tags:
# normal versions
- "v?[0-9]+.[0-9]+.[0-9]+"
# pre-releases
- "v?[0-9]+.[0-9]+.[0-9]+-**"
pull_request: {}

# Cancel previous PR/branch runs when a new commit is pushed
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

permissions:
id-token: write # Required for OIDC
contents: write
pull-requests: read

jobs:
# Performs quick checks before the expensive test runs
check-and-lint:
if: contains(github.event.head_commit.message, '[skip ci]') == false

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [22.x]

steps:
- uses: actions/checkout@v5
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}

- name: Install Dependencies
run: npm ci

# - name: Run local tests
# run: npm test

# Deploys the final package to NPM
deploy:
needs: [check-and-lint]

# Trigger this step only when a commit on master is tagged with a version number
if: |
contains(github.event.head_commit.message, '[skip ci]') == false &&
github.event_name == 'push' &&
startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x]

steps:
- name: Checkout code
uses: actions/checkout@v5

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}

- name: Extract the version and commit body from the tag
shell: bash
id: extract_release
# The body may be multiline, therefore newlines and % need to be escaped
run: |
VERSION="${{ github.ref }}"
VERSION=${VERSION##*/v}
echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
EOF=$(od -An -N6 -x /dev/urandom | tr -d ' ')
BODY=$(git show -s --format=%b)
echo "BODY<<$EOF" >> $GITHUB_OUTPUT
echo "$BODY" >> $GITHUB_OUTPUT
echo "$EOF" >> $GITHUB_OUTPUT
if [[ $VERSION == *"-"* ]] ; then
echo "TAG=--tag next" >> $GITHUB_OUTPUT
fi

- name: Install Dependencies
run: npm ci

# - name: Create a clean build
# run: npm run build
- name: Publish package to npm
run: |
npm install -g npm@latest
npm publish ${{ steps.extract_release.outputs.TAG }}

- name: Create Github Release
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
name: Release v${{ steps.extract_release.outputs.VERSION }}
draft: false
# Prerelease versions create prereleases on Github
prerelease: ${{ contains(steps.extract_release.outputs.VERSION, '-') }}
body: ${{ steps.extract_release.outputs.BODY }}
7 changes: 6 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,9 @@ Gruntfile.js
tasks
node_modules
.git
.idea
.idea
.github
package-lock.json
.gitattributes
.travis.yml
appveyor.yml
3 changes: 3 additions & 0 deletions .releaseconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"plugins": ["license"]
}
10 changes: 0 additions & 10 deletions .travis.yml

This file was deleted.

1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
The MIT License (MIT)

Copyright (c) 2018-2025 Apollon77 <iobroker@fischer-ka.de>
Copyright (c) 2015-2017 soef <soef@gmx.net>

Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
Loading