activate_scenario.sh
Sat Feb 22 08:09:38 CET 2025
scenario: vorraumOn
phoneName: 0

'day' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'thomas@miglinci.name'

scenario: 'Vorzimmer EIN' - 'vorraumOn' - 'vorraumon'

VZ Licht (/srv/www/viehai/shelly/log_scenarios/2025/02/22/_0.log)

vorher: 08:09:38.614

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

nachher: 08:09:38.644
Dauer: 30 msec phName: 'phoneName:'0''


scenario: 'Vorzimmer EIN' - 'vorraumOn' - 'vorraumon'

urls : 1
vorher : 08:09:38.586
nachher: 08:09:38.652
Dauer : 67 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/22//scene_vorraumOn_20250222_080938.txt'


syslog

Feb 22 08:06:00 srv4hai common[5409]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 22 08:06:01 srv4hai CRON[5434]: (root) CMD (/etc/linetest/linetest.sh)
Feb 22 08:06:17 srv4hai ping_SP[12654]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1740207977 - 'ping_SP_1'
Feb 22 08:06:17 srv4hai ping_SP[12654]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 22 08:06:19 srv4hai kernel: [86186035.965335] CPU5: Package temperature/speed normal
Feb 22 08:06:19 srv4hai kernel: [86186035.965336] CPU2: Package temperature/speed normal
Feb 22 08:06:19 srv4hai kernel: [86186035.965337] CPU1: Package temperature/speed normal
Feb 22 08:06:19 srv4hai kernel: [86186035.965337] CPU6: Package temperature/speed normal
Feb 22 08:06:19 srv4hai kernel: [86186035.965377] CPU4: Package temperature/speed normal
Feb 22 08:06:19 srv4hai kernel: [86186035.965377] CPU0: Package temperature/speed normal
Feb 22 08:06:19 srv4hai kernel: [86186035.965378] CPU3: Package temperature/speed normal
Feb 22 08:06:19 srv4hai kernel: [86186035.965379] CPU7: Package temperature/speed normal
Feb 22 08:06:29 srv4hai common[5459]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 22 08:06:29 srv4hai common[5483]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 22 08:07:00 srv4hai common[5510]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 22 08:07:00 srv4hai common[5534]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 22 08:07:00 srv4hai common[5558]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 22 08:07:01 srv4hai CRON[5583]: (root) CMD (/etc/linetest/linetest.sh)
Feb 22 08:07:21 srv4hai ping_SP[12654]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1740208041 - 'ping_SP_1'
Feb 22 08:07:21 srv4hai ping_SP[12654]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 22 08:07:29 srv4hai common[5610]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 22 08:07:29 srv4hai common[5634]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 22 08:07:59 srv4hai common[5667]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 22 08:07:59 srv4hai common[5691]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 22 08:08:00 srv4hai common[5715]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 22 08:08:01 srv4hai CRON[5740]: (root) CMD (/etc/linetest/linetest.sh)
Feb 22 08:08:24 srv4hai ping_SP[12654]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1740208104 - 'ping_SP_1'
Feb 22 08:08:24 srv4hai ping_SP[12654]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 22 08:08:29 srv4hai common[5767]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 22 08:08:29 srv4hai common[5791]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 22 08:08:42 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=5818, secured, session=<83/8xrUusooAAAAAAAAAAAAAAAAAAAAB>
Feb 22 08:08:42 srv4hai dovecot: imap(miglincit)<5818><83/8xrUusooAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 22 08:09:00 srv4hai common[5826]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 22 08:09:00 srv4hai common[5851]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 22 08:09:00 srv4hai common[5875]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 22 08:09:01 srv4hai CRON[5904]: (root) CMD (/etc/linetest/linetest.sh)
Feb 22 08:09:01 srv4hai CRON[5905]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Feb 22 08:09:01 srv4hai systemd[1]: Starting Clean php session files...
Feb 22 08:09:02 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Feb 22 08:09:02 srv4hai systemd[1]: Started Clean php session files.
Feb 22 08:09:03 srv4hai postfix/smtpd[6004]: connect from unknown[unknown]
Feb 22 08:09:03 srv4hai postfix/smtpd[6004]: lost connection after CONNECT from unknown[unknown]
Feb 22 08:09:03 srv4hai postfix/smtpd[6004]: disconnect from unknown[unknown] commands=0/0
Feb 22 08:09:19 srv4hai dhcpd[4995]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0
Feb 22 08:09:19 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Feb 22 08:09:21 srv4hai dhcpd[4995]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0
Feb 22 08:09:21 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Feb 22 08:09:21 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Feb 22 08:09:21 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.5
Feb 22 08:09:21 srv4hai dhcpd[4995]: execute_statement argv[2] = btscan1
Feb 22 08:09:21 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.5 (192.168.12.252) from 08:3a:8d:d0:46:5a via enp2s0
Feb 22 08:09:21 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Feb 22 08:09:21 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#46659/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: btscan1.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 22 08:09:21 srv4hai named[30406]: client @0x7f9310079c50 192.168.12.252#40141/key rndc-key: signer "rndc-key" approved
Feb 22 08:09:21 srv4hai named[30406]: client @0x7f9310079c50 192.168.12.252#40141/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' TXT
Feb 22 08:09:21 srv4hai named[30406]: client @0x7f9310079c50 192.168.12.252#40141/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' TXT "000118916176265854cff71f762ffe0635"
Feb 22 08:09:21 srv4hai named[30406]: client @0x7f9310079c50 192.168.12.252#40141/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' A
Feb 22 08:09:21 srv4hai named[30406]: client @0x7f9310079c50 192.168.12.252#40141/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' A 192.168.12.5
Feb 22 08:09:21 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.5'(5) device 'btscan1'
Feb 22 08:09:21 srv4hai dhcpd[4995]: Added new forward map from btscan1.viehai.at to 192.168.12.5
Feb 22 08:09:21 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#41097/key rndc-key: signer "rndc-key" approved
Feb 22 08:09:21 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#41097/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '5.12.168.192.in-addr.arpa' PTR
Feb 22 08:09:21 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#41097/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.
Feb 22 08:09:21 srv4hai dhcpd[4995]: Added reverse map from 5.12.168.192.in-addr.arpa. to btscan1.viehai.at
Feb 22 08:09:21 srv4hai dhcpcommit.sh: SHELLY device 'btscan1' known and accepted
Feb 22 08:09:27 srv4hai ping_SP[12654]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1740208167 - 'ping_SP_1'
Feb 22 08:09:27 srv4hai ping_SP[12654]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 22 08:09:27 srv4hai dhcpd[4995]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Feb 22 08:09:27 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Feb 22 08:09:27 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Feb 22 08:09:27 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.61
Feb 22 08:09:27 srv4hai dhcpd[4995]: execute_statement argv[2] = fpThomas
Feb 22 08:09:27 srv4hai common[6035]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Feb 22 08:09:27 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Feb 22 08:09:27 srv4hai common[6050]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Feb 22 08:09:27 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Feb 22 08:09:27 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Feb 22 08:09:27 srv4hai named[30406]: client @0x7f931c0a07f0 192.168.12.252#43855/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 22 08:09:27 srv4hai named[30406]: client @0x7f931c058e00 192.168.12.252#53803/key rndc-key: signer "rndc-key" approved
Feb 22 08:09:27 srv4hai named[30406]: client @0x7f931c058e00 192.168.12.252#53803/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Feb 22 08:09:27 srv4hai named[30406]: client @0x7f931c058e00 192.168.12.252#53803/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Feb 22 08:09:27 srv4hai named[30406]: client @0x7f931c058e00 192.168.12.252#53803/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Feb 22 08:09:27 srv4hai named[30406]: client @0x7f931c058e00 192.168.12.252#53803/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Feb 22 08:09:27 srv4hai dhcpd[4995]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Feb 22 08:09:27 srv4hai named[30406]: client @0x7f931006ae50 192.168.12.252#43883/key rndc-key: signer "rndc-key" approved
Feb 22 08:09:27 srv4hai named[30406]: client @0x7f931006ae50 192.168.12.252#43883/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Feb 22 08:09:27 srv4hai named[30406]: client @0x7f931006ae50 192.168.12.252#43883/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.
Feb 22 08:09:27 srv4hai dhcpd[4995]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Feb 22 08:09:27 srv4hai ping_SP[6050]: SHELLY ping_SP.sh started from smartphone, user:'root'
Feb 22 08:09:29 srv4hai common[6071]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 22 08:09:29 srv4hai common[6095]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 22 08:09:30 srv4hai common[6121]: SHELLY common.sh inkludiert von ./bt_scan.sh
Feb 22 08:09:37 srv4hai common[6143]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Feb 22 08:09:38 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'2'=1740208178-1740208176
Feb 22 08:09:38 srv4hai check_presence[6143]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Feb 22 08:09:38 srv4hai check_presence[6143]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Feb 22 08:09:38 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'2'=1740208178-1740208176
Feb 22 08:09:38 srv4hai check_presence[6143]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Feb 22 08:09:38 srv4hai check_presence[6143]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Feb 22 08:09:38 srv4hai check_presence[6143]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(BT/LIVE) (BT/LIVE)' - anyPresent: 'true' - otherPresent:'true'
Feb 22 08:09:38 srv4hai check_presence[6143]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_nasszeile_um) - sceneONsmall(vorraumOn)
Feb 22 08:09:38 srv4hai check_presence[6143]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Feb 22 08:09:38 srv4hai activate_scenario[6260]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Feb 22 08:09:38 srv4hai activate_scenario[6260]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished