activate_scenario.sh
Mon Dec 16 18:47:31 CET 2024
scenario: homeOffice
source: 192.168.12.140

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

scenario: 'Home-Office' - 'homeOffice' - 'homeoffice'

WZ Licht Esstisch (/srv/www/viehai/shelly/log_scenarios/2024/12/16/_0.log)

vorher: 18:47:31.920

http://192.168.12.101/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started_at": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 18:47:31.951
Dauer: 30 msec phName: 'shelly-40:'TB Licht''


Balkon Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/16/_1.log)

vorher: 18:47:31.938

http://192.168.12.102/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "http"

nachher: 18:47:31.984
Dauer: 45 msec phName: 'shelly-40:'TB Licht''


VZ Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/16/_2.log)

vorher: 18:47:31.955

http://192.168.12.103/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "http"

nachher: 18:47:31.999
Dauer: 45 msec phName: 'shelly-40:'TB Licht''


WZ Stehlampe hell (/srv/www/viehai/shelly/log_scenarios/2024/12/16/_3.log)

vorher: 18:47:31.972

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

nachher: 18:47:32.001
Dauer: 28 msec phName: 'shelly-40:'TB Licht''


WZ Licht Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/12/16/_4.log)

vorher: 18:47:31.986

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

nachher: 18:47:32.015
Dauer: 30 msec phName: 'shelly-40:'TB Licht''


SZ Nachtkästchen Thomas (/srv/www/viehai/shelly/log_scenarios/2024/12/16/_5.log)

vorher: 18:47:32.000

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

nachher: 18:47:32.060
Dauer: 60 msec phName: 'shelly-40:'TB Licht''


TB Regallicht (/srv/www/viehai/shelly/log_scenarios/2024/12/16/_6.log)

vorher: 18:47:32.014

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

nachher: 18:47:32.079
Dauer: 64 msec phName: 'shelly-40:'TB Licht''


GB Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/16/_7.log)

vorher: 18:47:32.029

http://192.168.12.109/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 18:47:32.095
Dauer: 66 msec phName: 'shelly-40:'TB Licht''


WZ Licht Bücherregal (/srv/www/viehai/shelly/log_scenarios/2024/12/16/_8.log)

vorher: 18:47:32.042

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

nachher: 18:47:32.079
Dauer: 36 msec phName: 'shelly-40:'TB Licht''


TB Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/16/_9.log)

vorher: 18:47:32.056

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

nachher: 18:47:32.097
Dauer: 40 msec phName: 'shelly-40:'TB Licht''


SZ Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/16/_10.log)

vorher: 18:47:32.072

http://192.168.12.112/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 18:47:32.179
Dauer: 108 msec phName: 'shelly-40:'TB Licht''


KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/12/16/_11.log)

vorher: 18:47:32.087

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

nachher: 18:47:32.213
Dauer: 127 msec phName: 'shelly-40:'TB Licht''


KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/12/16/_12.log)

vorher: 18:47:32.099

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

nachher: 18:47:32.212
Dauer: 112 msec phName: 'shelly-40:'TB Licht''


KÜ Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/12/16/_13.log)

vorher: 18:47:32.113

http://192.168.12.117/white/0?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 18:47:32.229
Dauer: 116 msec phName: 'shelly-40:'TB Licht''


KÜ Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/12/16/_14.log)

vorher: 18:47:32.127

http://192.168.12.117/white/1?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 18:47:32.222
Dauer: 96 msec phName: 'shelly-40:'TB Licht''


GB Fernsehlampe (/srv/www/viehai/shelly/log_scenarios/2024/12/16/_15.log)

vorher: 18:47:32.140

http://192.168.12.119/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 18:47:32.186
Dauer: 46 msec phName: 'shelly-40:'TB Licht''


WZ Licht Sofa (/srv/www/viehai/shelly/log_scenarios/2024/12/16/_16.log)

vorher: 18:47:32.153

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

nachher: 18:47:32.212
Dauer: 60 msec phName: 'shelly-40:'TB Licht''


Empore Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/16/_17.log)

vorher: 18:47:32.166

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

nachher: 18:47:32.208
Dauer: 42 msec phName: 'shelly-40:'TB Licht''


KÜ Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/16/_18.log)

vorher: 18:47:32.179

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

nachher: 18:47:32.228
Dauer: 50 msec phName: 'shelly-40:'TB Licht''


scenario: 'Home-Office' - 'homeOffice' - 'homeoffice'

urls : 19
vorher : 18:47:31.883
nachher: 18:47:32.242
Dauer : 360 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/16//scene_homeOffice_20241216_184731.txt'


syslog

Dec 16 18:44:01 srv4hai CRON[23814]: (root) CMD (/etc/linetest/linetest.sh)
Dec 16 18:44:03 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Dec 16 18:44:03 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Dec 16 18:44:03 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Dec 16 18:44:03 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Dec 16 18:44:03 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.61
Dec 16 18:44:03 srv4hai dhcpd[4995]: execute_statement argv[2] = fpThomas
Dec 16 18:44:03 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#57869/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec 16 18:44:03 srv4hai named[30406]: client @0x7f93380d6d20 192.168.12.252#41119/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec 16 18:44:03 srv4hai common[23827]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Dec 16 18:44:13 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Dec 16 18:44:13 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Dec 16 18:44:13 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Dec 16 18:44:13 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#57869/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec 16 18:44:13 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#57869/key rndc-key: signer "rndc-key" approved
Dec 16 18:44:13 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#57869/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Dec 16 18:44:13 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#57869/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Dec 16 18:44:13 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#57869/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Dec 16 18:44:13 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#57869/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Dec 16 18:44:13 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#57869/key rndc-key: signer "rndc-key" approved
Dec 16 18:44:13 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#57869/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Dec 16 18:44:13 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#57869/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Dec 16 18:44:13 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#57869/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Dec 16 18:44:13 srv4hai dhcpd[4995]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Dec 16 18:44:13 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#57869/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Dec 16 18:44:13 srv4hai dhcpd[4995]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Dec 16 18:44:13 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#57869/key rndc-key: signer "rndc-key" approved
Dec 16 18:44:13 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#57869/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Dec 16 18:44:13 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#57869/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Dec 16 18:44:13 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#57869/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Dec 16 18:44:13 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#57869/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Dec 16 18:44:13 srv4hai dhcpd[4995]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Dec 16 18:44:13 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#57869/key rndc-key: signer "rndc-key" approved
Dec 16 18:44:13 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#57869/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Dec 16 18:44:13 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#57869/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Dec 16 18:44:13 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#57869/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Dec 16 18:44:13 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#57869/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Dec 16 18:44:13 srv4hai dhcpd[4995]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Dec 16 18:44:13 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#57869/key rndc-key: signer "rndc-key" approved
Dec 16 18:44:13 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#57869/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Dec 16 18:44:13 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#57869/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '61.12.168.192.in-addr.arpa' PTR fpThomas.viehai.at.
Dec 16 18:44:13 srv4hai dhcpd[4995]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Dec 16 18:44:13 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#57869/key rndc-key: signer "rndc-key" approved
Dec 16 18:44:13 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#57869/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Dec 16 18:44:13 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#57869/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '61.12.168.192.in-addr.arpa' PTR fpThomas.viehai.at.
Dec 16 18:44:13 srv4hai dhcpd[4995]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Dec 16 18:44:13 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#57869/key rndc-key: signer "rndc-key" approved
Dec 16 18:44:13 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#57869/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Dec 16 18:44:13 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#57869/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '61.12.168.192.in-addr.arpa' PTR fpThomas.viehai.at.
Dec 16 18:44:13 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#57869/key rndc-key: signer "rndc-key" approved
Dec 16 18:44:13 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#57869/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Dec 16 18:44:13 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#57869/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '61.12.168.192.in-addr.arpa' PTR fpThomas.viehai.at.
Dec 16 18:44:14 srv4hai dhcpd[4995]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Dec 16 18:44:14 srv4hai dhcpd[4995]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Dec 16 18:44:42 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 16 18:44:42 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 16 18:45:01 srv4hai CRON[23869]: (root) CMD (/etc/linetest/linetest.sh)
Dec 16 18:45:09 srv4hai ping_SP[23528]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734371109 - 'ping_SP_0'
Dec 16 18:45:09 srv4hai ping_SP[23528]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 16 18:45:34 srv4hai postfix/smtpd[23895]: connect from unknown[154.203.197.56]
Dec 16 18:45:34 srv4hai postfix/smtpd[23895]: warning: unknown[154.203.197.56]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec 16 18:45:34 srv4hai postfix/smtpd[23895]: lost connection after AUTH from unknown[154.203.197.56]
Dec 16 18:45:34 srv4hai postfix/smtpd[23895]: disconnect from unknown[154.203.197.56] ehlo=1 auth=0/1 commands=1/2
Dec 16 18:45:41 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 16 18:45:41 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 16 18:46:01 srv4hai CRON[23906]: (root) CMD (/etc/linetest/linetest.sh)
Dec 16 18:46:01 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=23912, secured, session=<3yoDwWYpiLcAAAAAAAAAAAAAAAAAAAAB>
Dec 16 18:46:02 srv4hai dovecot: imap(miglincit)<23912><3yoDwWYpiLcAAAAAAAAAAAAAAAAAAAAB>: Logged out in=2032 out=166121 deleted=0 expunged=0 trashed=0 hdr_count=261 hdr_bytes=90747 body_count=0 body_bytes=0
Dec 16 18:46:22 srv4hai ping_SP[23528]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734371182 - 'ping_SP_0'
Dec 16 18:46:22 srv4hai ping_SP[23528]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 16 18:46:36 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 16 18:46:36 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 16 18:47:01 srv4hai CRON[23956]: (root) CMD (/etc/linetest/linetest.sh)
Dec 16 18:47:07 srv4hai postfix/smtpd[23895]: connect from unknown[80.94.95.239]
Dec 16 18:47:11 srv4hai postfix/smtpd[23895]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec 16 18:47:11 srv4hai postfix/smtpd[23895]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Dec 16 18:47:31 srv4hai activate_scenario[23974]: SHELLY scenario: 'homeOffice(homeoffice)' started
Dec 16 18:47:31 srv4hai activate_scenario[23974]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished