MQTT-MAC-IP-mDNS (#1245)
This commit is contained in:
1 parent
1c62d74e56
commit
c4300a002f
21 files changed
+100
-100
No files matched your search
@@ -15,7 +15,7 @@ You are using ESP8266 or ESP32, for other boards TLS is not supported.
|
||||
### Configure secure connection in the gateway
|
||||
To enable the secure connection and use TLS set the `#define MQTT_DEFAULT_SECURE` to true.
|
||||
Set `MQTT_SERVER` to the Common Name (CN) of the certificate of the broker.
|
||||
This can be the hostname or the ip of the broker.
|
||||
This can be the hostname or the IP of the broker.
|
||||
|
||||
The CA certificate should be in PEM ascii format.
|
||||
If your CA certificate is not in the correct format or you don't know the format, use `openssl` to convert the certificate to the correct format.
|
||||
|
||||
@@ -78,8 +78,8 @@ https://github.com/marcelstoer/nodemcu-pyflasher/releases
|
||||
* Click on *FlashNodeMCU*
|
||||
The upload details appears.
|
||||
|
||||
With an ESP if you did not set your network and mqtt parameters manually you can now open the [web portal configuration](portal.md).
|
||||
With an ESP if you did not set your network and MQTT parameters manually you can now open the [web portal configuration](portal.md).
|
||||
|
||||
Note that to reset the wifi and mqtt settings you can check *yes, wipes all data*
|
||||
Note that to reset the wifi and MQTT settings you can check *yes, wipes all data*
|
||||
|
||||
[](https://hits.seeyoufarm.com)
|
||||
@@ -220,7 +220,7 @@ upload_flags =
|
||||
* Upload ➡️
|
||||
* You should see the logs in the serial monitor
|
||||
|
||||
With an ESP if you did not set your network and mqtt parameters manually you can now open the [web portal configuration](portal.md).
|
||||
With an ESP if you did not set your network and MQTT parameters manually you can now open the [web portal configuration](portal.md).
|
||||
|
||||
## API
|
||||
With the V0.9 we added the support of json for receiving and publishing.
|
||||
@@ -259,7 +259,7 @@ If you want to use HASS MQTT discovery you need to have
|
||||
uncommented.
|
||||
Added to that auto discovery box should be selected into your Home Assistant MQTT integration configuration.
|
||||
|
||||
With an ESP if you did not set your network and mqtt parameters manually you can now open the [web portal configuration](portal.md).
|
||||
With an ESP if you did not set your network and MQTT parameters manually you can now open the [web portal configuration](portal.md).
|
||||
|
||||
::: warning Note
|
||||
simpleReceiving on Arduino boards doesn't accept 64 bits MQTT values, you can only send 32bits values from the MQTT broker.
|
||||
|
||||
@@ -23,9 +23,9 @@ More info on [this topic](https://community.openmqttgateway.com/t/esp32-compilat
|
||||
|
||||
→ Verify your wiring
|
||||
|
||||
→ To eliminate issues of OpenMqttGateway or you home controller try uploading basic examples from the libraries directly (like [SendDemo](https://github.com/sui77/rc-switch/tree/master/examples/SendDemo) for RF or IRSendDemo for IR) and execute them. If it doesn't work this means that you have mostly an issue related with your hardware or due to IDE/library version used.
|
||||
→ To eliminate issues of OpenMQTTGateway or you home controller try uploading basic examples from the libraries directly (like [SendDemo](https://github.com/sui77/rc-switch/tree/master/examples/SendDemo) for RF or IRSendDemo for IR) and execute them. If it doesn't work this means that you have mostly an issue related with your hardware or due to IDE/library version used.
|
||||
|
||||
Regarding the IR led emitter you can replace it with a normal led and see if it light on when you send an mqtt command
|
||||
Regarding the IR led emitter you can replace it with a normal led and see if it lights up when you send an MQTT command
|
||||
|
||||
→ If you are only unable to receive RF on nodemcu (or if it only works when a serial connection is active):
|
||||
|
||||
@@ -49,7 +49,7 @@ Exception (2):
|
||||
Most probably a network issue, don't use a guest network and if going through a firewall check its rules. To put aside gateway issue, try to connect to a local broker on the same network.
|
||||
|
||||
## You don't see the messages appearing on your broker but they appears on the serial monitor
|
||||
This is due to a too small mqtt packet size, open User_config.h and set:
|
||||
This is due to a too small MQTT packet size, open User_config.h and set:
|
||||
`#define mqtt_max_packet_size 1024`
|
||||
|
||||
## Your Arduino with w5100 Ethernet shield does not connect to network until you press Reset button
|
||||
|
||||
Reference in new issue
Block a user