-
Notifications
You must be signed in to change notification settings - Fork 0
Startup Flow
blackwellj edited this page Nov 1, 2018
·
2 revisions
The startup flow is used to setup system variables.
The main bulk of the flow is activated on boot
- Set IP Address- Gets the system IP address, adds it to global.ip and also sets /ip in the json DB
- Set system ID - Gets system ID from json DB and sets global.sysID - This is used to filter messages
- Set Email Address - Gets last email from json DB and sets global.to
- Add Power on Message to DB - Writes to DB when system Powers on
- Set Serial Number - Gets Serial from json DB and sets global.serial
- Set Software Version - Gets S/W Version from json DB and sets global.sw
- Set Hardware Version - Gets H/W Version from json DB and sets global.hw
- Set Firmware Version - Gets F/W Version from json DB and sets global.fw
- Set Password - Gets system Password from json DB and sets global.password
- Set Left Header Links - Gets json List of modules for main pages from json DB and sets global.left. Used to set contents list on main pages
- Set Settings Links - Gets json List of settings pages for settings pages from json DB and sets global.setings_list. Used to set contents list on settings pages
- Set sort by - Sets default sort coloum to "index" on boot
- Set sort direction - Sets default sort direction to "ASC" on boot
Also on this Flow is the webpage that is served if a user tries to access a page they are not licenced for. this can be triggered from any page by a link node.
Finally there is a collection of default data nodes. These add the injected data into the json DB. They only need to be ran once to populate the json DB
- /sw,/hw,/fw - Used to set the versions shown on the settings pages
- sysID - Used to set the system ID Filter
- Modules - contains a JSON string used to set the Links to main pages and their displayed Names
- Serial - Used to set the system serial number
- Password - Used to set the default system password - 1234 at this time
- Settings - contains a JSON string used to set the Links to settings pages and their displayed Names