Generic server

RELEASE NOTE

The generic_server application periodically connects to a custom datasource server to retrieve and display the appropriate light state and color.

2021-10-08 V1.11.10 download

IMPORTANT
  • Change: do not support anymore the discover command from Qether V1.11.13 (and below)
  • Change: do not support anymore the configure command from Qether V1.11.13 (and below)
BUG FIX, NEW FEATURES, MINOR UPDATES
  • Fix: after a migration from regular 1.10.13 to regular 1.10.15, the data server input values was cleared in the Web user interface. In case another modification was done in the Web user interface, after a device reboot, the device could not be able to connect to the data source server
COMPATIBILITIES
  • SBL10e device
  • Qether 1.12.10 (or above)
LIMITATIONS
  • DNS suffix is not yet supported. So the entire domain in the data source server must be entered.

INFORMATION


DOCUMENTATION

User manual 1.11.10-002A/EN download

QETHER

Link to Qether tool

CONFIGURATION SCRIPT TEMPLATE

000000000000.js template for generic_server V1.10.15 (or above) download

OLD VERSIONS HISTORY


2021-10-01 V1.10.15

IMPORTANT
  • Change: do not support anymore the discover command from Qether V1.11.13 (and below)
  • Change: do not support anymore the configure command from Qether V1.11.13 (and below)
BUG FIX, NEW FEATURES, MINOR UPDATES
  • Add support for a Configuration > Tasks pane in the Web user interface allowing to program a daily reboot task
  • Add support for firmware version number returning when receiving a discover Qether command or an info Qether command (Qether 1.12.10 and above)
  • Add support for .js configuration script received from a configure Qether command (Qether 1.12.10 and above)
  • Add support for new functions in the .js configuration script allowing to set labels depending on the target device
    • getFirmwareApp();
    • getModelName();
    • getHardwarePlatform();
    • getPsn(PSN_SHORT_REPRESENTATION);
    • getPsn(PSN_TYPE);
    • getPsn(PSN_ORDINAL);
    • getLan1Mac();
  • Add support for new functions in the .js configuration script allowing to configure a device reboot task
    • enableRebootTask();
    • disableRebootTask();
    • setRebootTime(6, 0);
  • Add support for user preferences:
    • appli.network.datasource.nb_retries_before_cache_reset: 20 (by default), max. number of unsuccessful connection attempts before switching off the light
    • system.task.reboot.enable: false (by default)
    • system.task.reboot.time: 21600 (by default), number of second elapsed since midnight, means that the reboot task time is 6.00 AM
      • when the NTP server is not set, the reboot task time is 24 hours after the last the boot time
  • Change: do not support anymore the discover command from Qether V1.11.13 (and below)
  • Change: do not support anymore the configure command from Qether V1.11.13 (and below)
  • Change: after a device reboot, if the datasource server is not available, the light is kept to the Off state until the next successful connection
  • Change: the light is switched off when the datasource server is not available after more than 20 following unsuccessful connection attempts
  • Change: the administrator name lenght was limited to 15 characters preventing to enter a MAC address value (i.e. aa-bb-cc-dd-ee-ff) as administrator name
  • Fix: in some case, the firmware upload in the device could fail when done with the Web user interface
  • Fix: it was not possible to inactivate the DHCP timeout with the .js configuration script
  • Fix: in some rare case, the SBL10e device should be unplugged from the Ethernet wall plug then plugged again to work properly
COMPATIBILITIES
  • SBL10e device
  • Qether 1.12.10 (or above)

PREFS.JSON EXAMPLE

prefs.json example for generic_server download

2021-09-09 V1.10.14

BUG FIX, NEW FEATURES, MINOR UPDATES
  • Change: the minimal value for Heartbeat is 2 seconds instead of 10 seconds
COMPATIBILITIES
  • SBL10e device
  • Qether 1.11.13 (or above)

2021-09-07 V1.10.13

BUG FIX, NEW FEATURES, MINOR UPDATES
  • Initial version
COMPATIBILITIES
  • SBL10e device
  • Qether 1.11.13 (or above)