Reading about the configuration parameters in z-uno (64-96) it looks like they are undefined if not set.
https://z-uno.z-wave.me/z-wave/configur ... arameters/
This would be the case when a sketch reads these values for the very first time.
It would be great if I could assume that if a parameter has never been set, it has value zero.
I want to my sketch to be as robust as possible and don't act on parameter values which are random. Perhaps I am expecting the user to go into the controller and set some values. But before he has time to do that, the sketch will be up and running and will need a default value on these parameters.
Is there is a clever way for the sketch to "know" if a value has been set deliberately from the z-wave controller or if the parameter just contains random data?
Discussion about Z-Uno product. Visit http://z-uno.z-wave.me for more details.
1 post • Page 1 of 1