activate_scenario.sh
Fri Apr 12 13:14:30 CEST 2024
scenario: homeOffice
source: 192.168.12.140

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

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

Wandlicht beim Esstisch (/srv/www/viehai/shelly/log_scenarios/2024/04/12/_0.log)

vorher: 13:14:30.781

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: 13:14:30.872
Dauer: 89 msec phName: 'shelly-40:'Thomas Büro Licht''


Balkon-Licht (/srv/www/viehai/shelly/log_scenarios/2024/04/12/_1.log)

vorher: 13:14:30.806

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

nachher: 13:14:30.857
Dauer: 51 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/04/12/_2.log)

vorher: 13:14:30.823

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: 13:14:30.877
Dauer: 54 msec phName: 'shelly-40:'Thomas Büro Licht''


Stehlampe Anne hell (/srv/www/viehai/shelly/log_scenarios/2024/04/12/_3.log)

vorher: 13:14:30.837

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

nachher: 13:14:30.865
Dauer: 28 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/04/12/_4.log)

vorher: 13:14:30.851

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: 13:14:30.880
Dauer: 29 msec phName: 'shelly-40:'Thomas Büro Licht''


Nachtkästchen Lampe Thomas (/srv/www/viehai/shelly/log_scenarios/2024/04/12/_5.log)

vorher: 13:14:30.864

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

nachher: 13:14:30.896
Dauer: 32 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 13:14:30.878

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: 13:14:30.966
Dauer: 89 msec phName: 'shelly-40:'Thomas Büro Licht''


Sophie Licht (/srv/www/viehai/shelly/log_scenarios/2024/04/12/_7.log)

vorher: 13:14:30.893

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

nachher: 13:14:31.949
Dauer: 1056 msec phName: 'shelly-40:'Thomas Büro Licht''


WZ Bücherregal (/srv/www/viehai/shelly/log_scenarios/2024/04/12/_8.log)

vorher: 13:14:30.909

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: 13:14:30.950
Dauer: 41 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 13:14:30.923

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: 13:14:30.974
Dauer: 51 msec phName: 'shelly-40:'Thomas Büro Licht''


Schlafzimmer Licht (/srv/www/viehai/shelly/log_scenarios/2024/04/12/_10.log)

vorher: 13:14:30.938

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: 13:14:31.023
Dauer: 86 msec phName: 'shelly-40:'Thomas Büro Licht''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/04/12/_11.log)

vorher: 13:14:30.950

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

nachher: 13:14:30.978
Dauer: 27 msec phName: 'shelly-40:'Thomas Büro Licht''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/04/12/_12.log)

vorher: 13:14:30.966

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

nachher: 13:14:31.012
Dauer: 45 msec phName: 'shelly-40:'Thomas Büro Licht''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/04/12/_13.log)

vorher: 13:14:30.980

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: 13:14:31.011
Dauer: 32 msec phName: 'shelly-40:'Thomas Büro Licht''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/04/12/_14.log)

vorher: 13:14:30.993

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: 13:14:31.076
Dauer: 82 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe groß (/srv/www/viehai/shelly/log_scenarios/2024/04/12/_15.log)

vorher: 13:14:31.006

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

nachher: 13:14:31.069
Dauer: 64 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Sekretär (/srv/www/viehai/shelly/log_scenarios/2024/04/12/_16.log)

vorher: 13:14:31.020

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: 13:14:31.061
Dauer: 40 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Empore (/srv/www/viehai/shelly/log_scenarios/2024/04/12/_17.log)

vorher: 13:14:31.031

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

nachher: 13:14:31.089
Dauer: 57 msec phName: 'shelly-40:'Thomas Büro Licht''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/04/12/_18.log)

vorher: 13:14:31.043

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: 13:14:31.182
Dauer: 138 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 19
vorher : 13:14:30.738
nachher: 13:14:31.965
Dauer : 1228 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/12//scene_homeOffice_20240412_131430.txt'


syslog

Apr 12 13:11:01 srv4hai CRON[3868]: (root) CMD (/etc/linetest/linetest.sh)
Apr 12 13:11:04 srv4hai ping_SP[19545]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712920264 - 'ping_SP_0'
Apr 12 13:11:04 srv4hai ping_SP[19545]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 12 13:11:53 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=3892, secured, session=
Apr 12 13:11:53 srv4hai dovecot: imap(miglincit)<3892>: Logged out in=707 out=42526 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=18318 body_count=0 body_bytes=0
Apr 12 13:12:01 srv4hai CRON[3896]: (root) CMD (/etc/linetest/linetest.sh)
Apr 12 13:12:17 srv4hai ping_SP[19545]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712920337 - 'ping_SP_0'
Apr 12 13:12:17 srv4hai ping_SP[19545]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 12 13:12:26 srv4hai dhcpd[28085]: DHCPDISCOVER from 84:cc:a8:a8:55:7d via enp2s0
Apr 12 13:12:26 srv4hai dhcpd[28085]: DHCPOFFER on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0
Apr 12 13:12:26 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Apr 12 13:12:26 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.102
Apr 12 13:12:26 srv4hai dhcpd[28085]: execute_statement argv[2] = shelly-02
Apr 12 13:12:26 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.102 (192.168.12.252) from 84:cc:a8:a8:55:7d via enp2s0
Apr 12 13:12:26 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0
Apr 12 13:12:26 srv4hai named[15509]: client @0x7f931c166000 192.168.12.252#36597/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-02.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr 12 13:12:26 srv4hai named[15509]: client @0x7f93180c5880 192.168.12.252#54427/key rndc-key: signer "rndc-key" approved
Apr 12 13:12:26 srv4hai named[15509]: client @0x7f93180c5880 192.168.12.252#54427/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-02.viehai.at' TXT
Apr 12 13:12:26 srv4hai named[15509]: client @0x7f93180c5880 192.168.12.252#54427/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-02.viehai.at' TXT "005dc8ffbb18e92d4c1a5981a9354b73fe"
Apr 12 13:12:26 srv4hai named[15509]: client @0x7f93180c5880 192.168.12.252#54427/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-02.viehai.at' A
Apr 12 13:12:26 srv4hai named[15509]: client @0x7f93180c5880 192.168.12.252#54427/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-02.viehai.at' A 192.168.12.102
Apr 12 13:12:26 srv4hai dhcpd[28085]: Added new forward map from shelly-02.viehai.at to 192.168.12.102
Apr 12 13:12:26 srv4hai named[15509]: client @0x7f9310041d20 192.168.12.252#36835/key rndc-key: signer "rndc-key" approved
Apr 12 13:12:26 srv4hai named[15509]: client @0x7f9310041d20 192.168.12.252#36835/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '102.12.168.192.in-addr.arpa' PTR
Apr 12 13:12:26 srv4hai named[15509]: client @0x7f9310041d20 192.168.12.252#36835/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '102.12.168.192.in-addr.arpa' PTR shelly-02.viehai.at.
Apr 12 13:12:26 srv4hai dhcpd[28085]: Added reverse map from 102.12.168.192.in-addr.arpa. to shelly-02.viehai.at
Apr 12 13:12:26 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-02' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Apr 12 13:12:28 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-02' - shIP/2:'192.168.12.102'
Apr 12 13:12:28 srv4hai conf_shelly.sh: SHELLY: usage/name 'Balkon-Licht' already set for '192.168.12.102'
Apr 12 13:12:28 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(0)' - allready transmitted - skipping
Apr 12 13:12:28 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(1)' - allready transmitted - skipping
Apr 12 13:12:28 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(2)' - allready transmitted - skipping
Apr 12 13:12:28 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(3)' - allready transmitted - skipping
Apr 12 13:12:28 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(4)' - allready transmitted - skipping
Apr 12 13:12:28 srv4hai conf_shelly.sh: SHELLY:'shelly-02' out:0 ON : MISSING
Apr 12 13:12:28 srv4hai conf_shelly.sh: SHELLY:'shelly-02' out:0 OFF: MISSING
Apr 12 13:13:01 srv4hai CRON[4048]: (root) CMD (/etc/linetest/linetest.sh)
Apr 12 13:13:05 srv4hai postfix/smtpd[4053]: connect from unknown[93.123.39.19]
Apr 12 13:13:05 srv4hai postfix/smtpd[4053]: warning: unknown[93.123.39.19]: SASL LOGIN authentication failed: Invalid authentication mechanism
Apr 12 13:13:05 srv4hai postfix/smtpd[4053]: disconnect from unknown[93.123.39.19] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Apr 12 13:13:30 srv4hai ping_SP[19545]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712920410 - 'ping_SP_0'
Apr 12 13:13:30 srv4hai ping_SP[19545]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 12 13:14:01 srv4hai CRON[4082]: (root) CMD (/etc/linetest/linetest.sh)
Apr 12 13:14:25 srv4hai nmbd[30864]: [2024/04/12 13:14:25.911481,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Apr 12 13:14:25 srv4hai nmbd[30864]:   find_domain_master_name_query_fail:
Apr 12 13:14:25 srv4hai nmbd[30864]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Apr 12 13:14:25 srv4hai nmbd[30864]:   Unable to sync browse lists in this workgroup.
Apr 12 13:14:30 srv4hai activate_scenario[4095]: SHELLY scenario: 'homeOffice(homeoffice)' started
Apr 12 13:14:30 srv4hai activate_scenario[4095]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished