activate_scenario.sh
Wed Sep 11 06:51:13 CEST 2024
scenario: buero_UM
source: 192.168.12.140

'day' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'null'

scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

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

vorher: 06:51:13.662

http://192.168.12.108/relay/0?turn=toggle
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 06:51:13.706
Dauer: 45 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 06:51:13.677

http://192.168.12.140/relay/0?turn=toggle
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 06:51:13.714
Dauer: 38 msec phName: 'shelly-40:'Thomas Büro Licht''


scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

urls : 2
vorher : 06:51:13.639
nachher: 06:51:13.722
Dauer : 83 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/11//scene_buero_UM_20240911_065113.txt'


syslog

Sep 11 06:48:01 srv4hai CRON[24599]: (root) CMD (/etc/linetest/linetest.sh)
Sep 11 06:48:07 srv4hai common[24607]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 11 06:48:16 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=24633, secured, session=
Sep 11 06:48:16 srv4hai dovecot: imap(miglincit)<24633>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 11 06:48:17 srv4hai bt_scan[24607]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Sep 11 06:48:17 srv4hai bt_scan[24607]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Sep 11 06:48:20 srv4hai ping_SP[3012]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726030100 - 'ping_SP_0'
Sep 11 06:48:20 srv4hai ping_SP[3012]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 11 06:48:22 srv4hai ping_SP[32675]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726030102 - 'ping_SP_1'
Sep 11 06:48:22 srv4hai ping_SP[32675]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 11 06:49:01 srv4hai CRON[24691]: (root) CMD (/etc/linetest/linetest.sh)
Sep 11 06:49:08 srv4hai postfix/anvil[24414]: statistics: max connection rate 1/60s for (smtp:80.94.92.146) at Sep 11 06:44:42
Sep 11 06:49:08 srv4hai postfix/anvil[24414]: statistics: max connection count 1 for (smtp:80.94.92.146) at Sep 11 06:44:42
Sep 11 06:49:08 srv4hai postfix/anvil[24414]: statistics: max cache size 3 at Sep 11 06:45:44
Sep 11 06:49:26 srv4hai systemd[1]: Starting Daily apt upgrade and clean activities...
Sep 11 06:49:27 srv4hai systemd[1]: apt-daily-upgrade.service: Succeeded.
Sep 11 06:49:27 srv4hai systemd[1]: Started Daily apt upgrade and clean activities.
Sep 11 06:49:33 srv4hai ping_SP[3012]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726030173 - 'ping_SP_0'
Sep 11 06:49:33 srv4hai ping_SP[3012]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 11 06:49:35 srv4hai ping_SP[32675]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726030175 - 'ping_SP_1'
Sep 11 06:49:35 srv4hai ping_SP[32675]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 11 06:49:42 srv4hai common[24799]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 11 06:49:52 srv4hai bt_scan[24799]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Sep 11 06:49:52 srv4hai bt_scan[24799]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Sep 11 06:49:52 srv4hai common[24832]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep 11 06:49:53 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1726030193-1726030182
Sep 11 06:49:53 srv4hai check_presence[24832]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Sep 11 06:49:53 srv4hai check_presence[24832]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Sep 11 06:49:53 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1726030193-1726030182
Sep 11 06:49:53 srv4hai check_presence[24832]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Sep 11 06:49:53 srv4hai check_presence[24832]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Sep 11 06:49:53 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1726030193-1726030182
Sep 11 06:49:53 srv4hai check_presence[24832]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Sep 11 06:49:53 srv4hai check_presence[24832]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Sep 11 06:49:53 srv4hai check_presence[24832]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_vorraumOn) - sceneOFF(offAll)
Sep 11 06:49:53 srv4hai check_presence[24832]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Sep 11 06:50:01 srv4hai CRON[24984]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Sep 11 06:50:01 srv4hai CRON[24985]: (root) CMD (/etc/linetest/linetest.sh)
Sep 11 06:50:01 srv4hai common[24987]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Sep 11 06:50:01 srv4hai meter.sh: SHELLY meter.sh started
Sep 11 06:50:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Sep 11 06:50:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Sep 11 06:50:06 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Sep 11 06:50:06 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Sep 11 06:50:06 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Sep 11 06:50:06 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Sep 11 06:50:06 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Sep 11 06:50:09 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 11 06:50:11 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 11 06:50:11 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Sep 11 06:50:11 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Sep 11 06:50:11 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Sep 11 06:50:11 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Sep 11 06:50:11 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Sep 11 06:50:11 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test' - status: 'OOS' ignoring
Sep 11 06:50:12 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Sep 11 06:50:12 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Sep 11 06:50:12 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Sep 11 06:50:12 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Sep 11 06:50:12 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Sep 11 06:50:12 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Sep 11 06:50:12 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Sep 11 06:50:12 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Sep 11 06:50:12 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Sep 11 06:50:12 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Sep 11 06:50:16 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 11 06:50:16 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Sep 11 06:50:16 srv4hai common[25875]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Sep 11 06:50:16 srv4hai check_shelly.sh: SHELLY last scenery executed: 'vorraumOn'
Sep 11 06:50:16 srv4hai check_shelly.sh: SHELLY found '1' active shelly outputs
Sep 11 06:50:16 srv4hai meter.sh: SHELLY meter.sh ended
Sep 11 06:50:18 srv4hai common[25899]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 11 06:50:28 srv4hai bt_scan[25899]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Sep 11 06:50:28 srv4hai bt_scan[25899]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Sep 11 06:50:46 srv4hai ping_SP[3012]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726030246 - 'ping_SP_0'
Sep 11 06:50:46 srv4hai ping_SP[3012]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 11 06:50:48 srv4hai ping_SP[32675]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726030248 - 'ping_SP_1'
Sep 11 06:50:48 srv4hai ping_SP[32675]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 11 06:51:01 srv4hai CRON[25985]: (root) CMD (/etc/linetest/linetest.sh)
Sep 11 06:51:13 srv4hai activate_scenario[25993]: SHELLY scenario: 'buero_UM(buero_um)' started
Sep 11 06:51:13 srv4hai activate_scenario[25993]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished