activate_scenario.sh
Sat Jun 15 08:10:56 CEST 2024
scenario: vorraumOn
phoneName: 0

'day' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'thomas@miglinci.name'

scenario: 'Vorzimmer EIN' - 'vorraumOn' - 'vorraumon'

Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/06/15/_0.log)

vorher: 08:10:56.567

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

nachher: 08:10:56.610
Dauer: 41 msec phName: 'phoneName:'0''


scenario: 'Vorzimmer EIN' - 'vorraumOn' - 'vorraumon'

urls : 1
vorher : 08:10:56.510
nachher: 08:10:56.616
Dauer : 108 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/15//scene_vorraumOn_20240615_081056.txt'


syslog

Jun 15 08:07:01 srv4hai CRON[16257]: (root) CMD (/etc/linetest/linetest.sh)
Jun 15 08:07:28 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=16274, secured, session=
Jun 15 08:07:28 srv4hai dovecot: imap(miglincit)<16274>: Logged out in=469 out=40246 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=15462 body_count=0 body_bytes=0
Jun 15 08:07:34 srv4hai ping_SP[20547]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1718431654 - 'ping_SP_1'
Jun 15 08:07:34 srv4hai ping_SP[20547]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jun 15 08:08:01 srv4hai CRON[16293]: (root) CMD (/etc/linetest/linetest.sh)
Jun 15 08:08:43 srv4hai common[16314]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jun 15 08:08:48 srv4hai ping_SP[20547]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1718431728 - 'ping_SP_1'
Jun 15 08:08:48 srv4hai ping_SP[20547]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jun 15 08:08:53 srv4hai bt_scan[16314]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Jun 15 08:08:53 srv4hai bt_scan[16314]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Jun 15 08:08:53 srv4hai common[16364]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jun 15 08:08:54 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1718431734-1718431723
Jun 15 08:08:54 srv4hai check_presence[16364]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jun 15 08:08:54 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1718431734-1718431723
Jun 15 08:08:54 srv4hai check_presence[16364]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Jun 15 08:08:54 srv4hai check_presence[16364]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Jun 15 08:08:54 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1718431734-1718431723
Jun 15 08:08:54 srv4hai check_presence[16364]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jun 15 08:08:54 srv4hai check_presence[16364]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/__) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jun 15 08:08:54 srv4hai check_presence[16364]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_vorraumOn) - sceneOFF(offAll)
Jun 15 08:08:54 srv4hai check_presence[16364]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Jun 15 08:09:01 srv4hai CRON[16523]: (root) CMD (/etc/linetest/linetest.sh)
Jun 15 08:09:01 srv4hai CRON[16524]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Jun 15 08:09:01 srv4hai systemd[1]: Starting Clean php session files...
Jun 15 08:09:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Jun 15 08:09:01 srv4hai systemd[1]: Started Clean php session files.
Jun 15 08:10:01 srv4hai CRON[16646]: (root) CMD (/etc/linetest/linetest.sh)
Jun 15 08:10:01 srv4hai CRON[16647]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Jun 15 08:10:01 srv4hai common[16649]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Jun 15 08:10:01 srv4hai meter.sh: SHELLY meter.sh started
Jun 15 08:10:01 srv4hai ping_SP[20547]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1718431801 - 'ping_SP_1'
Jun 15 08:10:01 srv4hai ping_SP[20547]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jun 15 08:10:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Jun 15 08:10:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Jun 15 08:10:05 srv4hai meter.sh: SHELLY 'shelly-05/Stehlampe Anne hell':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 15 08:10:08 srv4hai meter.sh: SHELLY 'shelly-19/Fernsehlampe groß':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 15 08:10:10 srv4hai meter.sh: SHELLY 'shelly-06/Fernsehlampe klein':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 15 08:10:12 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Jun 15 08:10:12 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Jun 15 08:10:12 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Jun 15 08:10:12 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Jun 15 08:10:12 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Jun 15 08:10:15 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 15 08:10:18 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 15 08:10:18 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Jun 15 08:10:18 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Jun 15 08:10:18 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Jun 15 08:10:18 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Jun 15 08:10:18 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Jun 15 08:10:21 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 15 08:10:21 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Jun 15 08:10:21 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Jun 15 08:10:21 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Jun 15 08:10:21 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Jun 15 08:10:21 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Jun 15 08:10:21 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Jun 15 08:10:21 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Jun 15 08:10:21 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Jun 15 08:10:21 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Jun 15 08:10:21 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Jun 15 08:10:25 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 15 08:10:25 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Jun 15 08:10:25 srv4hai common[17529]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Jun 15 08:10:25 srv4hai check_shelly.sh: SHELLY last scenery executed: 'vorraumOn'
Jun 15 08:10:25 srv4hai check_shelly.sh: SHELLY found '1' active shelly outputs
Jun 15 08:10:25 srv4hai meter.sh: SHELLY meter.sh ended
Jun 15 08:10:28 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=17556, secured, session=
Jun 15 08:10:28 srv4hai dovecot: imap(miglincit)<17556>: Logged out in=247 out=1389 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jun 15 08:10:45 srv4hai common[17564]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jun 15 08:10:49 srv4hai postfix/smtpd[17580]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jun 15 08:10:49 srv4hai postfix/smtpd[17580]: connect from unknown[193.32.162.80]
Jun 15 08:10:49 srv4hai postfix/smtpd[17580]: warning: unknown[193.32.162.80]: SASL LOGIN authentication failed: Invalid authentication mechanism
Jun 15 08:10:49 srv4hai postfix/smtpd[17580]: lost connection after AUTH from unknown[193.32.162.80]
Jun 15 08:10:49 srv4hai postfix/smtpd[17580]: disconnect from unknown[193.32.162.80] ehlo=1 auth=0/1 commands=1/2
Jun 15 08:10:55 srv4hai bt_scan[17564]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Jun 15 08:10:55 srv4hai bt_scan[17564]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Jun 15 08:10:55 srv4hai common[17603]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jun 15 08:10:55 srv4hai ping_SP[17603]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Jun 15 08:10:55 srv4hai common[17624]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jun 15 08:10:56 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'11'=1718431856-1718431845
Jun 15 08:10:56 srv4hai check_presence[17624]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Jun 15 08:10:56 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1718431856-1718431845
Jun 15 08:10:56 srv4hai check_presence[17624]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Jun 15 08:10:56 srv4hai check_presence[17624]: SHELLY (ping_SP__bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Jun 15 08:10:56 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1718431856-1718431845
Jun 15 08:10:56 srv4hai check_presence[17624]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jun 15 08:10:56 srv4hai check_presence[17624]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/__) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jun 15 08:10:56 srv4hai check_presence[17624]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn)
Jun 15 08:10:56 srv4hai check_presence[17624]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: vorraumOn
Jun 15 08:10:56 srv4hai activate_scenario[17772]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jun 15 08:10:56 srv4hai activate_scenario[17772]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished