Skip to content

Commit

Permalink
v4.2.4.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
tonesto7 committed Mar 7, 2024
1 parent cbe0fe4 commit 2a68988
Show file tree
Hide file tree
Showing 10 changed files with 50 additions and 38 deletions.
Binary file modified CHANGELOG.html
Binary file not shown.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
### _**Release (v4.2.4.0) - [March 7th, 2024]**_

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

- [FIX] Removed getDeviceActivity errors @nh_shotfam.
- [NEW] Added support for newer devices.

### _**Release (v4.2.3.0) - [August 21st, 2023]**_

#### _***All Apps and Devices***_
Expand Down
7 changes: 4 additions & 3 deletions apps/echo-speaks-actions.groovy
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/* groovylint-disable CompileStatic, MethodCount, MethodSize, UnnecessaryGetter */
/**
* Echo Speaks Actions (Hubitat)
*
* Copyright 2018, 2019, 2020, 2021, 2022, 2023 Anthony Santilli
* Copyright 2018, 2019, 2020, 2021, 2022, 2023, 2024 Anthony Santilli
* Code Contributions by @nh.schottfam
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
Expand Down Expand Up @@ -32,8 +33,8 @@ import java.util.concurrent.Semaphore
//************************************************
//* STATIC VARIABLES *
//************************************************
@Field static final String appVersionFLD = '4.2.3.0'
@Field static final String appModifiedFLD = '2022-08-21'
@Field static final String appVersionFLD = '4.2.4.0'
@Field static final String appModifiedFLD = '2024-03-07'
@Field static final Boolean devModeFLD = false
@Field static final String sNULL = (String)null
@Field static final String sBLANK = ''
Expand Down
7 changes: 4 additions & 3 deletions apps/echo-speaks-zones.groovy
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/* groovylint-disable CompileStatic, MethodCount, MethodSize, UnnecessaryGetter */
/**
* Echo Speaks - Zones (Hubitat)
*
* Copyright 2018, 2019, 2020, 2021, 2022, 2023 Anthony Santilli
* Copyright 2018, 2019, 2020, 2021, 2022, 2023, 2024 Anthony Santilli
* Code Contributions by @nh.schottfam
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
Expand All @@ -28,8 +29,8 @@ import java.util.concurrent.Semaphore
//************************************************
//* STATIC VARIABLES *
//************************************************
@Field static final String appVersionFLD = '4.2.3.0'
@Field static final String appModifiedFLD = '2023-08-21'
@Field static final String appVersionFLD = '4.2.4.0'
@Field static final String appModifiedFLD = '2024-03-07'
@Field static final String sNULL = (String)null
@Field static final String sBLANK = ''
@Field static final String sSPACE = ' '
Expand Down
9 changes: 5 additions & 4 deletions apps/echo-speaks.groovy
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/* groovylint-disable CompileStatic, MethodCount, MethodSize, UnnecessaryGetter */
/**
* Echo Speaks App (Hubitat)
*
* Copyright 2018, 2019, 2020, 2021, 2022, 2023 Anthony Santilli
* Copyright 2018, 2019, 2020, 2021, 2022, 2023, 2024 Anthony Santilli
* Code Contributions by @nh.schottfam
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
Expand Down Expand Up @@ -31,12 +32,12 @@ import java.util.concurrent.Semaphore
//************************************************
//* STATIC VARIABLES *
//************************************************
@Field static final String appVersionFLD = '4.2.3.0'
@Field static final String appModifiedFLD = '2023-08-21'
@Field static final String appVersionFLD = '4.2.4.0'
@Field static final String appModifiedFLD = '2024-03-07'
@Field static final String gitBranchFLD = 'master'
@Field static final String platformFLD = 'Hubitat'
@Field static final Boolean devModeFLD = false
@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.
@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.

@Field static final String sNULL = (String)null
@Field static final String sBLANK = ''
Expand Down
7 changes: 4 additions & 3 deletions drivers/echo-speaks-device.groovy
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/* groovylint-disable CompileStatic, MethodCount, MethodSize, UnnecessaryGetter */
/**
* Echo Speaks Device (Hubitat ONLY)
*
* Copyright 2018, 2019, 2020, 2021, 2022, 2023 Anthony Santilli
* Copyright 2018, 2019, 2020, 2021, 2022, 2023, 2024 Anthony Santilli
* Code Contributions by @nh.schottfam
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
Expand All @@ -25,8 +26,8 @@ import java.text.SimpleDateFormat
//************************************************
//* STATIC VARIABLES *
//************************************************
@Field static final String devVersionFLD = '4.2.3.0'
@Field static final String devModifiedFLD = '2023-08-21'
@Field static final String devVersionFLD = '4.2.4.0'
@Field static final String devModifiedFLD = '2024-03-07'
@Field static final String sNULL = (String)null
@Field static final String sBLANK = ''
@Field static final String sSPACE = ' '
Expand Down
15 changes: 8 additions & 7 deletions drivers/echo-speaks-zone-device.groovy
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/* groovylint-disable CompileStatic, MethodCount, MethodSize, UnnecessaryGetter */
/**
* Echo Speaks Zone Device (Hubitat ONLY)
* Echo Speaks Zone Device (Hubitat ONLY)
*
* Copyright 2018, 2019, 2020, 2021, 2022, 2023 Anthony Santilli
* Copyright 2018, 2019, 2020, 2021, 2022, 2023, 2024 Anthony Santilli
* Code Contributions by @nh.schottfam
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
Expand All @@ -25,8 +26,8 @@ import java.text.SimpleDateFormat
//************************************************
//* STATIC VARIABLES *
//************************************************
@Field static final String devVersionFLD = '4.2.3.0'
@Field static final String devModifiedFLD = '2023-08-21'
@Field static final String devVersionFLD = '4.2.4.0'
@Field static final String devModifiedFLD = '2024-03-07'
@Field static final String sNULL = (String)null
@Field static final String sBLANK = ''
@Field static final String sSPACE = ' '
Expand Down Expand Up @@ -97,7 +98,7 @@ metadata {
attribute "volume", "number"
attribute "wakeWords", "enum"
attribute "wasLastSpokenToDevice", "string"
attribute "audioTrackData", "JSON_OBJECT" // To support SharpTools.io Album Art feature

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

Map getEchoDevInfo(String cmd, Boolean ignoreDoNotDisturb=false) {
if(isCommandTypeAllowed(cmd, false, ignoreDoNotDisturb)) {
return [deviceTypeId: getEchoDeviceType(), deviceSerialNumber: getEchoSerial(), deviceOwnerCustomerId: getEchoOwner(), deviceAccountId: getEchoAccountId(), dni: device.deviceNetworkId ]
return [deviceTypeId: getEchoDeviceType(), deviceSerialNumber: getEchoSerial(), deviceOwnerCustomerId: getEchoOwner(), deviceAccountId: getEchoAccountId(), dni: device.deviceNetworkId ]
}
return null
}
Expand Down Expand Up @@ -1195,7 +1196,7 @@ private String sendAmazonCommand(String method, Map params, Map otherData=null)
private Map getDeviceData(){
return [deviceType: getEchoDeviceType(), serialNumber: getEchoSerial(), owner: getEchoOwner(), account: getEchoAccountId(), dni: device.deviceNetworkId]
//Map getEchoDevInfo(cmd) {
// return [deviceTypeId: getEchoDeviceType(), deviceSerialNumber: getEchoSerial(), deviceOwnerCustomerId: getEchoOwner(), deviceAccountId: getEchoAccountId(), dni: device.deviceNetworkId ]
// return [deviceTypeId: getEchoDeviceType(), deviceSerialNumber: getEchoSerial(), deviceOwnerCustomerId: getEchoOwner(), deviceAccountId: getEchoAccountId(), dni: device.deviceNetworkId ]
}

private void sendSequenceCommand(String type, String command, value=null, String callback=sNULL) {
Expand Down
12 changes: 6 additions & 6 deletions packageManifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"packageName": "Echo Speaks",
"author": "Anthony S.",
"version": "4.2.3.0",
"version": "4.2.4.0",
"minimumHEVersion": "2.2.4",
"dateReleased": "2023-08-21",
"documentationLink": "https://tonesto7.github.io/echo-speaks-docs",
Expand All @@ -16,7 +16,7 @@
"location": "https://raw.githubusercontent.com/tonesto7/echo-speaks/master/apps/echo-speaks.groovy",
"required": true,
"oauth": true,
"version": "4.2.3.0"
"version": "4.2.4.0"
},
{
"id": "cd4762db-aa0b-4d32-98ca-06de955dbc33",
Expand All @@ -25,7 +25,7 @@
"location": "https://raw.githubusercontent.com/tonesto7/echo-speaks/master/apps/echo-speaks-actions.groovy",
"required": true,
"oauth": false,
"version": "4.2.3.0"
"version": "4.2.4.0"
},
{
"id": "50ad91a0-eb51-4d6f-98d2-f1654221baa9",
Expand All @@ -34,7 +34,7 @@
"location": "https://raw.githubusercontent.com/tonesto7/echo-speaks/master/apps/echo-speaks-zones.groovy",
"required": true,
"oauth": false,
"version": "4.2.3.0"
"version": "4.2.4.0"
}
],
"drivers": [
Expand All @@ -44,15 +44,15 @@
"namespace": "tonesto7",
"location": "https://raw.githubusercontent.com/tonesto7/echo-speaks/master/drivers/echo-speaks-device.groovy",
"required": true,
"version": "4.2.3.0"
"version": "4.2.4.0"
},
{
"id": "afac5950-3dc0-4109-95ec-79aa3c7ef208",
"name": "Echo Speaks Zone Device",
"namespace": "tonesto7",
"location": "https://raw.githubusercontent.com/tonesto7/echo-speaks/master/drivers/echo-speaks-zone-device.groovy",
"required": true,
"version": "4.2.3.0"
"version": "4.2.4.0"
}
]
}
12 changes: 6 additions & 6 deletions packageManifestBeta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"packageName": "Echo Speaks (Beta)",
"author": "Anthony S.",
"version": "4.2.3.0",
"version": "4.2.4.0",
"minimumHEVersion": "2.2.4",
"dateReleased": "2023-08-21",
"documentationLink": "https://tonesto7.github.io/echo-speaks-docs",
Expand All @@ -16,7 +16,7 @@
"location": "https://raw.githubusercontent.com/tonesto7/echo-speaks/beta/apps/echo-speaks.groovy",
"required": true,
"oauth": true,
"version": "4.2.3.0"
"version": "4.2.4.0"
},
{
"id": "cd4762db-aa0b-4d32-98ca-06de955dbc33",
Expand All @@ -25,7 +25,7 @@
"location": "https://raw.githubusercontent.com/tonesto7/echo-speaks/beta/apps/echo-speaks-actions.groovy",
"required": true,
"oauth": false,
"version": "4.2.3.0"
"version": "4.2.4.0"
},
{
"id": "50ad91a0-eb51-4d6f-98d2-f1654221baa9",
Expand All @@ -34,7 +34,7 @@
"location": "https://raw.githubusercontent.com/tonesto7/echo-speaks/beta/apps/echo-speaks-zones.groovy",
"required": true,
"oauth": false,
"version": "4.2.3.0"
"version": "4.2.4.0"
}
],
"drivers": [
Expand All @@ -44,15 +44,15 @@
"namespace": "tonesto7",
"location": "https://raw.githubusercontent.com/tonesto7/echo-speaks/beta/drivers/echo-speaks-device.groovy",
"required": true,
"version": "4.2.3.0"
"version": "4.2.4.0"
},
{
"id": "afac5950-3dc0-4109-95ec-79aa3c7ef208",
"name": "Echo Speaks Zone Device",
"namespace": "tonesto7",
"location": "https://raw.githubusercontent.com/tonesto7/echo-speaks/beta/drivers/echo-speaks-zone-device.groovy",
"required": true,
"version": "4.2.3.0"
"version": "4.2.4.0"
}
]
}
12 changes: 6 additions & 6 deletions resources/appData.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@
"appDataVer": "4.0",
"versions": {
"mainApp": {
"ver": "4.2.2.0"
"ver": "4.2.4.0"
},
"actionApp": {
"ver": "4.2.2.0"
"ver": "4.2.4.0"
},
"zoneApp": {
"ver": "4.2.2.0"
"ver": "4.2.4.0"
},
"echoDevice": {
"ver": "4.2.2.0"
"ver": "4.2.4.0"
},
"zoneChildDevice": {
"ver": "4.2.2.0"
"ver": "4.2.4.0"
},
"wsDevice": {
"ver": "4.2.2.0"
"ver": "4.2.4.0"
},
"server": {
"ver": "2.7.0"
Expand Down

0 comments on commit 2a68988

Please sign in to comment.