activate_scenario.sh
Sat Sep 14 16:18:30 CEST 2024
scenario: pcON
origin: dhcpcommit.sh-pchai7x

'day' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'null'

scenario: 'Schreibtisch Thomas EIN-schalten' - 'pcON' - 'pcon'

Thomas Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/09/14/_0.log)

vorher: 16:18:30.484

http://192.168.12.120/relay/0?turn=on
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 16:18:30.514
Dauer: 29 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


scenario: 'Schreibtisch Thomas EIN-schalten' - 'pcON' - 'pcon'

urls : 1
vorher : 16:18:30.464
nachher: 16:18:30.520
Dauer : 55 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/14//scene_pcON_20240914_161830.txt'


syslog

Sep 14 16:15:00 srv4hai smartd[27489]: Device: /dev/sdc [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 101 to 102
Sep 14 16:15:01 srv4hai CRON[8446]: (root) CMD (/etc/linetest/linetest.sh)
Sep 14 16:15:14 srv4hai ping_SP[22372]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726323314 - 'ping_SP_0'
Sep 14 16:15:14 srv4hai ping_SP[22372]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 14 16:15:33 srv4hai ping_SP[28375]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726323333 - 'ping_SP_1'
Sep 14 16:15:33 srv4hai ping_SP[28375]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 14 16:15:57 srv4hai postfix/smtpd[8507]: connect from unknown[94.141.120.39]
Sep 14 16:15:57 srv4hai postfix/smtpd[8507]: warning: unknown[94.141.120.39]: SASL LOGIN authentication failed: Invalid authentication mechanism
Sep 14 16:15:57 srv4hai postfix/smtpd[8507]: lost connection after AUTH from unknown[94.141.120.39]
Sep 14 16:15:57 srv4hai postfix/smtpd[8507]: disconnect from unknown[94.141.120.39] ehlo=1 auth=0/1 commands=1/2
Sep 14 16:16:01 srv4hai CRON[8511]: (root) CMD (/etc/linetest/linetest.sh)
Sep 14 16:16:11 srv4hai mosquitto[18551]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Sep 14 16:16:13 srv4hai postfix/smtpd[8507]: connect from unknown[178.215.236.166]
Sep 14 16:16:13 srv4hai postfix/smtpd[8507]: warning: unknown[178.215.236.166]: SASL LOGIN authentication failed: Invalid authentication mechanism
Sep 14 16:16:13 srv4hai postfix/smtpd[8507]: disconnect from unknown[178.215.236.166] ehlo=1 auth=0/1 quit=1 commands=2/3
Sep 14 16:16:14 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Sep 14 16:16:15 srv4hai fetchmail[1651]: 52315 messages (52315 seen) for tmiglinci at mail.akis.at (10934725 octets).
Sep 14 16:16:16 srv4hai fetchmail[1651]: 10721 messages (10721 seen) for srozum at mail.akis.at (1301741269 octets).
Sep 14 16:16:16 srv4hai fetchmail[1651]: 25918 messages (25917 seen) for mrozum at mail.akis.at (214658726 octets).
Sep 14 16:16:17 srv4hai postfix/smtpd[8507]: connect from localhost[127.0.0.1]
Sep 14 16:16:17 srv4hai postfix/smtpd[8507]: 0CA9F6004E: client=localhost[127.0.0.1]
Sep 14 16:16:17 srv4hai postfix/cleanup[8524]: 0CA9F6004E: message-id=<202409141415.48EEFT8V034398@kerykeion.akis.at>
Sep 14 16:16:17 srv4hai fetchmail[1651]: reading message mrozum@mail.akis.at:25918 of 25918 (18437 octets) not flushed
Sep 14 16:16:17 srv4hai postfix/qmgr[8566]: 0CA9F6004E: from=, size=18708, nrcpt=1 (queue active)
Sep 14 16:16:17 srv4hai postfix/smtpd[8507]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Sep 14 16:16:17 srv4hai postfix/local[8525]: 0CA9F6004E: to=, relay=local, delay=0.08, delays=0.07/0.01/0/0, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Sep 14 16:16:17 srv4hai postfix/qmgr[8566]: 0CA9F6004E: removed
Sep 14 16:16:17 srv4hai fetchmail[1651]: 1143 messages (1143 seen) for admin@bastelstube.wien at pop3.world4you.com (51639660 octets).
Sep 14 16:16:27 srv4hai ping_SP[22372]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726323387 - 'ping_SP_0'
Sep 14 16:16:27 srv4hai ping_SP[22372]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 14 16:16:47 srv4hai ping_SP[28375]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726323407 - 'ping_SP_1'
Sep 14 16:16:47 srv4hai ping_SP[28375]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 14 16:17:01 srv4hai CRON[8590]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Sep 14 16:17:01 srv4hai CRON[8591]: (root) CMD (/etc/linetest/linetest.sh)
Sep 14 16:17:40 srv4hai ping_SP[22372]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726323460 - 'ping_SP_0'
Sep 14 16:17:40 srv4hai ping_SP[22372]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 14 16:17:42 srv4hai activate_scenario[8630]: SHELLY scenario: 'buero_UM(buero_um)' started
Sep 14 16:17:42 srv4hai activate_scenario[8630]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Sep 14 16:17:42 srv4hai activate_scenario[8630]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Sep 14 16:17:42 srv4hai postfix/pickup[2809]: 06F4E6345B: uid=33 from=
Sep 14 16:17:42 srv4hai postfix/cleanup[8524]: 06F4E6345B: message-id=<20240914141742.06F4E6345B@mail.viehai.at>
Sep 14 16:17:42 srv4hai postfix/qmgr[8566]: 06F4E6345B: from=, size=5345, nrcpt=1 (queue active)
Sep 14 16:17:42 srv4hai postfix/local[8525]: 06F4E6345B: to=, orig_to=, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Sep 14 16:17:42 srv4hai postfix/cleanup[8524]: 0A6B76345C: message-id=<20240914141742.0A6B76345C@mail.viehai.at>
Sep 14 16:17:42 srv4hai postfix/bounce[8687]: 06F4E6345B: sender non-delivery notification: 0A6B76345C
Sep 14 16:17:42 srv4hai postfix/qmgr[8566]: 0A6B76345C: from=<>, size=7267, nrcpt=1 (queue active)
Sep 14 16:17:42 srv4hai postfix/qmgr[8566]: 06F4E6345B: removed
Sep 14 16:17:42 srv4hai postfix/local[8525]: 0A6B76345C: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Sep 14 16:17:42 srv4hai postfix/qmgr[8566]: 0A6B76345C: removed
Sep 14 16:17:42 srv4hai activate_scenario[8630]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
Sep 14 16:17:42 srv4hai proc_url[8700]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/14/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Sep 14 16:17:42 srv4hai activate_scenario[8630]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
Sep 14 16:17:42 srv4hai proc_url[8711]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/14/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Sep 14 16:17:42 srv4hai activate_scenario[8630]: SHELLY scenario: 'buero_UM(buero_um)' took 82 msec, shelly-40:'Thomas Büro Licht'
Sep 14 16:18:00 srv4hai ping_SP[28375]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726323480 - 'ping_SP_1'
Sep 14 16:18:00 srv4hai ping_SP[28375]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 14 16:18:01 srv4hai CRON[8777]: (root) CMD (/etc/linetest/linetest.sh)
Sep 14 16:18:30 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Sep 14 16:18:30 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.10
Sep 14 16:18:30 srv4hai dhcpd[30731]: execute_statement argv[2] = pchai7x
Sep 14 16:18:30 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Sep 14 16:18:30 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Sep 14 16:18:30 srv4hai named[30406]: client @0x7f93380d6d20 192.168.12.252#37313/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Sep 14 16:18:30 srv4hai named[30406]: client @0x7f93506682d0 192.168.12.252#34127/key rndc-key: signer "rndc-key" approved
Sep 14 16:18:30 srv4hai named[30406]: client @0x7f93506682d0 192.168.12.252#34127/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Sep 14 16:18:30 srv4hai named[30406]: client @0x7f93506682d0 192.168.12.252#34127/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Sep 14 16:18:30 srv4hai named[30406]: client @0x7f93506682d0 192.168.12.252#34127/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Sep 14 16:18:30 srv4hai named[30406]: client @0x7f93506682d0 192.168.12.252#34127/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Sep 14 16:18:30 srv4hai dhcpd[30731]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Sep 14 16:18:30 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Sep 14 16:18:30 srv4hai named[30406]: client @0x7f93380b4a40 192.168.12.252#46177/key rndc-key: signer "rndc-key" approved
Sep 14 16:18:30 srv4hai named[30406]: client @0x7f93380b4a40 192.168.12.252#46177/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Sep 14 16:18:30 srv4hai named[30406]: client @0x7f93380b4a40 192.168.12.252#46177/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '10.12.168.192.in-addr.arpa' PTR pchai7x.viehai.at.
Sep 14 16:18:30 srv4hai dhcpd[30731]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Sep 14 16:18:30 srv4hai activate_scenario[8802]: SHELLY scenario: 'pcON(pcon)' started
Sep 14 16:18:30 srv4hai activate_scenario[8802]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished