activate_scenario.sh
Fri Jul 19 23:12:23 CEST 2024
scenario: vorraumOn
phoneName: 1

'night' <--> 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/07/19/_0.log)

vorher: 23:12:23.703

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: 23:12:23.767
Dauer: 64 msec phName: 'phoneName:'1''


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

urls : 1
vorher : 23:12:23.685
nachher: 23:12:23.773
Dauer : 89 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/19//scene_vorraumOn_20240719_231223.txt'


syslog

Jul 19 23:09:01 srv4hai CRON[3914]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Jul 19 23:09:01 srv4hai CRON[3915]: (root) CMD (/etc/linetest/linetest.sh)
Jul 19 23:09:01 srv4hai systemd[1]: Starting Clean php session files...
Jul 19 23:09:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Jul 19 23:09:01 srv4hai systemd[1]: Started Clean php session files.
Jul 19 23:09:06 srv4hai postfix/relay/smtp[2892]: connect to mx01.nic.name[209.131.159.47]:25: Connection timed out
Jul 19 23:09:06 srv4hai postfix/relay/smtp[2892]: 0B9D16018A: to=, relay=mx02.nic.name[209.131.158.56]:25, delay=31, delays=0.04/0.01/31/0.26, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as ACE208009E)
Jul 19 23:09:06 srv4hai postfix/qmgr[8566]: 0B9D16018A: removed
Jul 19 23:10:01 srv4hai CRON[4040]: (root) CMD (/etc/linetest/linetest.sh)
Jul 19 23:10:01 srv4hai CRON[4041]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Jul 19 23:10:01 srv4hai common[4043]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Jul 19 23:10:01 srv4hai meter.sh: SHELLY meter.sh started
Jul 19 23:10:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Jul 19 23:10:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Jul 19 23:10:05 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Jul 19 23:10:05 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Jul 19 23:10:05 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Jul 19 23:10:05 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Jul 19 23:10:05 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Jul 19 23:10:08 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul 19 23:10:11 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul 19 23:10:11 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Jul 19 23:10:11 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Jul 19 23:10:11 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Jul 19 23:10:11 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Jul 19 23:10:11 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Jul 19 23:10:11 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test' - status: 'OOS' ignoring
Jul 19 23:10:11 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Jul 19 23:10:11 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Jul 19 23:10:11 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Jul 19 23:10:11 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Jul 19 23:10:11 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Jul 19 23:10:11 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Jul 19 23:10:11 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Jul 19 23:10:11 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Jul 19 23:10:11 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Jul 19 23:10:11 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Jul 19 23:10:14 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul 19 23:10:14 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Jul 19 23:10:14 srv4hai common[4972]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Jul 19 23:10:14 srv4hai check_shelly.sh: SHELLY last scenery executed: 'offAll'
Jul 19 23:10:14 srv4hai check_shelly.sh: SHELLY found '0' active shelly outputs
Jul 19 23:10:14 srv4hai meter.sh: SHELLY meter.sh ended
Jul 19 23:10:50 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=5014, secured, session=
Jul 19 23:10:50 srv4hai dovecot: imap(miglincit)<5014>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 19 23:11:01 srv4hai CRON[5020]: (root) CMD (/etc/linetest/linetest.sh)
Jul 19 23:11:18 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul 19 23:11:18 srv4hai fetchmail[1651]: 49027 messages (49025 seen) for tmiglinci at mail.akis.at (-235211526 octets).
Jul 19 23:11:19 srv4hai postfix/smtpd[5026]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul 19 23:11:19 srv4hai postfix/smtpd[5026]: connect from localhost[127.0.0.1]
Jul 19 23:11:19 srv4hai postfix/smtpd[5026]: 064CA60189: client=localhost[127.0.0.1]
Jul 19 23:11:19 srv4hai postfix/cleanup[5029]: 064CA60189: message-id=<20240719210836.2FA8D6018B@mail.viehai.at>
Jul 19 23:11:19 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:49026 of 49027 (5872 octets) not flushed
Jul 19 23:11:19 srv4hai postfix/qmgr[8566]: 064CA60189: from=, size=6164, nrcpt=1 (queue active)
Jul 19 23:11:19 srv4hai postfix/local[5030]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul 19 23:11:19 srv4hai postfix/local[5030]: 064CA60189: to=, relay=local, delay=0.08, delays=0.05/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul 19 23:11:19 srv4hai postfix/qmgr[8566]: 064CA60189: removed
Jul 19 23:11:19 srv4hai postfix/smtpd[5026]: 1AD7260189: client=localhost[127.0.0.1]
Jul 19 23:11:19 srv4hai postfix/cleanup[5029]: 1AD7260189: message-id=<20240719210836.0B9D16018A@mail.viehai.at>
Jul 19 23:11:19 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:49027 of 49027 (4912 octets) not flushed
Jul 19 23:11:19 srv4hai postfix/qmgr[8566]: 1AD7260189: from=, size=5203, nrcpt=1 (queue active)
Jul 19 23:11:19 srv4hai postfix/local[5030]: 1AD7260189: to=, relay=local, delay=0.06, delays=0.05/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul 19 23:11:19 srv4hai postfix/qmgr[8566]: 1AD7260189: removed
Jul 19 23:11:19 srv4hai postfix/smtpd[5026]: disconnect from localhost[127.0.0.1] ehlo=1 mail=2 rcpt=2 data=2 quit=1 commands=8
Jul 19 23:11:19 srv4hai fetchmail[1651]: 10478 messages (10478 seen) for srozum at mail.akis.at (1261656634 octets).
Jul 19 23:11:20 srv4hai fetchmail[1651]: 24838 messages (24837 seen) for mrozum at mail.akis.at (48298580 octets).
Jul 19 23:11:20 srv4hai postfix/smtpd[5026]: connect from localhost[127.0.0.1]
Jul 19 23:11:20 srv4hai postfix/smtpd[5026]: 21EC460189: client=localhost[127.0.0.1]
Jul 19 23:11:20 srv4hai postfix/cleanup[5029]: 21EC460189: message-id=
Jul 19 23:11:20 srv4hai fetchmail[1651]: reading message mrozum@mail.akis.at:24838 of 24838 (769311 octets) not flushed
Jul 19 23:11:20 srv4hai postfix/qmgr[8566]: 21EC460189: from=, size=769587, nrcpt=1 (queue active)
Jul 19 23:11:20 srv4hai postfix/smtpd[5026]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Jul 19 23:11:20 srv4hai postfix/local[5030]: 21EC460189: to=, relay=local, delay=0.35, delays=0.33/0/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul 19 23:11:20 srv4hai postfix/qmgr[8566]: 21EC460189: removed
Jul 19 23:11:21 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Jul 19 23:11:22 srv4hai nmbd[2172]: [2024/07/19 23:11:22.482992,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Jul 19 23:11:22 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Jul 19 23:11:22 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Jul 19 23:11:22 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Jul 19 23:12:01 srv4hai CRON[5040]: (root) CMD (/etc/linetest/linetest.sh)
Jul 19 23:12:11 srv4hai dhcpd[30731]: DHCPDISCOVER from f0:39:65:25:8d:c7 via enp2s0
Jul 19 23:12:11 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0
Jul 19 23:12:11 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jul 19 23:12:11 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.62
Jul 19 23:12:11 srv4hai dhcpd[30731]: execute_statement argv[2] = GreteS20
Jul 19 23:12:11 srv4hai common[5046]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jul 19 23:12:11 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.62' / 'GreteS20' / '1'
Jul 19 23:12:11 srv4hai common[5060]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jul 19 23:12:11 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.62 (192.168.12.252) from f0:39:65:25:8d:c7 via enp2s0
Jul 19 23:12:11 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0
Jul 19 23:12:11 srv4hai named[30406]: client @0x7f9348054f20 192.168.12.252#60893/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: GreteS20.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 19 23:12:11 srv4hai named[30406]: client @0x7f93300a3990 192.168.12.252#49873/key rndc-key: signer "rndc-key" approved
Jul 19 23:12:11 srv4hai named[30406]: client @0x7f93300a3990 192.168.12.252#49873/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'GreteS20.viehai.at' TXT
Jul 19 23:12:11 srv4hai named[30406]: client @0x7f93300a3990 192.168.12.252#49873/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'GreteS20.viehai.at' TXT "318a9f974c0d8a2868f64397b15c3ed3a0"
Jul 19 23:12:11 srv4hai named[30406]: client @0x7f93300a3990 192.168.12.252#49873/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'GreteS20.viehai.at' A
Jul 19 23:12:11 srv4hai named[30406]: client @0x7f93300a3990 192.168.12.252#49873/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'GreteS20.viehai.at' A 192.168.12.62
Jul 19 23:12:11 srv4hai dhcpd[30731]: Added new forward map from GreteS20.viehai.at to 192.168.12.62
Jul 19 23:12:11 srv4hai named[30406]: client @0x7f931c058e00 192.168.12.252#46681/key rndc-key: signer "rndc-key" approved
Jul 19 23:12:11 srv4hai named[30406]: client @0x7f931c058e00 192.168.12.252#46681/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '62.12.168.192.in-addr.arpa' PTR
Jul 19 23:12:11 srv4hai named[30406]: client @0x7f931c058e00 192.168.12.252#46681/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.
Jul 19 23:12:11 srv4hai dhcpd[30731]: Added reverse map from 62.12.168.192.in-addr.arpa. to GreteS20.viehai.at
Jul 19 23:12:11 srv4hai ping_SP[5060]: SHELLY ping_SP.sh started from smartphone, user:'root'
Jul 19 23:12:21 srv4hai common[5093]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul 19 23:12:22 srv4hai common[5107]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul 19 23:12:23 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'0'=1721423543-1721423543
Jul 19 23:12:23 srv4hai check_presence[5093]: 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
Jul 19 23:12:23 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'0'=1721423543-1721423543
Jul 19 23:12:23 srv4hai check_presence[5093]: 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
Jul 19 23:12:23 srv4hai check_presence[5093]: SHELLY (ping_SP__smartphone)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Jul 19 23:12:23 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'0'=1721423543-1721423543
Jul 19 23:12:23 srv4hai check_presence[5093]: 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
Jul 19 23:12:23 srv4hai check_presence[5093]: SHELLY (ping_SP__smartphone)-(1) what: 'coming' - persPresent: '(__/__) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Jul 19 23:12:23 srv4hai check_presence[5093]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Jul 19 23:12:23 srv4hai check_presence[5093]: SHELLY (ping_SP__smartphone)-(1)-coming: activate_scenario.shtml: vorraumOn
Jul 19 23:12:23 srv4hai activate_scenario[5239]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jul 19 23:12:23 srv4hai activate_scenario[5239]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'1'

finished