esera automation 19200-1 Manuel - Page 6

Parcourez en ligne ou téléchargez le pdf Manuel pour {nom_de_la_catégorie} esera automation 19200-1. esera automation 19200-1 9 pages.
Également pour esera automation 19200-1 : Manuel de l'utilisateur (5 pages)

esera automation 19200-1 Manuel
If you want to change the system time (and time zone!), you should do this via sudo raspi-config before you
synchronize the times.
Now to set the system time automatically at every reboot we have to write a set command in the autostart.
For this we edit the file::
sudo nano /etc/rc.local
Before exit 0 we add the following two lines:
echo ds1307 0x68 > /sys/class/i2c-adapter/i2c-1/new_device
hwclock --hctosys
to save and exit: CTRL+O, CTRL+X.
8.5

Set System clock

If you don't have an internet connection, you can set the system clock with the following commands.
Start the LX Terminal
Time and date are specified in the format "MMDDhhmmYY" (M=month, D=day, h=hour,m=minute, YY=year)
sudo date "1701132618"
sudo date "0130132518"
sudo timedatectl set-time "yyyy.mm:dd HH:mm:ss"
8.6
Ser2Net, Access to 1-Wire Gateway via Socket
The "ser2Net" software can be used to access the 1-Wire Controller / 1-Wire Gateway via socket connection
from an external location. This software provides a socket in comparison to the individual devices of the 1-
Wire Controller or 1-Wire Gateways. Thus, the internal 1-Wire Gateway can be accessed via the
Config-Tool.
Start the LX Terminal and enter the following commands to update the Raspian.
sudo apt-get update && sudo apt-get upgrade --yes
Install ser2net
sudo apt install ser2net
Check Software function
Type the following command on the command line to see if the interface of the 1-Wire Gateway is included..
tail -f /var/log/messages
The output looks like this on my system. In the third line from below you can see that the adapter was
connected as ttyUSB0 and should be able to be addressed as /dev/ttyUSB0. This information is needed for
configuration..
The first line is adjusted with the existing data. The individual options are delimited by colon.
Only the device (/dev/ttyUSB0) and the data rate at Options have been changed. The TCP port is important
for the connection
in the network and can also be entered according to your own needs. More detailed explanations can be
found either in the configuration file itself or the manpage ("man ser2net"). The remaining configuration lines
are marked with comment signs (#).
Explanation: TCP-Port:state:timeout:device:options Code
5000:telnet:600:/dev/ttyUSB0:19200 8DATABITS NONE 1STOPBIT banner
Activation
The new configuration is activated with the command:
sudo service ser2net restart
All rights reserved. Reproduction as well as electronic duplication of this user guide, complete or in part, requires the written consent of
ESERA GmbH. Errors and technical modification subject to change. ESERA GmbH, ESERA-Automation 2020
www.esera.de
19200 V1.0 R1.0 Commissioning II
Page 6 of 9