I'm trying to get this running to remove the handful of Tasmota devices from my main network.
Couple of light globes I wanted to change their own colour temperature based on time of day, and some power points for heaters and such that I want to turn themselves off after N mins of activity regardless of how they were turned on and whether the network's even working.
Problem I'm running into is that the range is terrible, despite this hardware being able to connect WiFi with far better range.
I started looking into whether I could increase the txpower and got stuck down a rabbit hole with not being able to set the correct regulatory domain.
I'm in Australia, so I should get the 'AU' regulatory domain, in theory I should be able to just set the hostapd.conf override of country_code=AU but that's not working. I've manually run iw reg set AU, but that's not helping either.
I even went and added cfg80211.ieee80211_regdom=AU to cmdline.txt and options cfg80211 ieee80211_regdom=AU to modprobe.d
The closest I'm getting is the system's "global" reg being set correctly, but not the physical device's per:
I'm not getting any errors when setting any of this, it seems everything is working as intended, and just not setting what I want.
In my regulatory domain I should be able to increase the txpower to 30dBm, but I'm stuck with 20dBm because of this.
Although I'm still not sure if that will actually be enough to solve my problem, it seems like a good first step since the WiFi module is built-in and I'd rather avoid another USB dongle and pringles cantenna
I also tried just using nmcli to set up the built-in NetworkManager as a hotspot, but that's failed due to lack of dnsmasq, and a bunch of apparmor rules around what iptables commands the built-in NetworkManager can run.
That's a whole other thing I might later raise with home-assistant/operating-system though.
I'm trying to get this running to remove the handful of Tasmota devices from my main network. Couple of light globes I wanted to change their own colour temperature based on time of day, and some power points for heaters and such that I want to turn themselves off after N mins of activity regardless of how they were turned on and whether the network's even working.
Problem I'm running into is that the range is terrible, despite this hardware being able to connect WiFi with far better range. I started looking into whether I could increase the txpower and got stuck down a rabbit hole with not being able to set the correct regulatory domain. I'm in Australia, so I should get the 'AU' regulatory domain, in theory I should be able to just set the hostapd.conf override of
country_code=AU
but that's not working. I've manually runiw reg set AU
, but that's not helping either. I even went and addedcfg80211.ieee80211_regdom=AU
to cmdline.txt andoptions cfg80211 ieee80211_regdom=AU
to modprobe.dThe closest I'm getting is the system's "global" reg being set correctly, but not the physical device's per:
I'm not getting any errors when setting any of this, it seems everything is working as intended, and just not setting what I want.
In my regulatory domain I should be able to increase the txpower to 30dBm, but I'm stuck with 20dBm because of this. Although I'm still not sure if that will actually be enough to solve my problem, it seems like a good first step since the WiFi module is built-in and I'd rather avoid another USB dongle and pringles cantenna
I also tried just using
nmcli
to set up the built-in NetworkManager as a hotspot, but that's failed due to lack of dnsmasq, and a bunch of apparmor rules around what iptables commands the built-in NetworkManager can run. That's a whole other thing I might later raise with home-assistant/operating-system though.