Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
803 commits
Select commit Hold shift + click to select a range
a6cb77c
* fix
Apollon77 Jul 5, 2022
c6b5800
* see changelog
Apollon77 Jul 6, 2022
54320ed
chore: release v3.14.0
Apollon77 Jul 6, 2022
f4b381c
* update changelog (lengthen)
Apollon77 Jul 6, 2022
f9ce78f
* fix release script
Apollon77 Jul 6, 2022
afdc394
* new version, see changelog
Apollon77 Jul 9, 2022
c82876d
* add message for updates
Apollon77 Jul 9, 2022
5ade514
* add message for updates
Apollon77 Jul 9, 2022
6366471
chore: release v3.15.0
Apollon77 Jul 9, 2022
819be90
* adjust changelog
Apollon77 Jul 9, 2022
683abdd
* (Apollon77) Convert Smarthome device values if wrong datatype is de…
Apollon77 Jul 9, 2022
8a5052f
* (Apollon77) Add handling for two more battery health states for sma…
Apollon77 Jul 9, 2022
76644a9
* (Apollon77) Add handling for two more battery health states for sma…
Apollon77 Jul 9, 2022
ace859d
* smarthomedevice stuff
Apollon77 Jul 9, 2022
9c7a4c7
* (Apollon77) Fix crash case when initializing notifications (IOBROKE…
Apollon77 Jul 9, 2022
89fa4d4
chore: release v3.15.1
Apollon77 Jul 9, 2022
46c4992
*fix case where initialization stopped
Apollon77 Jul 9, 2022
9888cf0
* (Apollon77) Fix case where initialization of the adapter was never …
Apollon77 Jul 9, 2022
f5e51f3
chore: release v3.15.2
Apollon77 Jul 9, 2022
b02ec2e
* update readme
Apollon77 Jul 9, 2022
dad985b
* (Apollon77) Add (official) support for Music-Alarms - they are now …
Apollon77 Jul 11, 2022
ed2ce00
* finalize
Apollon77 Jul 11, 2022
2ee4bcf
* finalize
Apollon77 Jul 11, 2022
a536f6a
chore: release v3.16.0
Apollon77 Jul 11, 2022
1f1a84e
* enhance readme
Apollon77 Jul 11, 2022
9b2431e
* fix readme
Apollon77 Jul 11, 2022
7d3dad3
* (Apollon77) Fix deletion and cancellation of Alarms and Reminders
Apollon77 Jul 11, 2022
edae9ca
chore: release v3.16.1
Apollon77 Jul 11, 2022
4c3319d
* (Apollon77) Add support to play Audible books in Music-Providers
Apollon77 Jul 11, 2022
f68dd66
chore: release v3.17.0
Apollon77 Jul 11, 2022
d301a7e
* (Apollon77) Work around timing issues with speak-volume when using …
Apollon77 Jul 11, 2022
0fd8690
* add some explicit types
Apollon77 Jul 12, 2022
bd56758
* deps
Apollon77 Jul 12, 2022
0136106
chore: release v3.17.1
Apollon77 Jul 12, 2022
0b6a927
* (Apollon77) Another adjustment for smart home device data readings
Apollon77 Jul 12, 2022
68864e0
* fix used string function (IOBROKER-ALEXA2-EX)
Apollon77 Jul 12, 2022
33497eb
* fix used string function (IOBROKER-ALEXA2-EX)
Apollon77 Jul 12, 2022
6ef0901
chore: release v3.17.2
Apollon77 Jul 12, 2022
92f1d95
* (Apollon77) Prevent datatype warnings in log
Apollon77 Jul 12, 2022
11a9418
chore: release v3.17.3
Apollon77 Jul 12, 2022
5934b65
* (Apollon77) Make sure disabling query intervals really work (disabl…
Apollon77 Jul 13, 2022
7496736
chore: release v3.17.4
Apollon77 Jul 13, 2022
b0832a0
* (Apollon77) Add and query several more smart home device states (in…
Apollon77 Jul 13, 2022
04f0f85
* (Apollon77) Minimum smart home device query interval is now 5 minut…
Apollon77 Jul 14, 2022
285e924
* fix logging
Apollon77 Jul 14, 2022
c7e4b63
chore: release v3.17.5
Apollon77 Jul 14, 2022
a560f44
* see changelog
Apollon77 Jul 18, 2022
2af2270
chore: release v3.18.0
Apollon77 Jul 18, 2022
882dbd4
* lengthen readme
Apollon77 Jul 18, 2022
a2cb5ee
* (Apollon77) Optimize Handling when push connection could not be est…
Apollon77 Jul 18, 2022
af8deca
chore: release v3.18.1
Apollon77 Jul 18, 2022
c7bb113
* (Apollon77) Enable commands again for Apps with type A2TF17PFR55MTB…
Apollon77 Jul 18, 2022
836653e
chore: release v3.18.2
Apollon77 Jul 18, 2022
e54fd4a
* (Apollon77) Fix doNotdisturb and doNotDisturb for All devices
Apollon77 Jul 18, 2022
e137a1a
* (Apollon77) Fix doNotdisturb and doNotDisturb for All devices
Apollon77 Jul 18, 2022
1159c35
chore: release v3.18.3
Apollon77 Jul 18, 2022
9cb33aa
Add files via upload
arteck Jul 19, 2022
7f1d78a
echo cube
arteck Jul 19, 2022
b4e8ecf
Merge pull request #927 from iobroker-community-adapters/master
Apollon77 Jul 19, 2022
fbfd9c3
* (Apollon77) Fix crash case reported by Sentry
Apollon77 Jul 19, 2022
02bd590
chore: release v3.18.4
Apollon77 Jul 19, 2022
d1b92ad
* prepare release
Apollon77 Jul 19, 2022
c764283
chore: release v3.18.5
Apollon77 Jul 19, 2022
e28a4a3
* (Apollon77) Fix deviceStop sequence command
Apollon77 Jul 19, 2022
94c9110
* update echo dot 3 icon
Apollon77 Jul 19, 2022
454b8b7
chore: release v3.18.6
Apollon77 Jul 19, 2022
d283174
* prevent sentry message for an handled error
Apollon77 Jul 23, 2022
02b1aa0
* Add info on push connection issues and how to solve them
Apollon77 Jul 23, 2022
6c1311f
* prevent crash case (fixes Sentry IOBROKER-ALEXA2-FE)
Apollon77 Jul 23, 2022
8a13327
* (Apollon77) Preserve Names as soon as it is an App type in general
Apollon77 Jul 23, 2022
fdd1e96
chore(deps): bump @sentry/integrations from 7.4.1 to 7.8.0
dependabot[bot] Aug 1, 2022
da7c6f9
Merge pull request #929 from Apollon77/dependabot/npm_and_yarn/sentry…
Apollon77 Aug 3, 2022
265a2c9
* (Apollon77) Enhance checks and safeguards for polling intervals
Apollon77 Aug 4, 2022
92e556e
* fix package version
Apollon77 Aug 4, 2022
873e2d6
chore: release v3.19.0
Apollon77 Aug 4, 2022
8a33439
* (Apollon77) Fix retry handling
Apollon77 Aug 4, 2022
7db2188
chore: release v3.19.1
Apollon77 Aug 4, 2022
727c139
* (Apollon77) Fix Alarm creation when just providing time and it is f…
Apollon77 Aug 6, 2022
2ff2cb7
chore: release v3.19.2
Apollon77 Aug 6, 2022
4df19ac
* (Apollon77) Fix crash check with multiple adapter instances
Apollon77 Aug 7, 2022
3e42751
chore: release v3.19.3
Apollon77 Aug 7, 2022
6026fca
* (Apollon77) Prevent unwanted device Name updates
Apollon77 Aug 7, 2022
f30b4e4
chore: release v3.19.4
Apollon77 Aug 7, 2022
962ff14
* (Apollon77) Fix doNotDevice for groups
Apollon77 Aug 9, 2022
d91df10
chore: release v3.19.5
Apollon77 Aug 9, 2022
8a73360
* fix
Apollon77 Aug 9, 2022
ae49652
* (Apollon77) Fix doNotDisturb when using a time string
Apollon77 Aug 18, 2022
51336e5
chore: release v3.19.6
Apollon77 Aug 18, 2022
fd11990
* (Apollon77) Fix doNotDisturb sequence command when time string was …
Apollon77 Aug 19, 2022
e4bc6e2
chore: release v3.19.7
Apollon77 Aug 19, 2022
1ef8028
* (Apollon77) Add safeguard for too high intervals
Apollon77 Sep 7, 2022
296a32c
chore: release v3.19.8
Apollon77 Sep 7, 2022
dc1eebd
* (Apollon77) Receive the correct player status again when musik is s…
Apollon77 Sep 12, 2022
e0db49c
chore: release v3.19.9
Apollon77 Sep 12, 2022
81c6909
Translated using Weblate (German)
double-a Oct 12, 2022
87f2339
Merge pull request #964 from ioBrokerTranslator/weblate-adapters-alexa2
Apollon77 Oct 13, 2022
1e92629
Update FUNDING.yml
Apollon77 Oct 22, 2022
80e0ef0
* update gha
Apollon77 Oct 27, 2022
4518470
* (Apollon77) Fix issue in retry handling when rate limit exceeded is…
Apollon77 Oct 27, 2022
74ec47f
chore: release v3.19.10
Apollon77 Oct 27, 2022
361ebb8
* (Apollon77) Increase minimum interval for requesting smart home dev…
Apollon77 Oct 29, 2022
6a6350f
chore: release v3.20.0
Apollon77 Oct 29, 2022
c6b2f87
* (Apollon77) make sure caching works correctly with multiple instanc…
Apollon77 Oct 29, 2022
b6d8bd5
chore: release v3.20.1
Apollon77 Oct 29, 2022
7cf1166
* (Apollon77) Optimize state value loading
Apollon77 Oct 29, 2022
21c2474
* (Apollon77) Fix enabling/disabling of Alarms in combination with no…
Apollon77 Oct 30, 2022
8c40ff7
* (Apollon77) Fix deleting own user Messages
Apollon77 Oct 30, 2022
4a91cf9
* (Apollon77) fix some issues reported by Sentry (IOBROKER-ALEXA2-GA)
Apollon77 Oct 30, 2022
d19d7fe
* (Apollon77) Add Echo Dot 5th Gen as device
Apollon77 Oct 30, 2022
8685fdc
* IMPORTANT: Because of rate limits by Amazon I decided to remove the…
Apollon77 Nov 3, 2022
fc8104a
chore: release v3.21.0
Apollon77 Nov 3, 2022
736ecd6
SHD optimizations abd checks
Apollon77 Nov 25, 2022
a3b4be8
3.23
Apollon77 Nov 25, 2022
53d5c5f
chore: release v3.23.1
Apollon77 Nov 26, 2022
40a5af2
* (Apollon77) Prioritize real devices higher than app devices when se…
Apollon77 Nov 30, 2022
84a50cc
chore: release v3.23.2
Apollon77 Nov 30, 2022
98a4f2a
Update deps
Apollon77 Aug 8, 2023
31a1211
License
Apollon77 Aug 8, 2023
4a90a85
* (Apollon77) Work around Amazon changes that affected all functions …
Apollon77 Aug 8, 2023
ae3da3d
testing
Apollon77 Aug 8, 2023
cce2d9e
readme
Apollon77 Aug 8, 2023
1e4c138
chore: release v3.24.0
Apollon77 Aug 8, 2023
7937d5d
fix for fix
Apollon77 Aug 8, 2023
6d92b95
chore: release v3.24.1
Apollon77 Aug 8, 2023
0cc13eb
lets see if v2 still works with volume
Apollon77 Aug 31, 2023
0c40758
fix tests
Apollon77 Aug 31, 2023
fb84e6d
updates for alexa-remote 6.0
Apollon77 Sep 8, 2023
0dba731
* (Apollon77) Added some more device types
Apollon77 Sep 8, 2023
c394c26
Upgrade lib
Apollon77 Sep 8, 2023
b12bca3
* (Apollon77) Added experimental support for BR region
Apollon77 Sep 9, 2023
6166e81
prepare release
Apollon77 Sep 9, 2023
cdbce51
chore: release v3.25.1
Apollon77 Sep 9, 2023
bf8d117
* (Apollon77) Optimize reconnection handling for push connections
Apollon77 Sep 12, 2023
2f00d64
chore: release v3.25.2
Apollon77 Sep 12, 2023
92c7b6a
chore(deps): bump actions/checkout from 3 to 4
dependabot[bot] Oct 1, 2023
b87d9b3
Fix Typo
J-N-K Oct 25, 2023
a2d5ef6
Merge pull request #1085 from J-N-K/patch-1
Apollon77 Oct 25, 2023
ab5ebd0
Merge pull request #1075 from Apollon77/dependabot/github_actions/act…
Apollon77 Oct 27, 2023
a46e99b
* (Apollon77) Adjust History update to work with recent Amazon changes
Apollon77 Oct 27, 2023
d4f4e20
chore: release v3.25.3
Apollon77 Oct 27, 2023
535bf4c
* (Apollon77) Optimize activity detection to process all relevant ent…
Apollon77 Oct 27, 2023
1d4991e
chore: release v3.25.4
Apollon77 Oct 27, 2023
44406ce
add Amazfit devices
Diginix Oct 28, 2023
4e8dbb3
* (Apollon77) Optimize activity detection to process all relevant ent…
Apollon77 Oct 29, 2023
c09e3ee
chore: release v3.25.5
Apollon77 Oct 29, 2023
c743fa0
chore(deps): bump actions/setup-node from 3 to 4
dependabot[bot] Nov 1, 2023
26248c6
* (Apollon77) Automatically query of activity/history needs to be ena…
Apollon77 Nov 8, 2023
4b94fb8
* (Apollon77) Automatically query of activity/history needs to be ena…
Apollon77 Nov 8, 2023
ff50118
chore: release v3.26.0
Apollon77 Nov 8, 2023
6ae0e0f
* (Apollon77) Fix missing text in Admin Config
Apollon77 Nov 8, 2023
532f346
chore: release v3.26.1
Apollon77 Nov 8, 2023
7ab4c26
troubleshooting enhanced
Apollon77 Nov 10, 2023
aab68f3
Merge pull request #1087 from Diginix/master
Apollon77 Nov 24, 2023
5209f70
Merge pull request #1090 from Apollon77/dependabot/github_actions/act…
Apollon77 Nov 24, 2023
e8fda7b
readme
Apollon77 Nov 13, 2023
2438c9a
update
Apollon77 Nov 24, 2023
f14881b
chore: release v3.26.2
Apollon77 Nov 24, 2023
d3e3ffb
* (Apollon77) Fixed the proxy login process
Apollon77 Nov 25, 2023
af9511e
chore: release v3.26.3
Apollon77 Nov 25, 2023
9adca12
chore(deps-dev): bump the npm_and_yarn at /. security update group wi…
dependabot[bot] Nov 25, 2023
d712d04
Merge pull request #1105 from Apollon77/dependabot/npm_and_yarn/googl…
Apollon77 Nov 25, 2023
a33ecc6
Corrected typos in README.md
GermanBluefox Dec 21, 2023
acfa9a4
Updated package-lock
GermanBluefox Dec 21, 2023
4df5e92
Merge pull request #1117 from GermanBluefox/master
Apollon77 Dec 25, 2023
30c3b47
Added translation using Weblate (Hungarian)
Pretorian2077 Dec 22, 2023
7d2f262
Translated using Weblate (Hungarian)
Pretorian2077 Dec 22, 2023
9067e80
Merge pull request #1118 from ioBrokerTranslator/weblate-adapters-alexa2
Apollon77 Dec 25, 2023
d4b5230
Translated using Weblate (Hungarian)
Pretorian2077 Dec 26, 2023
b099319
Merge pull request #1125 from ioBrokerTranslator/weblate-adapters-alexa2
Apollon77 Dec 26, 2023
6f6f62c
update
Apollon77 Jan 25, 2024
6fd1a21
chore: release v3.26.4
Apollon77 Jan 25, 2024
dc80d1e
chore(deps): bump github/codeql-action from 2 to 3
dependabot[bot] Jan 25, 2024
3fee4b7
Translated using Weblate (Hungarian)
Pretorian2077 Feb 4, 2024
d8e62ca
Merge pull request #1139 from ioBrokerTranslator/weblate-adapters-alexa2
Apollon77 Feb 8, 2024
b4355c8
chore(deps): bump softprops/action-gh-release from 1 to 2
dependabot[bot] Apr 1, 2024
26676a0
* (Apollon77) Adjust Activity Record query to Amazon changes
Apollon77 Apr 16, 2024
f889559
* (Apollon77) Adjust Activity Record query to Amazon changes
Apollon77 Apr 16, 2024
37160cf
chore: release v3.26.5
Apollon77 Apr 16, 2024
c230890
(simatec) Responsive Design added
simatec Sep 25, 2024
07fc404
(simatec) Responsive Design add
simatec Sep 25, 2024
f6ea7be
(simatec) Responsive Design added
simatec Sep 25, 2024
4b71743
(simatec) Design Fix
simatec Sep 25, 2024
13a3b3a
(simatec) Fix Tabs
simatec Sep 25, 2024
14f1790
Merge pull request #1186 from simatec/patch-2
Apollon77 Oct 20, 2024
a880c66
Merge pull request #1159 from Apollon77/dependabot/github_actions/sof…
Apollon77 Oct 20, 2024
27e0d7d
Merge pull request #1126 from Apollon77/dependabot/github_actions/git…
Apollon77 Oct 20, 2024
d208b98
deps updated and tests
Apollon77 Oct 20, 2024
5b7dc53
chore(deps): bump express from 4.19.2 to 4.21.1
dependabot[bot] Oct 20, 2024
11d52f5
Merge pull request #1189 from Apollon77/dependabot/npm_and_yarn/expre…
Apollon77 Oct 20, 2024
82db65b
chore(deps): bump micromatch from 4.0.5 to 4.0.8
dependabot[bot] Oct 20, 2024
35a7c10
chore(deps): bump braces from 3.0.2 to 3.0.3
dependabot[bot] Oct 20, 2024
d83805d
chore(deps-dev): bump @grpc/grpc-js from 1.8.21 to 1.8.22
dependabot[bot] Oct 20, 2024
a161722
chore(deps): bump ws, engine.io-client, engine.io and socket.io-adapter
dependabot[bot] Oct 20, 2024
981ff59
adjustments
Apollon77 Oct 20, 2024
97df27e
Merge pull request #1195 from Apollon77/dependabot/npm_and_yarn/multi…
Apollon77 Oct 20, 2024
c9bb0c7
Merge pull request #1194 from Apollon77/dependabot/npm_and_yarn/grpc/…
Apollon77 Oct 20, 2024
394b713
Merge pull request #1193 from Apollon77/dependabot/npm_and_yarn/brace…
Apollon77 Oct 20, 2024
3bd1204
Merge pull request #1192 from Apollon77/dependabot/npm_and_yarn/micro…
Apollon77 Oct 20, 2024
d414bd0
fix tests
Apollon77 Oct 20, 2024
388bda7
chore: release v3.26.6
Apollon77 Oct 20, 2024
dd95d1c
Fix sentry integration
Apollon77 Oct 24, 2024
68e3b56
chore(deps): bump http-proxy-middleware from 2.0.6 to 2.0.7
dependabot[bot] Oct 24, 2024
1dec780
Merge pull request #1197 from Apollon77/dependabot/npm_and_yarn/http-…
Apollon77 Oct 24, 2024
a324d1b
chore: release v3.26.7
Apollon77 Oct 24, 2024
fb444e0
Translated using Weblate (Hungarian)
Pretorian2077 Dec 31, 2024
667739e
Merge pull request #1211 from ioBrokerTranslator/weblate-adapters-alexa2
Apollon77 Jan 2, 2025
ce2db05
Update README.md
padrino-x Jan 15, 2025
c02622c
Merge pull request #1219 from padrino-x/patch-1
Apollon77 Jan 15, 2025
57aa92c
update
Apollon77 Jul 13, 2025
9baece3
Adjust some logging
Apollon77 Jul 13, 2025
bc0b6a0
3.27.1
Apollon77 Jul 14, 2025
dfccdb3
3.27.2
Apollon77 Jul 14, 2025
ed47587
license years
Apollon77 Jul 15, 2025
bd1504b
chore: release v3.27.3
Apollon77 Jul 15, 2025
9975563
Add support for Sonos Era 100 device (A39OV95SPFQ9YG) (#1234)
Copilot Jul 26, 2025
6ee1ec9
Add support for FireTV Omni device (ADOUDFQX2QVX0) (#1236)
Copilot Jul 26, 2025
7cd06a8
Add support for Amazon Fire TV-4-Serie Smart-TV device type A3D5JL73E…
Copilot Jul 26, 2025
c0fee2b
Add support for Fire HDX device (A2TX61L00VISA5) (#1243)
Copilot Jul 26, 2025
9680d6c
Add support for Echo Link device type A27VEYGQBW3YR5 (#1237)
Copilot Jul 26, 2025
79b9959
Add support for Fire TV Cube device type A1VGB7MHSIEYFK (#1239)
Copilot Jul 26, 2025
bf5f773
Add support for Philips TAB8805/10 3.1 Soundbar (Connected Play-Fi-5)…
Copilot Jul 26, 2025
5239e77
Add support for DENON HOME 150 device (A1MKGHX5VQBDWX) (#1235)
Copilot Jul 26, 2025
b0ebfac
[WIP] Unknown device Samsung Soundbar Q930B (#1242)
Copilot Jul 26, 2025
1f026d3
Add A112LJ20W14H95 webOS TV support and enhance GitHub issue reportin…
Copilot Jul 26, 2025
1a1fabf
Add comprehensive GitHub Copilot instructions for ioBroker.alexa2 dev…
Copilot Aug 29, 2025
cf9b4d5
Add support for Sonos Move 2 device (AGB8PT05FOQ61) (#1255)
Copilot Aug 29, 2025
2d5f5be
chore(deps): bump actions/setup-node from 4 to 5 (#1266)
dependabot[bot] Oct 1, 2025
0f7ef8c
chore(deps): bump actions/checkout from 4 to 5 (#1258)
dependabot[bot] Oct 1, 2025
9be73bf
chore(deps): bump @iobroker/adapter-core from 3.2.3 to 3.3.2 (#1259)
dependabot[bot] Oct 1, 2025
e98b0e6
chore(deps-dev): bump @iobroker/dev-server from 0.7.8 to 0.8.0 (#1269)
dependabot[bot] Oct 1, 2025
35e9cf8
chore(deps-dev): bump mocha from 11.7.1 to 11.7.3 (#1268)
dependabot[bot] Oct 1, 2025
e475ba3
Fix Echo Dot 3 icon: resize to 128x128 square format to prevent stret…
Copilot Oct 1, 2025
9a07586
chore(deps-dev): bump @iobroker/adapter-dev from 1.4.0 to 1.5.0 (#1267)
dependabot[bot] Oct 1, 2025
741be26
Adjusts Authentication check to recent Amazon changes
Apollon77 Nov 6, 2025
10afcc1
chore(deps): bump actions/setup-node from 5 to 6 (#1279)
dependabot[bot] Nov 6, 2025
0cceecd
chore(deps): bump github/codeql-action from 3 to 4 (#1278)
dependabot[bot] Nov 6, 2025
7f8eb87
Update from template: S9006-blockCommitinfo (#1276)
ioBroker-Bot Nov 6, 2025
4c1d081
chore: release v3.27.4
Apollon77 Nov 6, 2025
d84fbb6
chore(deps-dev): bump js-yaml from 4.1.0 to 4.1.1 (#1294)
dependabot[bot] Nov 15, 2025
49c6b60
Update from template: X0000-randomDependabot (#1290)
ioBroker-Bot Nov 15, 2025
49ecc03
Translations update from ioBroker Translation System (#1291)
ioBrokerTranslator Nov 15, 2025
184c572
Translations update from ioBroker Translation System (#1295)
ioBrokerTranslator Nov 15, 2025
c22d71f
Translated using Weblate (German)
HomerJay2021 Nov 12, 2025
30fcb90
Translated using Weblate (German)
Nov 15, 2025
36b386f
Merge pull request #1296 from ioBrokerTranslator/weblate-adapters-alexa2
Apollon77 Nov 15, 2025
ea3bcc1
Initial plan
Copilot Nov 15, 2025
8d1da5f
Add support for BMW Alexa Car Integration device type A3BW5ZVFHRCQPO
Copilot Nov 15, 2025
8eefc5f
Add Region‑specific Amazon configuration documentaiton
d34df4c3 Nov 15, 2025
0403461
Merge pull request #1300 from d34df4c3/patch-1
Apollon77 Nov 15, 2025
688158d
Merge pull request #1299 from Apollon77/copilot/fix-adapter-log-issue
Apollon77 Nov 15, 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
}
}
5 changes: 5 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# These are supported funding model platforms

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

**Check if the Bug maybe is with Amazon**
The adapter is using the same API as the Alexa mobile App. This means:
* If you can not do this what you want with the App then the Adapter also can not do it!
* Also if the App can do it please test if the same effect then the bug also happens with the App (e.g. a speak command do not work on a certain device ... can you do a speak via Alexa App? If not - Amazon problem!)

**Describe the bug**
A clear and concise description of what the bug is. Especially describe what you verified using the Alexa App (see above).

**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.
24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---
**Consider the Reality**
The adapter is using the same API as the Alexa mobile App. This means:

If you can not do this what you want with the App then the Adapter also can not do it! Also a feature rewuest most likely will not be possible.

**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
131 changes: 131 additions & 0 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
# ioBroker.alexa2 Adapter
ioBroker.alexa2 is a Node.js adapter for ioBroker that provides remote control for Amazon Alexa devices (Amazon Echo). The adapter integrates with the ioBroker home automation platform and allows control of Alexa devices, smart home devices, routines, and more.

Always reference these instructions first and fallback to search or bash commands only when you encounter unexpected information that does not match the info here.

## Working Effectively

### Bootstrap, Build, and Test the Repository:
- `npm install` -- Install dependencies. Takes ~40 seconds. NEVER CANCEL.
- `npm test` -- Run complete test suite. Takes ~55 seconds. NEVER CANCEL. Set timeout to 90+ seconds.
- `npx eslint main.js lib/ test/ --ext .js` -- Lint main code files. Admin files have known translation issues.

### Timing Expectations:
- **NEVER CANCEL**: npm install takes 40 seconds. Wait for completion.
- **NEVER CANCEL**: npm test takes 55 seconds total. Set timeout to 90+ seconds minimum.
- **NEVER CANCEL**: The test includes full ioBroker js-controller setup which can take 30+ seconds just for initialization.

### Manual Validation After Changes:
- ALWAYS run `npm test` after making any code changes to ensure adapter functionality
- ALWAYS run ESLint on modified files: `npx eslint <modified-files> --ext .js`
- The adapter cannot be run standalone - it requires ioBroker infrastructure
- Tests automatically validate adapter startup, configuration, and shutdown sequences
- DO NOT attempt to run main.js directly - it requires ioBroker adapter-core framework

## Project Structure and Navigation

### Key Directories and Files:
```
/home/runner/work/ioBroker.alexa2/ioBroker.alexa2/
├── main.js # Main adapter entry point (352KB, core logic)
├── package.json # Dependencies and npm scripts
├── io-package.json # ioBroker adapter configuration
├── README.md # Comprehensive adapter documentation
├── lib/
│ ├── smarthomedevices.js # Smart home device definitions and controllers
│ └── tools.js # Utility functions
├── admin/ # Web UI configuration files
│ ├── index_m.html # Material Design admin interface
│ ├── words.js # i18n translations (has known ESLint issues)
│ └── icons/ # Device type icons
├── test/
│ ├── testAdapter.js # Main adapter functionality tests
│ ├── testPackageFiles.js # Package validation tests
│ └── lib/setup.js # Test infrastructure and js-controller setup
└── .github/workflows/ # CI/CD pipeline configuration
```

### Important Code Areas:
- **main.js**: Core adapter logic, Alexa API integration, device management
- **lib/smarthomedevices.js**: Smart home device capability definitions for various device types
- **admin/index_m.html**: Admin configuration interface for credentials and settings
- **test/lib/setup.js**: Complex test infrastructure that sets up js-controller environment

## Validation Scenarios

### Always Run These Validation Steps:
1. **Install and Test**: `npm install && npm test` - Ensures all dependencies work and adapter can start properly
2. **Lint Check**: `npx eslint main.js lib/ test/ --ext .js` - Check code quality (ignore admin/words.js issues)
3. **Package Validation**: Tests automatically validate package.json and io-package.json consistency

### Manual Testing Scenarios:
- The adapter requires Amazon Alexa account credentials which cannot be tested in CI
- Tests validate adapter initialization, configuration loading, and proper shutdown
- Real functionality requires proxy-based authentication flow with Amazon
- Tests use mock/stub behavior for core adapter lifecycle validation

## Common Tasks

### Dependencies and Requirements:
- **Node.js**: 16+ required (package.json engines), tested with 20.x
- **npm**: Standard package manager, uses package-lock.json
- **@iobroker/adapter-core**: ^3.2.3 - Core ioBroker adapter framework
- **alexa-remote2**: ^8.0.2 - Amazon Alexa API integration library

### npm Scripts Available:
```bash
npm test # Run mocha test suite (takes ~55s)
npm run release # Release automation (requires tokens)
npm run translate # Translation management
```

### Linting and Code Quality:
- ESLint configured in .eslintrc.json with strict rules
- Use single quotes, 4-space indentation, prefer const over let/var
- Main code files should lint cleanly
- admin/words.js has known translation format issues - ignore ESLint errors in this file

### GitHub Actions Workflow:
- Runs on Node.js 18.x, 20.x, 22.x, 24.x across Ubuntu, Windows, macOS
- check-and-lint job: `npm ci` only (linting commented out in workflow)
- adapter-tests job: `npm ci && npm test`
- Deployment triggers on tagged releases

## Architecture Notes

### ioBroker Adapter Pattern:
- Extends @iobroker/adapter-core.Adapter class
- Uses state-based communication with ioBroker objects/states databases
- Implements standard adapter lifecycle: ready, unload, stateChange, objectChange
- Creates device/state hierarchies under adapter namespace (alexa2.0.*)

### External Dependencies:
- alexa-remote2: Amazon Alexa API integration
- https, nearest-color, rrule: Utility libraries
- Sentry integration for error reporting (optional)

### Test Infrastructure:
- Uses complex test setup that installs and configures js-controller
- Creates temporary ioBroker instance with Redis backends
- Tests adapter lifecycle, not actual Amazon Alexa functionality
- Mock/stub approach for external API dependencies

## Troubleshooting

### Common Issues:
- **Test timeouts**: Always set 90+ second timeouts for npm test
- **ESLint errors in admin/words.js**: These are translation files with specific format requirements - ignore
- **Cannot run main.js directly**: Requires ioBroker adapter-core framework and configuration
- **Missing dependencies**: Always run `npm install` before any other commands

### Development Environment:
- Use any modern IDE with Node.js support
- ESLint integration recommended for code quality
- Git hooks not configured - manually run linting before commits
- No TypeScript - pure JavaScript codebase

### CI/CD Pipeline:
- Tests run automatically on pushes and PRs
- Linting step commented out in workflow due to admin file issues
- Releases automated via @alcalzone/release-script
- Sentry integration for production error tracking
20 changes: 20 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Dependabot will run on day 19 of each month at 02:38 (Europe/Berlin timezone)
version: 2
updates:

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "cron"
timezone: "Europe/Berlin"
cronjob: "38 2 19 * *"
open-pull-requests-limit: 15

- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "cron"
timezone: "Europe/Berlin"
cronjob: "38 2 19 * *"
open-pull-requests-limit: 20
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
Loading