-
-
Notifications
You must be signed in to change notification settings - Fork 1.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
feat: Onboarding #26608
base: dev
Are you sure you want to change the base?
feat: Onboarding #26608
Conversation
Interesting. Wasn't the frontend made to be pretty modeler from the z2m side? Or was I imagining that? I wonder if we can have multiple 'extensions' register particular URI. To this could become an |
I've taken a stab at this a few times in the past, this is the only design that appears to work on all fronts (without a massive refactoring). |
Motivation
Features
mqtt.base_topic
,mqtt.server
,mqtt.user
,mqtt.password
,serial.port
,serial.adapter
,serial.baudrate
,serial.rtscts
,advanced.log_level
,advanced.channel
,advanced.network_key
,advanced.pan_id
,advanced.ext_pan_id
,frontend.enabled
,frontend.port
,homeassistant.enabled
configuration.yaml
has invalid value(s) for setting(s) not present in onboard page (or somehow client-side failed to validate a setting properly)Close
button allows exiting the Z2M (nodejs) processconfiguration.yaml
file present (minimal default created automatically in background)database.db
to consider the install as "brand new" (also ifconfiguration.yaml
is missing)database.db
is not created, hence the onboarding will trigger again, allowing correctionZ2M_ONBOARD_NO_SERVER
Z2M_ONBOARD_URL
Z2M_ONBOARD_NO_FAILURE_PAGE
Z2M_ONBOARD_FORCE_RUN
GENERATE
for network configConfigurator
in docs)Other changes
index.js
to TS (more typing!)TODO:
http://localhost:8080
)configuration.yaml
creationZIGBEE2MQTT_CONFIG_HOMEASSISTANT_ENABLED
ENVZ2M_ONBOARD_FORCE_RUN