activate_scenario.sh
Sun Dec 15 21:55:11 CET 2024
scenario: offDownstairs
source: 192.168.12.123

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

scenario: 'Licht Unten AUS-schalten' - 'offDownstairs' - 'offdownstairs'

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

vorher: 21:55:12.065

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: 21:55:12.091
Dauer: 26 msec phName: 'shelly-23:'WZ Licht Sofa''


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

vorher: 21:55:12.086

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: 21:55:12.124
Dauer: 38 msec phName: 'shelly-23:'WZ Licht Sofa''


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

vorher: 21:55:12.102

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": "input"

nachher: 21:55:12.146
Dauer: 45 msec phName: 'shelly-23:'WZ Licht Sofa''


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

vorher: 21:55:12.116

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: 21:55:12.225
Dauer: 109 msec phName: 'shelly-23:'WZ Licht Sofa''


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

vorher: 21:55:12.130

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: 21:55:12.160
Dauer: 29 msec phName: 'shelly-23:'WZ Licht Sofa''


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

vorher: 21:55:12.145

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: 21:55:12.225
Dauer: 81 msec phName: 'shelly-23:'WZ Licht Sofa''


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

vorher: 21:55:12.160

http://192.168.12.116/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: 21:55:12.183
Dauer: 23 msec phName: 'shelly-23:'WZ Licht Sofa''


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

vorher: 21:55:12.173

http://192.168.12.116/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: 21:55:12.234
Dauer: 62 msec phName: 'shelly-23:'WZ Licht Sofa''


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

vorher: 21:55:12.186

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: 21:55:12.227
Dauer: 41 msec phName: 'shelly-23:'WZ Licht Sofa''


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

vorher: 21:55:12.200

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: 21:55:12.260
Dauer: 60 msec phName: 'shelly-23:'WZ Licht Sofa''


GB Fernsehlampe (/srv/www/viehai/shelly/log_scenarios/2024/12/15/_10.log)

vorher: 21:55:12.214

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: 21:55:12.278
Dauer: 63 msec phName: 'shelly-23:'WZ Licht Sofa''


WC Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/15/_11.log)

vorher: 21:55:12.228

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

nachher: 21:55:12.262
Dauer: 33 msec phName: 'shelly-23:'WZ Licht Sofa''


WZ Licht Sofa (/srv/www/viehai/shelly/log_scenarios/2024/12/15/_12.log)

vorher: 21:55:12.245

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: 21:55:12.280
Dauer: 35 msec phName: 'shelly-23:'WZ Licht Sofa''


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

vorher: 21:55:12.258

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

nachher: 21:55:12.333
Dauer: 76 msec phName: 'shelly-23:'WZ Licht Sofa''


WZ ovale Lampe (/srv/www/viehai/shelly/log_scenarios/2024/12/15/_14.log)

vorher: 21:55:12.272

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

nachher: 21:55:12.317
Dauer: 45 msec phName: 'shelly-23:'WZ Licht Sofa''


scenario: 'Licht Unten AUS-schalten' - 'offDownstairs' - 'offdownstairs'

urls : 15
vorher : 21:55:12.008
nachher: 21:55:12.341
Dauer : 334 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/15//scene_offDownstairs_20241215_215511.txt'


syslog

Dec 15 21:52:01 srv4hai CRON[4449]: (root) CMD (/etc/linetest/linetest.sh)
Dec 15 21:52:04 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=4457, secured, session=
Dec 15 21:52:04 srv4hai dovecot: imap(miglincit)<4457>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec 15 21:52:05 srv4hai ping_SP[21917]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734295925 - 'ping_SP_0'
Dec 15 21:52:05 srv4hai ping_SP[21917]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 15 21:52:12 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 15 21:52:12 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 15 21:52:59 srv4hai mosquitto[29419]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Dec 15 21:53:01 srv4hai CRON[4494]: (root) CMD (/etc/linetest/linetest.sh)
Dec 15 21:53:11 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 15 21:53:11 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 15 21:53:11 srv4hai ping_SP[13571]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1734295991 - 'ping_SP_1'
Dec 15 21:53:11 srv4hai ping_SP[13571]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec 15 21:53:18 srv4hai ping_SP[21917]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734295998 - 'ping_SP_0'
Dec 15 21:53:18 srv4hai ping_SP[21917]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 15 21:53:38 srv4hai postfix/smtpd[4554]: connect from unknown[80.94.95.239]
Dec 15 21:53:41 srv4hai postfix/smtpd[4554]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec 15 21:53:42 srv4hai postfix/smtpd[4554]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Dec 15 21:54:01 srv4hai CRON[4562]: (root) CMD (/etc/linetest/linetest.sh)
Dec 15 21:54:09 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 15 21:54:09 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 15 21:54:24 srv4hai dhcpd[4995]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0
Dec 15 21:54:24 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Dec 15 21:54:24 srv4hai ping_SP[13571]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1734296064 - 'ping_SP_1'
Dec 15 21:54:24 srv4hai ping_SP[13571]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec 15 21:54:26 srv4hai dhcpd[4995]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0
Dec 15 21:54:26 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Dec 15 21:54:26 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Dec 15 21:54:26 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.5
Dec 15 21:54:26 srv4hai dhcpd[4995]: execute_statement argv[2] = btscan1
Dec 15 21:54:26 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.5 (192.168.12.252) from 08:3a:8d:d0:46:5a via enp2s0
Dec 15 21:54:26 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Dec 15 21:54:26 srv4hai named[30406]: client @0x7f935062dc00 192.168.12.252#47961/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: btscan1.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec 15 21:54:26 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#58509/key rndc-key: signer "rndc-key" approved
Dec 15 21:54:26 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#58509/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' TXT
Dec 15 21:54:26 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#58509/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' TXT "000118916176265854cff71f762ffe0635"
Dec 15 21:54:26 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#58509/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' A
Dec 15 21:54:26 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#58509/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' A 192.168.12.5
Dec 15 21:54:26 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.5'(5) device 'btscan1'
Dec 15 21:54:26 srv4hai dhcpd[4995]: Added new forward map from btscan1.viehai.at to 192.168.12.5
Dec 15 21:54:26 srv4hai named[30406]: client @0x7f931c01da50 192.168.12.252#55325/key rndc-key: signer "rndc-key" approved
Dec 15 21:54:26 srv4hai named[30406]: client @0x7f931c01da50 192.168.12.252#55325/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '5.12.168.192.in-addr.arpa' PTR
Dec 15 21:54:26 srv4hai named[30406]: client @0x7f931c01da50 192.168.12.252#55325/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '5.12.168.192.in-addr.arpa' PTR btscan1.viehai.at.
Dec 15 21:54:26 srv4hai dhcpd[4995]: Added reverse map from 5.12.168.192.in-addr.arpa. to btscan1.viehai.at
Dec 15 21:54:26 srv4hai dhcpcommit.sh: SHELLY device 'btscan1' known and accepted
Dec 15 21:54:31 srv4hai ping_SP[21917]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734296071 - 'ping_SP_0'
Dec 15 21:54:31 srv4hai ping_SP[21917]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 15 21:54:52 srv4hai common[4624]: SHELLY common.sh inkludiert von ./bt_scan.sh
Dec 15 21:55:01 srv4hai CRON[4643]: (root) CMD (/etc/linetest/linetest.sh)
Dec 15 21:55:02 srv4hai bt_scan[4624]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Dec 15 21:55:02 srv4hai bt_scan[4624]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Dec 15 21:55:02 srv4hai common[4665]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Dec 15 21:55:03 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1734296103-1734296092
Dec 15 21:55:03 srv4hai check_presence[4665]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Dec 15 21:55:03 srv4hai check_presence[4665]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Dec 15 21:55:03 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1734296103-1734296092
Dec 15 21:55:03 srv4hai check_presence[4665]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Dec 15 21:55:03 srv4hai check_presence[4665]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Dec 15 21:55:03 srv4hai common.sh: SHELLY: BTstatus[2]:'null' dweetAge:'11'=1734296103-1734296092
Dec 15 21:55:03 srv4hai check_presence[4665]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and null//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Dec 15 21:55:03 srv4hai check_presence[4665]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Dec 15 21:55:03 srv4hai check_presence[4665]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_nasszeile_um) - sceneOFF(offAll)
Dec 15 21:55:03 srv4hai check_presence[4665]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Dec 15 21:55:04 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 15 21:55:04 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 15 21:55:04 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=4815, secured, session=
Dec 15 21:55:04 srv4hai dovecot: imap(miglincit)<4815>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec 15 21:55:11 srv4hai activate_scenario[4818]: SHELLY scenario: 'offDownstairs(offdownstairs)' started
Dec 15 21:55:11 srv4hai activate_scenario[4818]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-23:'WZ Licht Sofa'

finished