Table of Contents | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Table of Contents | ||||||||||||||||||||
|
...
Copy the devices configuration file into the directory: /uwiotys/update_config/
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 ! |
After few minutes
If the update failed, you will find information into the file: devices_updates_$DATE_ERROR.log
If the update success, the file the devices configuration file is deleted and you will find the file: devices_updates_$DATE_SUCCESS.log
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 [
] license in use, out of M [Status colour Green title current
] license." for the SIMPLE license.Status colour Red title MAX "Check license success. license type: LISTED : L[
] " for the LISTED license.Status colour Purple title tYPE
...
Where
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
And L as
Status | ||||
---|---|---|---|---|
|
How to know what outputs can be used with the current license
...
license
...
Logs contain :
Code Block | ||
---|---|---|
| ||
License allow user to activate the following output: Modbus output: true/false Csv output: true/false Http output: true/false Mqtt output: true/false |
...
Replace the XXXXXXX of the provided file :
XXXXXXXX_data.json
to be the 8 lasts digits of µwiotys' EUI.Push the renammed renamed file to the configuration folder.
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)Push the file : uwiotys-update_1.3.0_klkgw.ipk to the update folder.
Push the
update
file to the update folder.Check that a file (
XXXXXXXX_update_processed_ok
) is created in the update folder. (TIPS: Don't forget to refresh)Push the
reboot
file to the update folder.Check that a file (
XXXXXXXX_reboot_processed_yy
) is created in the update folder. (TIPS: Don't forget to refresh)Wait. (Take arround around 5 minutes to complete)
If everything is ok, you must find in uwiotys/devices_current_config the following file :
devices_date-time.json
...
Push the file : uwiotys-update_2.x.x.xxxx.ipk to the update folder.
Push the
update
file to the update folder.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)Push the
reboot
file to the update folder.Check that a file (
XXXXXXXX_reboot_processed_yy
) is created in the update folder. (TIPS: Don't forget to refresh)Wait. (Take arround around 5 minutes to complete)
Push the license to µwiotys, see how to in : Upload the license chapter.
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 !
Push the file : uwiotys-update_2.x.x.xxxx.ipk to the update folder.
Push the
update
file to the update folder.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)Push the
reboot
file to the update folder.Check that a file (
XXXXXXXX_reboot_processed_yy
) is created in the update folder. (TIPS: Don't forget to refresh)Wait. (Take arround around 5 minutes to complete)
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.
...