This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Closed
Bug in temperature (number) speech.
OpenMind_NL
Member
I created a few flows that do an announcement everytime when the outside temperature or the room temperature goes up or down by 0.5 degrees Celcius. The sensors are Netatmo weatherstation + 2 extra indoor modules. Works fine.
However, yesterday and today I noticed something strange...
Today the outside temperature went down to -0.5 degrees Celcius and Homey tells me that the temperature went down to 0.5 (no minus).
Last night I thought I heard the same thing, but about an hour later Homey told me that the temperature went down to minus 1 degrees Celcius, so I thought I might have heard it wrong.
But when the same thing happened again today, I decided to check what Homey had said by asking; "Nog eens?" (personal flow), and again it said 0.5 without minus. So, I checked my string-variable 'lastWords' that stores every last thing that Homey said. The new Tag-thingy comes in very handy here... and it shows Logic: lastWords -> 'De buitentemperatuur is gedaald naar -0.5 graden' ... So, the minus is in the string, but Homey does say '0.5 graden' instead of 'minus 0.5 graden'.
Because Homey DOES say minus as soon as it's 1 or more degrees below zero, I guess the bug may only show up with numbers inbetween 0 and -1.
However, yesterday and today I noticed something strange...
Today the outside temperature went down to -0.5 degrees Celcius and Homey tells me that the temperature went down to 0.5 (no minus).
Last night I thought I heard the same thing, but about an hour later Homey told me that the temperature went down to minus 1 degrees Celcius, so I thought I might have heard it wrong.
But when the same thing happened again today, I decided to check what Homey had said by asking; "Nog eens?" (personal flow), and again it said 0.5 without minus. So, I checked my string-variable 'lastWords' that stores every last thing that Homey said. The new Tag-thingy comes in very handy here... and it shows Logic: lastWords -> 'De buitentemperatuur is gedaald naar -0.5 graden' ... So, the minus is in the string, but Homey does say '0.5 graden' instead of 'minus 0.5 graden'.
Because Homey DOES say minus as soon as it's 1 or more degrees below zero, I guess the bug may only show up with numbers inbetween 0 and -1.
This discussion has been closed.
Comments
Text: Temperatuur -0.5 graden.
- Homey will say "temperatuur nul punt vijf graden" .
Text: Temperatuur -0.99 graden.
- Homey will say "temperatuur nul punt negenennegentig graden" .
Text: Temperatuur -1 graden.
- Homey will say "temperatuur minus één graden" .
I just heard Homey say; "De buitentemperatuur is gedaald naar 1.5 graden Celcius" but when I take a look a the logic Tag that represents the spoken string variable, it really is "De buitentemperatuur is gedaald naar -1.5 graden Celcius"!
So the minus part is ignored.