activate_scenario.sh
Thu Feb 15 15:29:07 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/15/_0.log)

vorher: 15:29:07.472

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


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

vorher: 15:29:07.487

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


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

vorher: 15:29:07.500

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


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

vorher: 15:29:07.513

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


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

vorher: 15:29:07.528

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


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

vorher: 15:29:07.543

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


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

vorher: 15:29:07.555

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


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

vorher: 15:29:07.567

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


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

vorher: 15:29:07.583

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


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

vorher: 15:29:07.596

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


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

vorher: 15:29:07.609

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


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

vorher: 15:29:07.624

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

nachher: 15:29:07.742
Dauer: 117 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 15:29:07.638

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

nachher: 15:29:07.743
Dauer: 106 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 15:29:07.650

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


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

vorher: 15:29:07.662

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


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

vorher: 15:29:07.674

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


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

vorher: 15:29:07.686

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


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

vorher: 15:29:07.700

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


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

vorher: 15:29:07.715

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


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

urls : 19
vorher : 15:29:07.432
nachher: 15:29:07.864
Dauer : 434 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/15//scene_homeOffice_20240215_152907.txt'


syslog

Feb 15 15:26:01 srv4hai CRON[8427]: (root) CMD (/etc/linetest/linetest.sh)
Feb 15 15:26:43 srv4hai ping_SP[8992]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1708007203 - 'ping_SP_0'
Feb 15 15:26:43 srv4hai ping_SP[8992]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 15 15:26:47 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=8460, secured, session=
Feb 15 15:26:47 srv4hai dovecot: imap(miglincit)<8460>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 15 15:27:02 srv4hai CRON[8464]: (root) CMD (/etc/linetest/linetest.sh)
Feb 15 15:27:56 srv4hai ping_SP[8992]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1708007276 - 'ping_SP_0'
Feb 15 15:27:56 srv4hai ping_SP[8992]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 15 15:28:01 srv4hai CRON[8508]: (root) CMD (/etc/linetest/linetest.sh)
Feb 15 15:28:44 srv4hai nmbd[30864]: [2024/02/15 15:28:44.757522,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Feb 15 15:28:44 srv4hai nmbd[30864]:   find_domain_master_name_query_fail:
Feb 15 15:28:44 srv4hai nmbd[30864]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Feb 15 15:28:44 srv4hai nmbd[30864]:   Unable to sync browse lists in this workgroup.
Feb 15 15:28:55 srv4hai dhcpd[5037]: DHCPDISCOVER from 98:cd:ac:2d:b6:db via enp2s0
Feb 15 15:28:55 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.125 to 98:cd:ac:2d:b6:db via enp2s0
Feb 15 15:28:55 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 15 15:28:55 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.125
Feb 15 15:28:55 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-25
Feb 15 15:28:55 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.125 (192.168.12.252) from 98:cd:ac:2d:b6:db via enp2s0
Feb 15 15:28:55 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.125 to 98:cd:ac:2d:b6:db via enp2s0
Feb 15 15:28:55 srv4hai named[14530]: client @0x7fc308046120 192.168.12.252#56873/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-25.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 15 15:28:55 srv4hai named[14530]: client @0x7fc328100b10 192.168.12.252#51339/key rndc-key: signer "rndc-key" approved
Feb 15 15:28:55 srv4hai named[14530]: client @0x7fc328100b10 192.168.12.252#51339/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-25.viehai.at' TXT
Feb 15 15:28:55 srv4hai named[14530]: client @0x7fc328100b10 192.168.12.252#51339/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-25.viehai.at' TXT "00a4d627ad58f376691816e2e7457e7bae"
Feb 15 15:28:55 srv4hai named[14530]: client @0x7fc328100b10 192.168.12.252#51339/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-25.viehai.at' A
Feb 15 15:28:55 srv4hai named[14530]: client @0x7fc328100b10 192.168.12.252#51339/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-25.viehai.at' A 192.168.12.125
Feb 15 15:28:55 srv4hai dhcpd[5037]: Added new forward map from shelly-25.viehai.at to 192.168.12.125
Feb 15 15:28:55 srv4hai named[14530]: client @0x7fc32811da30 192.168.12.252#39911/key rndc-key: signer "rndc-key" approved
Feb 15 15:28:55 srv4hai named[14530]: client @0x7fc32811da30 192.168.12.252#39911/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '125.12.168.192.in-addr.arpa' PTR
Feb 15 15:28:55 srv4hai named[14530]: client @0x7fc32811da30 192.168.12.252#39911/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '125.12.168.192.in-addr.arpa' PTR shelly-25.viehai.at.
Feb 15 15:28:55 srv4hai dhcpd[5037]: Added reverse map from 125.12.168.192.in-addr.arpa. to shelly-25.viehai.at
Feb 15 15:28:55 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-25' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Feb 15 15:28:56 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-25' - shIP/2:'192.168.12.125'
Feb 15 15:28:56 srv4hai conf_shelly.sh: SHELLY: usage/name 'Küchenlicht' already set for '192.168.12.125'
Feb 15 15:28:56 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(0)' - allready transmitted - skipping
Feb 15 15:28:56 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(1)' - allready transmitted - skipping
Feb 15 15:28:56 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(2)' - allready transmitted - skipping
Feb 15 15:28:56 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(3)' - allready transmitted - skipping
Feb 15 15:28:56 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(4)' - allready transmitted - skipping
Feb 15 15:28:56 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(5)' - allready transmitted - skipping
Feb 15 15:28:56 srv4hai conf_shelly.sh: SHELLY:'shelly-25' out:0 ON : MISSING
Feb 15 15:28:56 srv4hai conf_shelly.sh: SHELLY:'shelly-25' out:0 OFF: MISSING
Feb 15 15:29:01 srv4hai CRON[8666]: (root) CMD (/etc/linetest/linetest.sh)
Feb 15 15:29:07 srv4hai activate_scenario[8672]: SHELLY scenario: 'homeOffice(homeoffice)' started
Feb 15 15:29:07 srv4hai activate_scenario[8672]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished