activate_scenario.sh
Wed Sep 11 06:51:32 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/09/11/_0.log)

vorher: 06:51:32.601

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: 06:51:32.625
Dauer: 25 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


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

urls : 1
vorher : 06:51:32.583
nachher: 06:51:32.631
Dauer : 49 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/11//scene_pcON_20240911_065132.txt'


syslog

Sep 11 06:48:01 srv4hai CRON[24599]: (root) CMD (/etc/linetest/linetest.sh)
Sep 11 06:48:07 srv4hai common[24607]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 11 06:48:16 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=24633, secured, session=
Sep 11 06:48:16 srv4hai dovecot: imap(miglincit)<24633>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 11 06:48:17 srv4hai bt_scan[24607]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Sep 11 06:48:17 srv4hai bt_scan[24607]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Sep 11 06:48:20 srv4hai ping_SP[3012]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726030100 - 'ping_SP_0'
Sep 11 06:48:20 srv4hai ping_SP[3012]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 11 06:48:22 srv4hai ping_SP[32675]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726030102 - 'ping_SP_1'
Sep 11 06:48:22 srv4hai ping_SP[32675]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 11 06:49:01 srv4hai CRON[24691]: (root) CMD (/etc/linetest/linetest.sh)
Sep 11 06:49:08 srv4hai postfix/anvil[24414]: statistics: max connection rate 1/60s for (smtp:80.94.92.146) at Sep 11 06:44:42
Sep 11 06:49:08 srv4hai postfix/anvil[24414]: statistics: max connection count 1 for (smtp:80.94.92.146) at Sep 11 06:44:42
Sep 11 06:49:08 srv4hai postfix/anvil[24414]: statistics: max cache size 3 at Sep 11 06:45:44
Sep 11 06:49:26 srv4hai systemd[1]: Starting Daily apt upgrade and clean activities...
Sep 11 06:49:27 srv4hai systemd[1]: apt-daily-upgrade.service: Succeeded.
Sep 11 06:49:27 srv4hai systemd[1]: Started Daily apt upgrade and clean activities.
Sep 11 06:49:33 srv4hai ping_SP[3012]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726030173 - 'ping_SP_0'
Sep 11 06:49:33 srv4hai ping_SP[3012]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 11 06:49:35 srv4hai ping_SP[32675]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726030175 - 'ping_SP_1'
Sep 11 06:49:35 srv4hai ping_SP[32675]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 11 06:49:42 srv4hai common[24799]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 11 06:49:52 srv4hai bt_scan[24799]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Sep 11 06:49:52 srv4hai bt_scan[24799]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Sep 11 06:49:52 srv4hai common[24832]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep 11 06:49:53 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1726030193-1726030182
Sep 11 06:49:53 srv4hai check_presence[24832]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Sep 11 06:49:53 srv4hai check_presence[24832]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Sep 11 06:49:53 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1726030193-1726030182
Sep 11 06:49:53 srv4hai check_presence[24832]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Sep 11 06:49:53 srv4hai check_presence[24832]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Sep 11 06:49:53 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1726030193-1726030182
Sep 11 06:49:53 srv4hai check_presence[24832]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Sep 11 06:49:53 srv4hai check_presence[24832]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Sep 11 06:49:53 srv4hai check_presence[24832]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_vorraumOn) - sceneOFF(offAll)
Sep 11 06:49:53 srv4hai check_presence[24832]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Sep 11 06:50:01 srv4hai CRON[24984]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Sep 11 06:50:01 srv4hai CRON[24985]: (root) CMD (/etc/linetest/linetest.sh)
Sep 11 06:50:01 srv4hai common[24987]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Sep 11 06:50:01 srv4hai meter.sh: SHELLY meter.sh started
Sep 11 06:50:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Sep 11 06:50:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Sep 11 06:50:06 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Sep 11 06:50:06 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Sep 11 06:50:06 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Sep 11 06:50:06 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Sep 11 06:50:06 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Sep 11 06:50:09 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 11 06:50:11 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 11 06:50:11 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Sep 11 06:50:11 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Sep 11 06:50:11 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Sep 11 06:50:11 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Sep 11 06:50:11 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Sep 11 06:50:11 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test' - status: 'OOS' ignoring
Sep 11 06:50:12 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Sep 11 06:50:12 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Sep 11 06:50:12 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Sep 11 06:50:12 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Sep 11 06:50:12 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Sep 11 06:50:12 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Sep 11 06:50:12 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Sep 11 06:50:12 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Sep 11 06:50:12 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Sep 11 06:50:12 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Sep 11 06:50:16 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 11 06:50:16 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Sep 11 06:50:16 srv4hai common[25875]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Sep 11 06:50:16 srv4hai check_shelly.sh: SHELLY last scenery executed: 'vorraumOn'
Sep 11 06:50:16 srv4hai check_shelly.sh: SHELLY found '1' active shelly outputs
Sep 11 06:50:16 srv4hai meter.sh: SHELLY meter.sh ended
Sep 11 06:50:18 srv4hai common[25899]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 11 06:50:28 srv4hai bt_scan[25899]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Sep 11 06:50:28 srv4hai bt_scan[25899]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Sep 11 06:50:46 srv4hai ping_SP[3012]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726030246 - 'ping_SP_0'
Sep 11 06:50:46 srv4hai ping_SP[3012]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 11 06:50:48 srv4hai ping_SP[32675]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726030248 - 'ping_SP_1'
Sep 11 06:50:48 srv4hai ping_SP[32675]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 11 06:51:01 srv4hai CRON[25985]: (root) CMD (/etc/linetest/linetest.sh)
Sep 11 06:51:13 srv4hai activate_scenario[25993]: SHELLY scenario: 'buero_UM(buero_um)' started
Sep 11 06:51:13 srv4hai activate_scenario[25993]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Sep 11 06:51:13 srv4hai activate_scenario[25993]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Sep 11 06:51:13 srv4hai postfix/pickup[21048]: 9BC456345B: uid=33 from=
Sep 11 06:51:13 srv4hai postfix/cleanup[26046]: 9BC456345B: message-id=<20240911045113.9BC456345B@mail.viehai.at>
Sep 11 06:51:13 srv4hai postfix/qmgr[8566]: 9BC456345B: from=, size=9438, nrcpt=1 (queue active)
Sep 11 06:51:13 srv4hai activate_scenario[25993]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
Sep 11 06:51:13 srv4hai proc_url[26064]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/11/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Sep 11 06:51:13 srv4hai postfix/local[26059]: 9BC456345B: to=, orig_to=, relay=local, delay=0.04, delays=0.02/0/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null")
Sep 11 06:51:13 srv4hai postfix/cleanup[26046]: A43CE6345C: message-id=<20240911045113.A43CE6345C@mail.viehai.at>
Sep 11 06:51:13 srv4hai activate_scenario[25993]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
Sep 11 06:51:13 srv4hai proc_url[26075]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/11/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Sep 11 06:51:13 srv4hai postfix/bounce[26060]: 9BC456345B: sender non-delivery notification: A43CE6345C
Sep 11 06:51:13 srv4hai postfix/qmgr[8566]: A43CE6345C: from=<>, size=11360, nrcpt=1 (queue active)
Sep 11 06:51:13 srv4hai postfix/qmgr[8566]: 9BC456345B: removed
Sep 11 06:51:13 srv4hai postfix/local[26059]: A43CE6345C: to=, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Sep 11 06:51:13 srv4hai postfix/qmgr[8566]: A43CE6345C: removed
Sep 11 06:51:13 srv4hai activate_scenario[25993]: SHELLY scenario: 'buero_UM(buero_um)' took 83 msec, shelly-40:'Thomas Büro Licht'
Sep 11 06:51:16 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=26118, secured, session=
Sep 11 06:51:16 srv4hai dovecot: imap(miglincit)<26118>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 11 06:51:32 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Sep 11 06:51:32 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.10
Sep 11 06:51:32 srv4hai dhcpd[30731]: execute_statement argv[2] = pchai7x
Sep 11 06:51:32 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Sep 11 06:51:32 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Sep 11 06:51:32 srv4hai named[30406]: client @0x7f934c0733f0 192.168.12.252#42349/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Sep 11 06:51:32 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#37215/key rndc-key: signer "rndc-key" approved
Sep 11 06:51:32 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#37215/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Sep 11 06:51:32 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#37215/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Sep 11 06:51:32 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#37215/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Sep 11 06:51:32 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#37215/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Sep 11 06:51:32 srv4hai dhcpd[30731]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Sep 11 06:51:32 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Sep 11 06:51:32 srv4hai named[30406]: client @0x7f9350100b10 192.168.12.252#57593/key rndc-key: signer "rndc-key" approved
Sep 11 06:51:32 srv4hai named[30406]: client @0x7f9350100b10 192.168.12.252#57593/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Sep 11 06:51:32 srv4hai named[30406]: client @0x7f9350100b10 192.168.12.252#57593/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.
Sep 11 06:51:32 srv4hai dhcpd[30731]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Sep 11 06:51:32 srv4hai activate_scenario[26130]: SHELLY scenario: 'pcON(pcon)' started
Sep 11 06:51:32 srv4hai activate_scenario[26130]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished