Skip to content
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

Frontend won't start without MQTT #11324

Closed
danielvandenberg95 opened this issue Feb 9, 2022 · 6 comments
Closed

Frontend won't start without MQTT #11324

danielvandenberg95 opened this issue Feb 9, 2022 · 6 comments
Labels
feature request Feature request stale Stale issues

Comments

@danielvandenberg95
Copy link

What happened?

@parshivets I believe the issue is that startup is blocked because it cannot to the MQTT server, please check your MQTT settings, you should see Connected to MQTT server in your logs

I'm currently in a bit of a situation where this is actually a slight issue.
Due to some remodeling work, power to my MQTT server is turned off.
I want to replace the wall plug to my server with a different one.
I can reach my Pi running zigbee2mqtt. However, I can not pair my new plug, because the interface won't start, because the MQTT server is down.

So, I vote for starting the frontend before connecting to MQTT.

Originally posted by @danielvandenberg95 in #4266 (comment)

What did you expect to happen?

Frontend to start up

How to reproduce it (minimal and precise)

Bring down MQTT
Start zigbee2mqtt

Zigbee2MQTT version

Ha ha very funny. "Can be found in the frontend -> settings -> about -> Zigbee2MQTT version"

Adapter firmware version

3.2.6.0

Adapter

CCsomething, but not related.

Debug log

Zigbee2MQTT:info 2022-02-09 12:34:50: Starting Zigbee2MQTT version 1.23.0-dev (commit #7fe803a)

Zigbee2MQTT:info 2022-02-09 12:34:50: Starting zigbee-herdsman (0.14.13)

Zigbee2MQTT:info 2022-02-09 12:34:51: Coordinator firmware version: '{"meta":{"maintrel":3,"majorrel":2,"minorrel":6,"product":0,"revision":20201127,"transportrev":2},"type":"zStack12"}'

@danielvandenberg95 danielvandenberg95 added the problem Something isn't working label Feb 9, 2022
@Koenkk
Copy link
Owner

Koenkk commented Feb 9, 2022

Due to the internal architecture, the frontend/z2m isn't able to function without being connected to an MQTT server. I therefore consider this a feature request to allow Z2M to start without being connected to a MQTT server. (people that are interested please 👍 the OP)

@Koenkk Koenkk added feature request Feature request and removed problem Something isn't working labels Feb 9, 2022
@github-actions
Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the stale Stale issues label Mar 12, 2022
@danielvandenberg95
Copy link
Author

Remove stale

@github-actions github-actions bot removed the stale Stale issues label Mar 13, 2022
@github-actions
Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the stale Stale issues label Apr 12, 2022
@Koenkk Koenkk removed the stale Stale issues label Apr 12, 2022
@github-actions
Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the stale Stale issues label May 13, 2022
@schmurtzm
Copy link

Hi, I recently tested the last version of zigbee2mqtt (I had an experience with the first early versions) , it was awesome to see that there's now a web interface but the most awesome feature that I see is the possibility to create user extensions : with these javascript script, MQTT server is really optional : I just want to trigger an http API of my own but it still require a mqtt server which is totally useless in my case.
So I think that this issue should be opened again to serve the user extensions feature which are a real alternative to the MQTT server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Feature request stale Stale issues
Projects
None yet
Development

No branches or pull requests

3 participants