activate_scenario.sh
Sun Jan 12 23:00:34 CET 2025
scenario: offDownstairs
source: 192.168.12.123

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

scenario: 'Licht Unten AUS-schalten' - 'offDownstairs' - 'offdownstairs'

WZ Licht Esstisch (/srv/www/viehai/shelly/log_scenarios/2025/01/12/_0.log)

vorher: 23:00:34.622

http://192.168.12.101/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started_at": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 23:00:34.645
Dauer: 23 msec phName: 'shelly-23:'WZ Licht Sofa''


Balkon Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/12/_1.log)

vorher: 23:00:34.641

http://192.168.12.102/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "input"

nachher: 23:00:34.704
Dauer: 63 msec phName: 'shelly-23:'WZ Licht Sofa''


VZ Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/12/_2.log)

vorher: 23:00:34.660

http://192.168.12.103/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "input"

nachher: 23:00:34.703
Dauer: 44 msec phName: 'shelly-23:'WZ Licht Sofa''


WZ Stehlampe hell (/srv/www/viehai/shelly/log_scenarios/2025/01/12/_3.log)

vorher: 23:00:34.678

http://192.168.12.105/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 23:00:34.703
Dauer: 25 msec phName: 'shelly-23:'WZ Licht Sofa''


WZ Licht Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2025/01/12/_4.log)

vorher: 23:00:34.696

http://192.168.12.106/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 23:00:34.806
Dauer: 109 msec phName: 'shelly-23:'WZ Licht Sofa''


WZ Licht Bücherregal (/srv/www/viehai/shelly/log_scenarios/2025/01/12/_5.log)

vorher: 23:00:34.720

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

nachher: 23:00:34.954
Dauer: 234 msec phName: 'shelly-23:'WZ Licht Sofa''


KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2025/01/12/_6.log)

vorher: 23:00:34.741

http://192.168.12.116/white/0?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 23:00:34.802
Dauer: 62 msec phName: 'shelly-23:'WZ Licht Sofa''


KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2025/01/12/_7.log)

vorher: 23:00:34.762

http://192.168.12.116/white/1?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 23:00:34.815
Dauer: 52 msec phName: 'shelly-23:'WZ Licht Sofa''


KÜ Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2025/01/12/_8.log)

vorher: 23:00:34.781

http://192.168.12.117/white/0?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 23:00:34.918
Dauer: 138 msec phName: 'shelly-23:'WZ Licht Sofa''


KÜ Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2025/01/12/_9.log)

vorher: 23:00:34.799

http://192.168.12.117/white/1?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 23:00:34.940
Dauer: 142 msec phName: 'shelly-23:'WZ Licht Sofa''


GB Fernsehlampe (/srv/www/viehai/shelly/log_scenarios/2025/01/12/_10.log)

vorher: 23:00:34.819

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

nachher: 23:00:34.850
Dauer: 30 msec phName: 'shelly-23:'WZ Licht Sofa''


WC Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/12/_11.log)

vorher: 23:00:34.837

http://192.168.12.122/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 23:00:34.861
Dauer: 24 msec phName: 'shelly-23:'WZ Licht Sofa''


WZ Licht Sofa (/srv/www/viehai/shelly/log_scenarios/2025/01/12/_12.log)

vorher: 23:00:34.856

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

nachher: 23:00:35.031
Dauer: 176 msec phName: 'shelly-23:'WZ Licht Sofa''


KÜ Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/12/_13.log)

vorher: 23:00:34.877

http://192.168.12.125/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 23:00:35.011
Dauer: 134 msec phName: 'shelly-23:'WZ Licht Sofa''


WZ ovale Lampe (/srv/www/viehai/shelly/log_scenarios/2025/01/12/_14.log)

vorher: 23:00:34.895

http://192.168.12.152/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started_at": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 23:00:34.915
Dauer: 19 msec phName: 'shelly-23:'WZ Licht Sofa''


scenario: 'Licht Unten AUS-schalten' - 'offDownstairs' - 'offdownstairs'

urls : 15
vorher : 23:00:34.598
nachher: 23:00:35.041
Dauer : 443 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/01/12//scene_offDownstairs_20250112_230034.txt'


syslog

Jan 12 22:57:01 srv4hai CRON[6927]: (root) CMD (/etc/linetest/linetest.sh)
Jan 12 22:57:08 srv4hai named[30406]: validating config-at.iocnt.net/A: no valid signature found
Jan 12 22:57:14 srv4hai ping_SP[31426]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1736719034 - 'ping_SP_0'
Jan 12 22:57:14 srv4hai ping_SP[31426]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 12 22:57:25 srv4hai ping_SP[11164]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1736719045 - 'ping_SP_1'
Jan 12 22:57:25 srv4hai ping_SP[11164]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 12 22:57:30 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jan 12 22:57:31 srv4hai fetchmail[1651]: 61306 messages (61305 seen) for tmiglinci at mail.akis.at (727703782 octets).
Jan 12 22:57:31 srv4hai postfix/smtpd[6848]: connect from localhost[127.0.0.1]
Jan 12 22:57:31 srv4hai postfix/smtpd[6848]: 9B3026000F: client=localhost[127.0.0.1]
Jan 12 22:57:31 srv4hai postfix/cleanup[6987]: 9B3026000F: message-id=<20250112215512.61BC563463@mail.viehai.at>
Jan 12 22:57:31 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:61306 of 61306 (2211 octets) not flushed
Jan 12 22:57:31 srv4hai postfix/qmgr[8566]: 9B3026000F: from=, size=2491, nrcpt=1 (queue active)
Jan 12 22:57:31 srv4hai postfix/smtpd[6848]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Jan 12 22:57:31 srv4hai postfix/local[6988]: 9B3026000F: to=, relay=local, delay=0.08, delays=0.06/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jan 12 22:57:31 srv4hai postfix/qmgr[8566]: 9B3026000F: removed
Jan 12 22:57:32 srv4hai fetchmail[1651]: 11371 messages (11371 seen) for srozum at mail.akis.at (1357253419 octets).
Jan 12 22:57:32 srv4hai fetchmail[1651]: 28292 messages (28292 seen) for mrozum at mail.akis.at (560837362 octets).
Jan 12 22:57:33 srv4hai fetchmail[1651]: 1162 messages (1162 seen) for admin@bastelstube.wien at pop3.world4you.com (52206525 octets).
Jan 12 22:57:45 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7001, secured, session=<0gP6aokrCr8AAAAAAAAAAAAAAAAAAAAB>
Jan 12 22:57:45 srv4hai dovecot: imap(miglincit)<7001><0gP6aokrCr8AAAAAAAAAAAAAAAAAAAAB>: Logged out in=2074 out=164180 deleted=0 expunged=0 trashed=0 hdr_count=253 hdr_bytes=90428 body_count=0 body_bytes=0
Jan 12 22:58:01 srv4hai CRON[7015]: (root) CMD (/etc/linetest/linetest.sh)
Jan 12 22:58:22 srv4hai nmbd[2172]: [2025/01/12 22:58:22.306818,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Jan 12 22:58:22 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Jan 12 22:58:22 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Jan 12 22:58:22 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Jan 12 22:58:27 srv4hai ping_SP[31426]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1736719107 - 'ping_SP_0'
Jan 12 22:58:27 srv4hai ping_SP[31426]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 12 22:58:39 srv4hai ping_SP[11164]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1736719119 - 'ping_SP_1'
Jan 12 22:58:39 srv4hai ping_SP[11164]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 12 22:58:54 srv4hai postfix/smtpd[6848]: connect from unknown[94.156.227.127]
Jan 12 22:58:54 srv4hai postfix/smtpd[6848]: warning: unknown[94.156.227.127]: SASL LOGIN authentication failed: Invalid authentication mechanism
Jan 12 22:58:54 srv4hai postfix/smtpd[6848]: disconnect from unknown[94.156.227.127] ehlo=1 auth=0/1 quit=1 commands=2/3
Jan 12 22:59:01 srv4hai CRON[7092]: (root) CMD (/etc/linetest/linetest.sh)
Jan 12 22:59:40 srv4hai ping_SP[31426]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1736719180 - 'ping_SP_0'
Jan 12 22:59:40 srv4hai ping_SP[31426]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 12 22:59:52 srv4hai ping_SP[11164]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1736719192 - 'ping_SP_1'
Jan 12 22:59:52 srv4hai ping_SP[11164]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 12 22:59:56 srv4hai common[7165]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jan 12 23:00:01 srv4hai CRON[7186]: (root) CMD (/etc/linetest/linetest.sh)
Jan 12 23:00:01 srv4hai CRON[7187]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Jan 12 23:00:01 srv4hai common[7189]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Jan 12 23:00:01 srv4hai meter.sh: SHELLY meter.sh started
Jan 12 23:00:02 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Jan 12 23:00:02 srv4hai meter.sh: SHELLY 'shelly-28/KÜ Schalter Nasszeile' - type: 'shelly-i3' ignoring
Jan 12 23:00:06 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Jan 12 23:00:06 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Jan 12 23:00:06 srv4hai meter.sh: SHELLY 'shelly-37/TB Klima' - type: 'shelly-ht' ignoring
Jan 12 23:00:06 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Jan 12 23:00:06 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Jan 12 23:00:06 srv4hai bt_scan[7165]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Jan 12 23:00:06 srv4hai bt_scan[7165]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Jan 12 23:00:06 srv4hai common[7933]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jan 12 23:00:07 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1736719207-1736719196
Jan 12 23:00:07 srv4hai check_presence[7933]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jan 12 23:00:07 srv4hai check_presence[7933]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Jan 12 23:00:07 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1736719207-1736719196
Jan 12 23:00:07 srv4hai check_presence[7933]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Jan 12 23:00:07 srv4hai check_presence[7933]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Jan 12 23:00:07 srv4hai check_presence[7933]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE)' - anyPresent: 'true' - otherPresent:'true'
Jan 12 23:00:07 srv4hai check_presence[7933]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_bedlight_tom) - sceneOFF(offAll)
Jan 12 23:00:07 srv4hai check_presence[7933]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 12 23:00:09 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jan 12 23:00:11 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jan 12 23:00:11 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Jan 12 23:00:11 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Jan 12 23:00:11 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Jan 12 23:00:11 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Jan 12 23:00:11 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Jan 12 23:00:12 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Jan 12 23:00:12 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Jan 12 23:00:12 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Jan 12 23:00:12 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Jan 12 23:00:12 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Jan 12 23:00:12 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Jan 12 23:00:12 srv4hai meter.sh: SHELLY 'shelly-01a/WZ Licht Esstisch - 20241208 kein WLAN' - status: 'DFC' ignoring
Jan 12 23:00:12 srv4hai meter.sh: SHELLY 'shelly-43/43-tbd' - status: 'OOS' ignoring
Jan 12 23:00:12 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Jan 12 23:00:12 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Jan 12 23:00:15 srv4hai meter.sh: SHELLY 'shelly-50/50-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jan 12 23:00:15 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Jan 12 23:00:15 srv4hai common[8330]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Jan 12 23:00:15 srv4hai check_shelly.sh: SHELLY last scenery executed: 'bedlight_tom'
Jan 12 23:00:15 srv4hai check_shelly.sh: SHELLY found '4' active shelly outputs
Jan 12 23:00:15 srv4hai meter.sh: SHELLY meter.sh ended
Jan 12 23:00:34 srv4hai activate_scenario[8363]: SHELLY last scenario: 'bedlight_tom' @ '221845' from 'scene_bedlight_tom_20250112_221845.txt' - delta=11
Jan 12 23:00:34 srv4hai activate_scenario[8363]:        dateutils.ddiff -i '%Y%m%d%H%M%s' 20250112230034 20250112221845  -f '%S'
Jan 12 23:00:34 srv4hai activate_scenario[8363]: SHELLY  new scenario: 'offDownstairs' different - GO ON
Jan 12 23:00:34 srv4hai activate_scenario[8363]: SHELLY scenario: 'offDownstairs(offdownstairs)' started
Jan 12 23:00:34 srv4hai activate_scenario[8363]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-23:'WZ Licht Sofa'

finished