Skip to content

Commit 8ef4ef3

Browse files
committed
v4.3.0.1
1 parent 662684e commit 8ef4ef3

File tree

8 files changed

+68
-31
lines changed

8 files changed

+68
-31
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
### _**Release (v4.3.0.1) - [September 10th, 2025]**_
2+
3+
#### _***All Apps and Devices***_
4+
5+
- [FIX] Fixed 404 errors on devices with getPlaybackState command (Thanks @khan-hubitat).
6+
- [FIX] Fixed issue with code version checking when devices or apps are disabled in hubitat.
7+
18
### _**Release (v4.3.0.0) - [September 9th, 2025]**_
29

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

apps/echo-speaks-actions.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ import java.util.concurrent.Semaphore
3333
//************************************************
3434
//* STATIC VARIABLES *
3535
//************************************************
36-
@Field static final String appVersionFLD = '4.3.0.0'
37-
@Field static final String appModifiedFLD = '2025-09-09'
36+
@Field static final String appVersionFLD = '4.3.0.1'
37+
@Field static final String appModifiedFLD = '2025-09-10'
3838
@Field static final Boolean devModeFLD = false
3939
@Field static final String sNULL = (String)null
4040
@Field static final String sBLANK = ''

apps/echo-speaks-zones.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ import java.util.concurrent.Semaphore
2929
//************************************************
3030
//* STATIC VARIABLES *
3131
//************************************************
32-
@Field static final String appVersionFLD = '4.3.0.0'
33-
@Field static final String appModifiedFLD = '2025-09-09'
32+
@Field static final String appVersionFLD = '4.3.0.1'
33+
@Field static final String appModifiedFLD = '2025-09-10'
3434
@Field static final String sNULL = (String)null
3535
@Field static final String sBLANK = ''
3636
@Field static final String sSPACE = ' '

apps/echo-speaks.groovy

Lines changed: 35 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ import java.util.concurrent.Semaphore
3232
//************************************************
3333
//* STATIC VARIABLES *
3434
//************************************************
35-
@Field static final String appVersionFLD = '4.3.0.0'
35+
@Field static final String appVersionFLD = '4.3.0.1'
3636
@Field static final String appModifiedFLD = '2025-09-09'
3737
@Field static final String gitBranchFLD = 'master'
3838
@Field static final String platformFLD = 'Hubitat'
3939
@Field static final Boolean devModeFLD = false
40-
@Field static final Map<String,Integer> minVersionsFLD = [echoDevice: 4300, actionApp: 4300, zoneApp: 4300, zoneEchoDevice: 4300, server: 270] //These values define the minimum versions of code this app will work with.
40+
@Field static final Map<String,Integer> minVersionsFLD = [echoDevice: 4301, actionApp: 4301, zoneApp: 4301, zoneEchoDevice: 4301, server: 270] //These values define the minimum versions of code this app will work with.
4141

4242
@Field static final String sNULL = (String)null
4343
@Field static final String sBLANK = ''
@@ -1703,8 +1703,15 @@ Boolean checkIfCodeUpdated() {
17031703
}
17041704
List cDevs = getEsDevices()
17051705
if(cDevs?.size()) {
1706-
String ver = (String)cDevs[iZ]?.devVersion()
1707-
if((String)codeVerMap.echoDevice != ver) {
1706+
String ver = null
1707+
// Iterate through devices until we find one that returns a version (In case the device is disabled in hubitat)
1708+
for(dev in cDevs) {
1709+
if(dev) {
1710+
ver = (String)dev?.devVersion()
1711+
if(ver) break
1712+
}
1713+
}
1714+
if(ver && (String)codeVerMap.echoDevice != ver) {
17081715
chgs.push("echoDevice")
17091716
state.pollBlocked = true
17101717
updCodeVerMap("echoDevice", ver)
@@ -1722,8 +1729,15 @@ Boolean checkIfCodeUpdated() {
17221729
// }
17231730
List cApps = getActionApps()
17241731
if(cApps?.size()) {
1725-
String ver = (String)cApps[iZ]?.appVersion()
1726-
if((String)codeVerMap.actionApp != ver) {
1732+
String ver = null
1733+
// Iterate through apps until we find one that returns a version (In case the app is disabled in hubitat)
1734+
for(app in cApps) {
1735+
if(app) {
1736+
ver = (String)app?.appVersion()
1737+
if(ver) break
1738+
}
1739+
}
1740+
if(ver && (String)codeVerMap.actionApp != ver) {
17271741
chgs.push("actionApp")
17281742
state.pollBlocked = true
17291743
updCodeVerMap("actionApp", ver)
@@ -1732,16 +1746,28 @@ Boolean checkIfCodeUpdated() {
17321746
}
17331747
List zApps = getZoneApps()
17341748
if(zApps?.size()) {
1735-
String ver; ver = (String)zApps[iZ]?.appVersion()
1736-
if((String)codeVerMap.zoneApp != ver) {
1749+
String ver = null
1750+
// Iterate through apps until we find one that returns a version (In case the app is disabled in hubitat)
1751+
for(app in zApps) {
1752+
if(app) {
1753+
ver = (String)app?.appVersion()
1754+
if(ver) break
1755+
}
1756+
}
1757+
if(ver && (String)codeVerMap.zoneApp != ver) {
17371758
chgs.push("zoneApp")
17381759
state.pollBlocked = true
17391760
// log.debug "zoneVer: ver"
17401761
updCodeVerMap("zoneApp", ver)
17411762
codeUpdated = true
17421763
}
17431764
ver = sNULL
1744-
zApps.each { if(!ver) ver = it?.relayDevVersion() }
1765+
for(app in zApps) {
1766+
if(app) {
1767+
ver = (String)app?.relayDevVersion()
1768+
if(ver) break
1769+
}
1770+
}
17451771
if(ver && (String)codeVerMap.zoneEchoDevice != ver) {
17461772
chgs.push("zoneEchoDevice")
17471773
state.pollBlocked = true

drivers/echo-speaks-device.groovy

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ import java.text.SimpleDateFormat
2626
//************************************************
2727
//* STATIC VARIABLES *
2828
//************************************************
29-
@Field static final String devVersionFLD = '4.3.0.0'
30-
@Field static final String devModifiedFLD = '2025-09-09'
29+
@Field static final String devVersionFLD = '4.3.0.1 '
30+
@Field static final String devModifiedFLD = '2025-09-10'
3131
@Field static final String sNULL = (String)null
3232
@Field static final String sBLANK = ''
3333
@Field static final String sSPACE = ' '
@@ -1254,6 +1254,8 @@ void respExceptionHandler(ex, String mName, Boolean clearOn401=false, Boolean ig
12541254
logWarn("${mName} | Too Many Requests Made to Amazon | Msg: ${errMsg}")
12551255
} else if(sCode == 200) {
12561256
if(!errMsg.contains("OK")) { logError("${mName} Response Exception | Status: (${sCode}) | Msg: ${errMsg}") }
1257+
} else if(sCode == 404) {
1258+
// Ignoring 404 Error
12571259
} else {
12581260
logError("${mName} Response Exception | Status: (${sCode}) | Msg: ${errMsg}")
12591261
}

drivers/echo-speaks-zone-device.groovy

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ import java.text.SimpleDateFormat
2626
//************************************************
2727
//* STATIC VARIABLES *
2828
//************************************************
29-
@Field static final String devVersionFLD = '4.3.0.0'
30-
@Field static final String devModifiedFLD = '2025-09-09'
29+
@Field static final String devVersionFLD = '4.3.0.1'
30+
@Field static final String devModifiedFLD = '2025-09-10'
3131
@Field static final String sNULL = (String)null
3232
@Field static final String sBLANK = ''
3333
@Field static final String sSPACE = ' '
@@ -1254,6 +1254,8 @@ void respExceptionHandler(ex, String mName, Boolean clearOn401=false, Boolean ig
12541254
logWarn("${mName} | Too Many Requests Made to Amazon | Msg: ${errMsg}")
12551255
} else if(sCode == 200) {
12561256
if(!errMsg.contains("OK")) { logError("${mName} Response Exception | Status: (${sCode}) | Msg: ${errMsg}") }
1257+
} else if(sCode == 404) {
1258+
// Ignoring 404 Error
12571259
} else {
12581260
logError("${mName} Response Exception | Status: (${sCode}) | Msg: ${errMsg}")
12591261
}

packageManifest.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"packageName": "Echo Speaks",
33
"author": "Anthony S.",
4-
"version": "4.3.0.0",
4+
"version": "4.3.0.1",
55
"minimumHEVersion": "2.2.4",
6-
"dateReleased": "2025-09-09",
6+
"dateReleased": "2025-09-10",
77
"documentationLink": "https://tonesto7.github.io/echo-speaks-docs",
88
"communityLink": "https://community.hubitat.com/t/release-echo-speaks-v4/68843",
99
"licenseFile": "",
@@ -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.3.0.0"
19+
"version": "4.3.0.1"
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.3.0.0"
28+
"version": "4.3.0.1"
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.3.0.0"
37+
"version": "4.3.0.1"
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.3.0.0"
47+
"version": "4.3.0.1"
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.3.0.0"
55+
"version": "4.3.0.1"
5656
}
5757
]
5858
}

packageManifestBeta.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"packageName": "Echo Speaks (Beta)",
33
"author": "Anthony S.",
4-
"version": "4.3.0.0",
4+
"version": "4.3.0.1",
55
"minimumHEVersion": "2.2.4",
6-
"dateReleased": "2025-09-09",
6+
"dateReleased": "2025-09-10",
77
"documentationLink": "https://tonesto7.github.io/echo-speaks-docs",
88
"communityLink": "https://community.hubitat.com/t/beta-echo-speaks-v4/66503",
99
"licenseFile": "",
@@ -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.3.0.0"
19+
"version": "4.3.0.1"
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.3.0.0"
28+
"version": "4.3.0.1"
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.3.0.0"
37+
"version": "4.3.0.1"
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.3.0.0"
47+
"version": "4.3.0.1"
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.3.0.0"
55+
"version": "4.3.0.1"
5656
}
5757
]
5858
}

0 commit comments

Comments
 (0)