diff --git a/README.md b/README.md index 31574aa..8a78a9d 100644 --- a/README.md +++ b/README.md @@ -363,5 +363,18 @@ dashboard configuration in this repository: nix run .#mqtt-dash-listen > nodemcu/mqtt-dash.json ``` +### Troubleshooting + +The device `tasmota_0E63DE` couldn't connect to the Wi-Fi network. I believe +this is because the 2.4GHz and 5GHz networks share the same SSID. I flashed +the latest tasmota firmware (14.1.0) on the device and selected the 2.4GHz +connection with the command: + +``` +Wifi 3 +``` + +which corresponds to the Wi-Fi mode 802.11b/g (2.4 GHz). + [NixOSBootWifi]: https://nixos.org/manual/nixos/stable/#sec-installation-booting-networking [NixOSRemoteBuilds]: https://nixos.org/manual/nix/stable/advanced-topics/distributed-builds.html?highlight=builders#remote-builds diff --git a/nodemcu/provision.nix b/nodemcu/provision.nix index 64d94db..4498984 100644 --- a/nodemcu/provision.nix +++ b/nodemcu/provision.nix @@ -8,6 +8,10 @@ let # HC-SR501 PIR motion sensor # https://tasmota.github.io/docs/PIR-Motion-Sensors/ config-2c-3a-e8-0e-63-de = [ + { + cmnd = "Wifi"; + value = 3; # select explicitly the Wi-Fi mode 802.11b/g (2.4 GHz) for better connectivity + } { cmnd = "Template"; value = tasmota.template {