Comments (3)
The offset is usually done in the DTH:
You'd modify the "humidity" and "temperature" before it is assigned to the device, lines 69 and 74 from what I can tell. Here is one of my DTH's that I modified from the SmartThings stock one to do just that:
See the "preferences" section and then lines 102 and 108, pretty much says if those preferences are there modify the temp or humidity using them.
from konnected-security.
@vseven Thank you for you timely response to my questions. Guess its time for this noob to get some experience in programming with groovy and the use of Github.
Just a quick follow-up would your second handler "enhanced-smartsense-temp-humidity-sensor.groovy" be capable of adjusting the offsets in the SmartApp or do the offsets need to be hard coded into the handler.
Also, while not related to offsets would you have any insights on why the Pin assignment for the DTH device isn't shown in the Konnected Sensor Status as shown in my attached files.
from konnected-security.
The preference section I was referring to will let you set the offsets per device. Should be able to copy and paste that over pretty much verbatim. Offset part should also be copy and paste for the most part...maybe a variable name change.
As for the pin assignment I'm not real sure, I've been running Konnected for a while and I'm on a older version of the firmware and smart app without the temp device available. I would make sure you have your smartapp updated.
from konnected-security.
Related Issues (20)
- Konnected security HOT 1
- Konnected hardware support WP2 Personal (AES) or WPA3 authentication? HOT 1
- ALARM1 e ALARM2 set to LOW when ON HOT 3
- Konnected will continuously reboot if the network if offline, which makes it pointless to ever buy a Battery Backup. HOT 1
- Board cannot reach Home Assistant. No zone update. Looping 10 times and reboots. HOT 2
- Enhancement: Independently trigger output on state change HOT 11
- certificate issue with Home Assistant using LetsEncrypt HOT 1
- Lua panic when provisioning with a temperature sensor on 3.0
- Konnected Alarm Panel Reboots every 24 hours when a zone with Type: Switch is steady on for 24 hours HOT 2
- State of Zone Type: Switch is lost at reboot HOT 6
- Release 3.0.0 - Alarm Pro v2 - How do we perform a OTA upgrade of the firmware? HOT 1
- Unable to update firmware on 1st panel of Alarm V2 - keeps saying connecting HOT 5
- Firmware v3.0.1 no longer polling DS18B20 & reporting temp HOT 5
- Usage of GPIO16/D0 HOT 1
- Push notification (HomeKit) when the system has been triggered, but before the Alarm is activated? HOT 1
- Wifi drops w/ reason code 15 HOT 6
- API Enhancement: zone instead of pin identifiers
- OTA update may fail while connected to AWS IoT HOT 10
- Enhance time server settings HOT 4
- Unprotected crash/panic when REST endpoint responds with 401
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from konnected-security.