activate_scenario.sh
Fri Mar 22 16:58:43 CET 2024
scenario: nasszeile_um
source: 192.168.12.128

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

scenario: 'Nasszeile UM-schalten' - 'nasszeile_um' - 'nasszeile_um'

Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/03/22/_0.log)

vorher: 16:58:43.984

http://192.168.12.116/white/0?turn=toggle&brightness=25
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 25,
  "transition": 0,
  "power": 7.91,
  "overpower": false

nachher: 16:58:44.011
Dauer: 27 msec phName: 'shelly-28:'Schalter Nasszeile''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/03/22/_1.log)

vorher: 16:58:44.002

http://192.168.12.116/white/1?turn=toggle&brightness=25
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 25,
  "transition": 0,
  "power": 7.91,
  "overpower": false

nachher: 16:58:44.032
Dauer: 30 msec phName: 'shelly-28:'Schalter Nasszeile''


scenario: 'Nasszeile UM-schalten' - 'nasszeile_um' - 'nasszeile_um'

urls : 2
vorher : 16:58:43.961
nachher: 16:58:44.039
Dauer : 78 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/03/22//scene_nasszeile_um_20240322_165843.txt'


syslog

Mar 22 16:55:01 srv4hai CRON[14707]: (root) CMD (/etc/linetest/linetest.sh)
Mar 22 16:55:05 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=14715, secured, session=
Mar 22 16:55:05 srv4hai dovecot: imap(miglincit)<14715>: Logged out in=735 out=43617 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=19826 body_count=0 body_bytes=0
Mar 22 16:55:35 srv4hai postfix/smtpd[14506]: connect from unknown[45.128.96.5]
Mar 22 16:55:35 srv4hai postfix/smtpd[14737]: connect from unknown[45.128.96.5]
Mar 22 16:55:35 srv4hai postfix/smtpd[14506]: lost connection after CONNECT from unknown[45.128.96.5]
Mar 22 16:55:35 srv4hai postfix/smtpd[14506]: disconnect from unknown[45.128.96.5] commands=0/0
Mar 22 16:55:35 srv4hai postfix/smtpd[14737]: NOQUEUE: reject: RCPT from unknown[45.128.96.5]: 550 5.1.1 : Recipient address rejected: User unknown in local recipient table; from= to= proto=ESMTP helo=<[45.128.96.5]>
Mar 22 16:55:35 srv4hai postfix/smtpd[14737]: lost connection after RSET from unknown[45.128.96.5]
Mar 22 16:55:35 srv4hai postfix/smtpd[14737]: disconnect from unknown[45.128.96.5] ehlo=1 mail=1 rcpt=0/1 rset=1 commands=3/4
Mar 22 16:56:01 srv4hai CRON[14747]: (root) CMD (/etc/linetest/linetest.sh)
Mar 22 16:56:01 srv4hai activate_scenario[14752]: SHELLY scenario: 'pcOFF(pcoff)' started
Mar 22 16:56:01 srv4hai activate_scenario[14752]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''
Mar 22 16:56:01 srv4hai activate_scenario[14752]: SHELLY scenario: 'pcOFF(pcoff)' TO BE EXECUTED, shelly-0:''
Mar 22 16:56:01 srv4hai postfix/pickup[14512]: BBD856027D: uid=33 from=
Mar 22 16:56:01 srv4hai postfix/cleanup[14681]: BBD856027D: message-id=<20240322155601.BBD856027D@mail.viehai.at>
Mar 22 16:56:01 srv4hai postfix/qmgr[15291]: BBD856027D: from=, size=13652, nrcpt=1 (queue active)
Mar 22 16:56:01 srv4hai postfix/local[14682]: BBD856027D: to=, orig_to=, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Mar 22 16:56:01 srv4hai postfix/cleanup[14681]: BF84F602B8: message-id=<20240322155601.BF84F602B8@mail.viehai.at>
Mar 22 16:56:01 srv4hai postfix/bounce[14810]: BBD856027D: sender non-delivery notification: BF84F602B8
Mar 22 16:56:01 srv4hai postfix/qmgr[15291]: BF84F602B8: from=<>, size=15531, nrcpt=1 (queue active)
Mar 22 16:56:01 srv4hai postfix/qmgr[15291]: BBD856027D: removed
Mar 22 16:56:01 srv4hai postfix/local[14682]: BF84F602B8: to=, relay=local, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar 22 16:56:01 srv4hai postfix/qmgr[15291]: BF84F602B8: removed
Mar 22 16:56:01 srv4hai activate_scenario[14752]: SHELLY: scenario: 'pcOFF(pcoff)'-'shelly-20'-'Thomas Schreibtischlampe' --> '0?turn=off'
Mar 22 16:56:01 srv4hai proc_url[14821]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/22/_0.log' - shellyUsage:'Thomas Schreibtischlampe' - scUrl:'http://192.168.12.120/relay/0?turn=off' - phName:'shelly-0:'''
Mar 22 16:56:01 srv4hai activate_scenario[14752]: SHELLY scenario: 'pcOFF(pcoff)' took 61 msec, shelly-0:''
Mar 22 16:56:08 srv4hai activate_scenario[14849]: SHELLY scenario: 'buero_UM(buero_um)' started
Mar 22 16:56:08 srv4hai activate_scenario[14849]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Mar 22 16:56:08 srv4hai activate_scenario[14849]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Mar 22 16:56:08 srv4hai postfix/pickup[14512]: 0A8656027D: uid=33 from=
Mar 22 16:56:08 srv4hai postfix/cleanup[14681]: 0A8656027D: message-id=<20240322155608.0A8656027D@mail.viehai.at>
Mar 22 16:56:08 srv4hai postfix/qmgr[15291]: 0A8656027D: from=, size=15697, nrcpt=1 (queue active)
Mar 22 16:56:08 srv4hai postfix/local[14682]: 0A8656027D: to=, orig_to=, relay=local, delay=0.01, delays=0.01/0/0/0, dsn=5.1.1, status=bounced (unknown user: "null")
Mar 22 16:56:08 srv4hai postfix/cleanup[14681]: 0CAE2602B8: message-id=<20240322155608.0CAE2602B8@mail.viehai.at>
Mar 22 16:56:08 srv4hai postfix/bounce[14810]: 0A8656027D: sender non-delivery notification: 0CAE2602B8
Mar 22 16:56:08 srv4hai postfix/qmgr[15291]: 0CAE2602B8: from=<>, size=17616, nrcpt=1 (queue active)
Mar 22 16:56:08 srv4hai postfix/qmgr[15291]: 0A8656027D: removed
Mar 22 16:56:08 srv4hai postfix/local[14682]: 0CAE2602B8: to=, relay=local, delay=0.02, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar 22 16:56:08 srv4hai postfix/qmgr[15291]: 0CAE2602B8: removed
Mar 22 16:56:08 srv4hai activate_scenario[14849]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
Mar 22 16:56:08 srv4hai proc_url[14917]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/22/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Mar 22 16:56:08 srv4hai activate_scenario[14849]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
Mar 22 16:56:08 srv4hai proc_url[14929]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/22/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Mar 22 16:56:08 srv4hai activate_scenario[14849]: SHELLY scenario: 'buero_UM(buero_um)' took 99 msec, shelly-40:'Thomas Büro Licht'
Mar 22 16:56:24 srv4hai common[14972]: SHELLY common.sh inkludiert
Mar 22 16:56:24 srv4hai bt_scan[14972]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'Yes'
Mar 22 16:56:24 srv4hai bt_scan[14972]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Mar 22 16:57:01 srv4hai CRON[15016]: (root) CMD (/etc/linetest/linetest.sh)
Mar 22 16:57:14 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=15027, secured, session=
Mar 22 16:57:14 srv4hai dovecot: imap(miglincit)<15027>: Logged out in=735 out=43602 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=19826 body_count=0 body_bytes=0
Mar 22 16:57:34 srv4hai dhcpd[5037]: DHCPRELEASE of 192.168.12.2 from 24:5a:4c:1c:1e:f4 via enp2s0 (not found)
Mar 22 16:57:34 srv4hai dhcpd[5037]: DHCPDISCOVER from 24:5a:4c:1c:1e:f4 via enp2s0
Mar 22 16:57:34 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.2 to 24:5a:4c:1c:1e:f4 via enp2s0
Mar 22 16:57:34 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Mar 22 16:57:34 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.2
Mar 22 16:57:34 srv4hai dhcpd[5037]: execute_statement argv[2] = ap2hai
Mar 22 16:57:34 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.2 (192.168.12.252) from 24:5a:4c:1c:1e:f4 via enp2s0
Mar 22 16:57:34 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.2 to 24:5a:4c:1c:1e:f4 via enp2s0
Mar 22 16:57:34 srv4hai named[15509]: client @0x7f930801c730 192.168.12.252#58313/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: ap2hai.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar 22 16:57:34 srv4hai named[15509]: client @0x7f931405fa30 192.168.12.252#33089/key rndc-key: signer "rndc-key" approved
Mar 22 16:57:34 srv4hai named[15509]: client @0x7f931405fa30 192.168.12.252#33089/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'ap2hai.viehai.at' TXT
Mar 22 16:57:34 srv4hai named[15509]: client @0x7f931405fa30 192.168.12.252#33089/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'ap2hai.viehai.at' TXT "31a0d441667de220424b7789941807db7d"
Mar 22 16:57:34 srv4hai named[15509]: client @0x7f931405fa30 192.168.12.252#33089/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'ap2hai.viehai.at' A
Mar 22 16:57:34 srv4hai named[15509]: client @0x7f931405fa30 192.168.12.252#33089/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'ap2hai.viehai.at' A 192.168.12.2
Mar 22 16:57:34 srv4hai dhcpd[5037]: Added new forward map from ap2hai.viehai.at to 192.168.12.2
Mar 22 16:57:34 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.2'(2) device 'ap2hai'
Mar 22 16:57:34 srv4hai named[15509]: client @0x7f931406e6c0 192.168.12.252#39887/key rndc-key: signer "rndc-key" approved
Mar 22 16:57:34 srv4hai named[15509]: client @0x7f931406e6c0 192.168.12.252#39887/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '2.12.168.192.in-addr.arpa' PTR
Mar 22 16:57:34 srv4hai named[15509]: client @0x7f931406e6c0 192.168.12.252#39887/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '2.12.168.192.in-addr.arpa' PTR ap2hai.viehai.at.
Mar 22 16:57:34 srv4hai dhcpd[5037]: Added reverse map from 2.12.168.192.in-addr.arpa. to ap2hai.viehai.at
Mar 22 16:57:34 srv4hai dhcpcommit.sh: SHELLY device 'ap2hai' known and accepted
Mar 22 16:57:57 srv4hai dhcpd[5037]: DHCPRELEASE of 192.168.12.3 from 70:a7:41:9a:7d:4e via enp2s0 (not found)
Mar 22 16:57:57 srv4hai dhcpd[5037]: DHCPDISCOVER from 70:a7:41:9a:7d:4e via enp2s0
Mar 22 16:57:57 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.3 to 70:a7:41:9a:7d:4e via enp2s0
Mar 22 16:57:57 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Mar 22 16:57:57 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.3
Mar 22 16:57:57 srv4hai dhcpd[5037]: execute_statement argv[2] = ap3hai
Mar 22 16:57:57 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.3 (192.168.12.252) from 70:a7:41:9a:7d:4e via enp2s0
Mar 22 16:57:57 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.3 to 70:a7:41:9a:7d:4e via enp2s0
Mar 22 16:57:57 srv4hai named[15509]: client @0x7f930c0b39c0 192.168.12.252#53505/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: ap3hai.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar 22 16:57:57 srv4hai named[15509]: client @0x7f930c06d910 192.168.12.252#51573/key rndc-key: signer "rndc-key" approved
Mar 22 16:57:57 srv4hai named[15509]: client @0x7f930c06d910 192.168.12.252#51573/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'ap3hai.viehai.at' TXT
Mar 22 16:57:57 srv4hai named[15509]: client @0x7f930c06d910 192.168.12.252#51573/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'ap3hai.viehai.at' TXT "31763f1a8a980dd918aaf8fff3416a5028"
Mar 22 16:57:57 srv4hai named[15509]: client @0x7f930c06d910 192.168.12.252#51573/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'ap3hai.viehai.at' A
Mar 22 16:57:57 srv4hai named[15509]: client @0x7f930c06d910 192.168.12.252#51573/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'ap3hai.viehai.at' A 192.168.12.3
Mar 22 16:57:57 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.3'(3) device 'ap3hai'
Mar 22 16:57:57 srv4hai dhcpd[5037]: Added new forward map from ap3hai.viehai.at to 192.168.12.3
Mar 22 16:57:57 srv4hai named[15509]: client @0x7f92fc0061b0 192.168.12.252#52545/key rndc-key: signer "rndc-key" approved
Mar 22 16:57:57 srv4hai named[15509]: client @0x7f92fc0061b0 192.168.12.252#52545/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '3.12.168.192.in-addr.arpa' PTR
Mar 22 16:57:57 srv4hai named[15509]: client @0x7f92fc0061b0 192.168.12.252#52545/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.
Mar 22 16:57:57 srv4hai dhcpd[5037]: Added reverse map from 3.12.168.192.in-addr.arpa. to ap3hai.viehai.at
Mar 22 16:57:57 srv4hai dhcpcommit.sh: SHELLY device 'ap3hai' known and accepted
Mar 22 16:58:01 srv4hai CRON[15058]: (root) CMD (/etc/linetest/linetest.sh)
Mar 22 16:58:43 srv4hai activate_scenario[15066]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Mar 22 16:58:43 srv4hai activate_scenario[15066]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-28:'Schalter Nasszeile'

finished