pipiche wrote: ↑Friday 02 February 2024 12:14
Sorry, didn't see your post. Ok, I'll set the Fading Time to 60 by default. For the others I do not have any documentation. I set the default as the one I got from you (after the pairing).
If that is find for you I would push this branch onto the Release Candidate for 7.1.009.
Let me know what you think ?
[edit] I'll see if I have some budget to purchase one , so I can test it on the Tuya gateway and reverse-engineer the values
Please, don't push this branch to RC yet. Something weird is happening with Sonoff presence sensor. The moment I updated to latest in the branch and this 'SonOffUltrasonicIllumination': 1 was added to the code - strange thing started to happen and I can repeat the issue.
I also have 3 other motion sensors, lumi.sensor_motion.aq2. When you added to the code that Illumination option - one of them went mad (just one of them). When it switches On then it doesn't switch back off when there is no presence in the room and keeps flooding the Zigbee network with data.
If I disable SNZB-06P presence sensor in ZFD web admin panel, then that lumi.sensor_motion.aq2 goes back to normal operation. If I enable it - it starts acting weird again.
I removed the lumi.sensor_motion.aq2 from config and re-added it, not hing changed. I removed the SNZB-06P from config and re-paired it - and still the same issue.
Then I removed all the additional config for SNZB-06P (apparently it was added by default when re-added) and the lumi.sensor_motion.aq2 started working again, but now SNZB-06P doesn't work (the switch doesn't go to On of Off when presence).
It started the moment I got the code with 'SonOffUltrasonicIllumination': 1 option. I can send you plugin logs, if you wish, but I can't see anything useful in them - but maybe I'm wrong.
I would suggest that you roll back to the code before you added this illumination option and I can test again.
Cheers, Jan