activate_scenario.sh
Mon Mar 4 13:03:01 CET 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/03/04/_0.log)

vorher: 13:03:01.452

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: 13:03:01.482
Dauer: 31 msec phName: 'shelly-40:'Thomas Büro Licht''


Balkon-Licht (/srv/www/viehai/shelly/log_scenarios/2024/03/04/_1.log)

vorher: 13:03:01.469

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: 13:03:01.501
Dauer: 33 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/03/04/_2.log)

vorher: 13:03:01.481

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

nachher: 13:03:01.540
Dauer: 60 msec phName: 'shelly-40:'Thomas Büro Licht''


Stehlampe Anne hell (/srv/www/viehai/shelly/log_scenarios/2024/03/04/_3.log)

vorher: 13:03:01.495

http://192.168.12.105/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 13:03:01.552
Dauer: 56 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/03/04/_4.log)

vorher: 13:03:01.508

http://192.168.12.106/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 13:03:01.542
Dauer: 32 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 13:03:01.520

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: 13:03:01.559
Dauer: 39 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 13:03:01.532

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: 13:03:01.563
Dauer: 32 msec phName: 'shelly-40:'Thomas Büro Licht''


Sophie Licht (/srv/www/viehai/shelly/log_scenarios/2024/03/04/_7.log)

vorher: 13:03:01.545

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: 13:03:01.584
Dauer: 39 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 13:03:01.559

http://192.168.12.110/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 13:03:01.641
Dauer: 81 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 13:03:01.574

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: 13:03:01.608
Dauer: 35 msec phName: 'shelly-40:'Thomas Büro Licht''


Schlafzimmer Licht (/srv/www/viehai/shelly/log_scenarios/2024/03/04/_10.log)

vorher: 13:03:01.584

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: 13:03:01.685
Dauer: 100 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 13:03:01.597

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": 11.28,
  "overpower": false

nachher: 13:03:01.650
Dauer: 54 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 13:03:01.610

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": 11.28,
  "overpower": false

nachher: 13:03:01.663
Dauer: 53 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 13:03:01.625

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


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

vorher: 13:03:01.638

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: 13:03:01.705
Dauer: 67 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe groß (/srv/www/viehai/shelly/log_scenarios/2024/03/04/_15.log)

vorher: 13:03:01.651

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


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

vorher: 13:03:01.664

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: 13:03:01.748
Dauer: 84 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Empore (/srv/www/viehai/shelly/log_scenarios/2024/03/04/_17.log)

vorher: 13:03:01.678

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

nachher: 13:03:01.707
Dauer: 28 msec phName: 'shelly-40:'Thomas Büro Licht''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/03/04/_18.log)

vorher: 13:03:01.690

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: 13:03:01.766
Dauer: 76 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 19
vorher : 13:03:01.427
nachher: 13:03:01.773
Dauer : 346 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/03/04//scene_homeOffice_20240304_130301.txt'


syslog

Mar  4 13:00:01 srv4hai CRON[437]: (root) CMD (/etc/linetest/linetest.sh)
Mar  4 13:00:01 srv4hai CRON[438]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Mar  4 13:00:01 srv4hai meter.sh: SHELLY meter.sh started
Mar  4 13:00:05 srv4hai meter.sh: SHELLY 'shelly-05/Stehlampe Anne hell':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 13:00:11 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 13:00:14 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 13:00:15 srv4hai postfix/smtpd[777]: connect from unknown[87.120.84.162]
Mar  4 13:00:15 srv4hai postfix/smtpd[777]: warning: unknown[87.120.84.162]: SASL LOGIN authentication failed: Invalid authentication mechanism
Mar  4 13:00:15 srv4hai postfix/smtpd[777]: disconnect from unknown[87.120.84.162] ehlo=1 auth=0/1 quit=1 commands=2/3
Mar  4 13:00:16 srv4hai meter.sh: SHELLY 'shelly-37/Wetter 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 13:00:19 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 13:00:21 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 13:00:24 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 13:00:27 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 13:00:29 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 13:00:32 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 13:00:34 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 13:00:37 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 13:00:39 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 13:00:42 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 13:00:44 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 13:00:47 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 13:00:50 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 13:00:52 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 13:00:55 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 13:00:57 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 13:01:00 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 13:01:01 srv4hai CRON[966]: (root) CMD (/etc/linetest/linetest.sh)
Mar  4 13:01:02 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 13:01:02 srv4hai meter.sh: SHELLY meter.sh ended
Mar  4 13:01:03 srv4hai postfix/pickup[27478]: 0728060244: uid=33 from=
Mar  4 13:01:03 srv4hai postfix/cleanup[990]: 0728060244: message-id=<20240304120103.0728060244@mail.viehai.at>
Mar  4 13:01:03 srv4hai postfix/qmgr[28610]: 0728060244: from=, size=654, nrcpt=1 (queue active)
Mar  4 13:01:03 srv4hai postfix/local[992]: 0728060244: to=, orig_to=, relay=local, delay=0.07, delays=0.05/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar  4 13:01:03 srv4hai postfix/qmgr[28610]: 0728060244: removed
Mar  4 13:02:01 srv4hai CRON[1011]: (root) CMD (/etc/linetest/linetest.sh)
Mar  4 13:02:09 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=1018, secured, session=
Mar  4 13:02:09 srv4hai dovecot: imap(miglincit)<1018>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar  4 13:02:30 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Mar  4 13:02:30 srv4hai fetchmail[1651]: 39207 messages (39207 seen) for tmiglinci at mail.akis.at (-1055502437 octets).
Mar  4 13:02:31 srv4hai fetchmail[1651]: 9962 messages (9962 seen) for srozum at mail.akis.at (1204989675 octets).
Mar  4 13:02:31 srv4hai fetchmail[1651]: 22001 messages (22001 seen) for mrozum at mail.akis.at (-495278405 octets).
Mar  4 13:02:32 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Mar  4 13:02:34 srv4hai bash[4449]: Send diag info: {"uuid":"a3222b39-51b7-8745-76f6-0c88571a66bc","language":"de","country":"Austria","hosts":[{"version":"5.0.16","platform":"Javascript/Node.js","type":"linux"}],"node":"v20.10.0","arch":"x64","docker":false,"adapters":{"admin":{"version":"6.12.0","platform":"Javascript/Node.js"},"discovery":{"version":"4.2.0","platform":"Javascript/Node.js"},"backitup":{"version":"2.8.7","platform":"Javascript/Node.js"},"shelly":{"version":"6.6.1","platform":"Javascript/Node.js"},"philips-tv":{"version":"0.5.3","platform":"Javascript/Node.js"},"web":{"version":"6.1.10","platform":"Javascript/Node.js"},"vis":{"version":"1.4.16","platform":"Javascript/Node.js"}},"statesType":"jsonl","objectsType":"jsonl","noInstances":7,"compactMode":false,"noCompactInstances":0,"model":"Intel(R) Core(TM) i3-10100T CPU @ 3.00GHz","cpus":8,"mem":16652111872,"ostype":"Linux","city":"Wien","vis":7}
Mar  4 13:02:35 srv4hai dhcpd[5037]: DHCPDISCOVER from e8:db:84:d2:a1:41 via enp2s0
Mar  4 13:02:35 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.105 to e8:db:84:d2:a1:41 via enp2s0
Mar  4 13:02:35 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Mar  4 13:02:35 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.105
Mar  4 13:02:35 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-05
Mar  4 13:02:35 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.105 (192.168.12.252) from e8:db:84:d2:a1:41 via enp2s0
Mar  4 13:02:35 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.105 to e8:db:84:d2:a1:41 via enp2s0
Mar  4 13:02:35 srv4hai named[14530]: client @0x7fc318077970 192.168.12.252#46053/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-05.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar  4 13:02:35 srv4hai named[14530]: client @0x7fc320090c00 192.168.12.252#54063/key rndc-key: signer "rndc-key" approved
Mar  4 13:02:35 srv4hai named[14530]: client @0x7fc320090c00 192.168.12.252#54063/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-05.viehai.at' TXT
Mar  4 13:02:35 srv4hai named[14530]: client @0x7fc320090c00 192.168.12.252#54063/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-05.viehai.at' TXT "004e6fdd302768338ea9006deb3d485f40"
Mar  4 13:02:35 srv4hai named[14530]: client @0x7fc320090c00 192.168.12.252#54063/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-05.viehai.at' A
Mar  4 13:02:35 srv4hai named[14530]: client @0x7fc320090c00 192.168.12.252#54063/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-05.viehai.at' A 192.168.12.105
Mar  4 13:02:35 srv4hai dhcpd[5037]: Added new forward map from shelly-05.viehai.at to 192.168.12.105
Mar  4 13:02:35 srv4hai named[14530]: client @0x7fc324060480 192.168.12.252#53325/key rndc-key: signer "rndc-key" approved
Mar  4 13:02:35 srv4hai named[14530]: client @0x7fc324060480 192.168.12.252#53325/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '105.12.168.192.in-addr.arpa' PTR
Mar  4 13:02:35 srv4hai named[14530]: client @0x7fc324060480 192.168.12.252#53325/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '105.12.168.192.in-addr.arpa' PTR shelly-05.viehai.at.
Mar  4 13:02:35 srv4hai dhcpd[5037]: Added reverse map from 105.12.168.192.in-addr.arpa. to shelly-05.viehai.at
Mar  4 13:02:35 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-05' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Mar  4 13:02:36 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-05' - shIP/2:'192.168.12.105'
Mar  4 13:02:36 srv4hai conf_shelly.sh: SHELLY: usage/name 'Stehlampe Anne hell' already set for '192.168.12.105'
Mar  4 13:02:36 srv4hai conf_shelly.sh: SHELLY:'shelly-05' 'conf(0)' - allready transmitted - skipping
Mar  4 13:02:36 srv4hai conf_shelly.sh: SHELLY:'shelly-05' 'conf(1)' - allready transmitted - skipping
Mar  4 13:02:36 srv4hai conf_shelly.sh: SHELLY:'shelly-05' 'conf(2)' - allready transmitted - skipping
Mar  4 13:02:36 srv4hai conf_shelly.sh: SHELLY:'shelly-05' 'conf(3)' - allready transmitted - skipping
Mar  4 13:02:36 srv4hai conf_shelly.sh: SHELLY:'shelly-05' 'conf(4)' - allready transmitted - skipping
Mar  4 13:02:36 srv4hai conf_shelly.sh: SHELLY:'shelly-05' out:0 ON : MISSING
Mar  4 13:02:36 srv4hai conf_shelly.sh: SHELLY:'shelly-05' out:0 OFF: MISSING
Mar  4 13:03:01 srv4hai activate_scenario[1152]: SHELLY scenario: 'homeOffice(homeoffice)' started
Mar  4 13:03:01 srv4hai activate_scenario[1152]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished