[FR] Add config settings for new MQTT mini server
See original GitHub issueEnvironment
- ShellyForHASS release with the issue: 0.1.9.beta2
- Last working ShellyForHASS release (if known): -
- Home Assistant Core release with the issue: 0.109.6
- Operating environment (Home Assistant/Supervised/Docker/venv): Docker
Describe the bug
Log trace about new MQTT mini server: port in use. Take care that I don’t have any other MQTT server in use, nor I need it.
Steps to Reproduce
Update to latest beta and check log
Expected behavior
No error in log
Screenshots
Traceback/Error logs
2020-05-19 17:25:07 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/shelly/__init__.py", line 185, in start_up
pys.start()
File "/usr/local/lib/python3.7/site-packages/pyShelly/__init__.py", line 129, in start
self._mqtt.start()
File "/usr/local/lib/python3.7/site-packages/pyShelly/mqtt.py", line 97, in start
self._init_socket()
File "/usr/local/lib/python3.7/site-packages/pyShelly/mqtt.py", line 103, in _init_socket
sock.bind((self._root.bind_ip, 9955))
OSError: [Errno 98] Address in use
Additional context
Would be nice to have MQTT mini-server disabled by default, and enable it only when necessary in rodere to limit necessary resources.
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Configuring MQTT Server (Broker) - Cradlepoint Connect
Under System > IoT, click on MQTT Server Connection. · Click ADD under Endpoint Configuration. · Enter the Name, Topic, and Router End...
Read more >How to configure an MQTT Mosquitto broker and enable user ...
Check out this video to learn how to set up your own MQTT broker!There's a new 2022 version available here:https://youtu.be/hyJhKWhxAxACheck ...
Read more >Store Messages From Mosquitto MQTT Broker Into SQL ...
1. Processor: Dual Core 1.0GHz
Memory: 512MB DDR3 RAM
Storage: Up to 2x 10TBUSB: 2x USB3.0
Network: 1x Gb port
OS: DiskStation Manager (DSM6.1) 2. Upon sucessful...
Read more >QT MQTT secure connection - Stack Overflow
I have setup a local mosquitto server; I can connect to it using QT (5.15.0) MQTT without SSL. Trying to configure it with...
Read more >Publish and Subscribe to a Channel Using Desktop MQTT Client
Configure the connection profile for the desktop MQTT client. 1) Click New Connection, or the plus (+) icon in the laft pane. ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
TThe built-in MTT server is not a full MQTT server and does not affect the performance if not used. This was just a test and we will add configuration to enable it etc. I also looking to use the integrated MQTT part of HA.
Then that is the reason. You can downgrade one instance to b1 for now.
Yes will add settings like that with default to off. I just want to see if it working for others than me first.
Can you change title to some thing like; Add settings for mqtt?