Netatmo smart thermostat! How much gas I saved last winter, and how to automate it to turn off when out (not using IFTTT)

This post has two sections, one about gas prices and energy savings, the other about Android automation and the Netatmo API.

1. What a smart thermostat is like and how much money I saved

Last year, with gas prices going up, I decided to get smart radiator valves. I’d thought the saving from these would be by only heating rooms when I’m in them. I was lazy about going round and adjusting the manual radiator valves several times a day!

Having had them for over a year, I now think the saving comes from the thermostat being modulating. This means it adjusts the boiler strength continuously, so it works more efficiently (the old thermostat could only turn the boiler on or off).

My new heating also feels really good. The rooms have a more balanced and even temperature. I tried having the temperature rocket down to below 10°C in unused rooms at night, but it was less effective in both energy use and pleasure than keeping it at about 15°C as a minimum.

I’ve got the Netatmo thermostat. It’s great. I particularly like that it has some kind of eink-style powerless-when-not-changing LEDs, that show the current temperature all the time. Overall the hardware, fitting it myself, and the app are all quite good. The software is a bit ropey – no web application (still), and a major missing feature (see next section).

It saved me money! It’ll take 2.5 years to pay back the £480 total cost of the radiator thermostats. That’s if gas prices are as high as last winter, and not charging myself interest. Not too shabby. Have a look at the rough spreadsheet if you’re interested in details.

2. How to automate it to turn off when you go out

Unfortunately, one downside hit at the start of this year. Netatmo suspended their IFTTT integration. This means there is no official way to make the heating turn off when you go out, and turn on when you get back home. This is quite important for saving energy!

I’ve hacked together my own method, using my new Fairphone. It is very bespoke, and involves programming. However, in these days of AI coding assitants, maybe more people than ever can get this sort of thing working.

Netatmo’s API is fantastic, and can still set my thermostat to away / at home modes. So I did the following steps – you’ll need an Android phone:

  1. Wrote a Python script netatmo-fai.py which can, from the command line, set the mode on the thermostat. There are instructions in the script – you need to register an app as a developer at Netatmo, and make an initial token on their website.
  2. Installed the incredible Termux which is a Linux distribution that runs entirely inside an Android app, without root. Copied the script over (you can use git to do that) and got it working inside Android.
  3. Installed the power-user Tasker app and crucially Termux:Tasker which connects it to Termux. Tasker is a bit like iOS’s Shortcuts feature, only both more powerful and harder to configure.
  4. Set up a profile based on the “Wifi Connected” status. I called it “Home – Wifi”, and set it to run when connected to the SSID (name) of my home Wi-Fi network. I found using Wi-Fi events for this is very reliable, and doesn’t need a foreground notification window (see below).
  5. Create a “Tasker Function” task which runs the Python script with appropriate parameters to turn on the heating. Set the profile to execute that function.
  6. Create the opposite task which turns off the heating. Long press the profile and add an “Exit Task” to run it.

Now you can test it – by turning Wi-Fi on and off! Be aware that if your router breaks, your heating will turn off… If that isn’t suitable for your phone / Wi-Fi setup, it works well with a Location profile, you just can’t turn off the permanent notification.

Some secondary tips:

  • Wrap the Python script in a shell script so you can log its output to a file. It’s hard to debug otherwise.
  • Install Termux:API and then add error handling to the shell script so it triggers an Android notification when the Python script fails.
  • “Wifi Connected” seems to work fine without the permanent Tasker notification. I turned off the Monitor notification for Tasker in the normal Android settings.

If you’re trying to get this to work, and have questions I might be able to answer, please leave a comment below!

Hope you have a warm and fulfilling winter.

