Hello.
In ZUNO - Reference - zunoGetTimeStamp() example is the first remarks:
// This sketch uses TimeParameter command class to setup RTC value from controller.
// You have to call TimeParameter.Set according to you z-wave controller manual.
I don't understand how I call TimeParameter.set?
I have looked i Expert UI but I only sees how I change parameters on devices...
I have a Z-Uno ver2, rel 3.0.10, controller Razzberry 7 pro on a RaspBerry 4.
SDK version 7.15.00
Hope for help in this matter.
Razberry, Z-Uno, Timeparameter.set?
Re: Razberry, Z-Uno, Timeparameter.set?
So I think I figured out how to call TimeParameter.set
With help ofExpert UI I made this call:
http://192.168.50.71:8083/ZWave.zway/Ru ... s[139].Set()
And that updated the time.
Next problem is that the updated time is my location -1, means the time is showing one hour to much.
In Expert UI my location is right, how can I deal with this??
With help ofExpert UI I made this call:
http://192.168.50.71:8083/ZWave.zway/Ru ... s[139].Set()
And that updated the time.
Next problem is that the updated time is my location -1, means the time is showing one hour to much.
In Expert UI my location is right, how can I deal with this??
Re: Razberry, Z-Uno, Timeparameter.set?
Thank you.
I tried that and it worked perfekt, unfortunally the internal RTC drifts to much.
Is it possible to do the http://-call from z-Uno program?
In that case I can update internal rtc periodically.
I tried that and it worked perfekt, unfortunally the internal RTC drifts to much.
Is it possible to do the http://-call from z-Uno program?
In that case I can update internal rtc periodically.
Re: Razberry, Z-Uno, Timeparameter.set?
Thank you for answering.
Can you give me an example or hint of how I can use COMMAND_CLASS_TIME for this?
Can you give me an example or hint of how I can use COMMAND_CLASS_TIME for this?
Re: Razberry, Z-Uno, Timeparameter.set?
There is no example yet - the command class is not fully completed.
To use it, just do this:
Code: Select all
ZUNO_ENABLE(
WITH_CC_TIME
);
to reduce the update period, you need to specify the desired period in microseconds in the file ZWCCTime.cpp
Code: Select all
#define TIME_PERIOD_REPEAT ((uint64_t)8 * 60 * 60 * 1000 * 1000)//8 hours
Re: Razberry, Z-Uno, Timeparameter.set?
Thank you very much, i'll try that.
Re: Razberry, Z-Uno, Timeparameter.set?
Sorry for interruping again, I can't find any ZWCCTime.cpp.
Ther are ZWCCTimer.cpp and ZWCCTimerParametrs.cpp but niether of them contains:
#define TIME_PERIOD_REPEAT ((uint64_t)8 * 60 * 60 * 1000 * 1000)//8 hours
What have I done wrong?
Ther are ZWCCTimer.cpp and ZWCCTimerParametrs.cpp but niether of them contains:
#define TIME_PERIOD_REPEAT ((uint64_t)8 * 60 * 60 * 1000 * 1000)//8 hours
What have I done wrong?
Re: Razberry, Z-Uno, Timeparameter.set?
Are you sure you are on the latest beta from the repo and not on the stable?