here are my drivers with updates for hubitat.. ie removed smarthings crap, and specifically just got the new leak tags working..
I use these tags in places where i dont have or dont want to install a full hub ie hubitat.
Like our rental condos..
The leak tags are new and only report humidity percent so I modified the driver to also set/report wet/dry based on the humidity percent.. the sensors will report 25 50 75 or 100 depending on how many of the corners are wet.
I added a user defined humidity level (default 75) to trigger the wet/dry transition.
also added a little debugging and other attributes..
https://raw.githubusercontent.com/lgkahn/hubitat/master/wirelesstagwater.groovy
https://raw.githubusercontent.com/lgkahn/hubitat/master/wirelesstagdevice.groovy
https://raw.githubusercontent.com/lgkahn/hubitat/master/wirelesstagapp.groovy
credit goes to swanny for writing the original app and drivers for smartthings..
new sensor
https://wirelesstag.net/quad.html
2 Likes
john18
October 15, 2023, 6:22pm
2
Thanks. I see the Hubitat driver I've installed which I got from @b_h Taking pledges and looking for someone willing to get Wireless Sensor Tags working on Hubitat - #30 by b_h . Did you see that one?
I'm trying to get my Wireless Tag PIR and Humidity sensor to trigger some lights, I think I'd like it to call a local URL instead of a cloud URL. Do you have any of the PIR sensors?
no i dont have any of those.. obviously i am running my own drivers.. have you tried them with that sensor?
new version ...
Figured out how to add motion, motionArmed to the multi sensor tag. still havent figured out how the pir tag reports motion..
New version of app and all drivers.
Also, i never posted the multi sensor driver,, does motion, humidity and temp. etc..
Also added signaldbm as attribute so it sticks on the dashboards and can be checked in rules.
https://raw.githubusercontent.com/lgkahn/hubitat/master/wirelesstagwater.groovy
https://raw.githubusercontent.com/lgkahn/hubitat/master/wirelesstagdevice.groovy
https://raw.githubusercontent.com/lgkahn/hubitat/master/wirelesstagapp.groovy
https://raw.githubusercontent.com/lgkahn/hubitat/master/wirelesstagsensor.groovy
total rewrite of app and new motion tag driver for wireless pir motion..
make sure you resave your tag list in the app to get the callbacks generated,
motion and water activations/deactivations are now instant using the wireless tag callback methodology..
/**
* Wireless Tag Motion
*
* Copyright 2014 Dave Swanson (swanny)
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* 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.
*
*/
metadata {
definition (name: "Wireless Tag Motion", namespace: "lgkahn", author: "swanny") {
capability "Presence Sensor"
capability "Acceleration Sensor"
capability "Motion Sensor"
This file has been truncated. show original
/**
* Wireless Tags (Connect)
*
* Copyright 2014 Dave Swanson (swanny)
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* 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.
*/
definition(
name: 'Wireless Tags (Connect)',
namespace: 'swanny',
author: 'swanny',
description: 'Wireless Tags connection',
category: 'Convenience',
This file has been truncated. show original