seems to be related to the OS upgrade
2.3.9.200 - fading was at 1, working amazingly; moving out of the room, in a second lights dimmed
2.4.3.137 no change, with fading at 20, motion status often conflicting with physical state. Often reporting as inactive for present nad vice versa, but it's not always inverted
illuminance reporting is working still flawlessly, within seconds
It would be really weird if the HE platform version is the reason for this strange behavior…. I still think that it is more likely the reason to be in the driver, there were a lot of changes in it.
The name of the driver will contain 3.5.2. Change the ‘device type’ to the old driver and load the defaults. if your device works with the old driver version, then the problem is not in the HE platform.
I have moved this device back to the TS0601_TUYA_RADAR profile, so the motion state being inverted problem should be fixed now.
Click on the "Load Standard Profiles From Local Storage" command button. The "deviceProfilesV4_mmWave.json" file version is 4.0.8, "timestamp": "2025-10-18 11:13 AM".
EDIT: updated to ver 1.0.1 EDIT: updated to ver 1.0.2 "2025-10-18 5:56 PM"
Then, copy the "deviceProfilesV4_mmWave_NAS_PS10B2.json" file to your HE hub File Manager.
Enter the file name (including the .json extension) into the 'Load User Custom Profiles From Local Storage' parameter field and click on the Run button:
If the custom device profile JSON was parsed successfuly, you should see this :
Refresh the page and check whether the new device profile was selected automatically :
Let me know if the steps above were succesful and what is working or not.
if not (as in my case. because I don't have the exact device and the automatic matching will not work) - set the device profile manually :
@andrea.veroni@njanda please hold on until the next update, now I realize that you both have the same device, but built on two different Tuya-OS chipsets : _TZE204_1youk3hj and _TZE284_1youk3hj
I will change the custom JSON datapaints names to match Adrea's custom JSON 'data points' and attributes definitions, and will also look at the delay between the commands issue.
@kkossev my device is actually working correctly other than having to set properties individually via single command, but that’s not a big issue for me since once tuned for the room I kinda never touch it again
I guess it will work the same for @njanda with my json, though the one you posted should work too…
Just let me know when you will release next beta version so I can test and give you some feedback, at least with the sensors I own.
Ok, many thanks.
I’ll take a crack at this in a few hours.
FYI: using @andrea.veroni earlier .json file, basic motion detection seemed to be the only thing that worked so any improvement on that will be awesome as I have 2 of these sensors, destined for bathrooms. I’m hoping that we can get some sort of illumination reporting happening so at night, lights can be triggered at a lower level.
You can try the custom JSON pasted in the post above.
I am not sure whether this device reports the illuminance (to be used in hub automation ), or this is a kind of threshold setting that determines an automatic activation of the built in relay when the ‘switch’ preference is set to ‘automatic’ ?
Sensor only detects motion (active) and goes to (inactive) after some period.
Current States shows :
Fading Time : (changeable via pref's)
Human Motion State (always as none)
Humidity (always as 1)
Power Source (always as DC) note: this is AC powered device
Ah yes, I think you are correct because in the little 31 page manual that came with the sensor it does mention "Light Value".
It says (5) Light Value can be set to 10lux, 20lux, 50lux and 24h; the output switch will be activated when the light value is equal to or less than the set value
I have updated both the custom JSON (ver 1.0.2) and the driver code (ver 4.2.1).
There is a new 'tuyaDelay' settings in the device profile @andrea.veroni
@njanda send a 'LOAD ALL DEFAULTS' command from the Configure drop-down menu and then re-load the new custom JSON file. There should not be a humidity attribute for this device, most probably it is a leftover from other device profiles that you have tested.
If this setting only applies when the 'work mode' is set to automatic, it's better to remove the IlluminanceMeasurement capability for this device profile.
Unfortunately I don’t see a way this relay could be controlled from the hub, independently from what the current illumination measurement is. Seems it was designed for fully offline lights control, same operation as the dumb light sensor & switch control devices.
The json file has been updated and the driver cleaned out as below....
I was about to say that I tried setting the Fading Time and it appeared that it is not updating , as it shows "30" where as logs show that I updated it to 76..
Please update manually the driver code as well, should be 4.2.1.
This version supports configurable delay between the Zigbee commands - something that I suspect that may be a reason for some configuration commands to fail.
Copy the "deviceProfilesV4_mmWave_TS0601_HOBEIAN_RADAR.json" filanameme and paste it into the "Load User Custom Profiles ..." input field, then click on the Run button :
The 'Current States' status attribute should show a success message :
Refresh the HE device web page, then go to the Preferences tab. If the HOBEIAN custom profile is not selected automatically in the 'Device Profile' preference, select it manually :
Double-check that the TS0601_HOBEIAN_RADAR is shown in the State Variables section :
If you click on the 'Refresh' button, do you see the current device preferences/attributes populated in the 'Current States'? (Some Tuya devices will respond to this Refresh command, others will not...)
If Refresh is not working, power off the sensor for 15 seconds and then power it back on. Do you see a lot of Zigbee messages in the live log? The current states should be updated as well. Refresh the browser web page and make a screenshot of the Current States - this is needed to catch the factory default settings when a new device is paired to HE for the first time.
The latest driver version should also show the temperature and the humidity readings if reported by the device.
Thanks for you detailed message. It worked for the motion (partialy), iluminance and humidity (but it doesn't show as a humidity device for another app I'm trying to use with) and the power source (I'm using it connected to a USB C Cable but Current State says Battery). I can't control the detection distance neither even with the advanced options enabled. This is the log I get as soon as I disconnect and connect it again:
For the motion inactive I get this in the log but the driver it shows like active:
Human Presence Bathroom First Floor New motion is inactive (raw:0) (no change)
Hi @kkossev, You must have the patience of a saint and thank you again for all your efforts as it sure looks like there is something very erratic with these Tuya Human sensors.
Unfortunately, there are so many variables at play that I am finding it difficult to pin something down to repeatable patterns of events.
e.g. I have 2 of the same sensors, which were both reset to DEVICE and cleared of any data before I started updating them using your latest driver and profile (or so I thought)
Yet, 1 of the sensors turns on its indicator LED when motion is detected and the other 1 does not. Its LED just stays dark BUT the sensor detects and registers motion very nicely.
I thought to use the 'LED Indicator' parameter but despite what I do on the Preferences page, it always is showing in 'Current Status' as 1.
And overnight, or was it because I turned "Switch Work Mode' to Manual, illuminace value changed
But probably most weird is changing Fading Time (FT) does not appear to 'register' in 'Current Status' unless LED Indicator is toggled ON/OFF and saved. (the logs show it changed)
FT= 60. set FT as 38 & LED Off + Save then..refresh......FT still shows 60
FT= 60. set FT as 38 & LED ON + Save then..refresh......FT still shows 60
FT= 60. set FT as 38 & LED Off + Save then..refresh......FT still shows 60
FT=60. set FT as 38 & LED ON + save = FT showing as 38
Having said that I do not see the actual FT as relating to any actual seconds in operation !
Rather the more motion there is infront of a sensor, the longer it takes to reset to 'inactive'
As it stands, I can make use of the motion detection function in my Guest bathroom and rather than cut a hole in the wall or ceiling for the semsor, I've dremel'd a plugin solution that is working well.