activate_scenario.sh
Fri Feb 9 13:15:28 CET 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/02/09/_0.log)

vorher: 13:15:28.643

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:15:28.734
Dauer: 90 msec phName: 'shelly-40:'Thomas Büro Licht''


Balkon-Licht (/srv/www/viehai/shelly/log_scenarios/2024/02/09/_1.log)

vorher: 13:15:28.662

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:15:28.698
Dauer: 36 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/02/09/_2.log)

vorher: 13:15:28.682

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:15:28.792
Dauer: 110 msec phName: 'shelly-40:'Thomas Büro Licht''


Stehlampe Anne hell (/srv/www/viehai/shelly/log_scenarios/2024/02/09/_3.log)

vorher: 13:15:28.705

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:15:28.753
Dauer: 46 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/02/09/_4.log)

vorher: 13:15:28.724

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

nachher: 13:15:28.789
Dauer: 65 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 13:15:28.736

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


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

vorher: 13:15:28.748

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


Sophie Licht (/srv/www/viehai/shelly/log_scenarios/2024/02/09/_7.log)

vorher: 13:15:28.762

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


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

vorher: 13:15:28.776

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


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

vorher: 13:15:28.789

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:15:28.834
Dauer: 45 msec phName: 'shelly-40:'Thomas Büro Licht''


Schlafzimmer Licht (/srv/www/viehai/shelly/log_scenarios/2024/02/09/_10.log)

vorher: 13:15:28.803

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:15:28.867
Dauer: 64 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 13:15:28.816

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

nachher: 13:15:28.965
Dauer: 150 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 13:15:28.828

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

nachher: 13:15:28.969
Dauer: 141 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 13:15:28.841

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


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

vorher: 13:15:28.855

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:15:29.107
Dauer: 251 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe groß (/srv/www/viehai/shelly/log_scenarios/2024/02/09/_15.log)

vorher: 13:15:28.868

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


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

vorher: 13:15:28.880

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:15:28.925
Dauer: 45 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Empore (/srv/www/viehai/shelly/log_scenarios/2024/02/09/_17.log)

vorher: 13:15:28.894

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:15:28.960
Dauer: 65 msec phName: 'shelly-40:'Thomas Büro Licht''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/02/09/_18.log)

vorher: 13:15:28.907

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:15:28.968
Dauer: 62 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 19
vorher : 13:15:28.594
nachher: 13:15:29.117
Dauer : 525 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/09//scene_homeOffice_20240209_131528.txt'


syslog

Feb  9 13:12:01 srv4hai CRON[10456]: (root) CMD (/etc/linetest/linetest.sh)
Feb  9 13:12:03 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb  9 13:12:04 srv4hai fetchmail[1651]: 37742 messages (37742 seen) for tmiglinci at mail.akis.at (-1174781844 octets).
Feb  9 13:12:05 srv4hai fetchmail[1651]: 9876 messages (9876 seen) for srozum at mail.akis.at (1191953528 octets).
Feb  9 13:12:05 srv4hai fetchmail[1651]: 21569 messages (21569 seen) for mrozum at mail.akis.at (-593929151 octets).
Feb  9 13:12:05 srv4hai fetchmail[1651]: 45 messages (45 seen) for admin@bastelstube.wien at pop3.world4you.com (12035480 octets).
Feb  9 13:12:42 srv4hai ping_SP[22545]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1707480762 - 'ping_SP_0'
Feb  9 13:12:42 srv4hai ping_SP[22545]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  9 13:13:01 srv4hai CRON[10484]: (root) CMD (/etc/linetest/linetest.sh)
Feb  9 13:13:40 srv4hai nmbd[30864]: [2024/02/09 13:13:40.485815,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Feb  9 13:13:40 srv4hai nmbd[30864]:   find_domain_master_name_query_fail:
Feb  9 13:13:40 srv4hai nmbd[30864]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Feb  9 13:13:40 srv4hai nmbd[30864]:   Unable to sync browse lists in this workgroup.
Feb  9 13:13:45 srv4hai ping_SP[22545]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1707480825 - 'ping_SP_0'
Feb  9 13:13:45 srv4hai ping_SP[22545]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  9 13:14:01 srv4hai CRON[10517]: (root) CMD (/etc/linetest/linetest.sh)
Feb  9 13:14:28 srv4hai postfix/anvil[10435]: statistics: max connection rate 1/60s for (smtp:45.128.96.207) at Feb  9 13:11:08
Feb  9 13:14:28 srv4hai postfix/anvil[10435]: statistics: max connection count 1 for (smtp:45.128.96.207) at Feb  9 13:11:08
Feb  9 13:14:28 srv4hai postfix/anvil[10435]: statistics: max cache size 1 at Feb  9 13:11:08
Feb  9 13:14:48 srv4hai ping_SP[22545]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1707480888 - 'ping_SP_0'
Feb  9 13:14:48 srv4hai ping_SP[22545]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  9 13:15:00 srv4hai smartd[27489]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 52 to 51
Feb  9 13:15:01 srv4hai CRON[10543]: (root) CMD (/etc/linetest/linetest.sh)
Feb  9 13:15:14 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Feb  9 13:15:14 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.28
Feb  9 13:15:14 srv4hai dhcpd[5037]: execute_statement argv[2] = harmonyhub
Feb  9 13:15:14 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.28 from c8:db:26:0c:f3:8e via enp2s0
Feb  9 13:15:14 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.28 to c8:db:26:0c:f3:8e via enp2s0
Feb  9 13:15:14 srv4hai named[14530]: client @0x7fc308060380 192.168.12.252#49105/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: harmonyhub.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb  9 13:15:14 srv4hai named[14530]: client @0x7fc320075e30 192.168.12.252#59225/key rndc-key: signer "rndc-key" approved
Feb  9 13:15:14 srv4hai named[14530]: client @0x7fc320075e30 192.168.12.252#59225/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' TXT
Feb  9 13:15:14 srv4hai named[14530]: client @0x7fc320075e30 192.168.12.252#59225/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' TXT "3122b5a8b4281156e6f217b32b7e260713"
Feb  9 13:15:14 srv4hai named[14530]: client @0x7fc320075e30 192.168.12.252#59225/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' A
Feb  9 13:15:14 srv4hai named[14530]: client @0x7fc320075e30 192.168.12.252#59225/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' A 192.168.12.28
Feb  9 13:15:14 srv4hai dhcpd[5037]: Added new forward map from harmonyhub.viehai.at to 192.168.12.28
Feb  9 13:15:14 srv4hai named[14530]: client @0x7fc328157870 192.168.12.252#51065/key rndc-key: signer "rndc-key" approved
Feb  9 13:15:14 srv4hai named[14530]: client @0x7fc328157870 192.168.12.252#51065/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '28.12.168.192.in-addr.arpa' PTR
Feb  9 13:15:14 srv4hai named[14530]: client @0x7fc328157870 192.168.12.252#51065/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '28.12.168.192.in-addr.arpa' PTR harmonyhub.viehai.at.
Feb  9 13:15:14 srv4hai dhcpd[5037]: Added reverse map from 28.12.168.192.in-addr.arpa. to harmonyhub.viehai.at
Feb  9 13:15:14 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.28'(28) device 'harmonyhub'
Feb  9 13:15:14 srv4hai dhcpcommit.sh: SHELLY device 'harmonyhub' known and accepted
Feb  9 13:15:25 srv4hai activate_scenario[10561]: SHELLY scenario: 'buero_UM(buero_um)' started
Feb  9 13:15:25 srv4hai activate_scenario[10561]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Feb  9 13:15:25 srv4hai activate_scenario[10561]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Feb  9 13:15:25 srv4hai postfix/pickup[7183]: 706EC60244: uid=33 from=
Feb  9 13:15:25 srv4hai postfix/cleanup[10614]: 706EC60244: message-id=<20240209121525.706EC60244@mail.viehai.at>
Feb  9 13:15:25 srv4hai postfix/qmgr[28610]: 706EC60244: from=, size=5860, nrcpt=1 (queue active)
Feb  9 13:15:25 srv4hai postfix/local[10625]: 706EC60244: to=, orig_to=, relay=local, delay=0.08, delays=0.05/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null")
Feb  9 13:15:25 srv4hai activate_scenario[10561]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
Feb  9 13:15:25 srv4hai postfix/cleanup[10614]: 7D61E60245: message-id=<20240209121525.7D61E60245@mail.viehai.at>
Feb  9 13:15:25 srv4hai proc_url[10632]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/09/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Feb  9 13:15:25 srv4hai postfix/bounce[10628]: 706EC60244: sender non-delivery notification: 7D61E60245
Feb  9 13:15:25 srv4hai postfix/qmgr[28610]: 7D61E60245: from=<>, size=7779, nrcpt=1 (queue active)
Feb  9 13:15:25 srv4hai postfix/qmgr[28610]: 706EC60244: removed
Feb  9 13:15:25 srv4hai postfix/local[10625]: 7D61E60245: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb  9 13:15:25 srv4hai postfix/qmgr[28610]: 7D61E60245: removed
Feb  9 13:15:25 srv4hai activate_scenario[10561]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
Feb  9 13:15:25 srv4hai proc_url[10644]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/09/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Feb  9 13:15:25 srv4hai activate_scenario[10561]: SHELLY scenario: 'buero_UM(buero_um)' took 106 msec, shelly-40:'Thomas Büro Licht'
Feb  9 13:15:28 srv4hai activate_scenario[10685]: SHELLY scenario: 'homeOffice(homeoffice)' started
Feb  9 13:15:28 srv4hai activate_scenario[10685]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished