[App][Pro] Danfoss Ally

@pendojoshua Thanks for all the work on this!

I have the same issue as Klemen and Odd Arne, on an Icon 1 system:

  • Icon Master Controller OTA (088U1141) + Icon Zigbee module (088U1130)
  • Danfoss Ally Gateway (014G2400)
  • Danfoss Ally app 1.3.8 on Homey Pro (2026), Homey (version: 13.5.3)

I’ve tested it on 1.3.8, and Homey always shows the “at home” temperature from the Ally settings, never the actual setpoint:

  • My test thermostat is set to Manual, and the Ally app shows it as Manual.
  • If I change the “at home” temperature in the Ally app (21 → 22 °C), Homey updates to 22 °C within a couple of minutes.
  • If I change the actual setpoint in the Ally app, Homey doesn’t change at all.
  • Writing works: if I set 18 °C in Homey, it changes right away in the Ally app and on the thermostat, and it stays at 18 °C there. But after 30-60 seconds Homey snaps back to the “at home” value.
  • I also tried a flow that switches the thermostat to At home and back to Manual. No change, Homey still shows the “at home” value.

According to your description, Manual mode should show the room’s current setpoint. But on my Icon 1 system Homey shows the “at home” value even when the room is in Manual. So maybe the gateway doesn’t report Manual mode for Icon 1, or the setpoint field is different?

Diagnostic report ID: 0473fbeb-7b49-458a-8c24-ca5737bce5c0

Happy to test more. Thanks!

Thanks for the log, very helpful!

So I’ve been working with my own setup at home instead of relying on your reports and AI findings. And I’m seeing the same behaviour. However: after waiting long enough (± 5-10 minutes) my Homey does read the state change from at_home to manual and vice versa.

A debug script I wrote to do manual reads from my devices also show that the valves (radiator knobs) have temperature settings in other API fields then the thermostat. Just trying to figure out if there’s any working combination:

It would be helpful already if anyone can validate that Homey does in fact read the right mode ± 10 minutes after changing it from the Ally app.

If so, this could mean that the “mode” isn’t synced to the API directly but is working locally on the Ally system before being pushed and readable for us on Homey. That would suck, but at least mean we’re not chasing an unfixable bug any longer.

/Edit: turned out that the API was rate limiting my requests while testing. This still means there is an expect delay when reading the mode but it shouldn’t be much higher then a minute once I’ve fixed this.

Good news: issue found.

The nasty thing about this bug is that it wasn’t in the code or in any of the devices. It turns out that the API endpoint that retreives all devices in bulk reported stale data for up to 15 minutes. I’m absolutely amazed by that decision by the developer(s) over there. Either the data shouldn’t be in the bulk call or it should be actual.

Luckily the API has a status endpoint for each device. This reports the correct setting instantly. I’ve tested this on both my Icon RT2 and radiator valves. I can’t guarantee yet how it works on older and other devices but I’ve replicated the bug in my own system and was able to fix those first. All modes: manual, at home, away, paused, holiday and holiday (at home) read correct now.

I’ve extended the logging of the application, so in case you see anything strange just do a diagnostic report and share the ID. The logs show the info I can work with. And I’ve added a device capability that shows the actual mode a device is current in whoch can be read from Homey.

Working on the update as we speak, it’ll be ready soon.

A new test build is available: version 1.4.1. Couldn’t get it auto approved so we have to wait on that for the store release.

Changes

  • Instead of bulk-reading device settings it now polls each device seperately, this gives us live readings instead of cached readings
  • The actual mode a thermostat or valve is in can now be read from the device card
  • The mode can be directly set from the device card now
  • Device temperatures used to have a minimum (5) and maximum (35) setting that were fixed. These are now limited to the values you configured in the device as min / max
  • When setting a temperature while a device is in a mode, it forces the device into manual mode. Which is similar to putting the device in manual mode before the dial is available in the Ally app

The device mode selector:

For what it’s worth: from my end it seems to be working as expected. I get the right readings in Homey and haven’t noticed any delays so far.

Hi again,

I’ve been testing this now over the weekend and it works fine so far. Excellent improvements! I did have an issue with a “ghost” in the app ver 1.3.7, changing the status in the system, switching it from vacation to at home out of the blue. No flow or Ally native app involved, it suddenly was set to a different mode.

This is gone now, it seems and units are stable reporting correct temperatures and modes so far :slight_smile:

Great work - Thanks!!!

/Odd Arne

Glad to hear that. Finally progress, haha.

Hi. I’m using the official Danfoss app to control an Ally as I don’t have a Danfoss gateway. Does anyone know if the Mounted state matters for the functionality?

Looking at the documentation it’s the mode you use when installing the thermostat. So I don’t think there’s a benefit of controling it via the app.