Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. General Discussion
  3. Control Heatpump via Serial

Control Heatpump via Serial

Scheduled Pinned Locked Moved General Discussion
3 Posts 2 Posters 731 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • sfozzS Offline
    sfozzS Offline
    sfozz
    wrote on last edited by
    #1

    Hi Folks,

    just trying to figure out how to get started with controlling a heatpump via a serial connection. I've found this blog entry which is my starting point. At the moment I'm unsure if I can connect the hardware serial of a pro mini to the heat pump and be able to debug it. Or would this require the use of a software serial port, or even springing for a board with more than one serial

    Any pointers in the correct direction appreciated

    sfozz

    https://nicegear.nz/blog/hacking-a-mitsubishi-heat-pump-air-conditioner/

    1 Reply Last reply
    0
    • B Offline
      B Offline
      bjacobse
      wrote on last edited by
      #2

      I use this setup:
      https://www.domoticz.com/wiki/ESPEasy_Aircondition_Inverter_IR_control

      check if your heatpumps protocol is supported:
      https://github.com/ToniA/arduino-heatpumpir

      1 Reply Last reply
      0
      • sfozzS Offline
        sfozzS Offline
        sfozz
        wrote on last edited by
        #3

        Hi,

        So as I see it I would need to use the hardware serial for the connection to the heatpump and then create a software serial for debug messages. So something like this:

        #include <SoftwareSerial.h>
        SoftwareSerial mySerial(10, 11); // RX, TX
        
        // Enable debug prints
        #define MY_DEBUG
        #define MY_DEBUGDEVICE mySerial
        #define MY_BAUD_RATE 9600
        

        So the next question is how to present the heatpump to the gateway. Would you create one child id and then define each type of sensor/metric or is there a one-to-one mapping:

        #define CHILD_HVAC 0
        
        MyMessage msgHvacStatu(CHILD_HVAC, V_STATUS); // Status: ON, OFF
        MyMessage msgHvacSTemp(CHILD_HVAC, V_TEMP);    // Set Temp
        MyMessage msgHvacRTemp(CHILD_HVAC, V_TEMP);    // Room Temp
        MyMessage msgHvacFanSp(CHILD_HVAC, V_HVAC_SPEED);    // Fan Speed
        

        or

        #define CHILD_HVAC_STATUS 0
        #define CHILD_HVAC_STEMP 1
        #define CHILD_HVAC_RTEMP 2
        #define CHILD_HVAC_FANSP 3
        
        MyMessage msgHvacStatu(CHILD_HVAC_STATUS, V_STATUS); // Status: ON, OFF
        MyMessage msgHvacSTemp(CHILD_HVAC_STEMP, V_TEMP);    // Set Temp
        MyMessage msgHvacRTemp(CHILD_HVAC_RTEMP, V_TEMP);    // Room Temp
        MyMessage msgHvacFanSp(CHILD_HVAC_FANSP, V_HVAC_SPEED);    // Fan Speed
        
        1 Reply Last reply
        0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        23

        Online

        12.0k

        Users

        11.2k

        Topics

        113.4k

        Posts


        Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • MySensors
        • OpenHardware.io
        • Categories
        • Recent
        • Tags
        • Popular