Wiren Board

Wiren Board is a universal Linux-based automatization controller used for home and enterprise automation as well as smart home solutions.

This manual describes the step-by-step process of installing an agent to Wiren Board automation controller.

Special thanks to svdu user from Wiren Board forum.

Installation

  1. Download the archive with the agent.

  2. Unpack it to the folder /opt/saymon-agent/.

  3. Download archive with JDK (site registration is required).

  4. Unpack the archive to the folder temp, copy the directory jre from there to /opt/saymon-agent/.

  5. Execute the following commands:

    $ useradd -M -r -s /bin/false -K MAIL_DIR=/dev/null saymon
    $ chown -R saymon:saymon /opt/saymon-agent
    $ cp /opt/saymon-agent/systemd/* /etc/systemd/system
    $ systemctl enable saymon-agent
    $ service saymon-agent start

Agent configuration

If necessary, the agent configuration file /opt/saymon-agent/conf/agent.properties can be modified.

Installation location

By default agent is installed in the /opt/saymon-agent directory.

Log files

Agent logs are recorded to the directory /var/log/saymon.

Logs can be disabled with modifying the file /opt/saymon-agent/conf/logback-upstart.xml:

  • Logs enabled

  • Logs disabled

<root level="INFO">
<appender-ref ref="FILE-INFO"/>
<!--<appender-ref ref="FILE-DEBUG"/>-->
<!--<appender-ref ref="SYSLOG"/>-->
</root>
<root level="INFO">
<!--<appender-ref ref="FILE-INFO"/>-->
<!--<appender-ref ref="FILE-DEBUG"/>-->
<!--<appender-ref ref="SYSLOG"/>-->
</root>

Agent service

You can check agent status, start, restart or stop it with the following commands respectively:

$ service saymon-agent status
$ service saymon-agent start
$ service saymon-agent restart
$ service saymon-agent stop