Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
Table of Contents
maxLevel3
minLevel1
include
outlinefalse
indent
exclude
styledefault
typelist
printablefalse
class

...

  1. Copy the devices configuration file into the directory: /uwiotys/update_config/

  2. Create an empty file named "reboot" in directory "/update/". You can reboot with this method or with the reboot web interface button

Note

An electric reboot can corrupt the update process !

  1. After few minutes

    1. If the update failed, you will find information into the file: devices_updates_$DATE_ERROR.log

    2. If the update success, the file the devices configuration file is deleted and you will find the file: devices_updates_$DATE_SUCCESS.log

  2. The devices current configuration of µWiotys is available in the directory: /uwiotys/current_config/

...

Same process than before, see Upload configconfiguration and replace with the license_XXXXXXXX.json

...

Info

You can find the information in the file : uwiotys/log/uwiotys_functional.log.

How to know if the product has a license

Logs can be :

  • "No license found, µWiotys will not start. Please configure a valid license for your µWiotys gateway XXXXXXXX" when NO license is present.

  • "The license is VALID. µWiotys will start." when the product have Have a license.

How to know the license's type and state

...

type and state

Logs can contain :

  • "Check license success. license type SIMPLE - C [

    Status
    colourGreen
    titlecurrent
    ] license in use, out of M [
    Status
    colourRed
    titleMAX
    ] license." for the SIMPLE license.

  • "Check license success. license type: LISTED : L[

    Status
    colourPurple
    titletYPE
    ] " for the LISTED license.

...

Where

Status
colourGreen
titlecurrent
is the currently used number of sensors, M as
Status
colourRed
titleMAX
is the maximum possible sensors' number.
And L as
Status
colourPurple
titletYPE
is the list of authorized references.

How to know what outputs can be used with the current license

...

license

...

Logs contain :

Code Block
languagecpp
License allow user to activate the following output:
Modbus output:  true/false
Csv output: true/false
Http output:    true/false
Mqtt output:    true/false

...

  1. Replace the XXXXXXX of the provided file : XXXXXXXX_data.json to be the 8 lasts digits of µwiotys' EUI.

  2. Push the renammed renamed file to the configuration folder.

  3. Check that a file (XXXXXXXX_set_configuration_processed_ok) is created in the configuration folder. (TIPS: Don't forget to refresh, if the file isn't created please reboot the GW and restart from step 1)

  4. Push the file : uwiotys-update_1.3.0_klkgw.ipk to the update folder.

  5. Push the update file to the update folder.

  6. Check that a file (XXXXXXXX_update_processed_ok) is created in the update folder. (TIPS: Don't forget to refresh)

  7. Push the reboot file to the update folder.

  8. Check that a file (XXXXXXXX_reboot_processed_yy) is created in the update folder. (TIPS: Don't forget to refresh)

  9. Wait. (Take arround around 5 minutes to complete)

  10. If everything is ok, you must find in uwiotys/devices_current_config the following file : devices_date-time.json

...

  1. Push the file : uwiotys-update_2.x.x.xxxx.ipk to the update folder.

  2. Push the update file to the update folder.

  3. Check that a file (XXXXXXXX_update_processed_ok) is created in the update folder. (TIPS: Don't forget to refresh, if the file isn't created please reboot the GW and restart from step 1)

  4. Push the reboot file to the update folder.

  5. Check that a file (XXXXXXXX_reboot_processed_yy) is created in the update folder. (TIPS: Don't forget to refresh)

  6. Wait. (Take arround around 5 minutes to complete)

  7. Push the license to µwiotys, see how to in : Upload the license chapter.

  8. If everything is ok, you must find in the last part of uwiotys/log/uwiotys_functional.log the following line : The license is VALID. µWiotys will start.

From 2.x to 2.x and 3.x to 3.x

Warning upgration upgrade from 2.x to 3.x is not supported !

  1. Push the file : uwiotys-update_2.x.x.xxxx.ipk to the update folder.

  2. Push the update file to the update folder.

  3. Check that a file (XXXXXXXX_update_processed_ok) is created in the update folder. (TIPS: Don't forget to refresh, if the file isn't created please reboot the GW and restart from step 1)

  4. Push the reboot file to the update folder.

  5. Check that a file (XXXXXXXX_reboot_processed_yy) is created in the update folder. (TIPS: Don't forget to refresh)

  6. Wait. (Take arround around 5 minutes to complete)

  7. If everything is ok, you must find in the last part of uwiotys/log/uwiotys_functional.log the following line : The license is VALID. µWiotys will start.

...