Skip to content

IoT: PirMotionSensor is also a WiFi accesspoint #14

@tingox

Description

@tingox

We have discovered that ESP32 devices (like ESP8266 etc.) defaults to client + AP (accesspoint) at least when configured as a client (WiFiClient) with Arduino IDE. Usually, you don't want an extra AP when you set up a IoT device that only works as a client. To fix the problem you need to add the line

WiFi.mode(WIFI_STA);

when setting up the wireless in your Arduino code.
The current PirMotionSensor code needs this fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions