activate_scenario.sh
Sun Sep 8 09:45:16 CEST 2024
scenario: buero_UM
source: 192.168.12.140

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

scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

Thomas Büro Regallicht (/srv/www/viehai/shelly/log_scenarios/2024/09/08/_0.log)

vorher: 09:45:16.962

http://192.168.12.108/relay/0?turn=toggle
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 09:45:16.994
Dauer: 32 msec phName: 'shelly-40:'Thomas Büro Licht''


Thomas Büro Licht (/srv/www/viehai/shelly/log_scenarios/2024/09/08/_1.log)

vorher: 09:45:16.974

http://192.168.12.140/relay/0?turn=toggle
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 09:45:17.003
Dauer: 29 msec phName: 'shelly-40:'Thomas Büro Licht''


scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

urls : 2
vorher : 09:45:16.943
nachher: 09:45:17.009
Dauer : 67 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/08//scene_buero_UM_20240908_094516.txt'


syslog

Sep  8 09:42:01 srv4hai CRON[9771]: (root) CMD (/etc/linetest/linetest.sh)
Sep  8 09:42:26 srv4hai ping_SP[8743]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1725781346 - 'ping_SP_0'
Sep  8 09:42:26 srv4hai ping_SP[8743]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep  8 09:42:53 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=9812, secured, session=<2aO0yZYhWIcAAAAAAAAAAAAAAAAAAAAB>
Sep  8 09:42:53 srv4hai dovecot: imap(miglincit)<9812><2aO0yZYhWIcAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep  8 09:43:01 srv4hai CRON[9815]: (root) CMD (/etc/linetest/linetest.sh)
Sep  8 09:43:11 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=9824, secured, session=<8IvRypYhXocAAAAAAAAAAAAAAAAAAAAB>
Sep  8 09:43:11 srv4hai dovecot: imap(miglincit)<9824><8IvRypYhXocAAAAAAAAAAAAAAAAAAAAB>: Logged out in=443 out=60000 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=582 body_count=1 body_bytes=57858
Sep  8 09:43:14 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=9827, secured, session=
Sep  8 09:43:14 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=9829, secured, session=
Sep  8 09:43:14 srv4hai dovecot: imap(miglincit)<9827>: Logged out in=606 out=30819 deleted=0 expunged=0 trashed=1 hdr_count=1 hdr_bytes=287 body_count=0 body_bytes=0
Sep  8 09:43:14 srv4hai dovecot: imap(miglincit)<9829>: Logged out in=443 out=84109 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=420 body_count=1 body_bytes=81949
Sep  8 09:43:15 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=9832, secured, session=
Sep  8 09:43:15 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=9834, secured, session=
Sep  8 09:43:15 srv4hai dovecot: imap(miglincit)<9834>: Logged out in=397 out=22854 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=731 body_count=1 body_bytes=20466
Sep  8 09:43:15 srv4hai dovecot: imap(miglincit)<9832>: Logged out in=606 out=30777 deleted=0 expunged=0 trashed=1 hdr_count=1 hdr_bytes=328 body_count=0 body_bytes=0
Sep  8 09:43:22 srv4hai dovecot: imap(miglincit)<452><9CJYCZYhOJLAqAwK>: Logged out in=1261599 out=1887438 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep  8 09:43:22 srv4hai dovecot: imap(miglincit)<454>: Connection closed (STATUS finished 244.705 secs ago) in=16404 out=25132 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep  8 09:43:22 srv4hai dovecot: imap(miglincit)<450>: Connection closed (STATUS finished 244.424 secs ago) in=1266638 out=1895303 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep  8 09:43:22 srv4hai dovecot: imap(miglincit)<449>: Logged out in=4377 out=688347 deleted=0 expunged=0 trashed=0 hdr_count=7 hdr_bytes=2885 body_count=7 body_bytes=592833
Sep  8 09:43:22 srv4hai activate_scenario[9838]: SHELLY scenario: 'pcOFF(pcoff)' started
Sep  8 09:43:22 srv4hai activate_scenario[9838]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''
Sep  8 09:43:22 srv4hai activate_scenario[9838]: SHELLY scenario: 'pcOFF(pcoff)' TO BE EXECUTED, shelly-0:''
Sep  8 09:43:22 srv4hai postfix/pickup[9891]: 8C4B96345B: uid=33 from=
Sep  8 09:43:22 srv4hai postfix/cleanup[9895]: 8C4B96345B: message-id=<20240908074322.8C4B96345B@mail.viehai.at>
Sep  8 09:43:22 srv4hai postfix/qmgr[8566]: 8C4B96345B: from=, size=10107, nrcpt=1 (queue active)
Sep  8 09:43:22 srv4hai activate_scenario[9838]: SHELLY: scenario: 'pcOFF(pcoff)'-'shelly-20'-'Thomas Schreibtischlampe' --> '0?turn=off'
Sep  8 09:43:22 srv4hai proc_url[9909]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/08/_0.log' - shellyUsage:'Thomas Schreibtischlampe' - scUrl:'http://192.168.12.120/relay/0?turn=off' - phName:'shelly-0:'''
Sep  8 09:43:22 srv4hai postfix/local[9905]: 8C4B96345B: to=, orig_to=, relay=local, delay=0.04, delays=0.02/0/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null")
Sep  8 09:43:22 srv4hai postfix/cleanup[9895]: 9340B6345C: message-id=<20240908074322.9340B6345C@mail.viehai.at>
Sep  8 09:43:22 srv4hai postfix/bounce[9910]: 8C4B96345B: sender non-delivery notification: 9340B6345C
Sep  8 09:43:22 srv4hai postfix/qmgr[8566]: 9340B6345C: from=<>, size=11989, nrcpt=1 (queue active)
Sep  8 09:43:22 srv4hai postfix/qmgr[8566]: 8C4B96345B: removed
Sep  8 09:43:22 srv4hai postfix/local[9905]: 9340B6345C: to=, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Sep  8 09:43:22 srv4hai postfix/qmgr[8566]: 9340B6345C: removed
Sep  8 09:43:22 srv4hai activate_scenario[9838]: SHELLY scenario: 'pcOFF(pcoff)' took 122 msec, shelly-0:''
Sep  8 09:43:39 srv4hai ping_SP[8743]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1725781419 - 'ping_SP_0'
Sep  8 09:43:39 srv4hai ping_SP[8743]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep  8 09:44:01 srv4hai CRON[9966]: (root) CMD (/etc/linetest/linetest.sh)
Sep  8 09:44:52 srv4hai ping_SP[8743]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1725781492 - 'ping_SP_0'
Sep  8 09:44:52 srv4hai ping_SP[8743]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep  8 09:45:00 srv4hai smartd[27489]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 45 to 46
Sep  8 09:45:00 srv4hai smartd[27489]: Device: /dev/sdd [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 103 to 102
Sep  8 09:45:01 srv4hai CRON[10013]: (root) CMD (/etc/linetest/linetest.sh)
Sep  8 09:45:02 srv4hai dhcpd[30731]: DHCPRELEASE of 192.168.12.3 from 70:a7:41:9a:7d:4e via enp2s0 (not found)
Sep  8 09:45:02 srv4hai dhcpd[30731]: DHCPDISCOVER from 70:a7:41:9a:7d:4e via enp2s0
Sep  8 09:45:02 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.3 to 70:a7:41:9a:7d:4e via enp2s0
Sep  8 09:45:02 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Sep  8 09:45:02 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.3
Sep  8 09:45:02 srv4hai dhcpd[30731]: execute_statement argv[2] = ap3hai
Sep  8 09:45:02 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.3 (192.168.12.252) from 70:a7:41:9a:7d:4e via enp2s0
Sep  8 09:45:02 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.3 to 70:a7:41:9a:7d:4e via enp2s0
Sep  8 09:45:02 srv4hai named[30406]: client @0x7f93480deab0 192.168.12.252#59259/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: ap3hai.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Sep  8 09:45:02 srv4hai named[30406]: client @0x7f933010ba20 192.168.12.252#42043/key rndc-key: signer "rndc-key" approved
Sep  8 09:45:02 srv4hai named[30406]: client @0x7f933010ba20 192.168.12.252#42043/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'ap3hai.viehai.at' TXT
Sep  8 09:45:02 srv4hai named[30406]: client @0x7f933010ba20 192.168.12.252#42043/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'ap3hai.viehai.at' TXT "31763f1a8a980dd918aaf8fff3416a5028"
Sep  8 09:45:02 srv4hai named[30406]: client @0x7f933010ba20 192.168.12.252#42043/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'ap3hai.viehai.at' A
Sep  8 09:45:02 srv4hai named[30406]: client @0x7f933010ba20 192.168.12.252#42043/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'ap3hai.viehai.at' A 192.168.12.3
Sep  8 09:45:02 srv4hai dhcpd[30731]: Added new forward map from ap3hai.viehai.at to 192.168.12.3
Sep  8 09:45:02 srv4hai named[30406]: client @0x7f93100e3a50 192.168.12.252#58073/key rndc-key: signer "rndc-key" approved
Sep  8 09:45:02 srv4hai named[30406]: client @0x7f93100e3a50 192.168.12.252#58073/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '3.12.168.192.in-addr.arpa' PTR
Sep  8 09:45:02 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.3'(3) device 'ap3hai'
Sep  8 09:45:02 srv4hai named[30406]: client @0x7f93100e3a50 192.168.12.252#58073/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '3.12.168.192.in-addr.arpa' PTR ap3hai.viehai.at.
Sep  8 09:45:02 srv4hai dhcpd[30731]: Added reverse map from 3.12.168.192.in-addr.arpa. to ap3hai.viehai.at
Sep  8 09:45:02 srv4hai dhcpcommit.sh: SHELLY device 'ap3hai' known and accepted
Sep  8 09:45:16 srv4hai activate_scenario[10036]: SHELLY scenario: 'buero_UM(buero_um)' started
Sep  8 09:45:16 srv4hai activate_scenario[10036]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished