Search found 11 matches

by xurg
19 Sep 2020 08:40
Forum: Discussions in English
Topic: Email when sensor still ON after some time
Replies: 8
Views: 212

Re: Email when sensor still ON after some time

No worries. During my initial experiments I may just have been fooled by JS's === operator which I didn't know. That's why I tried messing with setTimeout and self. As I said, JS noob. For completeness, this seems to work as intented now: ### DummyDevice_11 var secondsToWarningMail = 15*60; if (vdev...
by xurg
18 Sep 2020 16:04
Forum: Discussions in English
Topic: Email when sensor still ON after some time
Replies: 8
Views: 212

Re: Email when sensor still ON after some time

I used to like Chrome too, but, well, Google. Anyway - even with storing the timeout ID in self, I still get email notifications so the cancellation does not seem to always work. I had done my testing with short events, but in the real world the on/off events are apart by a couple of minutes, usuall...
by xurg
17 Sep 2020 08:38
Forum: Discussions in English
Topic: Email when sensor still ON after some time
Replies: 8
Views: 212

Re: Email when sensor still ON after some time

Ok, fair enough. FWIW, here is my EasyScript based on your suggestion. I fixed the syntax and changed the looks a bit but it's basically the same. I tied a hardware sensor to a dummy device and monitor that so I can more easily test the setup. Note: it is critical to place the timeout id in "self" s...
by xurg
16 Sep 2020 08:38
Forum: Discussions in English
Topic: Email when sensor still ON after some time
Replies: 8
Views: 212

Re: Email when sensor still ON after some time

Thanks for the response. I haven't looked at EasyScripting yet - I was somehow hoping to solve this with more traditional means. :-) I understand your E/S code, but out of curiosity, what would be the scene/conditional approach to this? More precisely: what is the best practise to cancel a timer? I ...
by xurg
15 Sep 2020 21:58
Forum: Discussions in English
Topic: Email when sensor still ON after some time
Replies: 8
Views: 212

Email when sensor still ON after some time

Running 3.1.0, email notification seems to be working. But here's my problem: I want to realize a seemingly simple task, and that's watching a door sensor and when it's been open for longer than X seconds, I want to send an email notification. A simple If-Delayed-Then doesn't work, as it will always...
by xurg
12 Sep 2020 22:30
Forum: RaZberry
Topic: High CPU Usage since updated to 3.1.0
Replies: 7
Views: 250

Re: High CPU Usage since updated to 3.1.0

Any news on this topic? I'm reluctant to update to 3.1.0 because of this.
by xurg
23 Aug 2020 14:13
Forum: Discussions in English
Topic: How to minimize SD card write accesses
Replies: 7
Views: 328

Re: How to minimize SD card write accesses

No worries.

From your hint to ZWave/index.js I've now seen that rssidata.json is only kept for the past 24 hours.
by xurg
23 Aug 2020 13:34
Forum: Discussions in English
Topic: How to minimize SD card write accesses
Replies: 7
Views: 328

Re: How to minimize SD card write accesses

Thanks - I'll be monitoring those files for a little while to get a better feel for the sizes.

Could you also comment on zwayrssidatajson and in what way it is generated and/or required?
by xurg
23 Aug 2020 10:11
Forum: Discussions in English
Topic: How to minimize SD card write accesses
Replies: 7
Views: 328

Re: How to minimize SD card write accesses

Thanks for responding, @piet66. You say zwayparsedPacketsjson and zwayoriginPacketsjson is intended for ZNiffer. From that I would gather that those files are not strictly needed for normal operation. What is the maximum Z-Wave packet size, ie. how big can those files grow with 5000 packets and woul...