I Made a Non-Wi-Fi Mitsubishi AC Smart with an ESP32

(medium.com)

49 points | by ichacas 2 days ago

7 comments

  • akifbayram 3 hours ago
    I’ve been working on a similar setup using the M5Stack NanoC6 and AtomS3 Lite, and put together a parts list and wiring guide on my site: https://serin-labs.com/parts.html.

    I also built a web flasher with firmware configured for those boards, so you can install directly from your browser without any fiddling or configuring. The ESPHome option uses the same echavet/MitsubishiCN105ESPHome project mentioned in the article. I also included a YAML generator for that project so you can more simply customize the config. There are also separate firmware options for HomeKit and Matter. https://serin-labs.com/flash.html https://serin-labs.com/esphome/generate-yaml.html

    I run Serin Labs and sell assembled kits and the cable separately.

    For anyone with City Multi, P series, or M series systems with a branch box, you may also be interested in a multi zone controller I’m developing: https://serin-labs.com/multi-zone-controller.html. It connects to the system’s communication bus, allowing one device to control all zones without needing a CN105 adapter at each indoor unit. It also exposes operating data such as refrigerant pressures, temperatures, power, compressor frequency, and fault codes, with everything running locally. Software is still in development.

    • cgrin 29 minutes ago
      The Nano is fine to connect directly because it has diodes on the data pins but the S3 Lite needs a level shifter or it'll eventually stop communicating with the air handler.
  • sippingabonedry 1 hour ago
    For anyone wondering why he would ever do this, it seems to be a type of hidden mini-split system used in euro-style shoebox flats, with a super-proprietary thermostat. Wi-Fi capability is an option at additional cost, but was not purchased.

    In the USA, wired thermostats tend to use standardized 24V wiring schemes, or 208V/240V for mains voltage heaters (electric heat, common on the west coast, especially in shitty apartments, central hot water/steam heating with 24V controls is more common on the east coast).

    • murderfs 17 minutes ago
      Most new construction with heat pumps are going to have use similar thermostats, both because of improved efficiency since the outside unit wants to know how much heating/cooling load is being requested, and more importantly, because builders are lazy and would rather use a battery-powered wireless option instead of running thermostat wires.

      Off the top of my head, Mitsubishi, Rheem, Lennox, and Carrier all have similar default options, with converter boxes for retrofits to 24V controls.

    • HeavenFox 31 minutes ago
      FYI this kind of thermostat is actually better. American style thermostat put your HVAC system in either on or off state (basically PWM), whereas this kind of communicating thermostat can tell the system what the temperature is, so they adjust power accordingly. I do wish they have standardized protocol though.
      • sippingabonedry 18 minutes ago
        Depends on your definition of better.

        It's a tradeoff I'm willing to make for simple, open I/O. It's not PWM but rather a "call" for heat, cooling, or fan. If I'm refinishing the wall I can (and have) put in a $3 thermostat in its place so I don't destroy the $300 one with paint and dust.

        It's also very easy to debug and repair, as I experienced on a day when the temperatures exceeded 100F and was able to execute an emergency repair myself.

        If companies like Nest and Ecobee were not allowed to exist, we would all be stuck with the overwhelmingly universally overpriced, proprietary garbage the OEMs put out.

    • Gigachad 1 hour ago
      I had this same control panel in Australia. The actual AC unit was part of the strata common property and I think somehow shared between multiple units on the floor.
  • userbinator 48 minutes ago
    My idea of HVAC is that it should be "set and forget", so "smart" is the polar opposite of what I want. The round Honeywell on the wall has been doing its job for the past few decades, and will likely last many more with only an occasional cleaning.
    • jonathanlydall 10 minutes ago
      For some people they may only opportunistically (perhaps they have excess PV production at that moment) run their AC or temporarily turn it off when they temporarily have other power demands at that moment (eg running dishwasher, washing machine, microwave, kettle, etc) and don’t want to pay for grid energy while doing so.

      “HVAC” is essentially not a thing in houses in South Africa likely due to having a mild climate, this also makes insulation in houses optional and mostly not done.

      So most people with AC here are probably using it as a luxury and will happily have it be off a little if it meaningfully reduces energy usage while still making their house noticeably more comfortable.

    • skolos 37 minutes ago
      If you have same schedule every week, don't go on vacation, your kids don't have breaks, don't have seasons, then 'set and forget' dumb thermostat will work for you without any problems. For the rest of us we need some 'smartness' in our thermostats.
      • userbinator 24 minutes ago
        You shouldn't need to change the temperature regardless of those things. My house remains at 68-72F basically all the time. Thermal cycling accelerates aging of materials.
    • porknubbins 38 minutes ago
      Isn’t this is only true with central air though? Most other types of ac are not full climate solutions to leave running all the time and need some manual control.

      At least that’s how I use the mini split in my garage. I have to remember to give it 15-20 minutes headstart before I use the garage or will be really hot.

      • sippingabonedry 9 minutes ago
        Check out Uncle Pennybags over here with AC in his garage...

        All "smart" t-stats can be used in "dumb" mode but the remote control and monitoring is really the killer feature. Scheduling and presence is meh, if you're obsessed with energy savings I guess.

  • spicypixel 15 minutes ago
    Anyone tried this on the Bosch units? Their WiFi module comes as an addon too.
  • nemosaltat 52 minutes ago
    I did a similar thing, heavily aided by Claude, after seeing the protart modules posted here on HN last year. https://github.com/samstevenm/minisplit-local-public

    Apologies for the Claudish, especially if anyone wades through the blog posts. I cringe when I reread them, but having some documentation on a working system is better than the ~none I was publishing before.

  • llsf 1 hour ago
    Does anyone know if this could be used to "cap" the AC settings ? It could be useful in an airbnb place, where I want to limit the lowest (e.g. 18 degres Celsius) or hottest (e.g. 22 degres Celsius) the guest can set the AC.
    • burner420042 27 minutes ago
      To answer your question, yes you could certainly do that and override what ever the physical thermostat was set to. You could also set max hours per day (kWh)for usage or adjust for variable rate plans. As with anything you'd need to test.

      Edit: Looking through the repo and the article I see nothing blocking you. You certainly won't break anything!

      • llsf 17 minutes ago
        Thanks! I don't think I would need to do max hour per day.
    • sippingabonedry 1 hour ago
      If you controlled the AC temperature remotely it's a great red flag to never rent that Airbnb. Some people like it cold when they sleep.
      • llsf 21 minutes ago
        I understand, and I could make it clear in the description that AC is capped at 18 degres C minimum (65F), so people who like it very cold could skip my airbnb.

        Some AC can go ridiculously low (http://news.bbc.co.uk/2/hi/uk_news/england/3144803.stm). I do not want to change the temperature remotely, I just want to not have the AC used to extremely cold temperature. I am fine to advertise it to weed of people who like it very cold.

  • globular-toast 1 hour ago
    I'm hoping to get a mini-split system installed soon and thought I might as well look for something with HA integration. It's not easy. Some manufacturers like Samsung actually want to charge you monthly for cloud integration! Completely out of the question obviously. I came across this, and Mitsubishi is supposed to be good anyway. I would prefer something that's actually supported but I can't seem to find any other options.

    I could also very easily wire my units in so no need for WiFi. Maybe I can find a wired ethernet module.

    • nemosaltat 2 minutes ago
      I used this guys thing https://clima.protoart.net/ after someone mentioned it in an HN comment last summer, then used claude to extend it this summer. A year in, I’m very pleased. Matter or thread would be nice, but these are super straightforward out of the box and totally local.

      The manufacturer documentation [0] for everything is great and it was perfect for my goal of getting them to show up in Savant as native thermostats [1] (likely beyond typical scope for split units).

      [0] https://protoart.net/knowledgebase/me_cn105_ata_wifi_http_ap... [1] https://github.com/samstevenm/minisplit-local-public

    • Gigachad 1 hour ago
      My ideal system would be something that does matter over thread with zero external internet access. Matter over thread devices are all standardized so no proprietary app required, and the newer iphones have a thread radio built in so you can control them without even a hub.
      • XorNot 12 minutes ago
        Wifi with a firewalled network is a lot easier to debug, which is how I do it in my house.

        There's no Internet from the IoT SSID.