Since i move from OH2 to OH3 i got an issue displaying in logs my temp using DHT 22
This is the script that i`m running to collect all the info, it looks like for last line soemthing is not good because after each variable " TEMP and HUMID" in logs i got a new line , any idea why ?
Return strings from shell commands almost always end in a newline character. If they didn’t then the standard output (what you see in the terminal) would be one long, run-on line and far less readable. The executeCommandLine function reliably returns the entire standard output of the command, so this would include the new line character at the end. Therefore, the culprit is your TEMP and HUMID variables.