mqtt
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
mqtt [2020/06/15 09:44] – atolstov | mqtt [2023/02/13 15:39] (current) – [JSON Fetch tool in the WebHMI registers configuration] emozolyak | ||
---|---|---|---|
Line 6: | Line 6: | ||
In version 4.0 WebHMI has the ability to work in both Broker and Publisher/ | In version 4.0 WebHMI has the ability to work in both Broker and Publisher/ | ||
- | {{ :: | + | {{ network: |
The setup pages is similar to other connections setup and there is a MQTT tab for specific settings: | The setup pages is similar to other connections setup and there is a MQTT tab for specific settings: | ||
- | {{ :: | + | {{ network: |
- | {{ :: | + | {{ network: |
- | In the MQTT tab you set credentials neccessary to connect to the client. If you leave them emty, the client will connect to internal broker. | + | In the **MQTT tab** you set credentials neccessary to connect to the client. If you leave them emty, the client will connect to internal broker. |
- | {{ :: | + | <WRAP center round important 60%> |
+ | Please note that for TLS type authentification you'' | ||
+ | </ | ||
+ | |||
+ | {{ network: | ||
The internal brokder have to be switch on in the settings menu: | The internal brokder have to be switch on in the settings menu: | ||
- | {{ :: | + | {{ network: |
+ | |||
+ | ===== JSON Fetch tool in the WebHMI registers configuration ===== | ||
+ | |||
+ | With this tool you can exract values by its keys from JSON structures read as String right in the WebHMI register configuration. | ||
+ | |||
+ | The usage scheme is as follows: | ||
+ | {{ : | ||
+ | |||
+ | Let's suppose you have a JSON value received from 7bit AirPoint module: | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | To extact individual values from this register, you just clone it and then set the checkbox in the new register properties, type in the key needed and select appropriate type for the final value (int, float, string etc.) | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Now your registers for individual JSON keys are ready: | ||
+ | |||
+ | {{ : | ||
mqtt.1592214262.txt.gz · Last modified: 2020/06/15 09:44 by atolstov