activate_scenario.sh
Thu Jun 13 16:28:08 CEST 2024
scenario: offAll
source: 192.168.12.103

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

scenario: 'Licht überall AUS-schalten' - 'offAll' - 'offall'

Wandlicht beim Esstisch (/srv/www/viehai/shelly/log_scenarios/2024/06/13/_0.log)

vorher: 16:28:08.481

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

nachher: 16:28:08.580
Dauer: 99 msec phName: 'shelly-03:'Licht Vorzimmer''


Balkon-Licht (/srv/www/viehai/shelly/log_scenarios/2024/06/13/_1.log)

vorher: 16:28:08.494

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: 16:28:08.535
Dauer: 40 msec phName: 'shelly-03:'Licht Vorzimmer''


Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/06/13/_2.log)

vorher: 16:28:08.508

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

nachher: 16:28:08.535
Dauer: 27 msec phName: 'shelly-03:'Licht Vorzimmer''


Badezimmer (/srv/www/viehai/shelly/log_scenarios/2024/06/13/_3.log)

vorher: 16:28:08.521

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

nachher: 16:28:08.549
Dauer: 28 msec phName: 'shelly-03:'Licht Vorzimmer''


Stehlampe Anne hell (/srv/www/viehai/shelly/log_scenarios/2024/06/13/_4.log)

vorher: 16:28:08.535

http://192.168.12.105/relay/0?turn=off

        

nachher: 16:28:11.603
Dauer: 3069 msec phName: 'shelly-03:'Licht Vorzimmer''


Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/06/13/_5.log)

vorher: 16:28:08.549

http://192.168.12.106/relay/0?turn=off

        

nachher: 16:28:11.635
Dauer: 3087 msec phName: 'shelly-03:'Licht Vorzimmer''


Nachtkästchen Lampe Thomas (/srv/www/viehai/shelly/log_scenarios/2024/06/13/_6.log)

vorher: 16:28:08.564

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: 16:28:08.589
Dauer: 24 msec phName: 'shelly-03:'Licht Vorzimmer''


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

vorher: 16:28:08.579

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

nachher: 16:28:08.621
Dauer: 43 msec phName: 'shelly-03:'Licht Vorzimmer''


Sophie Licht (/srv/www/viehai/shelly/log_scenarios/2024/06/13/_8.log)

vorher: 16:28:08.592

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: 16:28:08.625
Dauer: 33 msec phName: 'shelly-03:'Licht Vorzimmer''


WZ Bücherregal (/srv/www/viehai/shelly/log_scenarios/2024/06/13/_9.log)

vorher: 16:28:08.605

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: 16:28:08.629
Dauer: 25 msec phName: 'shelly-03:'Licht Vorzimmer''


Schlafzimmer Licht (/srv/www/viehai/shelly/log_scenarios/2024/06/13/_10.log)

vorher: 16:28:08.619

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: 16:28:08.647
Dauer: 28 msec phName: 'shelly-03:'Licht Vorzimmer''


15-Test Weiss (/srv/www/viehai/shelly/log_scenarios/2024/06/13/_11.log)

vorher: 16:28:08.637

http://192.168.12.115/white/0?turn=off&brightness=50

        

nachher: 16:28:11.700
Dauer: 3063 msec phName: 'shelly-03:'Licht Vorzimmer''


15-Test Weiss (/srv/www/viehai/shelly/log_scenarios/2024/06/13/_12.log)

vorher: 16:28:08.648

http://192.168.12.115/white/1?turn=off&brightness=50

        

nachher: 16:28:11.700
Dauer: 3051 msec phName: 'shelly-03:'Licht Vorzimmer''


15-Test Weiss (/srv/www/viehai/shelly/log_scenarios/2024/06/13/_13.log)

vorher: 16:28:08.661

http://192.168.12.115/white/2?turn=off&brightness=50

        

nachher: 16:28:11.699
Dauer: 3039 msec phName: 'shelly-03:'Licht Vorzimmer''


15-Test Weiss (/srv/www/viehai/shelly/log_scenarios/2024/06/13/_14.log)

vorher: 16:28:08.674

http://192.168.12.115/white/3?turn=off&brightness=50

        

nachher: 16:28:11.699
Dauer: 3025 msec phName: 'shelly-03:'Licht Vorzimmer''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/06/13/_15.log)

vorher: 16:28:08.688

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": 7.91,
  "overpower": false

nachher: 16:28:08.726
Dauer: 39 msec phName: 'shelly-03:'Licht Vorzimmer''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/06/13/_16.log)

vorher: 16:28:08.700

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": 7.91,
  "overpower": false

nachher: 16:28:08.743
Dauer: 43 msec phName: 'shelly-03:'Licht Vorzimmer''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/06/13/_17.log)

vorher: 16:28:08.713

http://192.168.12.116/white/2?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: 16:28:08.795
Dauer: 82 msec phName: 'shelly-03:'Licht Vorzimmer''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/06/13/_18.log)

vorher: 16:28:08.726

http://192.168.12.116/white/3?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: 16:28:08.794
Dauer: 68 msec phName: 'shelly-03:'Licht Vorzimmer''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/06/13/_19.log)

vorher: 16:28:08.740

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: 16:28:08.809
Dauer: 68 msec phName: 'shelly-03:'Licht Vorzimmer''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/06/13/_20.log)

vorher: 16:28:08.753

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: 16:28:08.809
Dauer: 56 msec phName: 'shelly-03:'Licht Vorzimmer''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/06/13/_21.log)

vorher: 16:28:08.766

http://192.168.12.117/white/2?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: 16:28:08.806
Dauer: 40 msec phName: 'shelly-03:'Licht Vorzimmer''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/06/13/_22.log)

vorher: 16:28:08.778

http://192.168.12.117/white/3?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: 16:28:09.763
Dauer: 985 msec phName: 'shelly-03:'Licht Vorzimmer''


18-Test Farbige LED (/srv/www/viehai/shelly/log_scenarios/2024/06/13/_23.log)

vorher: 16:28:08.791

http://192.168.12.118/color/0?turn=off&red=128&green=128&blue=128&white=128

        

nachher: 16:28:11.859
Dauer: 3069 msec phName: 'shelly-03:'Licht Vorzimmer''


Fernsehlampe groß (/srv/www/viehai/shelly/log_scenarios/2024/06/13/_24.log)

vorher: 16:28:08.805

http://192.168.12.119/relay/0?turn=off

        

nachher: 16:28:11.891
Dauer: 3086 msec phName: 'shelly-03:'Licht Vorzimmer''


Thomas Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/06/13/_25.log)

vorher: 16:28:08.820

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

nachher: 16:28:08.863
Dauer: 42 msec phName: 'shelly-03:'Licht Vorzimmer''


WC (/srv/www/viehai/shelly/log_scenarios/2024/06/13/_26.log)

vorher: 16:28:08.832

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: 16:28:08.933
Dauer: 101 msec phName: 'shelly-03:'Licht Vorzimmer''


Licht Sekretär (/srv/www/viehai/shelly/log_scenarios/2024/06/13/_27.log)

vorher: 16:28:08.845

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: 16:28:08.923
Dauer: 78 msec phName: 'shelly-03:'Licht Vorzimmer''


Licht Empore (/srv/www/viehai/shelly/log_scenarios/2024/06/13/_28.log)

vorher: 16:28:08.859

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

nachher: 16:28:08.944
Dauer: 85 msec phName: 'shelly-03:'Licht Vorzimmer''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/06/13/_29.log)

vorher: 16:28:08.874

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: 16:28:08.926
Dauer: 52 msec phName: 'shelly-03:'Licht Vorzimmer''


Zwischenstecker 34 (/srv/www/viehai/shelly/log_scenarios/2024/06/13/_30.log)

vorher: 16:28:08.886

http://192.168.12.134/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "overpower": false

nachher: 16:28:08.915
Dauer: 29 msec phName: 'shelly-03:'Licht Vorzimmer''


Zwischenstecker 35 (/srv/www/viehai/shelly/log_scenarios/2024/06/13/_31.log)

vorher: 16:28:08.898

http://192.168.12.135/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "overpower": false

nachher: 16:28:08.930
Dauer: 32 msec phName: 'shelly-03:'Licht Vorzimmer''


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

vorher: 16:28:08.911

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

nachher: 16:28:08.942
Dauer: 31 msec phName: 'shelly-03:'Licht Vorzimmer''


41-TBD-Dimmer (/srv/www/viehai/shelly/log_scenarios/2024/06/13/_33.log)

vorher: 16:28:08.925

http://192.168.12.141/light/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

nachher: 16:28:08.969
Dauer: 44 msec phName: 'shelly-03:'Licht Vorzimmer''


Stehlampe dimmbar (/srv/www/viehai/shelly/log_scenarios/2024/06/13/_34.log)

vorher: 16:28:08.940

http://192.168.12.142/light/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

nachher: 16:28:08.967
Dauer: 27 msec phName: 'shelly-03:'Licht Vorzimmer''


47-plus1-Test (/srv/www/viehai/shelly/log_scenarios/2024/06/13/_35.log)

vorher: 16:28:08.953

http://192.168.12.147/relay/0?turn=off

        

nachher: 16:28:12.019
Dauer: 3066 msec phName: 'shelly-03:'Licht Vorzimmer''


Werkstatt Licht (/srv/www/viehai/shelly/log_scenarios/2024/06/13/_36.log)

vorher: 16:28:08.967

http://192.168.12.158/relay/0?turn=off

        

nachher: 16:28:12.051
Dauer: 3085 msec phName: 'shelly-03:'Licht Vorzimmer''


scenario: 'Licht überall AUS-schalten' - 'offAll' - 'offall'

urls : 37
vorher : 16:28:08.462
nachher: 16:28:12.058
Dauer : 3595 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/13//scene_offAll_20240613_162808.txt'


syslog

Jun 13 16:25:01 srv4hai CRON[26614]: (root) CMD (/etc/linetest/linetest.sh)
Jun 13 16:25:28 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=26630, secured, session=<7AJJRcYasp4AAAAAAAAAAAAAAAAAAAAB>
Jun 13 16:25:28 srv4hai dovecot: imap(miglincit)<26630><7AJJRcYasp4AAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jun 13 16:25:38 srv4hai ping_SP[2428]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1718288738 - 'ping_SP_0'
Jun 13 16:25:38 srv4hai ping_SP[2428]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun 13 16:25:58 srv4hai nmbd[2172]: [2024/06/13 16:25:58.183492,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Jun 13 16:25:58 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Jun 13 16:25:58 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Jun 13 16:25:58 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Jun 13 16:26:01 srv4hai CRON[26675]: (root) CMD (/etc/linetest/linetest.sh)
Jun 13 16:26:51 srv4hai ping_SP[2428]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1718288811 - 'ping_SP_0'
Jun 13 16:26:51 srv4hai ping_SP[2428]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun 13 16:27:01 srv4hai CRON[26728]: (root) CMD (/etc/linetest/linetest.sh)
Jun 13 16:27:41 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Jun 13 16:27:41 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jun 13 16:27:41 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jun 13 16:27:41 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jun 13 16:27:41 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jun 13 16:27:41 srv4hai common[26765]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jun 13 16:27:51 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jun 13 16:27:51 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jun 13 16:27:51 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jun 13 16:27:51 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jun 13 16:27:51 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jun 13 16:27:51 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jun 13 16:27:51 srv4hai common[26791]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jun 13 16:28:01 srv4hai CRON[26810]: (root) CMD (/etc/linetest/linetest.sh)
Jun 13 16:28:01 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jun 13 16:28:01 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jun 13 16:28:01 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jun 13 16:28:01 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jun 13 16:28:01 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jun 13 16:28:01 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jun 13 16:28:01 srv4hai named[30406]: client @0x7f931c09a6d0 192.168.12.252#41409/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jun 13 16:28:01 srv4hai common[26822]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jun 13 16:28:04 srv4hai ping_SP[2428]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1718288884 - 'ping_SP_0'
Jun 13 16:28:04 srv4hai ping_SP[2428]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun 13 16:28:08 srv4hai activate_scenario[26857]: SHELLY scenario: 'offAll(offall)' started
Jun 13 16:28:08 srv4hai activate_scenario[26857]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'

finished