tuya-convert
tuya-convert copied to clipboard
[Suggestion] NixOS Firewall Troubleshooting
Small suggestion, but I noticed for running the Docker container from NixOS, I had to change my NixOS configuration to remove networking.firewall.enable = false;
and then rebuild. After doing so, my AP was able to distribute an IP address to my phone and I was able to flash. It might be worth noting this along with the lsof command to check for other services such as systemd taking up needed ports.
Hi @rendeko thanks for the suggestion. I won't be implementing this myself as I do not use docker or NixOS, but I'm happy to take a look at a PR if you would like to make this change yourself.
I'm uncertain if this has anything to do with docker itself, since the docker-container uses network: host and privileged: true, it should be similar if executing directly on the host. But I don't know NixOS in depth (we would need to test tuya without docker to know if this is a docker issue), I'll add a comment in the docker section to be aware of possible firewall-problems ...