Comments (13)
Seems to be working now with "mqttsecure": "insecure". Thanks!
from zigbee2mqttassistant.
@all-contributors please add RafhaanShah to ideas
from zigbee2mqttassistant.
I've put up a pull request to add @RafhaanShah! 🎉
from zigbee2mqttassistant.
Fixed! Done with PR #82. Please try it!
To use it, you just need to replace the true
by "insecure"
for the MqttSecure setting.
Note: the fix is present in Zigbee2MqttAssistant v0.2.0-dev.150+
from zigbee2mqttassistant.
That was super quick, thanks a lot for making the change and adding me to the contributors!
from zigbee2mqttassistant.
Hey, not sure if I'm mis-configuring something but I still seem to be getting the same error, I'm using v0.3.83 of the add-on, here's my config:
{
"settings": {
"mqttserver": "addon_core_mosquitto",
"mqttusername": "****",
"mqttpassword": "****",
"mqttsecure": "insecure",
"mqttport": 8883,
"basetopic": "zigbee2mqtt",
"HomeAssistantDiscoveryBaseTopic": "homeassistant",
"lowbatterythreshold": 25
}
}
from zigbee2mqttassistant.
I have the same error. I run it as a Docker Container and configured it with:
-e Z2MA_SETTINGS__MQTTSECURE=INSECURE
But it gives me the same error as mentioned by Rafhaan above.
from zigbee2mqttassistant.
Should work. Please try something...
This configuration should be case insensitive, but maybe it's not. Please try the following:
-e Z2MA_SETTINGS__MQTTSECURE=Insecure
from zigbee2mqttassistant.
It seems case sensitive is not the problem. It dont make a difference if i start with:
- INSECURE
- Insecure
- insecure
The Error only changes wenn i start with Z2MA_SETTINGS__MQTTSECURE=false. True and Insecure produces the same error.
from zigbee2mqttassistant.
Do you have an easy way to help me to reproduce this problem? Could be a docker-compose file, anyway...
from zigbee2mqttassistant.
No cause you have to generate all the certificate stuff. But i've found this:
https://github.com/mchestr/Secure-MQTT-Docker
I think its the fastest way to get a tls enabled mqtt up and running
from zigbee2mqttassistant.
To develop it I tried https://cloudmqtt.com/
by using just the IP address on the TLS port (instead of the correct name) to get a TLS negociation error.
Ok let me try this. It will have time later this week for that.
from zigbee2mqttassistant.
Hi,
I tried this your example with the last dev version for hass. 0.341. But I always have the error :
warn: Zigbee2MqttAssistant.Services.MqttConnectionService[0]
Unable to connect to MQTT server addon_core_mosquitto.
MQTTnet.Exceptions.MqttCommunicationException: The remote certificate is invalid according to the validation procedure.
How do you specify the trusted ca?
from zigbee2mqttassistant.
Related Issues (20)
- Setting the base_topic for the docker image? HOT 2
- Devices are recognized but stated as "No components" [BUG] HOT 12
- unresponsive s. X hours vs. MQTT last_seen HOT 1
- [BUG]Unable to connect to MQTT server mqtt HOT 23
- Bug after HA last update HOT 12
- unable to connect to mqtt server HOT 9
- Don't show "NO COMPONENTS" error if not running as a HomeAssistant instance. HOT 1
- Network Map not working HOT 5
- Zigbee2MqttAssitant unable to connect to mqtt server HOT 3
- Use more of the available screen space (especially in the map view)
- Longer timeout before showing as unresponsive
- [BUG] Sengled E21-N1EA reporting not supported HOT 4
- [BUG] Issue with Sonoff SNZB-02 unresponsive HOT 1
- [BUG] Slae.sh CC2652RB stick is not listed in device tab of zigbee2mqttAssistant HOT 1
- System.InvalidCastException: Null object cannot be converted to a value type. HOT 1
- [BUG] only partial connection to z2m HOT 5
- Thanks for this project
- releases needed to track changes
- [BUG] Cannot download lasted Docker image and Z2MA not linking to Z2M
- [BUG] crashes when the network drops HOT 2
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 zigbee2mqttassistant.