activate_scenario.sh
Fri Jan 17 07:13:53 CET 2025
scenario: homeOffice
source: 192.168.12.140

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

scenario: 'Home-Office' - 'homeOffice' - 'homeoffice'

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

vorher: 07:13:53.260

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: 07:13:53.279
Dauer: 19 msec phName: 'shelly-40:'TB Licht''


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

vorher: 07:13:53.278

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: 07:13:53.338
Dauer: 61 msec phName: 'shelly-40:'TB Licht''


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

vorher: 07:13:53.298

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: 07:13:53.432
Dauer: 133 msec phName: 'shelly-40:'TB Licht''


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

vorher: 07:13:53.316

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: 07:13:53.341
Dauer: 25 msec phName: 'shelly-40:'TB Licht''


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

vorher: 07:13:53.334

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: 07:13:53.432
Dauer: 98 msec phName: 'shelly-40:'TB Licht''


SZ Nachtkästchen Thomas (/srv/www/viehai/shelly/log_scenarios/2025/01/17/_5.log)

vorher: 07:13:53.353

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

nachher: 07:13:53.383
Dauer: 29 msec phName: 'shelly-40:'TB Licht''


TB Regallicht (/srv/www/viehai/shelly/log_scenarios/2025/01/17/_6.log)

vorher: 07:13:53.371

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

nachher: 07:13:53.428
Dauer: 58 msec phName: 'shelly-40:'TB Licht''


GB Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/17/_7.log)

vorher: 07:13:53.390

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

nachher: 07:13:53.522
Dauer: 132 msec phName: 'shelly-40:'TB Licht''


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

vorher: 07:13:53.410

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

nachher: 07:13:53.432
Dauer: 22 msec phName: 'shelly-40:'TB Licht''


SZ Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/17/_9.log)

vorher: 07:13:53.427

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

nachher: 07:13:53.458
Dauer: 30 msec phName: 'shelly-40:'TB Licht''


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

vorher: 07:13:53.451

http://192.168.12.116/white/0?turn=on&brightness=50
  "ison": true,
  "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: 07:13:53.474
Dauer: 24 msec phName: 'shelly-40:'TB Licht''


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

vorher: 07:13:53.471

http://192.168.12.116/white/1?turn=on&brightness=50
  "ison": true,
  "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: 07:13:53.545
Dauer: 75 msec phName: 'shelly-40:'TB Licht''


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

vorher: 07:13:53.491

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: 07:13:53.518
Dauer: 28 msec phName: 'shelly-40:'TB Licht''


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

vorher: 07:13:53.509

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: 07:13:53.578
Dauer: 70 msec phName: 'shelly-40:'TB Licht''


GB Fernsehlampe (/srv/www/viehai/shelly/log_scenarios/2025/01/17/_14.log)

vorher: 07:13:53.527

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: 07:13:53.565
Dauer: 38 msec phName: 'shelly-40:'TB Licht''


WZ Licht Sofa (/srv/www/viehai/shelly/log_scenarios/2025/01/17/_15.log)

vorher: 07:13:53.545

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: 07:13:53.579
Dauer: 34 msec phName: 'shelly-40:'TB Licht''


Empore Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/17/_16.log)

vorher: 07:13:53.567

http://192.168.12.124/relay/0?turn=on
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 07:13:53.670
Dauer: 103 msec phName: 'shelly-40:'TB Licht''


KÜ Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/17/_17.log)

vorher: 07:13:53.590

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

nachher: 07:13:53.644
Dauer: 53 msec phName: 'shelly-40:'TB Licht''


TB Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/17/_18.log)

vorher: 07:13:53.608

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

nachher: 07:13:53.648
Dauer: 39 msec phName: 'shelly-40:'TB Licht''


GB Schreibtischlampe rechts (/srv/www/viehai/shelly/log_scenarios/2025/01/17/_19.log)

vorher: 07:13:53.627

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

nachher: 07:13:53.647
Dauer: 20 msec phName: 'shelly-40:'TB Licht''


scenario: 'Home-Office' - 'homeOffice' - 'homeoffice'

urls : 20
vorher : 07:13:53.234
nachher: 07:13:53.680
Dauer : 445 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/01/17//scene_homeOffice_20250117_071353.txt'


syslog

Jan 17 07:10:01 srv4hai CRON[31276]: (root) CMD (/etc/linetest/linetest.sh)
Jan 17 07:10:01 srv4hai CRON[31275]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Jan 17 07:10:01 srv4hai common[31277]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Jan 17 07:10:01 srv4hai meter.sh: SHELLY meter.sh started
Jan 17 07:10:01 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Jan 17 07:10:02 srv4hai meter.sh: SHELLY 'shelly-28/KÜ Schalter Nasszeile' - type: 'shelly-i3' ignoring
Jan 17 07:10:06 srv4hai meter.sh: SHELLY 'shelly-20/TB Schreibtischlampe':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jan 17 07:10:08 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Jan 17 07:10:08 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Jan 17 07:10:08 srv4hai meter.sh: SHELLY 'shelly-37/TB Klima' - type: 'shelly-ht' ignoring
Jan 17 07:10:08 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Jan 17 07:10:08 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Jan 17 07:10:11 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jan 17 07:10:13 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jan 17 07:10:13 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Jan 17 07:10:13 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Jan 17 07:10:13 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Jan 17 07:10:13 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Jan 17 07:10:13 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Jan 17 07:10:14 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Jan 17 07:10:14 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Jan 17 07:10:14 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Jan 17 07:10:14 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Jan 17 07:10:14 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Jan 17 07:10:14 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Jan 17 07:10:14 srv4hai meter.sh: SHELLY 'shelly-01a/WZ Licht Esstisch - 20241208 kein WLAN' - status: 'DFC' ignoring
Jan 17 07:10:14 srv4hai meter.sh: SHELLY 'shelly-43/43-tbd' - status: 'OOS' ignoring
Jan 17 07:10:14 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Jan 17 07:10:14 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Jan 17 07:10:17 srv4hai meter.sh: SHELLY 'shelly-50/50-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jan 17 07:10:17 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Jan 17 07:10:17 srv4hai common[32264]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Jan 17 07:10:17 srv4hai check_shelly.sh: SHELLY last scenery executed: 'offAll'
Jan 17 07:10:17 srv4hai check_shelly.sh: SHELLY found '1' active shelly outputs
Jan 17 07:10:17 srv4hai meter.sh: SHELLY meter.sh ended
Jan 17 07:10:38 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jan 17 07:10:39 srv4hai fetchmail[1651]: 61623 messages (61623 seen) for tmiglinci at mail.akis.at (755762384 octets).
Jan 17 07:10:40 srv4hai fetchmail[1651]: 11393 messages (11393 seen) for srozum at mail.akis.at (1358480648 octets).
Jan 17 07:10:40 srv4hai fetchmail[1651]: 28379 messages (28379 seen) for mrozum at mail.akis.at (573942378 octets).
Jan 17 07:10:41 srv4hai fetchmail[1651]: 1162 messages (1162 seen) for admin@bastelstube.wien at pop3.world4you.com (52206525 octets).
Jan 17 07:11:01 srv4hai CRON[32320]: (root) CMD (/etc/linetest/linetest.sh)
Jan 17 07:11:07 srv4hai ping_SP[1653]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1737094267 - 'ping_SP_0'
Jan 17 07:11:07 srv4hai ping_SP[1653]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 17 07:11:38 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=32365, secured, session=
Jan 17 07:11:38 srv4hai dovecot: imap(miglincit)<32365>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jan 17 07:12:01 srv4hai CRON[32383]: (root) CMD (/etc/linetest/linetest.sh)
Jan 17 07:12:20 srv4hai postfix/anvil[31102]: statistics: max connection rate 1/60s for (smtp:195.178.110.212) at Jan 17 07:08:26
Jan 17 07:12:20 srv4hai postfix/anvil[31102]: statistics: max connection count 1 for (smtp:195.178.110.212) at Jan 17 07:08:26
Jan 17 07:12:20 srv4hai postfix/anvil[31102]: statistics: max cache size 2 at Jan 17 07:08:56
Jan 17 07:12:20 srv4hai ping_SP[1653]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1737094340 - 'ping_SP_0'
Jan 17 07:12:20 srv4hai ping_SP[1653]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 17 07:13:01 srv4hai CRON[32458]: (root) CMD (/etc/linetest/linetest.sh)
Jan 17 07:13:25 srv4hai nmbd[2172]: [2025/01/17 07:13:25.425986,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Jan 17 07:13:25 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Jan 17 07:13:25 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Jan 17 07:13:25 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Jan 17 07:13:33 srv4hai ping_SP[1653]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1737094413 - 'ping_SP_0'
Jan 17 07:13:33 srv4hai ping_SP[1653]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 17 07:13:46 srv4hai activate_scenario[32522]: SHELLY last scenario: 'homeOffice' @ '071346' from 'scene_homeOffice_20250117_071346.txt' - delta=0
Jan 17 07:13:46 srv4hai activate_scenario[32522]:        dateutils.ddiff -i '%Y%m%d%H%M%s' 20250117071346 20250117071346  -f '%S'
Jan 17 07:13:46 srv4hai activate_scenario[32522]: SHELLY  new scenario: 'homeOffice' same - EXIT
Jan 17 07:13:50 srv4hai activate_scenario[32553]: SHELLY last scenario: 'homeOffice' @ '071346' from 'scene_homeOffice_20250117_071346.txt' - delta=-4
Jan 17 07:13:50 srv4hai activate_scenario[32553]:        dateutils.ddiff -i '%Y%m%d%H%M%s' 20250117071350 20250117071346  -f '%S'
Jan 17 07:13:50 srv4hai activate_scenario[32553]: SHELLY  new scenario: 'buero_UM' different - GO ON
Jan 17 07:13:50 srv4hai activate_scenario[32553]: SHELLY scenario: 'buero_UM(buero_um)' started
Jan 17 07:13:50 srv4hai activate_scenario[32553]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'
Jan 17 07:13:50 srv4hai activate_scenario[32553]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'TB Licht'
Jan 17 07:13:50 srv4hai postfix/pickup[26130]: 1C9C763464: uid=33 from=
Jan 17 07:13:50 srv4hai postfix/cleanup[32618]: 1C9C763464: message-id=<20250117061350.1C9C763464@mail.viehai.at>
Jan 17 07:13:50 srv4hai postfix/qmgr[8566]: 1C9C763464: from=, size=7813, nrcpt=1 (queue active)
Jan 17 07:13:50 srv4hai postfix/local[32631]: 1C9C763464: to=, orig_to=, relay=local, delay=0.03, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Jan 17 07:13:50 srv4hai postfix/cleanup[32618]: 224B063465: message-id=<20250117061350.224B063465@mail.viehai.at>
Jan 17 07:13:50 srv4hai activate_scenario[32553]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'TB Regallicht' --> '0?turn=toggle'
Jan 17 07:13:50 srv4hai proc_url[32636]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/01/17/_0.log' - shellyUsage:'TB Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'TB Licht''
Jan 17 07:13:50 srv4hai postfix/bounce[32632]: 1C9C763464: sender non-delivery notification: 224B063465
Jan 17 07:13:50 srv4hai postfix/qmgr[8566]: 224B063465: from=<>, size=9692, nrcpt=1 (queue active)
Jan 17 07:13:50 srv4hai postfix/qmgr[8566]: 1C9C763464: removed
Jan 17 07:13:50 srv4hai postfix/local[32631]: 224B063465: to=, relay=local, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jan 17 07:13:50 srv4hai postfix/qmgr[8566]: 224B063465: removed
Jan 17 07:13:50 srv4hai activate_scenario[32553]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'TB Licht' --> '0?turn=toggle'
Jan 17 07:13:50 srv4hai proc_url[32648]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/01/17/_1.log' - shellyUsage:'TB Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'TB Licht''
Jan 17 07:13:50 srv4hai activate_scenario[32553]: SHELLY scenario: 'buero_UM(buero_um)' took 80 msec, shelly-40:'TB Licht'
Jan 17 07:13:53 srv4hai activate_scenario[32693]: SHELLY last scenario: 'buero_UM' @ '071350' from 'scene_buero_UM_20250117_071350.txt' - delta=-3
Jan 17 07:13:53 srv4hai activate_scenario[32693]:        dateutils.ddiff -i '%Y%m%d%H%M%s' 20250117071353 20250117071350  -f '%S'
Jan 17 07:13:53 srv4hai activate_scenario[32693]: SHELLY  new scenario: 'homeOffice' different - GO ON
Jan 17 07:13:53 srv4hai activate_scenario[32693]: SHELLY scenario: 'homeOffice(homeoffice)' started
Jan 17 07:13:53 srv4hai activate_scenario[32693]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished