activate_scenario.sh
Wed May 8 16:33:01 CEST 2024
scenario: vorraumOn
phoneName: 0

'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/05/08/_0.log)

vorher: 16:33:01.752

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: 16:33:01.797
Dauer: 44 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 16:33:01.734
nachher: 16:33:01.803
Dauer : 70 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/05/08//scene_vorraumOn_20240508_163301.txt'


syslog

May  8 16:30:01 srv4hai CRON[29782]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
May  8 16:30:01 srv4hai CRON[29783]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)
May  8 16:30:01 srv4hai CRON[29784]: (root) CMD (/etc/linetest/linetest.sh)
May  8 16:30:01 srv4hai common[29786]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
May  8 16:30:01 srv4hai meter.sh: SHELLY meter.sh started
May  8 16:30:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
May  8 16:30:01 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
May  8 16:30:09 srv4hai meter.sh: SHELLY 'shelly-42/Stehlampe dimmbar':  OFFLINE, resp. not answering within connect-timeout 2.500000s
May  8 16:30:09 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
May  8 16:30:09 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
May  8 16:30:09 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
May  8 16:30:09 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
May  8 16:30:09 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
May  8 16:30:12 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
May  8 16:30:14 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
May  8 16:30:14 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
May  8 16:30:14 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
May  8 16:30:14 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
May  8 16:30:14 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
May  8 16:30:14 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
May  8 16:30:17 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
May  8 16:30:17 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
May  8 16:30:17 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
May  8 16:30:17 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
May  8 16:30:17 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
May  8 16:30:17 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
May  8 16:30:17 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
May  8 16:30:17 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
May  8 16:30:17 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
May  8 16:30:17 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
May  8 16:30:17 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
May  8 16:30:21 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
May  8 16:30:21 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
May  8 16:30:21 srv4hai common[30670]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
May  8 16:30:21 srv4hai check_shelly.sh: SHELLY last scenery executed: 'offAll'
May  8 16:30:21 srv4hai check_shelly.sh: SHELLY found '0' active shelly outputs
May  8 16:30:21 srv4hai meter.sh: SHELLY meter.sh ended
May  8 16:30:24 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30698, secured, session=
May  8 16:30:24 srv4hai dovecot: imap(miglincit)<30698>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
May  8 16:30:37 srv4hai postfix/anvil[29675]: statistics: max connection rate 1/60s for (smtp:45.88.91.103) at May  8 16:27:17
May  8 16:30:37 srv4hai postfix/anvil[29675]: statistics: max connection count 1 for (smtp:45.88.91.103) at May  8 16:27:17
May  8 16:30:37 srv4hai postfix/anvil[29675]: statistics: max cache size 1 at May  8 16:27:17
May  8 16:31:01 srv4hai CRON[30718]: (root) CMD (/etc/linetest/linetest.sh)
May  8 16:31:13 srv4hai postfix/smtpd[30732]: connect from modemcable098.146-70-69.static.videotron.ca[69.70.146.98]
May  8 16:31:13 srv4hai postfix/smtpd[30732]: warning: modemcable098.146-70-69.static.videotron.ca[69.70.146.98]: SASL LOGIN authentication failed: Invalid authentication mechanism
May  8 16:31:13 srv4hai postfix/smtpd[30732]: disconnect from modemcable098.146-70-69.static.videotron.ca[69.70.146.98] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
May  8 16:32:01 srv4hai CRON[30760]: (root) CMD (/etc/linetest/linetest.sh)
May  8 16:32:50 srv4hai dhcpd[22856]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
May  8 16:32:50 srv4hai dhcpd[22856]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
May  8 16:32:50 srv4hai dhcpd[22856]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
May  8 16:32:50 srv4hai dhcpd[22856]: execute_statement argv[1] = 192.168.12.61
May  8 16:32:50 srv4hai dhcpd[22856]: execute_statement argv[2] = fpThomas
May  8 16:32:50 srv4hai common[30791]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
May  8 16:32:50 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
May  8 16:32:50 srv4hai common[30805]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
May  8 16:32:50 srv4hai dhcpd[22856]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
May  8 16:32:50 srv4hai dhcpd[22856]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
May  8 16:32:50 srv4hai named[15509]: client @0x7f930806d890 192.168.12.252#36125/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
May  8 16:32:50 srv4hai named[15509]: client @0x7f930808a950 192.168.12.252#54099/key rndc-key: signer "rndc-key" approved
May  8 16:32:50 srv4hai named[15509]: client @0x7f930808a950 192.168.12.252#54099/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
May  8 16:32:50 srv4hai named[15509]: client @0x7f930808a950 192.168.12.252#54099/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
May  8 16:32:50 srv4hai named[15509]: client @0x7f930808a950 192.168.12.252#54099/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
May  8 16:32:50 srv4hai named[15509]: client @0x7f930808a950 192.168.12.252#54099/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
May  8 16:32:50 srv4hai dhcpd[22856]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
May  8 16:32:50 srv4hai named[15509]: client @0x7f931c633cd0 192.168.12.252#50655/key rndc-key: signer "rndc-key" approved
May  8 16:32:50 srv4hai named[15509]: client @0x7f931c633cd0 192.168.12.252#50655/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
May  8 16:32:50 srv4hai named[15509]: client @0x7f931c633cd0 192.168.12.252#50655/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.
May  8 16:32:50 srv4hai dhcpd[22856]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
May  8 16:32:50 srv4hai ping_SP[30805]: SHELLY ping_SP.sh started from smartphone, user:'root'
May  8 16:32:59 srv4hai common[30833]: SHELLY common.sh inkludiert von ./bt_scan.sh
May  8 16:33:01 srv4hai common[30857]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
May  8 16:33:01 srv4hai CRON[30871]: (root) CMD (/etc/linetest/linetest.sh)
May  8 16:33:01 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1715178781-1715178780
May  8 16:33:01 srv4hai check_presence[30857]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
May  8 16:33:01 srv4hai check_presence[30857]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
May  8 16:33:01 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1715178781-1715178780
May  8 16:33:01 srv4hai check_presence[30857]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
May  8 16:33:01 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'1'=1715178781-1715178780
May  8 16:33:01 srv4hai check_presence[30857]: 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
May  8 16:33:01 srv4hai check_presence[30857]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
May  8 16:33:01 srv4hai check_presence[30857]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
May  8 16:33:01 srv4hai check_presence[30857]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
May  8 16:33:01 srv4hai activate_scenario[30994]: SHELLY scenario: 'vorraumOn(vorraumon)' started
May  8 16:33:01 srv4hai activate_scenario[30994]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished