activate_scenario.sh
Mon Apr 22 04:53:57 CEST 2024
scenario: vorraumOn
phoneName: 0

'night' <--> 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/04/22/_0.log)

vorher: 04:53:57.788

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

nachher: 04:53:57.836
Dauer: 47 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 04:53:57.759
nachher: 04:53:57.842
Dauer : 82 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/22//scene_vorraumOn_20240422_045357.txt'


syslog

Apr 22 04:50:01 srv4hai CRON[31870]: (root) CMD (/etc/linetest/linetest.sh)
Apr 22 04:50:01 srv4hai CRON[31871]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Apr 22 04:50:01 srv4hai common[31872]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Apr 22 04:50:01 srv4hai meter.sh: SHELLY meter.sh started
Apr 22 04:50:04 srv4hai meter.sh: SHELLY 'shelly-22/WC':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 22 04:50:04 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Apr 22 04:50:04 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Apr 22 04:50:12 srv4hai meter.sh: SHELLY 'shelly-42/Stehlampe dimmbar':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 22 04:50:12 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Apr 22 04:50:12 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Apr 22 04:50:12 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Apr 22 04:50:12 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Apr 22 04:50:12 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Apr 22 04:50:15 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 22 04:50:18 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 22 04:50:18 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Apr 22 04:50:18 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Apr 22 04:50:18 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Apr 22 04:50:18 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Apr 22 04:50:18 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Apr 22 04:50:20 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 22 04:50:20 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Apr 22 04:50:21 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Apr 22 04:50:21 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Apr 22 04:50:21 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Apr 22 04:50:21 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Apr 22 04:50:21 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Apr 22 04:50:21 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Apr 22 04:50:21 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Apr 22 04:50:21 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Apr 22 04:50:21 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Apr 22 04:50:23 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 22 04:50:24 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Apr 22 04:50:24 srv4hai common[31872]: SHELLY common.sh inkludiert von ./check_presence.sh
Apr 22 04:50:24 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'5'=1713754224-1713754219
Apr 22 04:50:24 srv4hai check_presence[31872]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Apr 22 04:50:24 srv4hai check_presence[31872]: SHELLY (meter.sh)-(99) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Apr 22 04:50:24 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'5'=1713754224-1713754219
Apr 22 04:50:24 srv4hai check_presence[31872]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Apr 22 04:50:24 srv4hai check_presence[31872]: SHELLY (meter.sh)-(99) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Apr 22 04:50:24 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'5'=1713754224-1713754219
Apr 22 04:50:24 srv4hai check_presence[31872]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 22 04:50:24 srv4hai check_presence[31872]: SHELLY (meter.sh)-(99) what: 'presence' - persPresent: '(BT/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr 22 04:50:24 srv4hai check_presence[31872]: SHELLY (meter.sh)-(99)-presence: NOT activate_scenario.shtml: offAll
Apr 22 04:50:24 srv4hai common[31872]: SHELLY common.sh inkludiert von ./check_shelly.sh
Apr 22 04:50:24 srv4hai check_shelly.sh: SHELLY last scenery executed: 'LOG_kommen'
Apr 22 04:50:24 srv4hai check_shelly.sh: SHELLY found '1' active shelly outputs
Apr 22 04:50:24 srv4hai meter.sh: SHELLY meter.sh ended
Apr 22 04:50:24 srv4hai postfix/pickup[21748]: B9D826022F: uid=33 from=
Apr 22 04:50:24 srv4hai postfix/cleanup[446]: B9D826022F: message-id=<20240422025024.B9D826022F@mail.viehai.at>
Apr 22 04:50:24 srv4hai postfix/qmgr[15291]: B9D826022F: from=, size=716, nrcpt=1 (queue active)
Apr 22 04:50:24 srv4hai postfix/local[448]: B9D826022F: to=, orig_to=, relay=local, delay=0.05, delays=0.02/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 22 04:50:24 srv4hai postfix/qmgr[15291]: B9D826022F: removed
Apr 22 04:51:00 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr 22 04:51:00 srv4hai fetchmail[1651]: 42639 messages (42639 seen) for tmiglinci at mail.akis.at (-745590668 octets).
Apr 22 04:51:01 srv4hai fetchmail[1651]: 10158 messages (10158 seen) for srozum at mail.akis.at (1226622622 octets).
Apr 22 04:51:01 srv4hai CRON[492]: (root) CMD (/etc/linetest/linetest.sh)
Apr 22 04:51:01 srv4hai fetchmail[1651]: 23011 messages (23011 seen) for mrozum at mail.akis.at (-308939394 octets).
Apr 22 04:51:02 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Apr 22 04:51:12 srv4hai ping_SP[20110]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1713754272 - 'ping_SP_1'
Apr 22 04:51:12 srv4hai ping_SP[20110]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 22 04:51:14 srv4hai ping_SP[11318]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713754274 - 'ping_SP_0'
Apr 22 04:51:14 srv4hai ping_SP[11318]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 22 04:51:37 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=558, secured, session=
Apr 22 04:51:37 srv4hai dovecot: imap(miglincit)<558>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 22 04:52:01 srv4hai CRON[568]: (root) CMD (/etc/linetest/linetest.sh)
Apr 22 04:52:25 srv4hai ping_SP[20110]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1713754345 - 'ping_SP_1'
Apr 22 04:52:25 srv4hai ping_SP[20110]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 22 04:52:28 srv4hai ping_SP[11318]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713754348 - 'ping_SP_0'
Apr 22 04:52:28 srv4hai ping_SP[11318]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 22 04:53:01 srv4hai CRON[648]: (root) CMD (/etc/linetest/linetest.sh)
Apr 22 04:53:13 srv4hai common[658]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr 22 04:53:23 srv4hai bt_scan[658]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Apr 22 04:53:23 srv4hai bt_scan[658]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Apr 22 04:53:23 srv4hai common[694]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Apr 22 04:53:24 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1713754404-1713754393
Apr 22 04:53:24 srv4hai check_presence[694]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Apr 22 04:53:24 srv4hai check_presence[694]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Apr 22 04:53:24 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1713754404-1713754393
Apr 22 04:53:24 srv4hai check_presence[694]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Apr 22 04:53:24 srv4hai check_presence[694]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Apr 22 04:53:24 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1713754404-1713754393
Apr 22 04:53:24 srv4hai check_presence[694]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 22 04:53:24 srv4hai check_presence[694]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr 22 04:53:24 srv4hai check_presence[694]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Apr 22 04:53:38 srv4hai ping_SP[20110]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1713754418 - 'ping_SP_1'
Apr 22 04:53:38 srv4hai ping_SP[20110]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 22 04:53:46 srv4hai common[869]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr 22 04:53:51 srv4hai ping_SP[11318]: SHELLY (0)- ping 192.168.12.61 1 not answered (1) @~1713754431 - 'ping_SP_0'
Apr 22 04:53:52 srv4hai postfix/smtpd[897]: connect from unknown[193.222.96.12]
Apr 22 04:53:52 srv4hai postfix/smtpd[897]: warning: unknown[193.222.96.12]: SASL LOGIN authentication failed: Invalid authentication mechanism
Apr 22 04:53:52 srv4hai postfix/smtpd[897]: disconnect from unknown[193.222.96.12] ehlo=1 auth=0/1 quit=1 commands=2/3
Apr 22 04:53:56 srv4hai bt_scan[869]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Apr 22 04:53:57 srv4hai bt_scan[869]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Apr 22 04:53:57 srv4hai common[922]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Apr 22 04:53:57 srv4hai ping_SP[922]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Apr 22 04:53:57 srv4hai common[947]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Apr 22 04:53:57 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1713754437-1713754436
Apr 22 04:53:57 srv4hai check_presence[947]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Apr 22 04:53:57 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1713754437-1713754436
Apr 22 04:53:57 srv4hai check_presence[947]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Apr 22 04:53:57 srv4hai check_presence[947]: SHELLY (ping_SP__bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Apr 22 04:53:57 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'1'=1713754437-1713754436
Apr 22 04:53:57 srv4hai check_presence[947]: 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
Apr 22 04:53:57 srv4hai check_presence[947]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(__/__) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr 22 04:53:57 srv4hai check_presence[947]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: vorraumOn
Apr 22 04:53:57 srv4hai activate_scenario[1059]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Apr 22 04:53:57 srv4hai activate_scenario[1059]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished