Skip to content

Commit

Permalink
Added frequency
Browse files Browse the repository at this point in the history
Devices which support the VoltageMeasurement capability may also include frequency values in Hz. Now included.
  • Loading branch information
andydvsn committed Nov 1, 2022
1 parent 6bdc588 commit 1341fd5
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions influxdb-logger.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License
* for the specific language governing permissions and limitations under the License.
*
* Modifcation History
* Date Name Change
* 2019-02-02 Dan Ogorchock Use asynchttpPost() instead of httpPost() call
* 2019-09-09 Caleb Morse Support deferring writes and doing buld writes to influxdb
* 2022-06-20 Denny Page Remove nested sections for device selection
*****************************************************************************************************************/
definition(
name: "InfluxDB Logger",
Expand Down Expand Up @@ -313,7 +307,7 @@ def updated() {
state.deviceAttributes << [ devices: 'touchs', attributes: ['touch']]
state.deviceAttributes << [ devices: 'uvs', attributes: ['ultravioletIndex']]
state.deviceAttributes << [ devices: 'valves', attributes: ['contact']]
state.deviceAttributes << [ devices: 'volts', attributes: ['voltage']]
state.deviceAttributes << [ devices: 'volts', attributes: ['voltage','frequency']]
state.deviceAttributes << [ devices: 'waterSensors', attributes: ['water']]
state.deviceAttributes << [ devices: 'windowShades', attributes: ['windowShade']]

Expand Down

0 comments on commit 1341fd5

Please sign in to comment.