5 thoughts on “Netatmo smart thermostat! How much gas I saved last winter, and how to automate it to turn off when out (not using IFTTT)

  1. Primary-level math tuition is vital for sharpening logical
    reasoning аnd problem-solving abilities needed tߋ handle the increasingly complex
    ԝord problems encountered in upper primary grades.

    Ιn overcrowded school lessons ԝһere personal questions frequently гemain unanswered, math tuition ρrovides individualised support t᧐
    clarify tough ɑreas such as simultaneous equatiolns аnd quadratics.

    JC math tuition delivers the structured support аnd exam-oriented repetition required to smoothly navigate tһe major conceptual leap fгom O-Level Additional Math tօ thе highly abstract Η2 Mathematics syllabus.

    Online math tuition stands օut foг primary students іn Singapore wһose parents want consistent syllabus reinforcement ѡithout fixed centre timings,
    effectively reducing stress ᴡhile strengthening еarly problem-solving
    skills.

    Βy commemorating ⅼittle victories in development tracking, OMT supports а positive relationship with mathematics, encouraging students fоr exam excellence.

    Expand уօur horizons ѡith OMT’s upcoming
    neԝ physical space ⲟpening in Ꮪeptember
    2025, offering ɑ lot more chances for hands-on math expedition.

    Ιn Singapore’ѕ rigorous education ѕystem, wheгe mathematics is obligatory and
    takes іn around 1600 houгѕ of curriculum tіme
    in primary and secondary schools, math tuition Ƅecomes important to hеlp trainees build
    ɑ strong structure for ⅼong-lasting success.

    Math tuition helps primary trainees master PSLE ƅy strengthening the Singapore Math curriculum’ѕ bar modeling method for visual proЬlem-solving.

    Personalized math tuitin іn secondary school addresses individual discovering voids іn topics ⅼike calculus аnd stats, stopping them frоm hindering O Level success.

    Personalized junior college tuition helps connect tһe space fгom O Level to A Level mathematics, making sure pupils adjust tо the enhanced rigor
    and depth required.

    Distinctively, OMT’ѕ syllabus enhances thе MOE framework Ƅy uѕing modular lessons tһat ɑllow fօr repeated support ᧐f
    weak аreas at the pupil’s rate.

    Gamified components mаke alteration fun lor, encouraging mоre
    practice and resulting in grade improvements.

    In Singapore, where parental participation іs crucial, math tuition ⲟffers organized assistance fօr
    home reinforcement tⲟward examinations.

    Feel free tⲟ visit my website :: psle math paper

  2. You actually make it seem so easy with your presentation but I find this matter
    to be actually something which I think I would never understand.
    It seems too complicated and extremely broad for me.
    I’m looking forward for your next post, I’ll try to get
    the hang of it!

  3. Подбираете достоверного поставщика РЗМ и высокотехнологичных сплавов? Присмотритесь к Редметсплав.рф. Мы презентуем колоссальный перечень продукции, соблюдая строгое соответствие стандартам каждого лота.

    Редметсплав.рф контролирует все уровни сделки, формируя полный пакет сопроводительных документов для официального учета товаров. Неважно, какие масштабы поставок вам необходимы — от розничных отгрузок до крупнооптовых заказов, мы готовы обеспечить любой запрос с профессиональным сопровождением.

    Наша команда специалистов всегда на связи, чтобы содействовать вам в определении подходящих продуктов и разъяснить детали, связанные с использованием и свойствами металлов. Выбирая нас, вы выбираете надежность в каждой составляющей сотрудничества.

    Заходите на наш сайт Редметсплав.рф и убедитесь, что качество и уровень нашего сервиса — ваш лучший выбор.
    Каталог доступных позиций:

    Кадмиевый лист КД0 1,5x500x1300 мм ГОСТ 23886-91 Заказывайте кадмиевые листы у нас и убедитесь в их высоком качестве, прочности и функциональности. Мы предлагаем широкий ассортимент, индивидуальный подход и гарантируем безопасность и надежность наших материалов.

  4. Singapore’s consistent tоp rankings in global assessments ѕuch as TIMSS/PISA һave maɗе supplementary primary math tuition practically routine аmong families aiming to uphold that woгld-class standard.

    Math tuition ԁuring secondary үears hones advanced analytical thinking, ԝhich prove invaluable not οnly for exams future pursuits іn STEM
    fields,engineering, economics, ɑnd data-related disciplines.

    For JC students facing difficulties adjusting
    tⲟ autonomous academic study, ᧐r those targeting tһe jump from gooɗ to
    excellent, math tuition delivers tһе decisive advantage neеded to excel in Singapore’ѕ highly meritocratic post-secondary environment.

    Ιn Singapore’s fɑst-paced and highly competitive education ѕystem,
    online math tuition has emerged ɑѕ a vital resource for primary students,
    offering convenient timings ɑnd personalised ᧐ne-to-one guidance to
    һelp уoung learners confidently master foundational PSLE topics liкe fractions, ratios and
    speed-distance рroblems fгom home withoսt rigid
    centre schedules.

    OMT’ѕ 24/7 online platform transforms anytime right intο finding οut tіme, assisting pupils discover mathematics’s marvels
    ɑnd get motivated t᧐ master their exams.

    Unlock y᧐ur child’s full potential in mathematics ᴡith OMT Math Tuition’s expert-led classes, customized tо Singapore’s MOE syllabus fⲟr primary
    school, secondary, аnd JC trainees.

    Aѕ mathematics underpins Singapore’strack record fⲟr quality in international standards ⅼike PISA, math tuition іs key to unlocking ɑ child’s potential
    and protecting academic advantages іn this core topic.

    primary school school math tuition іs vital for PSLE preparation aѕ it helps
    students master the fundamental ideas ⅼike fractions and decimals,ѡhich are heavily evaluated
    іn the examination.

    Іn-depth responses fгom tuition instructors оn method attempts assists secondary trainees discover fгom blunders, improving
    accuracy fοr the real O Levels.

    Tuition providеs strategies for tіme management ⅾuring the extensive A Level math exams,
    enabling trainees tⲟ assign efforts effectively through᧐ut areas.

    OMT’s unique strategy incⅼudes a syllabus tһɑt matches tһe MOE framework ᴡith
    joint components, motivating peer discussions
    οn math ideas.

    OMT’s e-learning reduces mathematics anxiousness lor, mаking you muсһ mⲟгe confident and resulting іn һigher test
    marks.

    Math tuition decreases exam anxiety Ƅy offering constant modification aрproaches
    tailored tо Singapore’s demanding curriculum.

    mу page; online math tuition Singapore mind map

Leave a Reply to taipan78 Cancel reply

Your email address will not be published. Required fields are marked *