Search found 57 matches

by perjar
27 May 2019 22:02
Forum: Z-Uno
Topic: millis() returns zero
Replies: 8
Views: 8175

Re: millis() returns wrong value

I have upgraded to 2.1.5 now. Same result. Let me adjust my initial problem statement: It also happens that millis() returns a value which is not zero, but it is lower than the previous call. My observations so far indicate that the millis() function is set back about 60 seconds from time to time. E...
by perjar
27 May 2019 15:11
Forum: Z-Uno
Topic: getter() called twice
Replies: 3
Views: 3438

Re: getter() called twice

I can confirm that in 2.1.5 there is only one call to the getter() function which reduces the number of messages by 50% from this device. A very welcome change!
by perjar
24 May 2019 17:46
Forum: Z-Uno
Topic: New 2.1.5 beta
Replies: 15
Views: 15950

Re: New 2.1.5 beta

I am not a superuser and have not tried any of the new fantastic features in 2.1.5 so I would be in a position to give any useful feedback on it. My only advise, but I am guessing you already have this covered, is to make sure that the reference documentation and code samples are updated when you re...
by perjar
24 May 2019 11:56
Forum: Z-Uno
Topic: New 2.1.5 beta
Replies: 15
Views: 15950

Re: New 2.1.5 beta

Thank you very much! Changing the call to the resetter function did the trick!

Running on 2.1.5 now and I am very happy to see that there is no duplication of z-wave messages anymore which offloads the network.
by perjar
22 May 2019 23:43
Forum: Z-Uno
Topic: New 2.1.5 beta
Replies: 15
Views: 15950

Re: New 2.1.5 beta

Hi, See source code attached. Error message: Preprocessing file: ZWSupport.cpp with SDCPP... Compiling ZWSupport_sdcpp_.cpp ... ZWSupport_sdcpp_.cpp:870:2:error:no matching function for call to 'resetter_power' uCxx returned error code:1 Some of the supplied sample sketches also generate compile err...
by perjar
21 May 2019 23:44
Forum: Z-Uno
Topic: New 2.1.5 beta
Replies: 15
Views: 15950

Re: New 2.1.5 beta

Getting precompiler error that I did not get in 2.1.4.
Do I need to fix anything in the tool chain?
by perjar
17 May 2019 23:56
Forum: Z-Uno
Topic: getter() called twice
Replies: 3
Views: 3438

getter() called twice

Dear Forum, Is it normal that the getter function is called twice everytime, or am I doing something wrong? My application is a power meter which sends readings to the controller every 2 minutes. When it is time to send a new report, the sketch prints line 1 below and then calls the zunoSendReport()...
by perjar
17 May 2019 16:34
Forum: Z-Uno
Topic: millis() returns zero
Replies: 8
Views: 8175

millis() returns zero

Dear forum, I have encountered an issue that I can't quite understand. The issue is that the millis() function sometimes returns 0 instead of the correct timestamp, only to continue to report the correct value in the next call. Over-simplified code for illustrational purposes: loop { currenttime = m...
by perjar
17 May 2019 16:23
Forum: Z-Uno
Topic: bug report Serial.print()
Replies: 3
Views: 3692

Re: bug report Serial.print()

Hi, Did you ever find out what the problem was? Perhaps my problem is related. I have found that millis() sometimes returns 0 instead of the correct value. The following code: loop { currenttime = millis(); Serial.println(currenttime); delay(2000); } Can give a printout like this: >341020 >343021 >3...
by perjar
29 Apr 2019 14:44
Forum: Z-Uno
Topic: What sort of casing?
Replies: 1
Views: 2386

What sort of casing?

Hi, I'm planning to build one of these: https://z-uno.z-wave.me/projects/rotary-dimmer-to-led-control/ but I can't find such a casing anywhere. Does anyone know where to buy or what this sort of enclosure might be called? box.png Or, perhaps they have just butchered a standard dimmer somehow and rip...