Add WiFi fast connect (#121)

This commit is contained in:
Otto Winter 2019-01-13 16:20:22 +01:00 committed by GitHub
parent 5c3db5ea3c
commit d7763dd850
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -65,6 +65,8 @@ Configuration variables:
seems to have issues with WiFi where a full reboot is required to get the interface back working. Defaults to ``5min``. seems to have issues with WiFi where a full reboot is required to get the interface back working. Defaults to ``5min``.
- **power_save_mode** (*Optional*, string): The power save mode for the WiFi interface. Defaults to no power saving. - **power_save_mode** (*Optional*, string): The power save mode for the WiFi interface. Defaults to no power saving.
See :ref:`wifi-power_save_mode` See :ref:`wifi-power_save_mode`
- **fast_connect** (*Optional*, boolean): If enabled, directly connects to WiFi network without doing a full scan
first. This is required for hidden networks and can significantly improve connection times. Defaults to ``off``.
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation. - **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
Access Point Mode Access Point Mode

View File

@ -234,6 +234,7 @@ not have a real solution.
Some steps that can help with the issue: Some steps that can help with the issue:
- Set the ``power_save_mode`` to ``light`` in the ``wifi:`` config. See :ref:`wifi-power_save_mode`. - Set the ``power_save_mode`` to ``light`` in the ``wifi:`` config. See :ref:`wifi-power_save_mode`.
- If you're using a hidden WiFi network, make sure to enable ``fast_connect`` mode in the WiFi configuration.
- Use the most recent version of th arduino framework. The platformio arduino package - Use the most recent version of th arduino framework. The platformio arduino package
always takes some time to update and the most recent version often includes some awesome always takes some time to update and the most recent version often includes some awesome
patches. See :ref:`esphomeyaml-arduino_version`. patches. See :ref:`esphomeyaml-arduino_version`.