activate_scenario.sh
Thu Mar 28 23:12:00 CET 2024
scenario: bedlight_tom
source: 192.168.12.112

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

scenario: 'Nachttischlampe Thomas UM-schalten' - 'bedlight_tom' - 'bedlight_tom'

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

vorher: 23:12:01.062

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

nachher: 23:12:01.103
Dauer: 41 msec phName: 'shelly-12:'Schlafzimmer Licht''


scenario: 'Nachttischlampe Thomas UM-schalten' - 'bedlight_tom' - 'bedlight_tom'

urls : 1
vorher : 23:12:01.010
nachher: 23:12:01.109
Dauer : 102 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/03/28//scene_bedlight_tom_20240328_231200.txt'


syslog

Mar 28 23:09:01 srv4hai ping_SP[14945]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1711663741 - 'ping_SP_0'
Mar 28 23:09:01 srv4hai ping_SP[14945]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar 28 23:09:01 srv4hai CRON[27633]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Mar 28 23:09:01 srv4hai CRON[27634]: (root) CMD (/etc/linetest/linetest.sh)
Mar 28 23:09:01 srv4hai systemd[1]: Starting Clean php session files...
Mar 28 23:09:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Mar 28 23:09:01 srv4hai systemd[1]: Started Clean php session files.
Mar 28 23:09:03 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Mar 28 23:09:03 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.28
Mar 28 23:09:03 srv4hai dhcpd[5037]: execute_statement argv[2] = harmonyhub
Mar 28 23:09:03 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.28 from c8:db:26:0c:f3:8e via enp2s0
Mar 28 23:09:03 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.28 to c8:db:26:0c:f3:8e via enp2s0
Mar 28 23:09:03 srv4hai named[15509]: client @0x7f93080202a0 192.168.12.252#50353/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: harmonyhub.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar 28 23:09:03 srv4hai named[15509]: client @0x7f931c66c140 192.168.12.252#59803/key rndc-key: signer "rndc-key" approved
Mar 28 23:09:03 srv4hai named[15509]: client @0x7f931c66c140 192.168.12.252#59803/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' TXT
Mar 28 23:09:03 srv4hai named[15509]: client @0x7f931c66c140 192.168.12.252#59803/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' TXT "3122b5a8b4281156e6f217b32b7e260713"
Mar 28 23:09:03 srv4hai named[15509]: client @0x7f931c66c140 192.168.12.252#59803/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' A
Mar 28 23:09:03 srv4hai named[15509]: client @0x7f931c66c140 192.168.12.252#59803/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' A 192.168.12.28
Mar 28 23:09:03 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.28'(28) device 'harmonyhub'
Mar 28 23:09:03 srv4hai dhcpd[5037]: Added new forward map from harmonyhub.viehai.at to 192.168.12.28
Mar 28 23:09:03 srv4hai named[15509]: client @0x7f931c12c1c0 192.168.12.252#60577/key rndc-key: signer "rndc-key" approved
Mar 28 23:09:03 srv4hai named[15509]: client @0x7f931c12c1c0 192.168.12.252#60577/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '28.12.168.192.in-addr.arpa' PTR
Mar 28 23:09:03 srv4hai named[15509]: client @0x7f931c12c1c0 192.168.12.252#60577/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '28.12.168.192.in-addr.arpa' PTR harmonyhub.viehai.at.
Mar 28 23:09:03 srv4hai dhcpd[5037]: Added reverse map from 28.12.168.192.in-addr.arpa. to harmonyhub.viehai.at
Mar 28 23:09:03 srv4hai dhcpcommit.sh: SHELLY device 'harmonyhub' known and accepted
Mar 28 23:09:12 srv4hai ping_SP[15144]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1711663752 - 'ping_SP_1'
Mar 28 23:09:12 srv4hai ping_SP[15144]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar 28 23:10:01 srv4hai CRON[27774]: (root) CMD (/etc/linetest/linetest.sh)
Mar 28 23:10:01 srv4hai CRON[27775]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Mar 28 23:10:01 srv4hai meter.sh: SHELLY meter.sh started
Mar 28 23:10:07 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 23:10:10 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 23:10:12 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 23:10:14 srv4hai ping_SP[14945]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1711663814 - 'ping_SP_0'
Mar 28 23:10:14 srv4hai ping_SP[14945]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar 28 23:10:15 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 23:10:17 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 23:10:20 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 23:10:23 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 23:10:25 srv4hai ping_SP[15144]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1711663825 - 'ping_SP_1'
Mar 28 23:10:25 srv4hai ping_SP[15144]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar 28 23:10:25 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 23:10:28 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 23:10:31 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 23:10:33 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 23:10:36 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 23:10:38 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 23:10:41 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 23:10:44 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 23:10:46 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 23:10:49 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 23:10:51 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 23:10:54 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 23:10:56 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 23:10:59 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 23:10:59 srv4hai meter.sh: SHELLY meter.sh ended
Mar 28 23:10:59 srv4hai postfix/pickup[23071]: 4E7256027D: uid=33 from=
Mar 28 23:10:59 srv4hai postfix/cleanup[28443]: 4E7256027D: message-id=<20240328221059.4E7256027D@mail.viehai.at>
Mar 28 23:10:59 srv4hai postfix/qmgr[15291]: 4E7256027D: from=, size=654, nrcpt=1 (queue active)
Mar 28 23:10:59 srv4hai postfix/local[28445]: 4E7256027D: 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)
Mar 28 23:10:59 srv4hai postfix/qmgr[15291]: 4E7256027D: removed
Mar 28 23:11:01 srv4hai CRON[28448]: (root) CMD (/etc/linetest/linetest.sh)
Mar 28 23:11:27 srv4hai ping_SP[14945]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1711663887 - 'ping_SP_0'
Mar 28 23:11:27 srv4hai ping_SP[14945]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar 28 23:11:38 srv4hai ping_SP[15144]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1711663898 - 'ping_SP_1'
Mar 28 23:11:38 srv4hai ping_SP[15144]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar 28 23:11:44 srv4hai dhcpd[5037]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Mar 28 23:11:44 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Mar 28 23:11:44 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Mar 28 23:11:44 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.139
Mar 28 23:11:44 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-39
Mar 28 23:11:44 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Mar 28 23:11:44 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Mar 28 23:11:44 srv4hai named[15509]: client @0x7f9314033170 192.168.12.252#42763/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar 28 23:11:44 srv4hai named[15509]: client @0x7f930c096d80 192.168.12.252#54523/key rndc-key: signer "rndc-key" approved
Mar 28 23:11:44 srv4hai named[15509]: client @0x7f930c096d80 192.168.12.252#54523/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Mar 28 23:11:44 srv4hai named[15509]: client @0x7f930c096d80 192.168.12.252#54523/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Mar 28 23:11:44 srv4hai named[15509]: client @0x7f930c096d80 192.168.12.252#54523/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Mar 28 23:11:44 srv4hai named[15509]: client @0x7f930c096d80 192.168.12.252#54523/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Mar 28 23:11:44 srv4hai dhcpd[5037]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Mar 28 23:11:44 srv4hai named[15509]: client @0x7f931c6410a0 192.168.12.252#33129/key rndc-key: signer "rndc-key" approved
Mar 28 23:11:44 srv4hai named[15509]: client @0x7f931c6410a0 192.168.12.252#33129/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Mar 28 23:11:44 srv4hai named[15509]: client @0x7f931c6410a0 192.168.12.252#33129/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '139.12.168.192.in-addr.arpa' PTR shelly-39.viehai.at.
Mar 28 23:11:44 srv4hai dhcpd[5037]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Mar 28 23:11:44 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Mar 28 23:11:45 srv4hai grab_shelly.sh: SHELLY 'shelly-39':  OFFLINE, resp. not answering within connect-timeout 1.500000s
Mar 28 23:11:48 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28507, secured, session=
Mar 28 23:11:48 srv4hai dovecot: imap(miglincit)<28507>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 28 23:12:00 srv4hai activate_scenario[28510]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started
Mar 28 23:12:00 srv4hai activate_scenario[28510]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'Schlafzimmer Licht'

finished