To compile a new webgui execute the script "Convert_Webpages_To_Mpfs2.sh" with "relaymaster84" as argument from the base directory of the WebGUI scripts
To compile a new webgui execute the script "Convert_Webpages_To_Mpfs2.sh" with the name
of the firmware that match the web gui you are upgrading and the language
as argument from the base directory of the WebGUI scripts
for example:
./Convert_Webpages_To_Mpfs2.sh relaymaster84 it
If you omit the language option by default "en" is selected.
You will need following dependencies on a Linux machine:
You will need following dependencies on a Linux machine:
...
@@ -11,14 +19,16 @@ You will need following dependencies on a Linux machine:
...
@@ -11,14 +19,16 @@ You will need following dependencies on a Linux machine:
- python and python-slimmer module package installed
- python and python-slimmer module package installed
- MPFS2.exe binary from Microchip MAL utilities installed and working under Wine
- MPFS2.exe binary from Microchip MAL utilities installed and working under Wine
You MUST NOT change anything in ajax.xml, ioconf.xml and all *.cgi files
You MUST NOT change anything in ajax.xml, ioconf.xml and all *.cgi files, or they will
not work with the firmware.
The git branches will match the same versions as the firmware.
Be carefull about the size of your web pages: the EEPROM space on the DMSnt84 board is limited, the resulting binary file,
Be carefull about the size of your web pages: the EEPROM space on the DMSnt84 board is limited, the resulting binary file,
after compression, can't be more than 28KB.
after compression, can't be more than 28KB.
After compilation, you will find a file called MPFS2-en.bin in the relaymaster84 directory. Upload this file on the board
After compilation, you will find a file called MPFS2-<lang>.bin in the <firmware_name> directory. Upload this file on the board
by point your browser to http://<ip_of_your_board/uploadweb
by point your browser to http://<ip_of_your_board>/uploadweb
To get Italian translation, launch Convert_Webpages_To_Mpfs2.sh script with "it" as third argument
Translations can be changed by editing dmtranslation.py file.
Translations can be changed by editing dmtranslation.py file.