Perl Server

Before integrating your SHC network into a PC application for home automation, you probably want to test the system first. A simple Perl script can be used to log data of devices and to implement simple control tasks for testing purposes.

The script is tested on a Linux system with the base station connected to a virtual serial port over a USB-to-serial converter. You can change the script as needed for your testing.

As currently implemented, the script does the following:

  • Data received from temperature sensors is logged to CSV files.
  • A simple regulation is implemented: a power switch is controlled depending on the humidity of one temerpature + humidity sensor.

The script can be found in the GIT repository.