Comments (3)
I left those out by design. You can set the network SSID/PWD in the interface using the "W" command (which saves it in NVS storage) but you can't set it directly in the code. I know it's common practice, and the Arduino IDE even supports a "secrets" tab. But in an open-source environment where everybody shares their code, and people send me sketches to debug, I wanted to avoid the issue of someone accidentally posting their password in a sketch for everyone to see.
Same thing with the Setup Code. In most HomeKit libraries this is included in the sketch. In HomeSpan this is only set via the interface, and a hashed version, rather than the actual setup code, is saved in NVS storage (per HAP requirements).
from homespan.
I support the current design, and reasons for it.
Even so, it would be interesting to hear more from OP about what they'd hoped to use it for, and whether existing methods (CLI, Homespan Wifi Access point) are insufficient for them. Could you say more, @flashspys?
In my own experience with HomeSpan, this was an early stumbling block for me. The use of the CLI to setup wifi is a critical step, and I don't think its importance is currently mirrored in the docs.
from homespan.
I created a new FAQ page and added this as the first question.
from homespan.
Related Issues (20)
- ESP32-H2 - Thread/Matter Support? (feature/enhancement) HOT 2
- Peer to Peer Communication HOT 8
- Support for Orvibo, Sonoff NSPanel Pro/NSPanel and/or any other touch screen? HOT 1
- Multiclicks SpanButton HOT 2
- When restarting after a power failure, the ESP32 will no longer reconnect to WIFI HOT 5
- Pushbutton ON/OFF
- Weblogs keeping TCP connections open HOT 3
- NTP Libraries reboot the device HOT 4
- Sodium FATAL ERROR v3 : HomeSpan\src\HAP.cpp:29:20: fatal error: sodium.h: No such file or directory HOT 1
- M2: Accessory -> iOS Device – ‘SRP Start Responseʼ code HOT 2
- Expected behavior of using setPortNum() with weblogs? HOT 5
- Help needed: GPIO output gpio_num error HOT 4
- esp switch goes abruptly unreachable HOT 3
- setWifiCallbackAll HOT 6
- Issue with library update HOT 2
- FATAL ERROR after installing to 1.9.0 HOT 3
- ESP32-C3 Mini Development Board not able to connect to WiFi HOT 1
- LED strip with WS2811 controller HOT 31
- Color wheel is inverted HOT 5
- HomeSpan 1.9.0 take more flash than 1.8.0 HOT 16
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homespan.