activate_scenario.sh
Sun Apr 7 09:18:24 CEST 2024
scenario: pcON
origin: dhcpcommit.sh-pchai7x

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

scenario: 'Schreibtisch Thomas EIN-schalten' - 'pcON' - 'pcon'

Thomas Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/04/07/_0.log)

vorher: 09:18:24.626

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

nachher: 09:18:24.656
Dauer: 30 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


scenario: 'Schreibtisch Thomas EIN-schalten' - 'pcON' - 'pcon'

urls : 1
vorher : 09:18:24.597
nachher: 09:18:24.663
Dauer : 66 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/07//scene_pcON_20240407_091824.txt'


syslog

Apr  7 09:15:00 srv4hai smartd[27489]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 52 to 51
Apr  7 09:15:01 srv4hai CRON[11335]: (root) CMD (/etc/linetest/linetest.sh)
Apr  7 09:15:13 srv4hai ping_SP[27672]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712474113 - 'ping_SP_0'
Apr  7 09:15:13 srv4hai ping_SP[27672]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  7 09:15:30 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Apr  7 09:15:30 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.28
Apr  7 09:15:30 srv4hai dhcpd[28085]: execute_statement argv[2] = harmonyhub
Apr  7 09:15:30 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.28 from c8:db:26:0c:f3:8e via enp2s0
Apr  7 09:15:30 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.28 to c8:db:26:0c:f3:8e via enp2s0
Apr  7 09:15:30 srv4hai named[15509]: client @0x7f931c100b10 192.168.12.252#34289/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: harmonyhub.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr  7 09:15:30 srv4hai named[15509]: client @0x7f930801c730 192.168.12.252#47595/key rndc-key: signer "rndc-key" approved
Apr  7 09:15:30 srv4hai named[15509]: client @0x7f930801c730 192.168.12.252#47595/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' TXT
Apr  7 09:15:30 srv4hai named[15509]: client @0x7f930801c730 192.168.12.252#47595/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' TXT "3122b5a8b4281156e6f217b32b7e260713"
Apr  7 09:15:30 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.28'(28) device 'harmonyhub'
Apr  7 09:15:30 srv4hai named[15509]: client @0x7f930801c730 192.168.12.252#47595/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' A
Apr  7 09:15:30 srv4hai named[15509]: client @0x7f930801c730 192.168.12.252#47595/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' A 192.168.12.28
Apr  7 09:15:30 srv4hai dhcpd[28085]: Added new forward map from harmonyhub.viehai.at to 192.168.12.28
Apr  7 09:15:30 srv4hai named[15509]: client @0x7f931c6d4af0 192.168.12.252#54597/key rndc-key: signer "rndc-key" approved
Apr  7 09:15:30 srv4hai named[15509]: client @0x7f931c6d4af0 192.168.12.252#54597/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '28.12.168.192.in-addr.arpa' PTR
Apr  7 09:15:30 srv4hai named[15509]: client @0x7f931c6d4af0 192.168.12.252#54597/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '28.12.168.192.in-addr.arpa' PTR harmonyhub.viehai.at.
Apr  7 09:15:30 srv4hai dhcpd[28085]: Added reverse map from 28.12.168.192.in-addr.arpa. to harmonyhub.viehai.at
Apr  7 09:15:30 srv4hai dhcpcommit.sh: SHELLY device 'harmonyhub' known and accepted
Apr  7 09:16:01 srv4hai CRON[11380]: (root) CMD (/etc/linetest/linetest.sh)
Apr  7 09:16:26 srv4hai ping_SP[27672]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712474186 - 'ping_SP_0'
Apr  7 09:16:26 srv4hai ping_SP[27672]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  7 09:16:41 srv4hai postfix/smtpd[11413]: connect from starttls-virginia.securing-email.com[34.227.19.103]
Apr  7 09:16:42 srv4hai postfix/smtpd[11413]: disconnect from starttls-virginia.securing-email.com[34.227.19.103] ehlo=2 starttls=1 quit=1 commands=4
Apr  7 09:17:01 srv4hai CRON[11422]: (root) CMD (/etc/linetest/linetest.sh)
Apr  7 09:17:01 srv4hai CRON[11423]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Apr  7 09:17:29 srv4hai common[11445]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr  7 09:17:39 srv4hai ping_SP[27672]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712474259 - 'ping_SP_0'
Apr  7 09:17:39 srv4hai ping_SP[27672]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  7 09:17:39 srv4hai bt_scan[11445]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'No'
Apr  7 09:17:39 srv4hai bt_scan[11445]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Apr  7 09:17:39 srv4hai common[11490]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Apr  7 09:17:40 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1712474260-1712474250
Apr  7 09:17:40 srv4hai check_presence[11490]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Apr  7 09:17:40 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1712474260-1712474250
Apr  7 09:17:40 srv4hai check_presence[11490]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Apr  7 09:17:40 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1712474260-1712474250
Apr  7 09:17:40 srv4hai check_presence[11490]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr  7 09:17:40 srv4hai check_presence[11490]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Apr  7 09:17:40 srv4hai check_presence[11490]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Apr  7 09:17:41 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=11602, secured, session=
Apr  7 09:17:41 srv4hai dovecot: imap(miglincit)<11602>: Logged out in=401 out=1233 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr  7 09:18:01 srv4hai CRON[11608]: (root) CMD (/etc/linetest/linetest.sh)
Apr  7 09:18:24 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Apr  7 09:18:24 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.10
Apr  7 09:18:24 srv4hai dhcpd[28085]: execute_statement argv[2] = pchai7x
Apr  7 09:18:24 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Apr  7 09:18:24 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Apr  7 09:18:24 srv4hai named[15509]: client @0x7f931c13a950 192.168.12.252#50113/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr  7 09:18:24 srv4hai named[15509]: client @0x7f93080202a0 192.168.12.252#38781/key rndc-key: signer "rndc-key" approved
Apr  7 09:18:24 srv4hai named[15509]: client @0x7f93080202a0 192.168.12.252#38781/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Apr  7 09:18:24 srv4hai named[15509]: client @0x7f93080202a0 192.168.12.252#38781/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Apr  7 09:18:24 srv4hai named[15509]: client @0x7f93080202a0 192.168.12.252#38781/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Apr  7 09:18:24 srv4hai named[15509]: client @0x7f93080202a0 192.168.12.252#38781/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Apr  7 09:18:24 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Apr  7 09:18:24 srv4hai dhcpd[28085]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Apr  7 09:18:24 srv4hai named[15509]: client @0x7f931007d0f0 192.168.12.252#33473/key rndc-key: signer "rndc-key" approved
Apr  7 09:18:24 srv4hai named[15509]: client @0x7f931007d0f0 192.168.12.252#33473/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Apr  7 09:18:24 srv4hai named[15509]: client @0x7f931007d0f0 192.168.12.252#33473/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '10.12.168.192.in-addr.arpa' PTR pchai7x.viehai.at.
Apr  7 09:18:24 srv4hai dhcpd[28085]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Apr  7 09:18:24 srv4hai activate_scenario[11622]: SHELLY scenario: 'pcON(pcon)' started
Apr  7 09:18:24 srv4hai activate_scenario[11622]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished