Tuya vs. vendor specific integration

I was looking for a dehumidifier I could use with HA. Whatever I found was using Tuya. I would have preferred to not use Tuya. So I eventually chose the Stadler Form Lukas. On their web site they write:

If you have been using the “Smart Life – Smart Living” app from Tuya for your Stadler Form devices, you can continue to do so. … We recommend switching to the Stadler Form app, as it will be further developed to provide an even better experience in the future.

I understood this would likely not integrate with HA, as they’d be building their own. I asked them about an API, they responded “not at this time”. Oh well. I actually can live without an integration, it’s not that crucial.

I configured the device using their own app. Just seeing the localisation I immediately knew that’s nothing they implemented themselves. Checking Pi-Hole I saw a lot of chinese domains being contacted… pointing at Tuya servers! So they seem to still be using Tuya. I even found the user code in their app. Alas - the HA Tuya integration would not accept that user code.

So I decided to give the Tuya app a try anyway - my data would land there anyway, whether I’d be using the Tuya app or Stadler’s. That immediately worked with the HA integration.

Now my question is: what would be needed from the HA Tuya integration to play nice with such customised Tuya apps? I bet it’s only some client ID or something that changes, but the API is exactly the same.

Michael

Hi mherger,

There is also TuyaLocal and LocalTuya on GitHub Via HACS you could try.

Thanks for the hint. I’m already lost between just Tuya and one of the Local versions. Now you’re saying there are two of them?.. Reading up on this I was struggling to understand the on-boarding. There is so much partly contradictory information, it’s hard to get an understanding… I’m about to give in, put the device on the dehumidifier, uninstall the Tuya app from my phone, and let them have the data the device shares with them, but (hopefully) nothing else…

Is there an overview over TuyaLocal vs. LocalTuya?

They both have a github site. I personally use the one in HA not the custom ones, but each has devices it likes better.

Pick one, follow what it says. If it doesn’t do what you want remove that and try another. I started with the official one and it did all the light and switch things I needed, and I couldn’t care less for these if they are cloud based. (so far anyway)

Solid advise, thanks! The only “issue” I have with the official integration is that it only gives me 30/40/50% as choices for the dehumidifier. I’d like to have more steps. And reading the code I’m under the impression that somewhere there should be a free form number input, allowing 10-85%. But I can’t find it outside the code :smile: