activate_scenario.sh
Wed Jun 26 19:01:49 CEST 2024
scenario: vorraumOn
phoneName: 1

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

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

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

vorher: 19:01:49.793

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: 19:01:49.853
Dauer: 60 msec phName: 'phoneName:'1''


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

urls : 1
vorher : 19:01:49.771
nachher: 19:01:49.860
Dauer : 88 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/26//scene_vorraumOn_20240626_190149.txt'


syslog

Jun 26 18:58:01 srv4hai CRON[15965]: (root) CMD (/etc/linetest/linetest.sh)
Jun 26 18:58:16 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jun 26 18:58:17 srv4hai fetchmail[1651]: 47365 messages (47365 seen) for tmiglinci at mail.akis.at (-380096011 octets).
Jun 26 18:58:18 srv4hai fetchmail[1651]: 10366 messages (10366 seen) for srozum at mail.akis.at (1247284025 octets).
Jun 26 18:58:18 srv4hai fetchmail[1651]: 24367 messages (24367 seen) for mrozum at mail.akis.at (-56785402 octets).
Jun 26 18:58:18 srv4hai fetchmail[1651]: 1135 messages (1135 seen) for admin@bastelstube.wien at pop3.world4you.com (51504712 octets).
Jun 26 18:58:48 srv4hai postfix/scache[15923]: statistics: start interval Jun 26 18:55:24
Jun 26 18:58:48 srv4hai postfix/scache[15923]: statistics: domain lookup hits=0 miss=40 success=0%
Jun 26 18:58:48 srv4hai postfix/scache[15923]: statistics: address lookup hits=0 miss=906 success=0%
Jun 26 18:59:01 srv4hai CRON[15978]: (root) CMD (/etc/linetest/linetest.sh)
Jun 26 18:59:54 srv4hai activate_scenario[15988]: SHELLY scenario: 'herdzeile_UM(herdzeile_um)' started
Jun 26 18:59:54 srv4hai activate_scenario[15988]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-29:'Schalter Herdzeile'
Jun 26 18:59:54 srv4hai activate_scenario[15988]: SHELLY scenario: 'herdzeile_UM(herdzeile_um)' TO BE EXECUTED, shelly-29:'Schalter Herdzeile'
Jun 26 18:59:54 srv4hai postfix/pickup[12305]: 8A0A963594: uid=33 from=
Jun 26 18:59:54 srv4hai postfix/cleanup[16041]: 8A0A963594: message-id=<20240626165954.8A0A963594@mail.viehai.at>
Jun 26 18:59:54 srv4hai postfix/qmgr[31004]: 8A0A963594: from=, size=2639, nrcpt=1 (queue active)
Jun 26 18:59:54 srv4hai postfix/local[16055]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jun 26 18:59:54 srv4hai activate_scenario[15988]: SHELLY: scenario: 'herdzeile_UM(herdzeile_um)'-'shelly-17'-'Küche Licht Herdzeile' --> '0?turn=toggle&brightness=50'
Jun 26 18:59:54 srv4hai proc_url[16059]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/06/26/_0.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/0?turn=toggle&brightness=50' - phName:'shelly-29:'Schalter Herdzeile''
Jun 26 18:59:54 srv4hai postfix/local[16055]: 8A0A963594: to=, orig_to=, relay=local, delay=0.04, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Jun 26 18:59:54 srv4hai activate_scenario[15988]: SHELLY: scenario: 'herdzeile_UM(herdzeile_um)'-'shelly-17'-'Küche Licht Herdzeile' --> '1?turn=toggle&brightness=50'
Jun 26 18:59:54 srv4hai postfix/cleanup[16041]: 91AED63596: message-id=<20240626165954.91AED63596@mail.viehai.at>
Jun 26 18:59:54 srv4hai proc_url[16071]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/06/26/_1.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/1?turn=toggle&brightness=50' - phName:'shelly-29:'Schalter Herdzeile''
Jun 26 18:59:54 srv4hai postfix/bounce[16063]: 8A0A963594: sender non-delivery notification: 91AED63596
Jun 26 18:59:54 srv4hai postfix/qmgr[31004]: 91AED63596: from=<>, size=4521, nrcpt=1 (queue active)
Jun 26 18:59:54 srv4hai postfix/qmgr[31004]: 8A0A963594: removed
Jun 26 18:59:54 srv4hai postfix/local[16055]: 91AED63596: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jun 26 18:59:54 srv4hai postfix/qmgr[31004]: 91AED63596: removed
Jun 26 18:59:54 srv4hai activate_scenario[15988]: SHELLY scenario: 'herdzeile_UM(herdzeile_um)' took 71 msec, shelly-29:'Schalter Herdzeile'
Jun 26 19:00:01 srv4hai CRON[16114]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Jun 26 19:00:01 srv4hai CRON[16115]: (root) CMD (/etc/linetest/linetest.sh)
Jun 26 19:00:01 srv4hai common[16116]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Jun 26 19:00:01 srv4hai meter.sh: SHELLY meter.sh started
Jun 26 19:00:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Jun 26 19:00:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Jun 26 19:00:05 srv4hai meter.sh: SHELLY 'shelly-19/Fernsehlampe groß':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 26 19:00:07 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Jun 26 19:00:07 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Jun 26 19:00:07 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Jun 26 19:00:07 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Jun 26 19:00:07 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Jun 26 19:00:09 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 26 19:00:12 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 26 19:00:12 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Jun 26 19:00:12 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Jun 26 19:00:12 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Jun 26 19:00:12 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Jun 26 19:00:12 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Jun 26 19:00:15 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 26 19:00:15 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Jun 26 19:00:15 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Jun 26 19:00:15 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Jun 26 19:00:15 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Jun 26 19:00:15 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Jun 26 19:00:15 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Jun 26 19:00:15 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Jun 26 19:00:15 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Jun 26 19:00:15 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Jun 26 19:00:15 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Jun 26 19:00:18 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 26 19:00:18 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Jun 26 19:00:18 srv4hai common[17019]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Jun 26 19:00:18 srv4hai check_shelly.sh: SHELLY last scenery executed: 'herdzeile_UM'
Jun 26 19:00:18 srv4hai check_shelly.sh: SHELLY found '2' active shelly outputs
Jun 26 19:00:18 srv4hai meter.sh: SHELLY meter.sh ended
Jun 26 19:01:01 srv4hai CRON[17047]: (root) CMD (/etc/linetest/linetest.sh)
Jun 26 19:01:38 srv4hai dhcpd[30731]: DHCPDISCOVER from f0:39:65:25:8d:c7 via enp2s0
Jun 26 19:01:38 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0
Jun 26 19:01:38 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jun 26 19:01:38 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.62
Jun 26 19:01:38 srv4hai dhcpd[30731]: execute_statement argv[2] = GreteS20
Jun 26 19:01:38 srv4hai common[17055]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jun 26 19:01:38 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.62' / 'GreteS20' / '1'
Jun 26 19:01:38 srv4hai common[17069]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jun 26 19:01:38 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.62 (192.168.12.252) from f0:39:65:25:8d:c7 via enp2s0
Jun 26 19:01:38 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0
Jun 26 19:01:38 srv4hai named[30406]: client @0x7f933004a8d0 192.168.12.252#55117/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: GreteS20.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jun 26 19:01:38 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#48433/key rndc-key: signer "rndc-key" approved
Jun 26 19:01:38 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#48433/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'GreteS20.viehai.at' TXT
Jun 26 19:01:38 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#48433/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'GreteS20.viehai.at' TXT "318a9f974c0d8a2868f64397b15c3ed3a0"
Jun 26 19:01:38 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#48433/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'GreteS20.viehai.at' A
Jun 26 19:01:38 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#48433/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'GreteS20.viehai.at' A 192.168.12.62
Jun 26 19:01:38 srv4hai dhcpd[30731]: Added new forward map from GreteS20.viehai.at to 192.168.12.62
Jun 26 19:01:38 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#51489/key rndc-key: signer "rndc-key" approved
Jun 26 19:01:38 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#51489/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '62.12.168.192.in-addr.arpa' PTR
Jun 26 19:01:38 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#51489/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '62.12.168.192.in-addr.arpa' PTR GreteS20.viehai.at.
Jun 26 19:01:38 srv4hai dhcpd[30731]: Added reverse map from 62.12.168.192.in-addr.arpa. to GreteS20.viehai.at
Jun 26 19:01:38 srv4hai ping_SP[17069]: SHELLY ping_SP.sh started from smartphone, user:'root'
Jun 26 19:01:48 srv4hai common[17100]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jun 26 19:01:49 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1719421309-1719421308
Jun 26 19:01:49 srv4hai check_presence[17100]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jun 26 19:01:49 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1719421309-1719421308
Jun 26 19:01:49 srv4hai check_presence[17100]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jun 26 19:01:49 srv4hai check_presence[17100]: SHELLY (ping_SP__smartphone)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Jun 26 19:01:49 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'1'=1719421309-1719421308
Jun 26 19:01:49 srv4hai check_presence[17100]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jun 26 19:01:49 srv4hai check_presence[17100]: SHELLY (ping_SP__smartphone)-(1) what: 'coming' - persPresent: '(__/__) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Jun 26 19:01:49 srv4hai check_presence[17100]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_herdzeile_UM) - sceneONsmall(vorraumOn)
Jun 26 19:01:49 srv4hai check_presence[17100]: SHELLY (ping_SP__smartphone)-(1)-coming: activate_scenario.shtml: vorraumOn
Jun 26 19:01:49 srv4hai activate_scenario[17232]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jun 26 19:01:49 srv4hai activate_scenario[17232]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'1'

finished