User Tools

Site Tools


faq

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
faq [2023/10/24 08:23] – [MQTT issues] emozolyakfaq [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:
 {{ :users:users-with-restricted-access-to-setup-menu.png?direct&800 |}} {{ :users:users-with-restricted-access-to-setup-menu.png?direct&800 |}}
  
-====== 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 ====
 +
  
 <code> <code>
-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. "36.6" becomes 36 or 36.0 if I try to set the precision.
 </code> </code>
  
-<WRAP center round help 100%> +**Answer:**  
-have a MQTT string valuecoming from a MQTT connectionWhen I copy this register to internal WebHMI register, the fraction part is lost, e.g. "36.6" becomes 36 or 36.0 if I try to set the precision. +You have to set Double Wordfloat IEEE754 type for the registerUse this script to copy the MQTT value to internal memory register. 
-</WRAP>+
  
 +<code lua>
 +function main (userId)
 +  local mqttValue = R(1)                   ; INFO(mqttValue) ; INFO(type(mqttValue))
 +  local floatValue = tonumber(mqttValue)   ; INFO("floatValue = " .. floatValue)
 +  W(2, floatValue)
 +end
 +</code>
 +
 +Register setup example: 
 +{{:iot:mqtt:type-conversion:mqtt-to-float-converstion-demo1.png?direct&800|}} 
 +
 +Use debug console to test your scripts: 
 +{{:iot:mqtt:type-conversion:mqtt-to-float-converstion-console-output.png?direct&800 |}}
  
 ====== 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 ====
 +
 +<code>
 +Can not login after fw upgrade.
 +</code>
 +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.
 +
 +{{ :network:management:webhmi-reset-from-net-settings_.png?direct&800 |}}
 +
 +
 +====== Networking ======
 +===== Wifi =====
 +
 +<code>
 +Question: Can I add more than one WiFi client connection? 
 +</code>
 +Yes, you can. But only one of them can be active at the moment. 
 +
 +===== Access over HTTPS =====
 +
 +<code>
 +Question: Can I access WebHMI via HTTP protocol? 
 +</code>
 +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

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki