You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Adam, many thanks for your code which I use with a Tracer 2210AN.
In my cabin, the temperature can fall below zero C in winter. I found the Tracer encodes negative values in 2's complement. To display temperatures correctly, I replaced the /100 Range nodes after Tbatt and Tcase with Function nodes, with the following code:
var t = msg.payload;
if (t >> 15) {
t -= 1 << 16;
}
msg.payload = t/100;
return msg;
The text was updated successfully, but these errors were encountered:
Hi Adam, many thanks for your code which I use with a Tracer 2210AN.
In my cabin, the temperature can fall below zero C in winter. I found the Tracer encodes negative values in 2's complement. To display temperatures correctly, I replaced the /100 Range nodes after Tbatt and Tcase with Function nodes, with the following code:
The text was updated successfully, but these errors were encountered: