activate_scenario.sh
Fri Jun 7 23:31:58 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/06/07/_0.log)

vorher: 23:31:58.947

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: 23:31:58.976
Dauer: 29 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 23:31:58.927
nachher: 23:31:58.982
Dauer : 56 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/07//scene_vorraumOn_20240607_233158.txt'


syslog

Jun  7 23:28:01 srv4hai CRON[6295]: (root) CMD (/etc/linetest/linetest.sh)
Jun  7 23:28:40 srv4hai postfix/anvil[4949]: statistics: max connection rate 1/60s for (smtp:109.206.237.17) at Jun  7 23:18:40
Jun  7 23:28:40 srv4hai postfix/anvil[4949]: statistics: max connection count 1 for (smtp:109.206.237.17) at Jun  7 23:18:40
Jun  7 23:28:40 srv4hai postfix/anvil[4949]: statistics: max cache size 2 at Jun  7 23:21:22
Jun  7 23:28:46 srv4hai ping_SP[2876]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1717795726 - 'ping_SP_1'
Jun  7 23:28:46 srv4hai ping_SP[2876]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jun  7 23:29:01 srv4hai CRON[6342]: (root) CMD (/etc/linetest/linetest.sh)
Jun  7 23:30:00 srv4hai ping_SP[2876]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1717795800 - 'ping_SP_1'
Jun  7 23:30:00 srv4hai ping_SP[2876]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jun  7 23:30:01 srv4hai CRON[6386]: (root) CMD (/etc/linetest/linetest.sh)
Jun  7 23:30:01 srv4hai CRON[6385]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)
Jun  7 23:30:01 srv4hai CRON[6387]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Jun  7 23:30:01 srv4hai common[6389]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Jun  7 23:30:01 srv4hai meter.sh: SHELLY meter.sh started
Jun  7 23:30:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Jun  7 23:30:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Jun  7 23:30:05 srv4hai meter.sh: SHELLY 'shelly-05/Stehlampe Anne hell':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  7 23:30:08 srv4hai meter.sh: SHELLY 'shelly-19/Fernsehlampe groß':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  7 23:30:10 srv4hai meter.sh: SHELLY 'shelly-06/Fernsehlampe klein':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  7 23:30:12 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Jun  7 23:30:12 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Jun  7 23:30:12 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Jun  7 23:30:12 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Jun  7 23:30:12 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Jun  7 23:30:15 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  7 23:30:18 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  7 23:30:18 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Jun  7 23:30:18 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Jun  7 23:30:18 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Jun  7 23:30:18 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Jun  7 23:30:18 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Jun  7 23:30:21 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  7 23:30:21 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Jun  7 23:30:21 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Jun  7 23:30:21 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Jun  7 23:30:21 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Jun  7 23:30:21 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Jun  7 23:30:21 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Jun  7 23:30:21 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Jun  7 23:30:21 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Jun  7 23:30:21 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Jun  7 23:30:21 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Jun  7 23:30:25 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  7 23:30:25 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Jun  7 23:30:25 srv4hai common[7259]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Jun  7 23:30:25 srv4hai check_shelly.sh: SHELLY last scenery executed: 'offAll'
Jun  7 23:30:25 srv4hai check_shelly.sh: SHELLY found '0' active shelly outputs
Jun  7 23:30:25 srv4hai meter.sh: SHELLY meter.sh ended
Jun  7 23:30:54 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7292, secured, session=
Jun  7 23:30:54 srv4hai dovecot: imap(miglincit)<7292>: Logged out in=387 out=1233 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jun  7 23:31:01 srv4hai CRON[7298]: (root) CMD (/etc/linetest/linetest.sh)
Jun  7 23:31:13 srv4hai ping_SP[2876]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1717795873 - 'ping_SP_1'
Jun  7 23:31:13 srv4hai ping_SP[2876]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jun  7 23:31:14 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jun  7 23:31:14 srv4hai fetchmail[1651]: 45951 messages (45951 seen) for tmiglinci at mail.akis.at (-501217456 octets).
Jun  7 23:31:15 srv4hai fetchmail[1651]: 10303 messages (10303 seen) for srozum at mail.akis.at (1239536946 octets).
Jun  7 23:31:15 srv4hai fetchmail[1651]: 23948 messages (23948 seen) for mrozum at mail.akis.at (-163581226 octets).
Jun  7 23:31:16 srv4hai fetchmail[1651]: 92 messages (92 seen) for admin@bastelstube.wien at pop3.world4you.com (37860365 octets).
Jun  7 23:31:48 srv4hai common[7333]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jun  7 23:31:55 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Jun  7 23:31:55 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jun  7 23:31:55 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jun  7 23:31:55 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jun  7 23:31:55 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jun  7 23:31:55 srv4hai common[7346]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jun  7 23:31:56 srv4hai systemd[1]: Started Run anacron jobs.
Jun  7 23:31:56 srv4hai anacron[7360]: Anacron 2.3 started on 2024-06-07
Jun  7 23:31:56 srv4hai anacron[7360]: Normal exit (0 jobs run)
Jun  7 23:31:56 srv4hai systemd[1]: anacron.service: Succeeded.
Jun  7 23:31:58 srv4hai bt_scan[7333]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Jun  7 23:31:58 srv4hai bt_scan[7333]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Jun  7 23:31:58 srv4hai common[7381]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jun  7 23:31:58 srv4hai ping_SP[7381]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Jun  7 23:31:58 srv4hai common[7402]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jun  7 23:31:58 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1717795918-1717795917
Jun  7 23:31:58 srv4hai check_presence[7402]: 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
Jun  7 23:31:58 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1717795918-1717795917
Jun  7 23:31:58 srv4hai check_presence[7402]: 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
Jun  7 23:31:58 srv4hai check_presence[7402]: SHELLY (ping_SP__bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Jun  7 23:31:58 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'1'=1717795918-1717795917
Jun  7 23:31:58 srv4hai check_presence[7402]: 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
Jun  7 23:31:58 srv4hai check_presence[7402]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(__/__) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jun  7 23:31:58 srv4hai check_presence[7402]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Jun  7 23:31:58 srv4hai check_presence[7402]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: vorraumOn
Jun  7 23:31:58 srv4hai activate_scenario[7531]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jun  7 23:31:58 srv4hai activate_scenario[7531]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished