activate_scenario.sh
Sat Feb 8 08:10:31 CET 2025
scenario: vorraumOn
phoneName: 0

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

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

VZ Licht (/srv/www/viehai/shelly/log_scenarios/2025/02/08/_0.log)

vorher: 08:10:31.716

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: 08:10:31.742
Dauer: 26 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 08:10:31.688
nachher: 08:10:31.748
Dauer : 60 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/08//scene_vorraumOn_20250208_081031.txt'


syslog

Feb  8 08:07:00 srv4hai common[25572]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  8 08:07:00 srv4hai common[25597]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  8 08:07:00 srv4hai common[25621]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  8 08:07:00 srv4hai postfix/smtpd[25513]: warning: hostname 107-175-172-228-host.colocrossing.com does not resolve to address 107.175.172.228: Name or service not known
Feb  8 08:07:00 srv4hai postfix/smtpd[25513]: connect from unknown[107.175.172.228]
Feb  8 08:07:01 srv4hai CRON[25647]: (root) CMD (/etc/linetest/linetest.sh)
Feb  8 08:07:05 srv4hai postfix/smtpd[25513]: warning: unknown[107.175.172.228]: SASL PLAIN authentication failed: 
Feb  8 08:07:05 srv4hai postfix/smtpd[25513]: disconnect from unknown[107.175.172.228] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb  8 08:07:25 srv4hai ping_SP[29919]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1738998445 - 'ping_SP_1'
Feb  8 08:07:25 srv4hai ping_SP[29919]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb  8 08:07:36 srv4hai common[25677]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  8 08:07:36 srv4hai common[25701]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  8 08:07:59 srv4hai common[25726]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  8 08:07:59 srv4hai common[25750]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  8 08:08:00 srv4hai common[25774]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  8 08:08:01 srv4hai CRON[25801]: (root) CMD (/etc/linetest/linetest.sh)
Feb  8 08:08:28 srv4hai ping_SP[29919]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1738998508 - 'ping_SP_1'
Feb  8 08:08:28 srv4hai ping_SP[29919]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb  8 08:08:36 srv4hai common[25833]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  8 08:08:36 srv4hai common[25857]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  8 08:08:54 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=25886, secured, session=
Feb  8 08:08:54 srv4hai dovecot: imap(miglincit)<25886>: 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  8 08:08:59 srv4hai common[25887]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  8 08:09:00 srv4hai common[25911]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  8 08:09:00 srv4hai common[25935]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  8 08:09:01 srv4hai CRON[25961]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Feb  8 08:09:01 srv4hai CRON[25962]: (root) CMD (/etc/linetest/linetest.sh)
Feb  8 08:09:01 srv4hai systemd[1]: Starting Clean php session files...
Feb  8 08:09:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Feb  8 08:09:01 srv4hai systemd[1]: Started Clean php session files.
Feb  8 08:09:17 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb  8 08:09:18 srv4hai fetchmail[1651]: 63182 messages (63182 seen) for tmiglinci at mail.akis.at (889451142 octets).
Feb  8 08:09:18 srv4hai fetchmail[1651]: 11512 messages (11512 seen) for srozum at mail.akis.at (1368113645 octets).
Feb  8 08:09:19 srv4hai fetchmail[1651]: 28810 messages (28810 seen) for mrozum at mail.akis.at (640701125 octets).
Feb  8 08:09:19 srv4hai fetchmail[1651]: 1162 messages (1162 seen) for admin@bastelstube.wien at pop3.world4you.com (52206525 octets).
Feb  8 08:09:31 srv4hai ping_SP[29919]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1738998571 - 'ping_SP_1'
Feb  8 08:09:31 srv4hai ping_SP[29919]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb  8 08:09:36 srv4hai common[26089]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  8 08:09:36 srv4hai common[26113]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  8 08:09:41 srv4hai postfix/smtpd[26138]: warning: hostname mail1.whauwant.com does not resolve to address 198.46.151.35: Name or service not known
Feb  8 08:09:41 srv4hai postfix/smtpd[26138]: connect from unknown[198.46.151.35]
Feb  8 08:09:45 srv4hai postfix/smtpd[26138]: warning: unknown[198.46.151.35]: SASL PLAIN authentication failed: 
Feb  8 08:09:45 srv4hai postfix/smtpd[26138]: disconnect from unknown[198.46.151.35] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb  8 08:09:59 srv4hai common[26140]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  8 08:09:59 srv4hai common[26164]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  8 08:10:00 srv4hai common[26189]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  8 08:10:01 srv4hai CRON[26215]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Feb  8 08:10:01 srv4hai CRON[26216]: (root) CMD (/etc/linetest/linetest.sh)
Feb  8 08:10:01 srv4hai common[26218]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Feb  8 08:10:01 srv4hai meter.sh: SHELLY meter.sh started
Feb  8 08:10:02 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Feb  8 08:10:02 srv4hai meter.sh: SHELLY 'shelly-28/KÜ Schalter Nasszeile' - type: 'shelly-i3' ignoring
Feb  8 08:10:08 srv4hai meter.sh: SHELLY 'shelly-54/GB Kugellampe':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  8 08:10:08 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Feb  8 08:10:08 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Feb  8 08:10:08 srv4hai meter.sh: SHELLY 'shelly-37/TB Klima' - type: 'shelly-ht' ignoring
Feb  8 08:10:08 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Feb  8 08:10:08 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Feb  8 08:10:12 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  8 08:10:14 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  8 08:10:14 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Feb  8 08:10:14 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Feb  8 08:10:14 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Feb  8 08:10:14 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Feb  8 08:10:14 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Feb  8 08:10:14 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Feb  8 08:10:14 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Feb  8 08:10:14 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Feb  8 08:10:14 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Feb  8 08:10:14 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Feb  8 08:10:15 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Feb  8 08:10:15 srv4hai meter.sh: SHELLY 'shelly-01a/WZ Licht Esstisch - 20241208 kein WLAN' - status: 'DFC' ignoring
Feb  8 08:10:15 srv4hai meter.sh: SHELLY 'shelly-43/43-tbd' - status: 'OOS' ignoring
Feb  8 08:10:15 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Feb  8 08:10:15 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Feb  8 08:10:18 srv4hai meter.sh: SHELLY 'shelly-50/50-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  8 08:10:18 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Feb  8 08:10:20 srv4hai dhcpd[4995]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Feb  8 08:10:20 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Feb  8 08:10:20 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Feb  8 08:10:20 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.61
Feb  8 08:10:20 srv4hai dhcpd[4995]: execute_statement argv[2] = fpThomas
Feb  8 08:10:20 srv4hai common[27227]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Feb  8 08:10:20 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Feb  8 08:10:20 srv4hai common[27242]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Feb  8 08:10:20 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Feb  8 08:10:20 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Feb  8 08:10:20 srv4hai named[30406]: client @0x7f931c09a6d0 192.168.12.252#38263/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb  8 08:10:20 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#56027/key rndc-key: signer "rndc-key" approved
Feb  8 08:10:20 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#56027/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Feb  8 08:10:20 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#56027/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Feb  8 08:10:20 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#56027/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Feb  8 08:10:20 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#56027/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Feb  8 08:10:20 srv4hai dhcpd[4995]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Feb  8 08:10:20 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#49537/key rndc-key: signer "rndc-key" approved
Feb  8 08:10:20 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#49537/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Feb  8 08:10:20 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#49537/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  8 08:10:20 srv4hai dhcpd[4995]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Feb  8 08:10:20 srv4hai ping_SP[27242]: SHELLY ping_SP.sh started from smartphone, user:'root'
Feb  8 08:10:20 srv4hai meter.sh: SHELLY 'shelly-99/99-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  8 08:10:20 srv4hai common[27265]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Feb  8 08:10:21 srv4hai check_shelly.sh: SHELLY last scenery executed: 'offAll'
Feb  8 08:10:21 srv4hai check_shelly.sh: SHELLY found '1' active shelly outputs
Feb  8 08:10:21 srv4hai meter.sh: SHELLY meter.sh ended
Feb  8 08:10:30 srv4hai common[27298]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Feb  8 08:10:31 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_older_60sec' dweetAge:'668'=1738998631-1738997963
Feb  8 08:10:31 srv4hai check_presence[27298]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and BTdweet_older_60sec//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Feb  8 08:10:31 srv4hai check_presence[27298]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Feb  8 08:10:31 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_older_60sec' dweetAge:'668'=1738998631-1738997963
Feb  8 08:10:31 srv4hai check_presence[27298]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and BTdweet_older_60sec//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Feb  8 08:10:31 srv4hai check_presence[27298]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Feb  8 08:10:31 srv4hai check_presence[27298]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/LIVE)' - anyPresent: 'true' - otherPresent:'true'
Feb  8 08:10:31 srv4hai check_presence[27298]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Feb  8 08:10:31 srv4hai check_presence[27298]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Feb  8 08:10:31 srv4hai activate_scenario[27405]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Feb  8 08:10:31 srv4hai activate_scenario[27405]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished