Replies: 4 comments 24 replies
-
That's over complicated
|
Beta Was this translation helpful? Give feedback.
-
That's a good point. HASPmota takes only integers indeed, but we had never the case of floating point before. I can add this automatic rounding in HASPmota code |
Beta Was this translation helpful? Give feedback.
-
With this it doesn't work OK....
Yes, for example 29.9C is 30C not 29C.... |
Beta Was this translation helpful? Give feedback.
-
It's now in development branch |
Beta Was this translation helpful? Give feedback.
-
As I've read, Haspmota uses int. To have better results, now I use the below for rounding the values:
Is there a better way for doing this? Or maybe there is a way to pass floats, doubles to Haspmota val, from Berry?
Irrelevant: Is there a limit to how many subcribes we do in berry? Can it handle 100-200 subscriptions for example?
Beta Was this translation helpful? Give feedback.
All reactions