<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/heating-up-nkxnbympr" -->

---
title: Heating Up | daily.dev
description: An open-source home automation project&#x27;s temperature conversion code uses hardcoded lookup tables mapping Celsius to Fahrenheit that don&#x27;t match the real...
canonical: https://daily.dev/posts/heating-up-nkxnbympr
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Heating Up | daily.dev
og:description: An open-source home automation project&#x27;s temperature conversion code uses hardcoded lookup tables mapping Celsius to Fahrenheit that don&#x27;t match the real...
og:url: https://daily.dev/posts/heating-up-nkxnbympr
og:image: https://api.daily.dev/og/posts/NKXNBYMpR.png
og:image:alt: Heating Up
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Heating Up

**[The Daily WTF](https://daily.dev/sources/thedailywtf)** · 4 min read · 0 upvotes · 0 comments

## Summary

An open-source home automation project's temperature conversion code uses hardcoded lookup tables mapping Celsius to Fahrenheit that don't match the real conversion formula, instead mimicking the quirky rounding used by mini-split IR remote controls. The author traces this oddity to remote microcontrollers likely lacking good floating-point support, which forces them to use approximate lookup tables baked into their firmware. The real culprit, the author jokes, is Fahrenheit itself.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://thedailywtf.com/articles/heating-up>

## Similar posts on daily.dev

- [High Temperature](https://daily.dev/posts/high-temperature-gnfbioeau) · The Daily WTF · 0 upvotes · 0 comments
- [WTF: Home Edition](https://daily.dev/posts/wtf-home-edition-u9gqxk85r) · The Daily WTF · 0 upvotes · 0 comments
- [Tricking An Air Conditioner Into Cooling](https://daily.dev/posts/tricking-an-air-conditioner-into-cooling-zlg2fcxwk) · Hackaday · 1 upvotes · 0 comments

---

Tags: [#general-programming](https://daily.dev/tags/general-programming), [#open-source](https://daily.dev/tags/open-source), [#c++](https://daily.dev/tags/c++)

[View this post on daily.dev](https://daily.dev/posts/heating-up-nkxnbympr)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Heating Up","url":"https://daily.dev/posts/heating-up-nkxnbympr","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/heating-up-nkxnbympr"},"datePublished":"2026-09-03T11:20:29.281Z","dateModified":"2026-09-14T06:33:37.459Z","description":"An open-source home automation project's temperature conversion code uses hardcoded lookup tables mapping Celsius to Fahrenheit that don't match the real...","image":"https://media.daily.dev/image/upload/s--ZrL_HSsR--/f_auto/v1722860399/public/Placeholder%2006","thumbnailUrl":"https://media.daily.dev/image/upload/s--ZrL_HSsR--/f_auto/v1722860399/public/Placeholder%2006","isAccessibleForFree":true,"articleSection":"The Daily WTF","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"The Daily WTF","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/d21a6aa61a7244d893a3b3284df8e2ef","url":"https://daily.dev/sources/thedailywtf"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/heating-up-nkxnbympr","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"general-programming,open-source,c++","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"The Daily WTF","item":"https://daily.dev/sources/thedailywtf"},{"@type":"ListItem","position":3,"name":"Heating Up"}]}
```

