-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhancement reqest: Show AP Mac address #329
Comments
look at the output of status6 it includes client, which contains the last 6 of
the mac address (and since the first 6 will be the same for every sonoff, this
should be sufficient)
|
Hi David, this is not what I requested. The clientID is fine and need no extra implementation. The function WiFi.BSSIDstr(); give you the MAC address of the Wifi Access Point the client is connected to. This is something different. I have 6 Accesspoint and therefore it is sometimes not easy to understand why RSSI is that low, if you don't know, which AP is really connected. This information is currently not included. |
Just add a pull request and @arendst will decide or not to include it in the next release |
Implemented in next release |
4.1.3 20170410 * Add user configuarble GPIO to module S20 Socket and Slampher * Add support for Sonoff SC (#112) * Set PWM frequency from 1000Hz to 910Hz as used on iTead Sonoff Led firmware (#122) * Set Sonoff Led unconfigured floating outputs to 0 to reduce exceptions due to power supply instabilities (#122) * Add Access Point Mac Address to Status 11 and Telemetry (#329) * Fix DS18B20 negative temperature readings (#334)
4.1.3 20170410 * Add user configuarble GPIO to module S20 Socket and Slampher * Add support for Sonoff SC (#112) * Set PWM frequency from 1000Hz to 910Hz as used on iTead Sonoff Led firmware (#122) * Set Sonoff Led unconfigured floating outputs to 0 to reduce exceptions due to power supply instabilities (#122) * Add Access Point Mac Address to Status 11 and Telemetry (#329) * Fix DS18B20 negative temperature readings (#334)
4.1.3 20170410 * Add user configuarble GPIO to module S20 Socket and Slampher * Add support for Sonoff SC (#112) * Set PWM frequency from 1000Hz to 910Hz as used on iTead Sonoff Led firmware (#122) * Set Sonoff Led unconfigured floating outputs to 0 to reduce exceptions due to power supply instabilities (#122) * Add Access Point Mac Address to Status 11 and Telemetry (#329) * Fix DS18B20 negative temperature readings (#334)
4.1.3 20170410 * Add user configuarble GPIO to module S20 Socket and Slampher * Add support for Sonoff SC (arendst#112) * Set PWM frequency from 1000Hz to 910Hz as used on iTead Sonoff Led firmware (arendst#122) * Set Sonoff Led unconfigured floating outputs to 0 to reduce exceptions due to power supply instabilities (arendst#122) * Add Access Point Mac Address to Status 11 and Telemetry (arendst#329) * Fix DS18B20 negative temperature readings (arendst#334)
4.1.3 20170410 * Add user configuarble GPIO to module S20 Socket and Slampher * Add support for Sonoff SC (arendst#112) * Set PWM frequency from 1000Hz to 910Hz as used on iTead Sonoff Led firmware (arendst#122) * Set Sonoff Led unconfigured floating outputs to 0 to reduce exceptions due to power supply instabilities (arendst#122) * Add Access Point Mac Address to Status 11 and Telemetry (arendst#329) * Fix DS18B20 negative temperature readings (arendst#334)
4.1.3 20170410 * Add user configuarble GPIO to module S20 Socket and Slampher * Add support for Sonoff SC (arendst#112) * Set PWM frequency from 1000Hz to 910Hz as used on iTead Sonoff Led firmware (arendst#122) * Set Sonoff Led unconfigured floating outputs to 0 to reduce exceptions due to power supply instabilities (arendst#122) * Add Access Point Mac Address to Status 11 and Telemetry (arendst#329) * Fix DS18B20 negative temperature readings (arendst#334)
Small request to add the AccessPoint MAC address in the feedback of:
void state_mqttPresent(char* svalue, uint16_t ssvalue)
String routerMAC;
routerMAC = WiFi.BSSIDstr();
snprintf_P(svalue, ssvalue, PSTR("%s, "Wifi":{"AP":%d, "SSID":"%s", "RSSI":%d, "ApMAC":"%s"}}"),
svalue, sysCfg.sta_active +1, sysCfg.sta_ssid[sysCfg.sta_active], WIFI_getRSSIasQuality(WiFi.RSSI()), routerMAC.c_str() );
With this enhancement I can check to which of my AP the thing is finally connected. They all have the same SSID. Therefore the MAC is the only working identifier.
The text was updated successfully, but these errors were encountered: