Thanks Mariano. I will try this option.
Thanks Mariano, as always, for all your help and for the detailed explanation of the driver change impacts ![]()
![]()
Hi @Mariano_Colmenarejo , I have the soil sensor connected and reporting values. I had to remove the stock Zigbee Illumination driver from the hub as it defaulted to that. With that driver gone, it connected directly to yours.
Having put it in a glass of cold water in my room, this is what is shows:
Another device in here is reporting 24.7C, so Iβm pretty confident itβs reporting the air temperature rather than the soil temperature. Iβm OK with that as I donβt really care much about the soil temp.
What is surprising is that the humidity is only reporting 10%. I would have thought being in a glass of water would show 100%. I can consistently change it from 10% to 0% by immersing it and drying it off.
Also, it should be showing brighter than 70 lux in here. Another couple of devices pointing in a similar direction have the light between 1300-1400 lux.
Is there somewhere to set the scaling of the sensors?
Hi @RebelMagpie
There is another tuya device in the driver that also needs to multiply the received humidity value by 10.
If send me privately the logs of the temperature changes of the soil sensor and luminosity, I can analyze what you send to see if it can be corrected.
This driver version multiply by 10 the value of humidity
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Name Zigbee Temp Sensor and Child Thermostat Mc
Version 2024-01-18T10:13:05.062641845
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Thanks Mariano. Humidity is now reading accurately
.
I will get prepare some logs for the temperature and luminosity when I can get a moment to do that.
Can you check if it is possible to add this device -(2 gang curtain switch).
Thank you!
Sorry I havenβt done any of this.
There are too many changes in the driver code, for a device that I do not have to be able to debug.
There are many possible errors in modifying the code, in calibration or endpoints, creating children,β¦
Sorry, I donβt think I can address it at the moment.
New version of Zigbee Contact Mc
So that multipurpose sensors that measure acceleration can be added to STHM and activated when vibration or acceleration is detected:
-
I have modified the driver to be able to create a virtual device, from preference settings, with a ContactSensor profile.
-
This device capabilities are activated with the acceleration events of the Parent device
-
In this way the virtual devices created can be added to the STHM and it will warn when vibration or acceleration occurs.
-
This option is only present in the multipurpose and smarsense-multi profiles (old smarthings multipurpose sensors).
This version will be updated automatically in 12 hours maximum
βββββββββββββββββββββββββββββββββββββββββββββββββββ
Name Zigbee Contact Mc
Version 2024-01-21T12:42:40.021253163
βββββββββββββββββββββββββββββββββββββββββββββββββββ
I think that @w35l3y 's
Default Clusters driver can support the Two Gangs curtain switch.
It is a generic drivers without too many settings. Try from herer:
https://api.smartthings.com/invite/6Vjd4YPVJwjN
New version of Zigbee Contact Mc
I have modified the driver to have the option to view and control the battery levels of all devices paired with the driver.
-
I have added a preference to be able to create a virtual device that will show the battery levels of all the devices paired to the driver and that the user selects with this same preference by setting the value to True.
-
This device with false value in preference will not show on virtual device
-
Only one virtual device will be created, from the first device in which sets the value of the preference to True.
-
The values will be updated every 1 hour or every time the virtual device is refreshed with the App.
-
It will show the GMT time, known to the driver, of the last information update.
-
What the driver does is read the last value emitted, which the hub firmware saves every time a new value is emitted. Therefore, it consumes few resources and does not create traffic on the network. Itβs like having another device installed.
-
The Battery level value will be shown in:
- Green color if it is >= 70%
- Blue color if it is >=50% and <70%
- Orange color if it is >=35% and <50%
- Red color if it is <35% or battery status is not emitted or saved in the hub
I will implement it in other drivers that use battery powered devices.
The new version of the driver will be updated automatically in 12 hours maximum
βββββββββββββββββββββββββββββββββββββββββββββββββββ
Name Zigbee Contact Mc
Version 2024-01-23T20:08:51.567914786
βββββββββββββββββββββββββββββββββββββββββββββββββββ
Very cool and useful.
One small problem is that the device names are not readable when your phone is in dark mode.
Nice job as always. Thank you this will be very useful.
This is great little utility. Presumably, as I think I saw you posted before, you would recommend setting interval reports to 3600?
No colours on my iPhone - bug with iOS?
fixed in this driver version
βββββββββββββββββββββββββββββββββββββββββββββββββββ
Name Zigbee Contact Mc
Version 2024-01-24T12:01:41.645777281
βββββββββββββββββββββββββββββββββββββββββββββββββββ
Hi John,
It should work.
In the details view you only see black?
Hola Mariano
Since I posted its gone offline, but I see this (now grey of course as offline) in black and white.
Looking at the image in the post before it doesnβt seem to be formatting properly.
It may be a problem with the iOs app.
It is an html text format.
What does the zigbee thing Mc information look like?
Thanks that fixed it

















