activate_scenario.sh
Mon Jul 15 07:11:31 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/07/15/_0.log)

vorher: 07:11:31.992

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


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

vorher: 07:11:32.012

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: 07:11:32.050
Dauer: 39 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:11:32.028

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

nachher: 07:11:32.053
Dauer: 26 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:11:32.041

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

nachher: 07:11:32.209
Dauer: 168 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:11:32.056

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: 07:11:32.213
Dauer: 156 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:11:32.071

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: 07:11:32.115
Dauer: 44 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:11:32.083

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


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

vorher: 07:11:32.096

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: 07:11:32.194
Dauer: 97 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:11:32.110

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: 07:11:32.136
Dauer: 27 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:11:32.125

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: 07:11:32.241
Dauer: 115 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:11:32.138

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: 07:11:32.292
Dauer: 154 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:11:32.150

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

nachher: 07:11:32.210
Dauer: 60 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:11:32.163

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

nachher: 07:11:32.207
Dauer: 44 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:11:32.175

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: 07:11:32.232
Dauer: 56 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:11:32.189

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: 07:11:32.229
Dauer: 39 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:11:32.202

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: 07:11:32.245
Dauer: 44 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:11:32.216

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: 07:11:32.246
Dauer: 31 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:11:32.231

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

nachher: 07:11:32.304
Dauer: 73 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:11:32.246

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: 07:11:32.329
Dauer: 83 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 19
vorher : 07:11:31.964
nachher: 07:11:32.335
Dauer : 371 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/15//scene_homeOffice_20240715_071131.txt'


syslog

Jul 15 07:08:01 srv4hai CRON[12147]: (root) CMD (/etc/linetest/linetest.sh)
Jul 15 07:08:06 srv4hai ping_SP[20234]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721020086 - 'ping_SP_0'
Jul 15 07:08:06 srv4hai ping_SP[20234]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 15 07:09:01 srv4hai CRON[12176]: (root) CMD (/etc/linetest/linetest.sh)
Jul 15 07:09:01 srv4hai CRON[12177]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Jul 15 07:09:01 srv4hai systemd[1]: Starting Clean php session files...
Jul 15 07:09:02 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Jul 15 07:09:02 srv4hai systemd[1]: Started Clean php session files.
Jul 15 07:09:19 srv4hai ping_SP[20234]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721020159 - 'ping_SP_0'
Jul 15 07:09:19 srv4hai ping_SP[20234]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 15 07:10:01 srv4hai CRON[12312]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Jul 15 07:10:01 srv4hai CRON[12313]: (root) CMD (/etc/linetest/linetest.sh)
Jul 15 07:10:01 srv4hai common[12314]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Jul 15 07:10:01 srv4hai meter.sh: SHELLY meter.sh started
Jul 15 07:10:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Jul 15 07:10:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Jul 15 07:10:05 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Jul 15 07:10:05 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Jul 15 07:10:05 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Jul 15 07:10:05 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Jul 15 07:10:05 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Jul 15 07:10:08 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul 15 07:10:11 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul 15 07:10:11 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Jul 15 07:10:11 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Jul 15 07:10:11 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Jul 15 07:10:11 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Jul 15 07:10:11 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Jul 15 07:10:11 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test' - status: 'OOS' ignoring
Jul 15 07:10:11 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Jul 15 07:10:11 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Jul 15 07:10:11 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Jul 15 07:10:11 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Jul 15 07:10:11 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Jul 15 07:10:11 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Jul 15 07:10:11 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Jul 15 07:10:11 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Jul 15 07:10:11 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Jul 15 07:10:11 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Jul 15 07:10:14 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul 15 07:10:14 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Jul 15 07:10:14 srv4hai common[13207]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Jul 15 07:10:14 srv4hai check_shelly.sh: SHELLY last scenery executed: 'nasszeile_um'
Jul 15 07:10:14 srv4hai check_shelly.sh: SHELLY found '3' active shelly outputs
Jul 15 07:10:14 srv4hai meter.sh: SHELLY meter.sh ended
Jul 15 07:10:25 srv4hai common[13237]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul 15 07:10:32 srv4hai ping_SP[20234]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721020232 - 'ping_SP_0'
Jul 15 07:10:32 srv4hai ping_SP[20234]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 15 07:10:35 srv4hai bt_scan[13237]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Jul 15 07:10:35 srv4hai bt_scan[13237]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Jul 15 07:10:35 srv4hai common[13284]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul 15 07:10:36 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1721020236-1721020225
Jul 15 07:10:36 srv4hai check_presence[13284]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jul 15 07:10:36 srv4hai check_presence[13284]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Jul 15 07:10:36 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'11'=1721020236-1721020225
Jul 15 07:10:36 srv4hai check_presence[13284]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jul 15 07:10:36 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1721020236-1721020225
Jul 15 07:10:36 srv4hai check_presence[13284]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jul 15 07:10:36 srv4hai check_presence[13284]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Jul 15 07:10:36 srv4hai check_presence[13284]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_nasszeile_um) - sceneOFF(offAll)
Jul 15 07:10:36 srv4hai check_presence[13284]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Jul 15 07:11:01 srv4hai CRON[13433]: (root) CMD (/etc/linetest/linetest.sh)
Jul 15 07:11:19 srv4hai nmbd[2172]: [2024/07/15 07:11:19.194871,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Jul 15 07:11:19 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Jul 15 07:11:19 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Jul 15 07:11:19 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Jul 15 07:11:31 srv4hai activate_scenario[13443]: SHELLY scenario: 'homeOffice(homeoffice)' started
Jul 15 07:11:31 srv4hai activate_scenario[13443]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished