activate_scenario.sh
Fri Sep 27 07:59:17 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/09/27/_0.log)

vorher: 07:59:17.170

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


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

vorher: 07:59:17.184

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


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

vorher: 07:59:17.197

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


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

vorher: 07:59:17.209

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


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

vorher: 07:59:17.223

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: 07:59:17.357
Dauer: 134 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:59:17.236

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


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

vorher: 07:59:17.250

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


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

vorher: 07:59:17.265

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: 07:59:17.353
Dauer: 88 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:59:17.278

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


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

vorher: 07:59:17.290

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


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

vorher: 07:59:17.302

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


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

vorher: 07:59:17.317

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


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

vorher: 07:59:17.330

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: 07:59:17.380
Dauer: 51 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:59:17.342

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


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

vorher: 07:59:17.355

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


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

vorher: 07:59:17.370

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


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

vorher: 07:59:17.383

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


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

vorher: 07:59:17.397

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


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

vorher: 07:59:17.412

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


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

urls : 19
vorher : 07:59:17.151
nachher: 07:59:18.303
Dauer : 1152 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/27//scene_homeOffice_20240927_075917.txt'


syslog

Sep 27 07:56:01 srv4hai CRON[8047]: (root) CMD (/etc/linetest/linetest.sh)
Sep 27 07:56:17 srv4hai ping_SP[19274]: SHELLY (1)- ping 192.168.12.62 1 not answered (1) @~1727416577 - 'ping_SP_1'
Sep 27 07:56:18 srv4hai mosquitto[18551]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Sep 27 07:56:21 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=8072, secured, session=
Sep 27 07:56:21 srv4hai dovecot: imap(miglincit)<8072>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 27 07:56:34 srv4hai common[8080]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 27 07:56:44 srv4hai ping_SP[19274]: SHELLY (1)- ping 192.168.12.62 2 not answered (1) @~1727416604 - 'ping_SP_1'
Sep 27 07:56:44 srv4hai bt_scan[8080]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'No'
Sep 27 07:56:44 srv4hai bt_scan[8080]: SHELLY - lost BT-connection to BTmac: '1' found: 'No' - check presence
Sep 27 07:56:44 srv4hai common[8126]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep 27 07:56:45 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1727416605-1727416594
Sep 27 07:56:45 srv4hai check_presence[8126]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Sep 27 07:56:45 srv4hai check_presence[8126]: SHELLY (bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Sep 27 07:56:45 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'11'=1727416605-1727416594
Sep 27 07:56:45 srv4hai check_presence[8126]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.TRY and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Sep 27 07:56:45 srv4hai check_presence[8126]: SHELLY (bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_1.TRY' for what: 'presence'
Sep 27 07:56:45 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1727416605-1727416594
Sep 27 07:56:45 srv4hai check_presence[8126]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Sep 27 07:56:45 srv4hai check_presence[8126]: SHELLY (bt_scan)-(1) what: 'presence' - persPresent: '(__/LIVE) (__/TRY) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Sep 27 07:56:45 srv4hai check_presence[8126]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_buero_UM) - sceneOFF(offAll)
Sep 27 07:56:45 srv4hai check_presence[8126]: SHELLY (bt_scan)-(1)-presence: NOT activate_scenario.shtml: offAll
Sep 27 07:57:01 srv4hai CRON[8285]: (root) CMD (/etc/linetest/linetest.sh)
Sep 27 07:57:04 srv4hai ping_SP[22161]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1727416624 - 'ping_SP_0'
Sep 27 07:57:04 srv4hai ping_SP[22161]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 27 07:57:10 srv4hai ping_SP[19274]: SHELLY (1)- ping 192.168.12.62 3 not answered (1) @~1727416630 - 'ping_SP_1'
Sep 27 07:57:10 srv4hai nmbd[2172]: [2024/09/27 07:57:10.348855,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Sep 27 07:57:10 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Sep 27 07:57:10 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Sep 27 07:57:10 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Sep 27 07:57:36 srv4hai ping_SP[19274]: SHELLY (1)- ping 192.168.12.62 4 not answered (1) @~1727416656 - 'ping_SP_1'
Sep 27 07:58:01 srv4hai CRON[8348]: (root) CMD (/etc/linetest/linetest.sh)
Sep 27 07:58:02 srv4hai ping_SP[19274]: SHELLY (1)- ping 192.168.12.62 5 not answered (1) @~1727416682 - 'ping_SP_1'
Sep 27 07:58:02 srv4hai ping_SP[19274]: SHELLY (1)- ping 192.168.12.62 5 not answered - abort (19274) @~1727416682 - rm 'ping_SP_1'
Sep 27 07:58:02 srv4hai common[8365]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep 27 07:58:03 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'0'=1727416683-1727416683
Sep 27 07:58:03 srv4hai check_presence[8365]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Sep 27 07:58:03 srv4hai check_presence[8365]: SHELLY (ping_SP__NO_ping)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Sep 27 07:58:03 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'0'=1727416683-1727416683
Sep 27 07:58:03 srv4hai check_presence[8365]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Sep 27 07:58:03 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'0'=1727416683-1727416683
Sep 27 07:58:03 srv4hai check_presence[8365]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Sep 27 07:58:03 srv4hai check_presence[8365]: SHELLY (ping_SP__NO_ping)-(1) what: 'presence' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Sep 27 07:58:03 srv4hai check_presence[8365]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_buero_UM) - sceneOFF(offAll)
Sep 27 07:58:03 srv4hai check_presence[8365]: SHELLY (ping_SP__NO_ping)-(1)-presence: NOT activate_scenario.shtml: offAll
Sep 27 07:58:03 srv4hai ping_SP[19274]: SHELLY (1)- TERMINATING now
Sep 27 07:58:17 srv4hai ping_SP[22161]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1727416697 - 'ping_SP_0'
Sep 27 07:58:17 srv4hai ping_SP[22161]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 27 07:58:37 srv4hai postfix/smtpd[8519]: warning: hostname 188-190-10-124.clevhosting.com does not resolve to address 188.190.10.124: Name or service not known
Sep 27 07:58:37 srv4hai postfix/smtpd[8519]: connect from unknown[188.190.10.124]
Sep 27 07:58:37 srv4hai postfix/smtpd[8519]: warning: unknown[188.190.10.124]: SASL LOGIN authentication failed: Invalid authentication mechanism
Sep 27 07:58:37 srv4hai postfix/smtpd[8519]: disconnect from unknown[188.190.10.124] ehlo=1 auth=0/1 quit=1 commands=2/3
Sep 27 07:59:01 srv4hai CRON[8524]: (root) CMD (/etc/linetest/linetest.sh)
Sep 27 07:59:17 srv4hai activate_scenario[8531]: SHELLY scenario: 'homeOffice(homeoffice)' started
Sep 27 07:59:17 srv4hai activate_scenario[8531]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished