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

[Feature request] Starting zigbee2mqtt without MQTT server #16590

Closed
schmurtzm opened this issue Feb 8, 2023 · 5 comments
Closed

[Feature request] Starting zigbee2mqtt without MQTT server #16590

schmurtzm opened this issue Feb 8, 2023 · 5 comments
Labels
feature request Feature request stale Stale issues

Comments

@schmurtzm
Copy link

schmurtzm commented Feb 8, 2023

Is your feature request related to a problem? Please describe

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.
It could be useful to have access to the UI to configure all the stuffs (COM port), MQTT server... when it is not well configured.

Related to : #11324

Describe the solution you'd like

Be able to run zigbee2mqtt when

  • MQTT server is unavailable
  • COM port is not well configured
  • a user extension contains an error

Describe alternatives you've considered

For now I install a useless MQTT server, fortunately the memory consumption of Mosquito is really small.

Additional context

Tested on Windows
Zigbee2mqtt 1.301

@schmurtzm schmurtzm added the feature request Feature request label Feb 8, 2023
@danieledwardgeorgehitchcock
Copy link
Contributor

danieledwardgeorgehitchcock commented Feb 9, 2023

The clue is sort of in the name of the project - Z2M uses MQTT as its backbone and it would take a lot of unpicking to change that.

The Zigbee Herdsman and Herdsman Converter projects (which Z2M uses as a backend) give a closer representation to your needs - these are decoupled from Z2M and could be referenced and extended in any project.

You may also want to look at the iobroker project which does just this.

@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, 2023
@junosuarez
Copy link

In the mean time, if you don't need to use the MQTT functionality but want a lower footprint than running Mosquitto, you can use a different MQTT server, like https://nanomq.io/ or https://www.npmjs.com/package/aedes

@github-actions github-actions bot removed the stale Stale issues label Mar 13, 2023
@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, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 19, 2023
@ghwaldo
Copy link

ghwaldo commented Jul 20, 2024

I agree with this request. Sometimes you are testing, and in my case while nr-server is updating, want to pair new devices.
And also, if the adpater is missing (i use zbbbridge pro) it should work further on and try to connect again.
Don't misunderstand, z2m is great work and i want to thank you for that.
But software, that is running like a deamon, should be error-tolerant as long as parts may work on. Here i.e. pairing of new devices works while mqtt-server is missing.

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

4 participants