Finally got a Pioneer Heat Pump working in HA via Local Tuya (with some hacks)

image

Took quite a bit of effort! Temp reports in C, but is set in F. There’s an added zero appended to the set temp command (70F becomes 700F). I wanted everything local access as it’s in an RV and I don’t always have internet.

I also have Ray Jones afterburner working on MQTT (Diesel Heater) and wrote some blog articles around the HA setup in the RV: Modifying the Heat Pump for comfort (in the RV) – Ross Fisher

Next will be adding fan speed control to Local Tuya

1 Like

Can you confirm that this fork is different from the rospogrigio/localtuya master?

Github seems to indicate it is not different but I am having trouble trying to get my heat pump mini split to report correctly using the rospogrigio/localtuya.

Thanks.

I’ve been trying to get this to work with my Pioneer Diamante Ultra unit. It only seems to pair with the Pioneer Airlink app.

Working on an ESP32 replacement, follow along

Yeah actually I am also confused. Github seems to suggest that zorrobyte/localtuya is on par/up to date with rospogrigio/localtuya. Are you saying regular localtuya HACS integration already works with Pioneer WYT series mini splits? Thanks!

I know this post was a reply to my previous post but I am not sure I can answer your question as I think you need to direct the question to the OP.

I personally have not found the rospogrigio/localtuya integration or any fork of it to work for me (I have not tested it in quite a few months). I am using the Tuya Local integration (yes, Tuya Local, no Local Tuya), with some simple hacks to make it work for my mini-split (essentially an unbranded one).

1 Like

Can you share what hacks/workarounds you needed to apply to make Tuya Local work with the WYT mini split?

For me, this is how I got it to work with a workaround…

Firstly, are you able to add a device using Tuya Local? When you try to add a device, after entering in the required device ID’s, it will ask you to go through a list of supported items and select your mini-split/heat pump. My particular brand was NOT on the list, so for me, I chose the Daizuki heat pump from the list. The list of supported mini-splits is short so pick the one that gives you the closest support/seems to match up the required functionality/temperature/sensor outputs (for me, this was key).

Once the device was added, the next step for me was choosing the card that I could modify to give me the functionality I desired. For me, the standard Thermostat card for HA does NOT work. It will continue to display the incorrect temperature and I cannot work out how to modify it.

I have found either the “Simple Thermostat” card or the “Mushroom Thermostat” card to work for me, each with minor but different and easy modifications. It is through the modification of the cards, replacing the incorrect temperature data with sensor data (of the correct temperature in the correct format) that the “Daizuki heat pump” gave me by Tuya Local.

The Simple Thermostat card requires more modification than the Mushroom card. See below.

- type: custom:simple-thermostat
  version: 3
  entity: climate.dining_room_minisplit_f
  sensors:
    - entity: sensor.dining_room_minisplit_f_current_temperature
      id: temperature
      label: '{{ui.currently}}'
      template: '{{state.text}} {{unit_of_measurement}}'
- type: custom:mushroom-climate-card
  entity: climate.dining_room_minisplit_f
  style:
    mushroom-state-info$: |
      .secondary::after {
        content: " - {{ states("sensor.dining_room_minisplit_f_current_temperature") }} °F";
        }

I know it’s potentially confusing but hopefully it helps, let me know if you need more info.

1 Like

I have been playing around with this, and I found that “Starlight Heatpump” actually worked even better with my unit! With Daiziku, I also had the issue of displaying current temperature. When using Starlight, it seems to pick up the current temperature correctly, with the correct unit, and it still gives me all the options for fan speed, and louver controls.

I’ll look at that unit. The Tuya Local add on continues to have more and more devices added.