activate_scenario.sh
Sun Feb 11 07:53:03 CET 2024
scenario: sekr_UM
source: 192.168.12.101

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

scenario: 'Sekretär Licht UM-schalten' - 'sekr_UM' - 'sekr_um'

Licht Sekretär (/srv/www/viehai/shelly/log_scenarios/2024/02/11/_0.log)

vorher: 07:53:03.569

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

nachher: 07:53:03.615
Dauer: 45 msec phName: 'shelly-01:'Wandlicht beim Esstisch''


scenario: 'Sekretär Licht UM-schalten' - 'sekr_UM' - 'sekr_um'

urls : 1
vorher : 07:53:03.530
nachher: 07:53:03.621
Dauer : 92 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/11//scene_sekr_UM_20240211_075303.txt'


syslog

Feb 11 07:50:01 srv4hai CRON[27882]: (root) CMD (/etc/linetest/linetest.sh)
Feb 11 07:50:01 srv4hai CRON[27883]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Feb 11 07:50:01 srv4hai meter.sh: SHELLY meter.sh started
Feb 11 07:50:04 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28209, secured, session=
Feb 11 07:50:04 srv4hai dovecot: imap(miglincit)<28209>: 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 11 07:50:08 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 11 07:50:10 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 11 07:50:13 srv4hai meter.sh: SHELLY 'shelly-37/Wetter 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 11 07:50:15 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 11 07:50:18 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 11 07:50:21 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 11 07:50:23 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 11 07:50:26 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 11 07:50:28 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 11 07:50:31 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 11 07:50:33 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 11 07:50:36 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 11 07:50:38 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 11 07:50:41 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 11 07:50:44 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 11 07:50:46 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 11 07:50:49 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 11 07:50:51 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 11 07:50:54 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 11 07:50:57 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 11 07:50:58 srv4hai postfix/anvil[27806]: statistics: max connection rate 1/60s for (smtp:193.222.96.116) at Feb 11 07:45:01
Feb 11 07:50:58 srv4hai postfix/anvil[27806]: statistics: max connection count 1 for (smtp:193.222.96.116) at Feb 11 07:45:01
Feb 11 07:50:58 srv4hai postfix/anvil[27806]: statistics: max cache size 2 at Feb 11 07:45:48
Feb 11 07:50:59 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 11 07:50:59 srv4hai meter.sh: SHELLY meter.sh ended
Feb 11 07:50:59 srv4hai postfix/pickup[27762]: A0CCD60244: uid=33 from=
Feb 11 07:50:59 srv4hai postfix/cleanup[28515]: A0CCD60244: message-id=<20240211065059.A0CCD60244@mail.viehai.at>
Feb 11 07:50:59 srv4hai postfix/qmgr[28610]: A0CCD60244: from=, size=654, nrcpt=1 (queue active)
Feb 11 07:50:59 srv4hai postfix/local[28517]: A0CCD60244: to=, orig_to=, relay=local, delay=0.07, delays=0.04/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 11 07:50:59 srv4hai postfix/qmgr[28610]: A0CCD60244: removed
Feb 11 07:51:01 srv4hai CRON[28520]: (root) CMD (/etc/linetest/linetest.sh)
Feb 11 07:52:01 srv4hai dhcpd[5037]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Feb 11 07:52:01 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Feb 11 07:52:01 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Feb 11 07:52:01 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.61
Feb 11 07:52:01 srv4hai dhcpd[5037]: execute_statement argv[2] = fpThomas
Feb 11 07:52:01 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Feb 11 07:52:01 srv4hai dhcpd[5037]: execute: /srv/www/viehai/shelly/smartphone.sh exit status 32512
Feb 11 07:52:01 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Feb 11 07:52:01 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Feb 11 07:52:01 srv4hai named[14530]: client @0x7fc308070fe0 192.168.12.252#42743/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 11 07:52:01 srv4hai named[14530]: client @0x7fc32812c1c0 192.168.12.252#43587/key rndc-key: signer "rndc-key" approved
Feb 11 07:52:01 srv4hai named[14530]: client @0x7fc32812c1c0 192.168.12.252#43587/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Feb 11 07:52:01 srv4hai named[14530]: client @0x7fc32812c1c0 192.168.12.252#43587/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Feb 11 07:52:01 srv4hai named[14530]: client @0x7fc32812c1c0 192.168.12.252#43587/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Feb 11 07:52:01 srv4hai named[14530]: client @0x7fc32812c1c0 192.168.12.252#43587/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Feb 11 07:52:01 srv4hai dhcpd[5037]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Feb 11 07:52:01 srv4hai ping_SP[28532]: SHELLY ping_SP.sh started from smartphone
Feb 11 07:52:01 srv4hai named[14530]: client @0x7fc308060380 192.168.12.252#55829/key rndc-key: signer "rndc-key" approved
Feb 11 07:52:01 srv4hai named[14530]: client @0x7fc308060380 192.168.12.252#55829/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Feb 11 07:52:01 srv4hai named[14530]: client @0x7fc308060380 192.168.12.252#55829/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 11 07:52:01 srv4hai dhcpd[5037]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Feb 11 07:52:01 srv4hai ping_SP[28532]: SHELLY check_presence.sh coming 0 ping_SP__smartphone
Feb 11 07:52:01 srv4hai CRON[28544]: (root) CMD (/etc/linetest/linetest.sh)
Feb 11 07:52:03 srv4hai ping_SP[28532]: SHELLY - new process for '192.168.12.61' - '/meter/ping_SP_0' @~1707634323
Feb 11 07:52:06 srv4hai ping_SP[28532]: SHELLY (0) - ping 192.168.12.61 0 sucessfully  @~1707634326 - 'ping_SP_0'
Feb 11 07:52:06 srv4hai ping_SP[28532]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 11 07:52:11 srv4hai common[28567]: SHELLY common.sh inkludiert
Feb 11 07:52:11 srv4hai bt_scan[28567]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'Yes'
Feb 11 07:52:11 srv4hai bt_scan[28567]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Feb 11 07:52:11 srv4hai common[28600]: SHELLY common.sh inkludiert
Feb 11 07:52:11 srv4hai ping_SP[28600]: SHELLY ping_SP.sh started from bt_scan
Feb 11 07:52:11 srv4hai common[28609]: SHELLY common.sh inkludiert
Feb 11 07:52:11 srv4hai check_presence[28609]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/__) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Feb 11 07:52:11 srv4hai check_presence[28609]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: welcomeLight
Feb 11 07:52:11 srv4hai activate_scenario[28647]: SHELLY scenario: 'welcomeLight(welcomelight)' started
Feb 11 07:52:11 srv4hai activate_scenario[28647]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'
Feb 11 07:52:11 srv4hai activate_scenario[28647]: SHELLY scenario: 'welcomeLight(welcomelight)' TO BE EXECUTED, phoneName:'0'
Feb 11 07:52:11 srv4hai postfix/pickup[27762]: B965760244: uid=33 from=
Feb 11 07:52:11 srv4hai postfix/cleanup[28515]: B965760244: message-id=<20240211065211.B965760244@mail.viehai.at>
Feb 11 07:52:11 srv4hai postfix/qmgr[28610]: B965760244: from=, size=10224, nrcpt=1 (queue active)
Feb 11 07:52:11 srv4hai activate_scenario[28647]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on'
Feb 11 07:52:11 srv4hai proc_url[28712]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/11/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0''
Feb 11 07:52:11 srv4hai activate_scenario[28647]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-16'-'Küche Licht Naßzeile' --> '0?turn=on&brightness=50'
Feb 11 07:52:11 srv4hai proc_url[28723]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/11/_1.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/0?turn=on&brightness=50' - phName:'phoneName:'0''
Feb 11 07:52:11 srv4hai activate_scenario[28647]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-16'-'Küche Licht Naßzeile' --> '1?turn=on&brightness=50'
Feb 11 07:52:11 srv4hai proc_url[28734]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/11/_2.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/1?turn=on&brightness=50' - phName:'phoneName:'0''
Feb 11 07:52:11 srv4hai activate_scenario[28647]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-17'-'Küche Licht Herdzeile' --> '0?turn=on&brightness=50'
Feb 11 07:52:11 srv4hai proc_url[28745]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/11/_3.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/0?turn=on&brightness=50' - phName:'phoneName:'0''
Feb 11 07:52:11 srv4hai activate_scenario[28647]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-17'-'Küche Licht Herdzeile' --> '1?turn=on&brightness=50'
Feb 11 07:52:11 srv4hai proc_url[28756]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/11/_4.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/1?turn=on&brightness=50' - phName:'phoneName:'0''
Feb 11 07:52:11 srv4hai activate_scenario[28810]: SHELLY scenario: 'LOG_kommen(log_kommen)' started
Feb 11 07:52:11 srv4hai activate_scenario[28810]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'
Feb 11 07:52:11 srv4hai activate_scenario[28810]: SHELLY scenario: 'LOG_kommen(log_kommen)' TO BE EXECUTED, shelly-03:'Licht Vorzimmer'
Feb 11 07:52:11 srv4hai activate_scenario[28810]: SHELLY scenario: 'LOG_kommen(log_kommen)' took 4 msec, shelly-03:'Licht Vorzimmer'
Feb 11 07:52:11 srv4hai activate_scenario[28647]: SHELLY scenario: 'welcomeLight(welcomelight)' took 200 msec, phoneName:'0'
Feb 11 07:52:12 srv4hai postfix/relay/smtp[28700]: B965760244: to=, relay=mx03.nic.name[209.131.161.54]:25, delay=0.88, delays=0.01/0.01/0.62/0.25, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 6DDC580102)
Feb 11 07:52:12 srv4hai postfix/qmgr[28610]: B965760244: removed
Feb 11 07:52:13 srv4hai ping_SP[28600]: SHELLY check_presence.sh coming 0 ping_SP__bt_scan
Feb 11 07:52:13 srv4hai ping_SP[28600]: SHELLY - running process-id(28600): '28532 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#01228600 /bin/bash /srv/www/viehai/shelly/ping_SP.sh 192.168.12.61 bt_scan' - 'ping_SP_0' - exiting ==============
Feb 11 07:53:01 srv4hai CRON[28923]: (root) CMD (/etc/linetest/linetest.sh)
Feb 11 07:53:03 srv4hai activate_scenario[28929]: SHELLY scenario: 'sekr_UM(sekr_um)' started
Feb 11 07:53:03 srv4hai activate_scenario[28929]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-01:'Wandlicht beim Esstisch'

finished