-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Temperature display below freezing #2
Comments
I changed switchbot-advertising.js as below. _parseServiceDataForWoSensorTH(buf) {
} Below in Japanese. |
Thank you so much for your code. It's really helpful. I'll try the code too. I hope it'll get cold tonight :) [Japanese translation] |
Thank you for testing your code. I tested the updated code too. Fortunately, the temperature dropped to -1.2 degrees in my town. It worked well. I published the latest version. I tweaked your code so that it is easy to read for me. Thank you again. |
Thank you for your works. Additional comments in Japanese |
When I got temperature from switchbot advertising data.
I got the following data. for example, -127.9 deg C it may be -0.1 deg C
( 0 - 128 ) + 1 / 10 = -127.9
Currently, I arrange code. and check it.
I'm not familiar with English. I add some Japanese comments.
氷点下の温度表示がおかしくなるようです。コードを見ると、氷点下では補数のデータ出力を
期待しているようですが、符号とデータを分けて掛け算する必要がありそうです。
コードを修正して確認中です。
The text was updated successfully, but these errors were encountered: