activate_scenario.sh
Fri Jul 26 23:48:25 CEST 2024
scenario: vorraumOff
source: 192.168.12.125

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

scenario: 'Vorraum/Küche AUS-schalten' - 'vorraumOff' - 'vorraumoff'

Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/07/26/_0.log)

vorher: 23:48:25.715

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: 23:48:25.782
Dauer: 67 msec phName: 'shelly-25:'Küchenlicht''


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

vorher: 23:48:25.738

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

nachher: 23:48:25.776
Dauer: 38 msec phName: 'shelly-25:'Küchenlicht''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/07/26/_2.log)

vorher: 23:48:25.760

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

nachher: 23:48:25.805
Dauer: 45 msec phName: 'shelly-25:'Küchenlicht''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/07/26/_3.log)

vorher: 23:48:25.783

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: 23:48:25.882
Dauer: 98 msec phName: 'shelly-25:'Küchenlicht''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/07/26/_4.log)

vorher: 23:48:25.797

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: 23:48:25.899
Dauer: 101 msec phName: 'shelly-25:'Küchenlicht''


WC (/srv/www/viehai/shelly/log_scenarios/2024/07/26/_5.log)

vorher: 23:48:25.810

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: 23:48:25.836
Dauer: 25 msec phName: 'shelly-25:'Küchenlicht''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/07/26/_6.log)

vorher: 23:48:25.825

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: 23:48:25.867
Dauer: 42 msec phName: 'shelly-25:'Küchenlicht''


scenario: 'Vorraum/Küche AUS-schalten' - 'vorraumOff' - 'vorraumoff'

urls : 7
vorher : 23:48:25.680
nachher: 23:48:25.908
Dauer : 229 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/26//scene_vorraumOff_20240726_234825.txt'


syslog

Jul 26 23:45:00 srv4hai smartd[27489]: Device: /dev/sdd [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 102 to 103
Jul 26 23:45:01 srv4hai CRON[24627]: (root) CMD (/etc/linetest/linetest.sh)
Jul 26 23:45:11 srv4hai ping_SP[19411]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722030311 - 'ping_SP_0'
Jul 26 23:45:11 srv4hai ping_SP[19411]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 26 23:45:15 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=24657, secured, session=
Jul 26 23:45:15 srv4hai dovecot: imap(miglincit)<24657>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 26 23:45:43 srv4hai dhcpd[30731]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0
Jul 26 23:45:43 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Jul 26 23:45:43 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Jul 26 23:45:43 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.5
Jul 26 23:45:43 srv4hai dhcpd[30731]: execute_statement argv[2] = btscan1
Jul 26 23:45:43 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.5 (192.168.12.252) from 08:3a:8d:d0:46:5a via enp2s0
Jul 26 23:45:43 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Jul 26 23:45:43 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#43639/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: btscan1.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 26 23:45:43 srv4hai named[30406]: client @0x7f931c085800 192.168.12.252#56533/key rndc-key: signer "rndc-key" approved
Jul 26 23:45:43 srv4hai named[30406]: client @0x7f931c085800 192.168.12.252#56533/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' TXT
Jul 26 23:45:43 srv4hai named[30406]: client @0x7f931c085800 192.168.12.252#56533/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' TXT "000118916176265854cff71f762ffe0635"
Jul 26 23:45:43 srv4hai named[30406]: client @0x7f931c085800 192.168.12.252#56533/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' A
Jul 26 23:45:43 srv4hai named[30406]: client @0x7f931c085800 192.168.12.252#56533/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' A 192.168.12.5
Jul 26 23:45:43 srv4hai dhcpd[30731]: Added new forward map from btscan1.viehai.at to 192.168.12.5
Jul 26 23:45:43 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.5'(5) device 'btscan1'
Jul 26 23:45:43 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#60815/key rndc-key: signer "rndc-key" approved
Jul 26 23:45:43 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#60815/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '5.12.168.192.in-addr.arpa' PTR
Jul 26 23:45:43 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#60815/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.
Jul 26 23:45:43 srv4hai dhcpd[30731]: Added reverse map from 5.12.168.192.in-addr.arpa. to btscan1.viehai.at
Jul 26 23:45:43 srv4hai dhcpcommit.sh: SHELLY device 'btscan1' known and accepted
Jul 26 23:45:43 srv4hai named[30406]: resolver priming query complete
Jul 26 23:45:46 srv4hai ping_SP[1414]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1722030346 - 'ping_SP_1'
Jul 26 23:45:46 srv4hai ping_SP[1414]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 26 23:45:46 srv4hai postfix/anvil[24471]: statistics: max connection rate 1/60s for (smtp:94.141.120.192) at Jul 26 23:42:26
Jul 26 23:45:46 srv4hai postfix/anvil[24471]: statistics: max connection count 1 for (smtp:94.141.120.192) at Jul 26 23:42:26
Jul 26 23:45:46 srv4hai postfix/anvil[24471]: statistics: max cache size 1 at Jul 26 23:42:26
Jul 26 23:45:56 srv4hai named[30406]: resolver priming query complete
Jul 26 23:46:01 srv4hai CRON[24703]: (root) CMD (/etc/linetest/linetest.sh)
Jul 26 23:46:14 srv4hai named[30406]: resolver priming query complete
Jul 26 23:46:24 srv4hai ping_SP[19411]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722030384 - 'ping_SP_0'
Jul 26 23:46:24 srv4hai ping_SP[19411]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 26 23:46:59 srv4hai ping_SP[1414]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1722030419 - 'ping_SP_1'
Jul 26 23:46:59 srv4hai ping_SP[1414]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 26 23:47:01 srv4hai CRON[24771]: (root) CMD (/etc/linetest/linetest.sh)
Jul 26 23:47:21 srv4hai common[24784]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul 26 23:47:21 srv4hai named[30406]: resolver priming query complete
Jul 26 23:47:31 srv4hai bt_scan[24784]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Jul 26 23:47:31 srv4hai bt_scan[24784]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Jul 26 23:47:31 srv4hai common[24824]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul 26 23:47:32 srv4hai named[30406]: resolver priming query complete
Jul 26 23:47:32 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1722030452-1722030442
Jul 26 23:47:32 srv4hai check_presence[24824]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jul 26 23:47:32 srv4hai check_presence[24824]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Jul 26 23:47:32 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'10'=1722030452-1722030442
Jul 26 23:47:32 srv4hai check_presence[24824]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Jul 26 23:47:32 srv4hai check_presence[24824]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Jul 26 23:47:32 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1722030452-1722030442
Jul 26 23:47:32 srv4hai check_presence[24824]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jul 26 23:47:32 srv4hai check_presence[24824]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jul 26 23:47:32 srv4hai check_presence[24824]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_vorraumOn) - sceneOFF(offAll)
Jul 26 23:47:32 srv4hai check_presence[24824]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Jul 26 23:47:38 srv4hai ping_SP[19411]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722030458 - 'ping_SP_0'
Jul 26 23:47:38 srv4hai ping_SP[19411]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 26 23:48:01 srv4hai CRON[25007]: (root) CMD (/etc/linetest/linetest.sh)
Jul 26 23:48:02 srv4hai named[30406]: validating config-at.iocnt.net/A: no valid signature found
Jul 26 23:48:05 srv4hai named[30406]: resolver priming query complete
Jul 26 23:48:13 srv4hai ping_SP[1414]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1722030493 - 'ping_SP_1'
Jul 26 23:48:13 srv4hai ping_SP[1414]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 26 23:48:15 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=25040, secured, session=
Jul 26 23:48:15 srv4hai dovecot: imap(miglincit)<25040>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 26 23:48:16 srv4hai named[30406]: connection refused resolving 'live.com/DS/IN': 95.129.202.2#53
Jul 26 23:48:25 srv4hai activate_scenario[25046]: SHELLY scenario: 'vorraumOff(vorraumoff)' started
Jul 26 23:48:25 srv4hai activate_scenario[25046]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-25:'Küchenlicht'

finished