faq
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
faq [2023/10/24 08:23] – [MQTT issues] emozolyak | faq [2024/04/03 08:14] (current) – [Resetting project from network settings] emozolyak | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Frequently Asked Questions (FAQ) ====== | ||
===== Screens, Dashboard visualization ===== | ===== Screens, Dashboard visualization ===== | ||
Line 116: | Line 115: | ||
{{ : | {{ : | ||
- | ====== Data export | + | ===== Data export ===== |
===== Using ready tools for data export ===== | ===== Using ready tools for data export ===== | ||
Line 132: | Line 131: | ||
====== MQTT issues ====== | ====== MQTT issues ====== | ||
+ | ===== Values type conversion ===== | ||
+ | ==== Can not get required precision on internal register when copying data from MQTT ==== | ||
+ | |||
< | < | ||
- | Question: | + | I have a MQTT string value, coming from a MQTT connection. When I copy this register to internal WebHMI register, |
+ | the fraction part is lost, e.g. " | ||
</ | </ | ||
- | <WRAP center round help 100%> | + | **Answer: |
- | I have a MQTT string value, coming from a MQTT connection. When I copy this register | + | You have to set Double Word, float IEEE754 type for the register. Use this script to copy the MQTT value to internal |
- | </ | + | |
+ | <code lua> | ||
+ | function main (userId) | ||
+ | local mqttValue = R(1) ; INFO(mqttValue) ; INFO(type(mqttValue)) | ||
+ | local floatValue = tonumber(mqttValue) | ||
+ | W(2, floatValue) | ||
+ | end | ||
+ | </ | ||
+ | |||
+ | Register setup example: | ||
+ | {{: | ||
+ | |||
+ | Use debug console to test your scripts: | ||
+ | {{: | ||
====== Level2 ====== | ====== Level2 ====== | ||
Line 148: | Line 163: | ||
Please refer to this [[connect_iot_device_to_l2|article]]. | Please refer to this [[connect_iot_device_to_l2|article]]. | ||
+ | |||
+ | ====== Compatibility issues ====== | ||
+ | ==== Resetting project from network settings ==== | ||
+ | |||
+ | < | ||
+ | Can not login after fw upgrade. | ||
+ | </ | ||
+ | Sometimes you may upgrade your WebHMI to the newer version with the old project on it. In some cases, depending on your firmware combinations you may not login successfully into the system. You can reset WebHMI project from the network settings then. | ||
+ | |||
+ | After that, restore the backup again. | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | |||
+ | ====== Networking ====== | ||
+ | ===== Wifi ===== | ||
+ | |||
+ | < | ||
+ | Question: Can I add more than one WiFi client connection? | ||
+ | </ | ||
+ | Yes, you can. But only one of them can be active at the moment. | ||
+ | |||
+ | ===== Access over HTTPS ===== | ||
+ | |||
+ | < | ||
+ | Question: Can I access WebHMI via HTTP protocol? | ||
+ | </ | ||
+ | When you access it via Level2 http proxy service, https is provided by the Level2. | ||
+ | However if you do need https directly, this can be done individually. Please provide access to the device for our service. | ||
+ | |||
+ | |||
faq.1698135825.txt.gz · Last modified: 2023/10/24 08:23 by emozolyak