activate_scenario.sh
Tue Aug 20 09:30:36 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/08/20/_0.log)

vorher: 09:30:36.425

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": "input"

nachher: 09:30:36.450
Dauer: 25 msec phName: 'phoneName:'1''


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

urls : 1
vorher : 09:30:36.406
nachher: 09:30:36.457
Dauer : 51 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/08/20//scene_vorraumOn_20240820_093036.txt'


syslog

Aug 20 09:27:01 srv4hai CRON[32380]: (root) CMD (/etc/linetest/linetest.sh)
Aug 20 09:27:10 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=32386, secured, session=
Aug 20 09:27:10 srv4hai dovecot: imap(rozumm)<32386>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug 20 09:27:53 srv4hai ping_SP[31134]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1724138873 - 'ping_SP_1'
Aug 20 09:27:53 srv4hai ping_SP[31134]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Aug 20 09:28:01 srv4hai CRON[32417]: (root) CMD (/etc/linetest/linetest.sh)
Aug 20 09:28:10 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=32426, secured, session=
Aug 20 09:28:10 srv4hai dovecot: imap(rozumm)<32426>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug 20 09:28:11 srv4hai systemd[1]: Starting Starts the owncloud sync-job on rozumm/scan...
Aug 20 09:28:11 srv4hai owncloudcmd[32429]: m_crashReporterChar:  /opt/owncloud-client.AppDir/usr/bin/owncloud_crash_reporter
Aug 20 09:28:11 srv4hai ownCloud[32387]: [ecd720da-f95d-4360-8133-a95bb2b36609][192.168.12.252][rozumm][no app in context][GET][/remote.php/webdav/scan/status.php] File with name scan/status.php could not be located
Aug 20 09:28:11 srv4hai owncloudcmd[32429]: 24-08-20 09:28:11:306 [ warning sync.checkserverjob ]:#011error: status.php replied 404
Aug 20 09:28:11 srv4hai owncloudcmd[32429]: 24-08-20 09:28:11:306 [ critical default ]:#011Failed to resolve  "https://cloud.viehai.at/remote.php/webdav/scan"  Error:  "Error transferring https://cloud.viehai.at/remote.php/webdav/scan/status.php - server replied: Not Found"
Aug 20 09:28:11 srv4hai systemd[1]: oc_rozumm.service: Main process exited, code=exited, status=1/FAILURE
Aug 20 09:28:11 srv4hai systemd[1]: oc_rozumm.service: Failed with result 'exit-code'.
Aug 20 09:28:11 srv4hai systemd[1]: Failed to start Starts the owncloud sync-job on rozumm/scan.
Aug 20 09:28:11 srv4hai systemd[1]: Starting Starts the owncloud sync-job on rozumm/scan...
Aug 20 09:28:11 srv4hai owncloudcmd[32435]: m_crashReporterChar:  /opt/owncloud-client.AppDir/usr/bin/owncloud_crash_reporter
Aug 20 09:28:11 srv4hai postfix/smtpd[32439]: connect from mfcj5330dw.viehai.at[192.168.12.242]
Aug 20 09:28:11 srv4hai postfix/smtpd[32439]: ABBAD6345A: client=mfcj5330dw.viehai.at[192.168.12.242]
Aug 20 09:28:11 srv4hai postfix/cleanup[32442]: ABBAD6345A: message-id=<>
Aug 20 09:28:11 srv4hai postfix/qmgr[8566]: ABBAD6345A: from=, size=620, nrcpt=1 (queue active)
Aug 20 09:28:11 srv4hai postfix/smtpd[32439]: disconnect from mfcj5330dw.viehai.at[192.168.12.242] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Aug 20 09:28:11 srv4hai postfix/local[32443]: ABBAD6345A: to=, relay=local, delay=0.08, delays=0.06/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Aug 20 09:28:11 srv4hai postfix/qmgr[8566]: ABBAD6345A: removed
Aug 20 09:28:11 srv4hai ownCloud[32355]: [a1e2c047-b068-48ef-ac5c-bba993efc707][192.168.12.252][rozumm][no app in context][GET][/remote.php/webdav/scan/status.php] File with name scan/status.php could not be located
Aug 20 09:28:11 srv4hai owncloudcmd[32435]: 24-08-20 09:28:11:788 [ warning sync.checkserverjob ]:#011error: status.php replied 404
Aug 20 09:28:11 srv4hai owncloudcmd[32435]: 24-08-20 09:28:11:788 [ critical default ]:#011Failed to resolve  "https://cloud.viehai.at/remote.php/webdav/scan"  Error:  "Error transferring https://cloud.viehai.at/remote.php/webdav/scan/status.php - server replied: Not Found"
Aug 20 09:28:11 srv4hai systemd[1]: oc_rozumm.service: Main process exited, code=exited, status=1/FAILURE
Aug 20 09:28:11 srv4hai systemd[1]: oc_rozumm.service: Failed with result 'exit-code'.
Aug 20 09:28:11 srv4hai systemd[1]: Failed to start Starts the owncloud sync-job on rozumm/scan.
Aug 20 09:28:15 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=32447, secured, session=
Aug 20 09:28:15 srv4hai dovecot: imap(miglincit)<32447>: Logged out in=758 out=53131 deleted=0 expunged=0 trashed=0 hdr_count=59 hdr_bytes=24532 body_count=0 body_bytes=0
Aug 20 09:28:57 srv4hai ping_SP[31134]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1724138937 - 'ping_SP_1'
Aug 20 09:28:57 srv4hai ping_SP[31134]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Aug 20 09:29:01 srv4hai CRON[32474]: (root) CMD (/etc/linetest/linetest.sh)
Aug 20 09:29:10 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=32481, secured, session=<9N2zYRgggtoAAAAAAAAAAAAAAAAAAAAB>
Aug 20 09:29:10 srv4hai dovecot: imap(rozumm)<32481><9N2zYRgggtoAAAAAAAAAAAAAAAAAAAAB>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug 20 09:30:00 srv4hai ping_SP[31134]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1724139000 - 'ping_SP_1'
Aug 20 09:30:00 srv4hai ping_SP[31134]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Aug 20 09:30:01 srv4hai CRON[32514]: (root) CMD (/etc/linetest/linetest.sh)
Aug 20 09:30:01 srv4hai CRON[32513]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)
Aug 20 09:30:01 srv4hai CRON[32515]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Aug 20 09:30:01 srv4hai common[32517]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Aug 20 09:30:01 srv4hai meter.sh: SHELLY meter.sh started
Aug 20 09:30:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Aug 20 09:30:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Aug 20 09:30:05 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Aug 20 09:30:05 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Aug 20 09:30:05 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Aug 20 09:30:05 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Aug 20 09:30:05 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Aug 20 09:30:08 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Aug 20 09:30:10 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=710, secured, session=<+8NHZRgg/toAAAAAAAAAAAAAAAAAAAAB>
Aug 20 09:30:10 srv4hai dovecot: imap(rozumm)<710><+8NHZRgg/toAAAAAAAAAAAAAAAAAAAAB>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug 20 09:30:10 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Aug 20 09:30:10 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Aug 20 09:30:10 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Aug 20 09:30:10 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Aug 20 09:30:10 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Aug 20 09:30:10 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Aug 20 09:30:10 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test' - status: 'OOS' ignoring
Aug 20 09:30:11 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Aug 20 09:30:11 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Aug 20 09:30:11 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Aug 20 09:30:11 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Aug 20 09:30:11 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Aug 20 09:30:11 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Aug 20 09:30:11 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Aug 20 09:30:11 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Aug 20 09:30:11 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Aug 20 09:30:11 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Aug 20 09:30:13 srv4hai meter.sh: SHELLY 'shelly-48/BT GW 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Aug 20 09:30:16 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Aug 20 09:30:16 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Aug 20 09:30:16 srv4hai common[957]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Aug 20 09:30:16 srv4hai check_shelly.sh: SHELLY last scenery executed: 'buero_UM'
Aug 20 09:30:16 srv4hai check_shelly.sh: SHELLY found '0' active shelly outputs
Aug 20 09:30:16 srv4hai meter.sh: SHELLY meter.sh ended
Aug 20 09:30:25 srv4hai dhcpd[30731]: DHCPDISCOVER from f0:39:65:25:8d:c7 via enp2s0
Aug 20 09:30:25 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0
Aug 20 09:30:25 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Aug 20 09:30:25 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.62
Aug 20 09:30:25 srv4hai dhcpd[30731]: execute_statement argv[2] = GreteS20
Aug 20 09:30:25 srv4hai common[986]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Aug 20 09:30:25 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.62' / 'GreteS20' / '1'
Aug 20 09:30:25 srv4hai common[1001]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Aug 20 09:30:25 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.62 (192.168.12.252) from f0:39:65:25:8d:c7 via enp2s0
Aug 20 09:30:25 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0
Aug 20 09:30:25 srv4hai named[30406]: client @0x7f934c0821f0 192.168.12.252#58279/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: GreteS20.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Aug 20 09:30:25 srv4hai named[30406]: client @0x7f9348048e40 192.168.12.252#36649/key rndc-key: signer "rndc-key" approved
Aug 20 09:30:25 srv4hai named[30406]: client @0x7f9348048e40 192.168.12.252#36649/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'GreteS20.viehai.at' TXT
Aug 20 09:30:25 srv4hai named[30406]: client @0x7f9348048e40 192.168.12.252#36649/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'GreteS20.viehai.at' TXT "318a9f974c0d8a2868f64397b15c3ed3a0"
Aug 20 09:30:25 srv4hai named[30406]: client @0x7f9348048e40 192.168.12.252#36649/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'GreteS20.viehai.at' A
Aug 20 09:30:25 srv4hai named[30406]: client @0x7f9348048e40 192.168.12.252#36649/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'GreteS20.viehai.at' A 192.168.12.62
Aug 20 09:30:25 srv4hai dhcpd[30731]: Added new forward map from GreteS20.viehai.at to 192.168.12.62
Aug 20 09:30:25 srv4hai named[30406]: client @0x7f931c04a000 192.168.12.252#48305/key rndc-key: signer "rndc-key" approved
Aug 20 09:30:25 srv4hai named[30406]: client @0x7f931c04a000 192.168.12.252#48305/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '62.12.168.192.in-addr.arpa' PTR
Aug 20 09:30:25 srv4hai named[30406]: client @0x7f931c04a000 192.168.12.252#48305/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.
Aug 20 09:30:25 srv4hai dhcpd[30731]: Added reverse map from 62.12.168.192.in-addr.arpa. to GreteS20.viehai.at
Aug 20 09:30:25 srv4hai ping_SP[1001]: SHELLY ping_SP.sh started from smartphone, user:'root'
Aug 20 09:30:27 srv4hai named[30406]:   validating onion/SOA: got insecure response; parent indicates it should be secure
Aug 20 09:30:27 srv4hai named[30406]: no valid RRSIG resolving 'com.onion/DS/IN': 95.129.201.1#53
Aug 20 09:30:27 srv4hai named[30406]:   validating onion/SOA: got insecure response; parent indicates it should be secure
Aug 20 09:30:27 srv4hai named[30406]: no valid RRSIG resolving 'google.com.onion/DS/IN': 95.129.201.1#53
Aug 20 09:30:27 srv4hai named[30406]: insecurity proof failed resolving 'google.com.onion/A/IN': 95.129.201.1#53
Aug 20 09:30:28 srv4hai common[1024]: SHELLY common.sh inkludiert von ./bt_scan.sh
Aug 20 09:30:35 srv4hai common[1047]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Aug 20 09:30:36 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'8'=1724139036-1724139028
Aug 20 09:30:36 srv4hai check_presence[1047]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Aug 20 09:30:36 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'8'=1724139036-1724139028
Aug 20 09:30:36 srv4hai check_presence[1047]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Aug 20 09:30:36 srv4hai check_presence[1047]: SHELLY (ping_SP__smartphone)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Aug 20 09:30:36 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'8'=1724139036-1724139028
Aug 20 09:30:36 srv4hai check_presence[1047]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Aug 20 09:30:36 srv4hai check_presence[1047]: SHELLY (ping_SP__smartphone)-(1) what: 'coming' - persPresent: '(__/__) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Aug 20 09:30:36 srv4hai check_presence[1047]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_buero_UM) - sceneONsmall(vorraumOn)
Aug 20 09:30:36 srv4hai check_presence[1047]: SHELLY (ping_SP__smartphone)-(1)-coming: activate_scenario.shtml: vorraumOn
Aug 20 09:30:36 srv4hai activate_scenario[1196]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Aug 20 09:30:36 srv4hai activate_scenario[1196]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'1'

finished