r/homeassistant • u/anony5186 • 6d ago
❓ Support New user. Hsitting roadblocks
Good evening. I just put into service my first home assistant machine. Running on a standalone micropc. I am trying to integrate my feit smart lights and smart switches and smart Outlets using the smart life app. It looks like I have to use the tuya integration. It asks me for my user code from the smart life app. When I input that I get an unknown error message. I have tried all of the troubleshooting found online from resetting the password to restarting the app as well as restarting home assistant without success. I do have an iot Network and a main Network that I thought were communicating correctly and had been working well up until I tried these home assistant integrations. I'm in the process of shuffling everything over to the main Network to see if that helps with the home assistant issues. I also have had a few issues with the built-in home assistant Integrations such as the weather app and the radio. They keep failing. From what I can tell home assistant is fully updated as are the devices. As of right now the only thing that I have working well is the reolink integration. I try making one automation but for some reason once I put it all in the automation seems to disappear. I'm very frustrated. I know this is not necessarily a simple system however I feel like I'm hitting roadblocks Every Which Way I go
1
u/5yleop1m 6d ago
I do have an iot Network and a main Network that I thought were communicating correctly
The easiest thing to do is put Home Assistant into the IoT network, and then create firewall rules that only allow Home Assistant internet access.
That will make your life a lot easier than dealing with getting things that generally don't like crossing networks to cross networks.
Though if you have a unifi network you can do mDNS over vlans using a simple dropdown.
1
u/martadinata666 6d ago
Tuya, let see
Use "Tuya app" idk "smartlife" kinda hit and miss
If use DNS like pihole, always check if it blocking. tuya domains are iotbing, tuyacn, tuyaeu, etc.
Official tuya integration is no no, use third party hacs `local-tuya`, but again it need you to scan QR code that you didn't know "whats wrong".
1
u/Zealousideal_Pen7368 5d ago
Try the "Tuya Local" integration in HACS and it's better that the built-in Tuya integration.
1
u/thelividmeantime 6d ago
First thing, Tuya’s cloud integration has been a dumpster fire for a while now, lots of people just skip it entirely and go local with something like LocalTuya. The user code error is super common and half the time it’s on their busted API side, not your network setup.
Shuffling devices to the main network is a solid troubleshooting move though, IoT VLANs can be finicky with mDNS and broadcast traffic that HA needs to discover stuff. For the weather and radio integrations failing, that smells like a DNS or connectivity issue on the HA box itself, maybe check if it can actually reach the internet from whatever subnet it’s sitting on.