activate_scenario.sh
Sun Feb 11 13:15:36 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/11/_0.log)

vorher: 13:15:36.723

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


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

vorher: 13:15:36.744

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


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

vorher: 13:15:36.764

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


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

vorher: 13:15:36.785

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


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

vorher: 13:15:36.805

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


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

vorher: 13:15:36.819

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


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

vorher: 13:15:36.832

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


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

vorher: 13:15:36.844

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


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

vorher: 13:15:36.857

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


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

vorher: 13:15:36.870

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


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

vorher: 13:15:36.883

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


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

vorher: 13:15:36.894

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


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

vorher: 13:15:36.907

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


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

vorher: 13:15:36.922

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


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

vorher: 13:15:36.934

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


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

vorher: 13:15:36.947

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


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

vorher: 13:15:36.960

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


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

vorher: 13:15:36.974

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


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

vorher: 13:15:36.986

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


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

urls : 19
vorher : 13:15:36.692
nachher: 13:15:37.095
Dauer : 403 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/11//scene_homeOffice_20240211_131536.txt'


syslog

Feb 11 13:12:00 srv4hai fetchmail[1651]: 37882 messages (37882 seen) for tmiglinci at mail.akis.at (-1169428889 octets).
Feb 11 13:12:00 srv4hai fetchmail[1651]: 9885 messages (9885 seen) for srozum at mail.akis.at (1192971367 octets).
Feb 11 13:12:01 srv4hai fetchmail[1651]: 21588 messages (21588 seen) for mrozum at mail.akis.at (-589972488 octets).
Feb 11 13:12:01 srv4hai fetchmail[1651]: 45 messages (45 seen) for admin@bastelstube.wien at pop3.world4you.com (12035480 octets).
Feb 11 13:12:01 srv4hai CRON[6372]: (root) CMD (/etc/linetest/linetest.sh)
Feb 11 13:12:06 srv4hai ping_SP[28456]: SHELLY (0)- ping 192.168.12.61 2 not answered (1) @~1707653526 - 'ping_SP_0'
Feb 11 13:12:11 srv4hai postfix/smtpd[6401]: connect from unknown[45.128.96.207]
Feb 11 13:12:11 srv4hai postfix/smtpd[6401]: warning: unknown[45.128.96.207]: SASL LOGIN authentication failed: Invalid authentication mechanism
Feb 11 13:12:11 srv4hai postfix/smtpd[6401]: disconnect from unknown[45.128.96.207] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb 11 13:12:22 srv4hai ping_SP[28456]: SHELLY (0)- ping 192.168.12.61 3 not answered (1) @~1707653542 - 'ping_SP_0'
Feb 11 13:12:28 srv4hai dhcpd[5037]: DHCPDISCOVER from 98:cd:ac:2d:5a:11 via enp2s0
Feb 11 13:12:28 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.119 to 98:cd:ac:2d:5a:11 via enp2s0
Feb 11 13:12:30 srv4hai dhcpd[5037]: DHCPDISCOVER from 98:cd:ac:2d:5a:11 via enp2s0
Feb 11 13:12:30 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.119 to 98:cd:ac:2d:5a:11 via enp2s0
Feb 11 13:12:34 srv4hai dhcpd[5037]: DHCPDISCOVER from 98:cd:ac:2d:5a:11 via enp2s0
Feb 11 13:12:34 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.119 to 98:cd:ac:2d:5a:11 via enp2s0
Feb 11 13:12:35 srv4hai ping_SP[28456]: SHELLY (0) - ping 192.168.12.61 4 sucessfully  @~1707653555 - 'ping_SP_0'
Feb 11 13:12:35 srv4hai ping_SP[28456]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 11 13:12:42 srv4hai dhcpd[5037]: DHCPDISCOVER from 98:cd:ac:2d:5a:11 via enp2s0
Feb 11 13:12:42 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.119 to 98:cd:ac:2d:5a:11 via enp2s0
Feb 11 13:12:48 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=6456, secured, session=<1RVfFBoR6ocAAAAAAAAAAAAAAAAAAAAB>
Feb 11 13:12:48 srv4hai dovecot: imap(miglincit)<6456><1RVfFBoR6ocAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 11 13:13:01 srv4hai CRON[6465]: (root) CMD (/etc/linetest/linetest.sh)
Feb 11 13:13:05 srv4hai dhcpd[5037]: DHCPDISCOVER from 98:cd:ac:2d:5a:11 via enp2s0
Feb 11 13:13:05 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.119 to 98:cd:ac:2d:5a:11 via enp2s0
Feb 11 13:13:05 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 11 13:13:05 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.119
Feb 11 13:13:05 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-19
Feb 11 13:13:05 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.119 (192.168.12.252) from 98:cd:ac:2d:5a:11 via enp2s0
Feb 11 13:13:05 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.119 to 98:cd:ac:2d:5a:11 via enp2s0
Feb 11 13:13:05 srv4hai named[14530]: client @0x7fc3286bc350 192.168.12.252#51277/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-19.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 11 13:13:05 srv4hai named[14530]: client @0x7fc3281490e0 192.168.12.252#33935/key rndc-key: signer "rndc-key" approved
Feb 11 13:13:05 srv4hai named[14530]: client @0x7fc3281490e0 192.168.12.252#33935/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-19.viehai.at' TXT
Feb 11 13:13:05 srv4hai named[14530]: client @0x7fc3281490e0 192.168.12.252#33935/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-19.viehai.at' TXT "0058d808d26aa46bf6275641574f8413b8"
Feb 11 13:13:05 srv4hai named[14530]: client @0x7fc3281490e0 192.168.12.252#33935/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-19.viehai.at' A
Feb 11 13:13:05 srv4hai named[14530]: client @0x7fc3281490e0 192.168.12.252#33935/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-19.viehai.at' A 192.168.12.119
Feb 11 13:13:05 srv4hai dhcpd[5037]: Added new forward map from shelly-19.viehai.at to 192.168.12.119
Feb 11 13:13:05 srv4hai named[14530]: client @0x7fc3286d9600 192.168.12.252#32861/key rndc-key: signer "rndc-key" approved
Feb 11 13:13:05 srv4hai named[14530]: client @0x7fc3286d9600 192.168.12.252#32861/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '119.12.168.192.in-addr.arpa' PTR
Feb 11 13:13:05 srv4hai named[14530]: client @0x7fc3286d9600 192.168.12.252#32861/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '119.12.168.192.in-addr.arpa' PTR shelly-19.viehai.at.
Feb 11 13:13:05 srv4hai dhcpd[5037]: Added reverse map from 119.12.168.192.in-addr.arpa. to shelly-19.viehai.at
Feb 11 13:13:05 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-19' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Feb 11 13:13:06 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-19' - shIP/2:'192.168.12.119'
Feb 11 13:13:06 srv4hai conf_shelly.sh: SHELLY: usage/name 'Fernsehlampe groß' already set for '192.168.12.119'
Feb 11 13:13:06 srv4hai conf_shelly.sh: SHELLY:'shelly-19' 'conf(0)' - allready transmitted - skipping
Feb 11 13:13:06 srv4hai conf_shelly.sh: SHELLY:'shelly-19' 'conf(1)' - allready transmitted - skipping
Feb 11 13:13:06 srv4hai conf_shelly.sh: SHELLY:'shelly-19' 'conf(2)' - allready transmitted - skipping
Feb 11 13:13:06 srv4hai conf_shelly.sh: SHELLY:'shelly-19' 'conf(3)' - allready transmitted - skipping
Feb 11 13:13:06 srv4hai conf_shelly.sh: SHELLY:'shelly-19' out:0 ON : MISSING
Feb 11 13:13:06 srv4hai conf_shelly.sh: SHELLY:'shelly-19' out:0 OFF: MISSING
Feb 11 13:13:38 srv4hai ping_SP[28456]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1707653618 - 'ping_SP_0'
Feb 11 13:13:38 srv4hai ping_SP[28456]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 11 13:13:41 srv4hai nmbd[30864]: [2024/02/11 13:13:41.900537,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Feb 11 13:13:41 srv4hai nmbd[30864]:   find_domain_master_name_query_fail:
Feb 11 13:13:41 srv4hai nmbd[30864]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Feb 11 13:13:41 srv4hai nmbd[30864]:   Unable to sync browse lists in this workgroup.
Feb 11 13:14:01 srv4hai CRON[6626]: (root) CMD (/etc/linetest/linetest.sh)
Feb 11 13:14:04 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=6634, secured, session=
Feb 11 13:14:04 srv4hai dovecot: imap(miglincit)<6634>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 11 13:14:41 srv4hai ping_SP[28456]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1707653681 - 'ping_SP_0'
Feb 11 13:14:41 srv4hai ping_SP[28456]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 11 13:15:00 srv4hai smartd[27489]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 50 to 52
Feb 11 13:15:01 srv4hai CRON[6676]: (root) CMD (/etc/linetest/linetest.sh)
Feb 11 13:15:21 srv4hai activate_scenario[6685]: SHELLY scenario: 'sekr_UM(sekr_um)' started
Feb 11 13:15:21 srv4hai activate_scenario[6685]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-01:'Wandlicht beim Esstisch'
Feb 11 13:15:21 srv4hai activate_scenario[6685]: SHELLY scenario: 'sekr_UM(sekr_um)' TO BE EXECUTED, shelly-01:'Wandlicht beim Esstisch'
Feb 11 13:15:21 srv4hai postfix/pickup[27571]: B891760244: uid=33 from=
Feb 11 13:15:21 srv4hai postfix/cleanup[6738]: B891760244: message-id=<20240211121521.B891760244@mail.viehai.at>
Feb 11 13:15:21 srv4hai postfix/qmgr[28610]: B891760244: from=, size=8401, nrcpt=1 (queue active)
Feb 11 13:15:21 srv4hai activate_scenario[6685]: SHELLY: scenario: 'sekr_UM(sekr_um)'-'shelly-23'-'Licht Sekretär' --> '0?turn=toggle'
Feb 11 13:15:21 srv4hai postfix/local[6751]: B891760244: to=, orig_to=, relay=local, delay=0.04, delays=0.02/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Feb 11 13:15:21 srv4hai postfix/cleanup[6738]: BFC2160245: message-id=<20240211121521.BFC2160245@mail.viehai.at>
Feb 11 13:15:21 srv4hai proc_url[6756]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/11/_0.log' - shellyUsage:'Licht Sekretär' - scUrl:'http://192.168.12.123/relay/0?turn=toggle' - phName:'shelly-01:'Wandlicht beim Esstisch''
Feb 11 13:15:21 srv4hai postfix/bounce[6752]: B891760244: sender non-delivery notification: BFC2160245
Feb 11 13:15:21 srv4hai postfix/qmgr[28610]: BFC2160245: from=<>, size=10280, nrcpt=1 (queue active)
Feb 11 13:15:21 srv4hai postfix/qmgr[28610]: B891760244: removed
Feb 11 13:15:21 srv4hai postfix/local[6751]: BFC2160245: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 11 13:15:21 srv4hai postfix/qmgr[28610]: BFC2160245: removed
Feb 11 13:15:21 srv4hai activate_scenario[6685]: SHELLY scenario: 'sekr_UM(sekr_um)' took 74 msec, shelly-01:'Wandlicht beim Esstisch'
Feb 11 13:15:32 srv4hai postfix/anvil[6403]: statistics: max connection rate 1/60s for (smtp:45.128.96.207) at Feb 11 13:12:11
Feb 11 13:15:32 srv4hai postfix/anvil[6403]: statistics: max connection count 1 for (smtp:45.128.96.207) at Feb 11 13:12:11
Feb 11 13:15:32 srv4hai postfix/anvil[6403]: statistics: max cache size 1 at Feb 11 13:12:11
Feb 11 13:15:36 srv4hai activate_scenario[6789]: SHELLY scenario: 'homeOffice(homeoffice)' started
Feb 11 13:15:36 srv4hai activate_scenario[6789]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished