Skip to content

Commit 2a68988

Browse files
committed
v4.2.4.0 release
1 parent cbe0fe4 commit 2a68988

10 files changed

Lines changed: 50 additions & 38 deletions

CHANGELOG.html

88 Bytes
Binary file not shown.

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
### _**Release (v4.2.4.0) - [March 7th, 2024]**_
2+
3+
#### _***All Apps and Devices***_
4+
5+
- [FIX] Removed getDeviceActivity errors @nh_shotfam.
6+
- [NEW] Added support for newer devices.
7+
18
### _**Release (v4.2.3.0) - [August 21st, 2023]**_
29

310
#### _***All Apps and Devices***_

apps/echo-speaks-actions.groovy

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
/* groovylint-disable CompileStatic, MethodCount, MethodSize, UnnecessaryGetter */
12
/**
23
* Echo Speaks Actions (Hubitat)
34
*
4-
* Copyright 2018, 2019, 2020, 2021, 2022, 2023 Anthony Santilli
5+
* Copyright 2018, 2019, 2020, 2021, 2022, 2023, 2024 Anthony Santilli
56
* Code Contributions by @nh.schottfam
67
*
78
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
@@ -32,8 +33,8 @@ import java.util.concurrent.Semaphore
3233
//************************************************
3334
//* STATIC VARIABLES *
3435
//************************************************
35-
@Field static final String appVersionFLD = '4.2.3.0'
36-
@Field static final String appModifiedFLD = '2022-08-21'
36+
@Field static final String appVersionFLD = '4.2.4.0'
37+
@Field static final String appModifiedFLD = '2024-03-07'
3738
@Field static final Boolean devModeFLD = false
3839
@Field static final String sNULL = (String)null
3940
@Field static final String sBLANK = ''

apps/echo-speaks-zones.groovy

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
/* groovylint-disable CompileStatic, MethodCount, MethodSize, UnnecessaryGetter */
12
/**
23
* Echo Speaks - Zones (Hubitat)
34
*
4-
* Copyright 2018, 2019, 2020, 2021, 2022, 2023 Anthony Santilli
5+
* Copyright 2018, 2019, 2020, 2021, 2022, 2023, 2024 Anthony Santilli
56
* Code Contributions by @nh.schottfam
67
*
78
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
@@ -28,8 +29,8 @@ import java.util.concurrent.Semaphore
2829
//************************************************
2930
//* STATIC VARIABLES *
3031
//************************************************
31-
@Field static final String appVersionFLD = '4.2.3.0'
32-
@Field static final String appModifiedFLD = '2023-08-21'
32+
@Field static final String appVersionFLD = '4.2.4.0'
33+
@Field static final String appModifiedFLD = '2024-03-07'
3334
@Field static final String sNULL = (String)null
3435
@Field static final String sBLANK = ''
3536
@Field static final String sSPACE = ' '

apps/echo-speaks.groovy

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
/* groovylint-disable CompileStatic, MethodCount, MethodSize, UnnecessaryGetter */
12
/**
23
* Echo Speaks App (Hubitat)
34
*
4-
* Copyright 2018, 2019, 2020, 2021, 2022, 2023 Anthony Santilli
5+
* Copyright 2018, 2019, 2020, 2021, 2022, 2023, 2024 Anthony Santilli
56
* Code Contributions by @nh.schottfam
67
*
78
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
@@ -31,12 +32,12 @@ import java.util.concurrent.Semaphore
3132
//************************************************
3233
//* STATIC VARIABLES *
3334
//************************************************
34-
@Field static final String appVersionFLD = '4.2.3.0'
35-
@Field static final String appModifiedFLD = '2023-08-21'
35+
@Field static final String appVersionFLD = '4.2.4.0'
36+
@Field static final String appModifiedFLD = '2024-03-07'
3637
@Field static final String gitBranchFLD = 'master'
3738
@Field static final String platformFLD = 'Hubitat'
3839
@Field static final Boolean devModeFLD = false
39-
@Field static final Map<String,Integer> minVersionsFLD = [echoDevice: 4230, actionApp: 4230, zoneApp: 4230, zoneEchoDevice: 4230, server: 270] //These values define the minimum versions of code this app will work with.
40+
@Field static final Map<String,Integer> minVersionsFLD = [echoDevice: 4240, actionApp: 4240, zoneApp: 4240, zoneEchoDevice: 4240, server: 270] //These values define the minimum versions of code this app will work with.
4041

4142
@Field static final String sNULL = (String)null
4243
@Field static final String sBLANK = ''

drivers/echo-speaks-device.groovy

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
/* groovylint-disable CompileStatic, MethodCount, MethodSize, UnnecessaryGetter */
12
/**
23
* Echo Speaks Device (Hubitat ONLY)
34
*
4-
* Copyright 2018, 2019, 2020, 2021, 2022, 2023 Anthony Santilli
5+
* Copyright 2018, 2019, 2020, 2021, 2022, 2023, 2024 Anthony Santilli
56
* Code Contributions by @nh.schottfam
67
*
78
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
@@ -25,8 +26,8 @@ import java.text.SimpleDateFormat
2526
//************************************************
2627
//* STATIC VARIABLES *
2728
//************************************************
28-
@Field static final String devVersionFLD = '4.2.3.0'
29-
@Field static final String devModifiedFLD = '2023-08-21'
29+
@Field static final String devVersionFLD = '4.2.4.0'
30+
@Field static final String devModifiedFLD = '2024-03-07'
3031
@Field static final String sNULL = (String)null
3132
@Field static final String sBLANK = ''
3233
@Field static final String sSPACE = ' '

drivers/echo-speaks-zone-device.groovy

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
/* groovylint-disable CompileStatic, MethodCount, MethodSize, UnnecessaryGetter */
12
/**
2-
* Echo Speaks Zone Device (Hubitat ONLY)
3+
* Echo Speaks Zone Device (Hubitat ONLY)
34
*
4-
* Copyright 2018, 2019, 2020, 2021, 2022, 2023 Anthony Santilli
5+
* Copyright 2018, 2019, 2020, 2021, 2022, 2023, 2024 Anthony Santilli
56
* Code Contributions by @nh.schottfam
67
*
78
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
@@ -25,8 +26,8 @@ import java.text.SimpleDateFormat
2526
//************************************************
2627
//* STATIC VARIABLES *
2728
//************************************************
28-
@Field static final String devVersionFLD = '4.2.3.0'
29-
@Field static final String devModifiedFLD = '2023-08-21'
29+
@Field static final String devVersionFLD = '4.2.4.0'
30+
@Field static final String devModifiedFLD = '2024-03-07'
3031
@Field static final String sNULL = (String)null
3132
@Field static final String sBLANK = ''
3233
@Field static final String sSPACE = ' '
@@ -97,7 +98,7 @@ metadata {
9798
attribute "volume", "number"
9899
attribute "wakeWords", "enum"
99100
attribute "wasLastSpokenToDevice", "string"
100-
101+
101102
attribute "audioTrackData", "JSON_OBJECT" // To support SharpTools.io Album Art feature
102103

103104
command "replayText"
@@ -258,7 +259,7 @@ String getEchoAccountId() { return (String)state.deviceAccountId ?: sNULL }
258259

259260
Map getEchoDevInfo(String cmd, Boolean ignoreDoNotDisturb=false) {
260261
if(isCommandTypeAllowed(cmd, false, ignoreDoNotDisturb)) {
261-
return [deviceTypeId: getEchoDeviceType(), deviceSerialNumber: getEchoSerial(), deviceOwnerCustomerId: getEchoOwner(), deviceAccountId: getEchoAccountId(), dni: device.deviceNetworkId ]
262+
return [deviceTypeId: getEchoDeviceType(), deviceSerialNumber: getEchoSerial(), deviceOwnerCustomerId: getEchoOwner(), deviceAccountId: getEchoAccountId(), dni: device.deviceNetworkId ]
262263
}
263264
return null
264265
}
@@ -1195,7 +1196,7 @@ private String sendAmazonCommand(String method, Map params, Map otherData=null)
11951196
private Map getDeviceData(){
11961197
return [deviceType: getEchoDeviceType(), serialNumber: getEchoSerial(), owner: getEchoOwner(), account: getEchoAccountId(), dni: device.deviceNetworkId]
11971198
//Map getEchoDevInfo(cmd) {
1198-
// return [deviceTypeId: getEchoDeviceType(), deviceSerialNumber: getEchoSerial(), deviceOwnerCustomerId: getEchoOwner(), deviceAccountId: getEchoAccountId(), dni: device.deviceNetworkId ]
1199+
// return [deviceTypeId: getEchoDeviceType(), deviceSerialNumber: getEchoSerial(), deviceOwnerCustomerId: getEchoOwner(), deviceAccountId: getEchoAccountId(), dni: device.deviceNetworkId ]
11991200
}
12001201

12011202
private void sendSequenceCommand(String type, String command, value=null, String callback=sNULL) {

packageManifest.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"packageName": "Echo Speaks",
33
"author": "Anthony S.",
4-
"version": "4.2.3.0",
4+
"version": "4.2.4.0",
55
"minimumHEVersion": "2.2.4",
66
"dateReleased": "2023-08-21",
77
"documentationLink": "https://tonesto7.github.io/echo-speaks-docs",
@@ -16,7 +16,7 @@
1616
"location": "https://raw.githubusercontent.com/tonesto7/echo-speaks/master/apps/echo-speaks.groovy",
1717
"required": true,
1818
"oauth": true,
19-
"version": "4.2.3.0"
19+
"version": "4.2.4.0"
2020
},
2121
{
2222
"id": "cd4762db-aa0b-4d32-98ca-06de955dbc33",
@@ -25,7 +25,7 @@
2525
"location": "https://raw.githubusercontent.com/tonesto7/echo-speaks/master/apps/echo-speaks-actions.groovy",
2626
"required": true,
2727
"oauth": false,
28-
"version": "4.2.3.0"
28+
"version": "4.2.4.0"
2929
},
3030
{
3131
"id": "50ad91a0-eb51-4d6f-98d2-f1654221baa9",
@@ -34,7 +34,7 @@
3434
"location": "https://raw.githubusercontent.com/tonesto7/echo-speaks/master/apps/echo-speaks-zones.groovy",
3535
"required": true,
3636
"oauth": false,
37-
"version": "4.2.3.0"
37+
"version": "4.2.4.0"
3838
}
3939
],
4040
"drivers": [
@@ -44,15 +44,15 @@
4444
"namespace": "tonesto7",
4545
"location": "https://raw.githubusercontent.com/tonesto7/echo-speaks/master/drivers/echo-speaks-device.groovy",
4646
"required": true,
47-
"version": "4.2.3.0"
47+
"version": "4.2.4.0"
4848
},
4949
{
5050
"id": "afac5950-3dc0-4109-95ec-79aa3c7ef208",
5151
"name": "Echo Speaks Zone Device",
5252
"namespace": "tonesto7",
5353
"location": "https://raw.githubusercontent.com/tonesto7/echo-speaks/master/drivers/echo-speaks-zone-device.groovy",
5454
"required": true,
55-
"version": "4.2.3.0"
55+
"version": "4.2.4.0"
5656
}
5757
]
5858
}

packageManifestBeta.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"packageName": "Echo Speaks (Beta)",
33
"author": "Anthony S.",
4-
"version": "4.2.3.0",
4+
"version": "4.2.4.0",
55
"minimumHEVersion": "2.2.4",
66
"dateReleased": "2023-08-21",
77
"documentationLink": "https://tonesto7.github.io/echo-speaks-docs",
@@ -16,7 +16,7 @@
1616
"location": "https://raw.githubusercontent.com/tonesto7/echo-speaks/beta/apps/echo-speaks.groovy",
1717
"required": true,
1818
"oauth": true,
19-
"version": "4.2.3.0"
19+
"version": "4.2.4.0"
2020
},
2121
{
2222
"id": "cd4762db-aa0b-4d32-98ca-06de955dbc33",
@@ -25,7 +25,7 @@
2525
"location": "https://raw.githubusercontent.com/tonesto7/echo-speaks/beta/apps/echo-speaks-actions.groovy",
2626
"required": true,
2727
"oauth": false,
28-
"version": "4.2.3.0"
28+
"version": "4.2.4.0"
2929
},
3030
{
3131
"id": "50ad91a0-eb51-4d6f-98d2-f1654221baa9",
@@ -34,7 +34,7 @@
3434
"location": "https://raw.githubusercontent.com/tonesto7/echo-speaks/beta/apps/echo-speaks-zones.groovy",
3535
"required": true,
3636
"oauth": false,
37-
"version": "4.2.3.0"
37+
"version": "4.2.4.0"
3838
}
3939
],
4040
"drivers": [
@@ -44,15 +44,15 @@
4444
"namespace": "tonesto7",
4545
"location": "https://raw.githubusercontent.com/tonesto7/echo-speaks/beta/drivers/echo-speaks-device.groovy",
4646
"required": true,
47-
"version": "4.2.3.0"
47+
"version": "4.2.4.0"
4848
},
4949
{
5050
"id": "afac5950-3dc0-4109-95ec-79aa3c7ef208",
5151
"name": "Echo Speaks Zone Device",
5252
"namespace": "tonesto7",
5353
"location": "https://raw.githubusercontent.com/tonesto7/echo-speaks/beta/drivers/echo-speaks-zone-device.groovy",
5454
"required": true,
55-
"version": "4.2.3.0"
55+
"version": "4.2.4.0"
5656
}
5757
]
5858
}

resources/appData.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,22 @@
22
"appDataVer": "4.0",
33
"versions": {
44
"mainApp": {
5-
"ver": "4.2.2.0"
5+
"ver": "4.2.4.0"
66
},
77
"actionApp": {
8-
"ver": "4.2.2.0"
8+
"ver": "4.2.4.0"
99
},
1010
"zoneApp": {
11-
"ver": "4.2.2.0"
11+
"ver": "4.2.4.0"
1212
},
1313
"echoDevice": {
14-
"ver": "4.2.2.0"
14+
"ver": "4.2.4.0"
1515
},
1616
"zoneChildDevice": {
17-
"ver": "4.2.2.0"
17+
"ver": "4.2.4.0"
1818
},
1919
"wsDevice": {
20-
"ver": "4.2.2.0"
20+
"ver": "4.2.4.0"
2121
},
2222
"server": {
2323
"ver": "2.7.0"

0 commit comments

Comments
 (0)