activate_scenario.sh
Sat Apr 6 22:40:49 CEST 2024
scenario: buero_UM
source: 192.168.12.140

'night' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'null'

scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

Thomas Büro Regallicht (/srv/www/viehai/shelly/log_scenarios/2024/04/06/_0.log)

vorher: 22:40:49.734

http://192.168.12.108/relay/0?turn=toggle
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 22:40:49.837
Dauer: 103 msec phName: 'shelly-40:'Thomas Büro Licht''


Thomas Büro Licht (/srv/www/viehai/shelly/log_scenarios/2024/04/06/_1.log)

vorher: 22:40:49.751

http://192.168.12.140/relay/0?turn=toggle
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 22:40:49.814
Dauer: 62 msec phName: 'shelly-40:'Thomas Büro Licht''


scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

urls : 2
vorher : 22:40:49.707
nachher: 22:40:49.843
Dauer : 137 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/06//scene_buero_UM_20240406_224049.txt'


syslog

Apr  6 22:37:01 srv4hai CRON[7664]: (root) CMD (/etc/linetest/linetest.sh)
Apr  6 22:37:05 srv4hai postfix/anvil[32123]: statistics: max connection rate 1/60s for (smtp:62.193.105.196) at Apr  6 22:31:43
Apr  6 22:37:05 srv4hai postfix/anvil[32123]: statistics: max connection count 1 for (smtp:62.193.105.196) at Apr  6 22:31:43
Apr  6 22:37:05 srv4hai postfix/anvil[32123]: statistics: max cache size 1 at Apr  6 22:31:43
Apr  6 22:37:52 srv4hai ping_SP[27672]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712435872 - 'ping_SP_0'
Apr  6 22:37:52 srv4hai ping_SP[27672]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  6 22:38:01 srv4hai CRON[7695]: (root) CMD (/etc/linetest/linetest.sh)
Apr  6 22:38:32 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7710, secured, session=
Apr  6 22:38:32 srv4hai dovecot: imap(miglincit)<7710>: Logged out in=520 out=1231 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr  6 22:38:34 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7714, secured, session=
Apr  6 22:38:35 srv4hai dovecot: imap(miglincit)<7714>: Logged out in=443 out=59208 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=632 body_count=1 body_bytes=56842
Apr  6 22:38:41 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7716, secured, session=
Apr  6 22:38:41 srv4hai dovecot: imap(miglincit)<7716>: Logged out in=520 out=1203 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr  6 22:38:46 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr  6 22:38:47 srv4hai fetchmail[1651]: 41493 messages (41493 seen) for tmiglinci at mail.akis.at (-847434246 octets).
Apr  6 22:38:47 srv4hai fetchmail[1651]: 10097 messages (10097 seen) for srozum at mail.akis.at (1218639314 octets).
Apr  6 22:38:48 srv4hai fetchmail[1651]: 22703 messages (22703 seen) for mrozum at mail.akis.at (-373339439 octets).
Apr  6 22:38:48 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Apr  6 22:38:53 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7720, secured, session=
Apr  6 22:38:53 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7722, secured, session=
Apr  6 22:38:53 srv4hai dovecot: imap(miglincit)<7720>: Logged out in=616 out=14687 deleted=0 expunged=0 trashed=1 hdr_count=1 hdr_bytes=466 body_count=0 body_bytes=0
Apr  6 22:38:53 srv4hai dovecot: imap(miglincit)<7722>: Logged out in=397 out=46073 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=502 body_count=1 body_bytes=43923
Apr  6 22:39:01 srv4hai CRON[7729]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Apr  6 22:39:01 srv4hai CRON[7730]: (root) CMD (/etc/linetest/linetest.sh)
Apr  6 22:39:01 srv4hai systemd[1]: Starting Clean php session files...
Apr  6 22:39:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Apr  6 22:39:01 srv4hai systemd[1]: Started Clean php session files.
Apr  6 22:39:05 srv4hai ping_SP[27672]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712435945 - 'ping_SP_0'
Apr  6 22:39:05 srv4hai ping_SP[27672]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  6 22:40:01 srv4hai CRON[7854]: (root) CMD (/etc/linetest/linetest.sh)
Apr  6 22:40:01 srv4hai CRON[7855]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Apr  6 22:40:01 srv4hai common[7857]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Apr  6 22:40:01 srv4hai meter.sh: SHELLY meter.sh started
Apr  6 22:40:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Apr  6 22:40:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Apr  6 22:40:05 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Apr  6 22:40:05 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Apr  6 22:40:05 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Apr  6 22:40:05 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Apr  6 22:40:05 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Apr  6 22:40:08 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr  6 22:40:11 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr  6 22:40:11 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Apr  6 22:40:11 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Apr  6 22:40:11 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Apr  6 22:40:11 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Apr  6 22:40:11 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Apr  6 22:40:13 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr  6 22:40:14 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Apr  6 22:40:14 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Apr  6 22:40:14 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Apr  6 22:40:14 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Apr  6 22:40:14 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Apr  6 22:40:14 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Apr  6 22:40:14 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Apr  6 22:40:14 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Apr  6 22:40:14 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Apr  6 22:40:14 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Apr  6 22:40:17 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr  6 22:40:17 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Apr  6 22:40:17 srv4hai common[7857]: SHELLY common.sh inkludiert von ./check_presence.sh
Apr  6 22:40:18 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1712436018-1712436008
Apr  6 22:40:18 srv4hai check_presence[7857]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Apr  6 22:40:18 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1712436018-1712436008
Apr  6 22:40:18 srv4hai check_presence[7857]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Apr  6 22:40:18 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1712436018-1712436008
Apr  6 22:40:18 srv4hai check_presence[7857]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr  6 22:40:18 srv4hai check_presence[7857]: SHELLY (meter.sh)-(99) what: 'presence' - persPresent: '(__/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr  6 22:40:18 srv4hai check_presence[7857]: SHELLY (meter.sh)-(99)-presence: NOT activate_scenario.shtml: offAll
Apr  6 22:40:18 srv4hai common[7857]: SHELLY common.sh inkludiert von ./check_shelly.sh
Apr  6 22:40:18 srv4hai check_shelly.sh: SHELLY last scenery executed: 'pcON'
Apr  6 22:40:18 srv4hai check_shelly.sh: SHELLY found '6' active shelly outputs
Apr  6 22:40:18 srv4hai meter.sh: SHELLY meter.sh ended
Apr  6 22:40:18 srv4hai postfix/pickup[3179]: 34FCB60245: uid=33 from=
Apr  6 22:40:18 srv4hai postfix/cleanup[8903]: 34FCB60245: message-id=<20240406204018.34FCB60245@mail.viehai.at>
Apr  6 22:40:18 srv4hai postfix/qmgr[15291]: 34FCB60245: from=, size=645, nrcpt=1 (queue active)
Apr  6 22:40:18 srv4hai postfix/local[8905]: 34FCB60245: to=, orig_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)
Apr  6 22:40:18 srv4hai postfix/qmgr[15291]: 34FCB60245: removed
Apr  6 22:40:18 srv4hai ping_SP[27672]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712436018 - 'ping_SP_0'
Apr  6 22:40:18 srv4hai ping_SP[27672]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  6 22:40:20 srv4hai dovecot: imap(miglincit)<17683>: Logged out in=4640 out=18635 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr  6 22:40:20 srv4hai dovecot: imap(miglincit)<17675>: Logged out in=11202 out=3070011 deleted=0 expunged=0 trashed=0 hdr_count=59 hdr_bytes=26939 body_count=59 body_bytes=2918498
Apr  6 22:40:20 srv4hai dovecot: imap(miglincit)<17685>: Logged out in=5998 out=68539 deleted=0 expunged=0 trashed=0 hdr_count=6 hdr_bytes=2111 body_count=1 body_bytes=43941
Apr  6 22:40:20 srv4hai dovecot: imap(miglincit)<17687>: Logged out in=7687 out=1226652 deleted=0 expunged=0 trashed=0 hdr_count=8 hdr_bytes=2686 body_count=8 body_bytes=1185230
Apr  6 22:40:20 srv4hai activate_scenario[8923]: SHELLY scenario: 'pcOFF(pcoff)' started
Apr  6 22:40:20 srv4hai activate_scenario[8923]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-0:''
Apr  6 22:40:20 srv4hai activate_scenario[8923]: SHELLY scenario: 'pcOFF(pcoff)' TO BE EXECUTED, shelly-0:''
Apr  6 22:40:20 srv4hai postfix/pickup[3179]: 984AD60245: uid=33 from=
Apr  6 22:40:20 srv4hai postfix/cleanup[8903]: 984AD60245: message-id=<20240406204020.984AD60245@mail.viehai.at>
Apr  6 22:40:20 srv4hai postfix/qmgr[15291]: 984AD60245: from=, size=10910, nrcpt=1 (queue active)
Apr  6 22:40:20 srv4hai postfix/local[8905]: 984AD60245: to=, orig_to=, relay=local, delay=0.03, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Apr  6 22:40:20 srv4hai postfix/cleanup[8903]: 9C7E860248: message-id=<20240406204020.9C7E860248@mail.viehai.at>
Apr  6 22:40:20 srv4hai postfix/bounce[8979]: 984AD60245: sender non-delivery notification: 9C7E860248
Apr  6 22:40:20 srv4hai postfix/qmgr[15291]: 9C7E860248: from=<>, size=12792, nrcpt=1 (queue active)
Apr  6 22:40:20 srv4hai postfix/qmgr[15291]: 984AD60245: removed
Apr  6 22:40:20 srv4hai postfix/local[8905]: 9C7E860248: to=, relay=local, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr  6 22:40:20 srv4hai postfix/qmgr[15291]: 9C7E860248: removed
Apr  6 22:40:20 srv4hai activate_scenario[8923]: SHELLY: scenario: 'pcOFF(pcoff)'-'shelly-20'-'Thomas Schreibtischlampe' --> '0?turn=off'
Apr  6 22:40:20 srv4hai proc_url[8992]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/06/_0.log' - shellyUsage:'Thomas Schreibtischlampe' - scUrl:'http://192.168.12.120/relay/0?turn=off' - phName:'shelly-0:'''
Apr  6 22:40:20 srv4hai activate_scenario[8923]: SHELLY scenario: 'pcOFF(pcoff)' took 65 msec, shelly-0:''
Apr  6 22:40:49 srv4hai activate_scenario[9021]: SHELLY scenario: 'buero_UM(buero_um)' started
Apr  6 22:40:49 srv4hai activate_scenario[9021]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished