Sensative Comfort - Accurate Temperature & Ambient Light

Posted on
Thu May 03, 2018 1:20 pm
CliveS offline
Posts: 761
Joined: Jan 10, 2016
Location: Medomsley, County Durham, UK

Sensative Comfort - Accurate Temperature & Ambient Light

Just got the new Sensative Strips Comfort, an Accurate Temperature and Ambient Light Sensor which looks just like the original Sensative window and door sensor.

It was included into Indigo with no problems but obviously without full support at present.

Full details from either Sensative https://www.stripsbysensative.com/comfort/ or from Vesternet who I bought it from https://www.vesternet.com/z-wave-sensative-comfort-gen5
Sensative_Comfort.jpg
Sensative_Comfort.jpg (215.89 KiB) Viewed 1076 times


It shows as a Multilevel Sensor (routing) and depending on which sensor was last to update you could have either lux or temp showing as the state.

Sensative_Lux.png
Sensative_Lux.png (80.72 KiB) Viewed 1076 times

Sensative_Temp.png
Sensative_Temp.png (74.47 KiB) Viewed 1076 times


Few details from the logs

2018-05-03 13:29:52.712 Z-Wave started controller inclusion mode
2018-05-03 13:30:14.856 Z-Wave controller included module: 183 - Multilevel Sensor (routing)
2018-05-03 13:30:14.878 Z-Wave stopped controller inclusion mode
2018-05-03 13:30:21.552 Z-Wave Syncing - started for "183 - Multilevel Sensor (routing)"
2018-05-03 13:30:21.597 Z-Wave Syncing - retrieved module neighbors list: - none -
2018-05-03 13:30:21.598 Z-Wave Syncing - assigning return route to "183 - Multilevel Sensor (routing)"
2018-05-03 13:30:22.053 Z-Wave Syncing - assigned return route
2018-05-03 13:30:22.657 Z-Wave Syncing - retrieved manufacture and model names: Sensative - 019A, Multilevel Sensor (routing) - 0003000A
2018-05-03 13:30:22.958 Z-Wave Syncing - retrieved protocol version 4.54, app version 0.03
2018-05-03 13:30:23.547 Z-Wave Syncing - retrieved class hierarchy: Routing Slave : Multilevel Sensor : Multilevel Sensor (routing) (04 : 21 : 01, base 31)
2018-05-03 13:30:23.548 Z-Wave Syncing - retrieved command classes: 20v1 80v1 84v2 85v1 86v1 71v1 70v1 31v5 72v1 73v1 59v1 5Av1 5Ev1
2018-05-03 13:30:23.548 Z-Wave Syncing - retrieved encrypt commands: - none -
2018-05-03 13:30:23.548 Z-Wave Syncing - retrieved capabilities: routing, battery, beaming, waking
2018-05-03 13:30:23.881 Z-Wave Syncing - retrieved wake interval of 1440 minutes
2018-05-03 13:30:23.961 Z-Wave Syncing - device "183 - Multilevel Sensor (routing)" wake interval changed to 60 minutes
2018-05-03 13:30:24.522 Z-Wave Syncing - retrieved group 1 associations: []
2018-05-03 13:30:24.803 Z-Wave Syncing - added group 1 association to interface
2018-05-03 13:30:25.088 Z-Wave Syncing - retrieved battery level of 100%
2018-05-03 13:30:25.089 Z-Wave Syncing - retrieved battery level of 100%
2018-05-03 13:30:25.550 Z-Wave Syncing - created device "183 - Multilevel Sensor (routing)"
2018-05-03 13:30:25.556 SQL Logger creating table device_history_1183146762 for "183 - Multilevel Sensor (routing)"
2018-05-03 13:30:25.575 Z-Wave Syncing - complete
2018-05-03 13:30:25.653 SQL Logger adding column "batterylevel" to table device_history_1183146762 ("183 - Multilevel Sensor (routing)")
2018-05-03 13:30:25.655 SQL Logger adding column "sensorvalue" to table device_history_1183146762 ("183 - Multilevel Sensor (routing)")
2018-05-03 13:30:25.670 SQL Logger adding column "batterylevel_ui" to table device_history_1183146762 ("183 - Multilevel Sensor (routing)")
2018-05-03 13:30:25.723 SQL Logger modifying column "sensorvalue" type of table device_history_1183146762 ("183 - Multilevel Sensor (routing)") from integer to REAL
2018-05-03 13:30:25.800 SQL Logger adding column "sensorvalue_ui" to table device_history_1183146762 ("183 - Multilevel Sensor (routing)")
2018-05-03 13:30:25.871 Z-Wave sent "183 - Multilevel Sensor (routing)" status request
2018-05-03 13:30:26.154 Z-Wave received "183 - Multilevel Sensor (routing)" status update battery level 100%
2018-05-03 13:31:38.786 Z-Wave received "183 - Multilevel Sensor (routing)" sensor update to 283 lux
2018-05-03 13:31:38.798 Z-Wave received "183 - Multilevel Sensor (routing)" units changed to lux
2018-05-03 13:31:38.802 Z-Wave received "183 - Multilevel Sensor (routing)" sensor update to 22.1 °C
2018-05-03 13:31:38.814 Z-Wave received "183 - Multilevel Sensor (routing)" units changed to °C
2018-05-03 13:31:38.822 Z-Wave received "183 - Multilevel Sensor (routing)" status update battery level 100%

2018-05-03 13:31:53.499 Z-Wave Indigo Device "183 - Multilevel Sensor (routing)" Z-Wave Properties:
Indigo Z-Wave Version: 2.0.111
Node ID: 183
Model: Multilevel Sensor (routing)
Model ID: 0003000A
Manufacturer: Sensative
Manufacturer ID: 019A
Protocol Version: 4.54
Application Version: 0.03
Model Definition Version: 0
Library Type: 6
Class Name: Multilevel Sensor (routing)
Class Hierarchy: 04 : 21 : 01
Command Class Base: 31
Command Versions: 20v1 80v1 84v2 85v1 86v1 71v1 70v1 31v5 72v1 73v1 59v1 5Av1 5Ev1
Encryption Status: Not Supported
Multi-Endpoint Types: - none -
Multi-Endpoint Classes: - none -
Multi-Instance Counts: - none -
Features: routing, battery, beaming, waking
Neighbors: - none -
Associations: 1:[1]
Config Values: - none -

RAW Data

3 May 2018, 13:50:45
Z-Wave received "183 - Multilevel Sensor (routing)" sensor update to 21.7 °C
15.3 seconds ago from 183 - Multilevel Sensor (routing):
0x01 0x0C 0x00 0x04 0x00 0xB7 0x06 0x31 0x05 0x01 0x22 0x00 0xD9 0x88

3 May 2018, 13:52:48
Z-Wave received "183 - Multilevel Sensor (routing)" sensor update to 1 lux
10.9 seconds ago from 183 - Multilevel Sensor (routing):
0x01 0x0C 0x00 0x04 0x00 0xB7 0x06 0x31 0x05 0x03 0x0A 0x00 0x01 0x7A

Can anyone write a python script to extract Lux and Temp to a variable until this is included in Indigo?

CliveS

Indigo 2023.2.0 : macOS Ventura 13.6.3 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
----------------------------------------------------------------------------------
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer

Posted on
Thu May 03, 2018 2:31 pm
jay (support) offline
Site Admin
User avatar
Posts: 18201
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Sensative Comfort - Accurate Temperature & Ambient Light

Assuming that it always updates both, I think this may work:

Code: Select all
ui_val = indigo.devices[ID_OF_SENSOR].states["sensorValue.ui"]
if ui_value.endswith(u" lux"):
   var_id = ID_OF_LUX_VARIABLE
else:
   var_id = ID_OF_TEMP_VARIABLE
indigo.variable.updateValue(var_id, value=ui_value.split(" ")[0])


Just execute it as a device state change has any change Trigger type on the sensorValue.ui state of the sensor. Untested, but it's pretty close.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Thu May 03, 2018 4:31 pm
CliveS offline
Posts: 761
Joined: Jan 10, 2016
Location: Medomsley, County Durham, UK

Re: Sensative Comfort - Accurate Temperature & Ambient Light

jay (support) wrote:
Assuming that it always updates both, I think this may work:

Code: Select all
ui_val = indigo.devices[ID_OF_SENSOR].states["sensorValue.ui"]
if ui_value.endswith(u" lux"):
   var_id = ID_OF_LUX_VARIABLE
else:
   var_id = ID_OF_TEMP_VARIABLE
indigo.variable.updateValue(var_id, value=ui_value.split(" ")[0])


Just execute it as a device state change has any change Trigger type on the sensorValue.ui state of the sensor. Untested, but it's pretty close.


Jay, you are a genius that worked great thank you

Now I have a weatherproof outdoor sensor that has a Temperature Range from -20 degrees C to +60 degrees C and 1-64000 LUX and around 10 year battery life.

:) :) :)

PS
Line 1 needs changing from ui_val to ui_value for anyone else using the code.

Thanks again

CliveS

Indigo 2023.2.0 : macOS Ventura 13.6.3 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
----------------------------------------------------------------------------------
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer

Posted on
Sun May 12, 2019 4:06 pm
matt (support) offline
Site Admin
User avatar
Posts: 21411
Joined: Jan 27, 2003
Location: Texas

Re: Sensative Comfort - Accurate Temperature & Ambient Light

Indigo 7.3 (and 7.3.1) are now available and should support the Sensative Temperature Sensor (Strips Comfort).

Image

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 5 guests

cron