activate_scenario.sh
Thu Jul 18 12:38:37 CEST 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/07/18/_0.log)

vorher: 12:38:37.975

http://192.168.12.101/relay/0?turn=off

        

nachher: 12:38:41.984
Dauer: 4010 msec phName: 'shelly-40:'Thomas Büro Licht''


Balkon-Licht (/srv/www/viehai/shelly/log_scenarios/2024/07/18/_1.log)

vorher: 12:38:37.991

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: 12:38:38.024
Dauer: 32 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/07/18/_2.log)

vorher: 12:38:38.004

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: 12:38:38.127
Dauer: 124 msec phName: 'shelly-40:'Thomas Büro Licht''


Stehlampe Anne hell (/srv/www/viehai/shelly/log_scenarios/2024/07/18/_3.log)

vorher: 12:38:38.018

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

nachher: 12:38:38.134
Dauer: 117 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/07/18/_4.log)

vorher: 12:38:38.032

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: 12:38:38.136
Dauer: 105 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:38:38.044

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: 12:38:38.076
Dauer: 31 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:38:38.056

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: 12:38:38.149
Dauer: 93 msec phName: 'shelly-40:'Thomas Büro Licht''


Sophie Licht (/srv/www/viehai/shelly/log_scenarios/2024/07/18/_7.log)

vorher: 12:38:38.070

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: 12:38:38.141
Dauer: 71 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:38:38.083

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

nachher: 12:38:38.131
Dauer: 47 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:38:38.097

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: 12:38:38.142
Dauer: 46 msec phName: 'shelly-40:'Thomas Büro Licht''


Schlafzimmer Licht (/srv/www/viehai/shelly/log_scenarios/2024/07/18/_10.log)

vorher: 12:38:38.110

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: 12:38:38.169
Dauer: 59 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:38:38.124

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

nachher: 12:38:38.156
Dauer: 31 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:38:38.141

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

nachher: 12:38:38.221
Dauer: 80 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:38:38.154

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: 12:38:38.235
Dauer: 81 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:38:38.169

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: 12:38:38.266
Dauer: 98 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe groß (/srv/www/viehai/shelly/log_scenarios/2024/07/18/_15.log)

vorher: 12:38:38.181

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: 12:38:38.230
Dauer: 48 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:38:38.194

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: 12:38:38.236
Dauer: 42 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Empore (/srv/www/viehai/shelly/log_scenarios/2024/07/18/_17.log)

vorher: 12:38:38.208

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: 12:38:38.324
Dauer: 117 msec phName: 'shelly-40:'Thomas Büro Licht''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/07/18/_18.log)

vorher: 12:38:38.220

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: 12:38:38.269
Dauer: 49 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 19
vorher : 12:38:37.951
nachher: 12:38:42.006
Dauer : 4054 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/18//scene_homeOffice_20240718_123837.txt'


syslog

Jul 18 12:35:00 srv4hai ping_SP[7142]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721298900 - 'ping_SP_0'
Jul 18 12:35:00 srv4hai ping_SP[7142]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 18 12:35:01 srv4hai CRON[17193]: (root) CMD (/etc/linetest/linetest.sh)
Jul 18 12:35:02 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=17199, secured, session=
Jul 18 12:35:02 srv4hai dovecot: imap(miglincit)<17199>: Logged out in=471 out=1233 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 18 12:35:48 srv4hai named[30406]: connection refused resolving 'gw-ext.mediation.unity3d.com/A/IN': 95.129.202.2#53
Jul 18 12:35:50 srv4hai named[30406]: connection refused resolving 'exchange-b-viper.inner-active.mobi/A/IN': 95.129.202.2#53
Jul 18 12:36:01 srv4hai CRON[17209]: (root) CMD (/etc/linetest/linetest.sh)
Jul 18 12:36:13 srv4hai ping_SP[7142]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721298973 - 'ping_SP_0'
Jul 18 12:36:13 srv4hai ping_SP[7142]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 18 12:36:30 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul 18 12:36:37 srv4hai dhcpd[30731]: DHCPDISCOVER from f4:cf:a2:e3:b2:94 via enp2s0
Jul 18 12:36:37 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.101 to f4:cf:a2:e3:b2:94 via enp2s0
Jul 18 12:36:37 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jul 18 12:36:37 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.101
Jul 18 12:36:37 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-01
Jul 18 12:36:37 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.101 (192.168.12.252) from f4:cf:a2:e3:b2:94 via enp2s0
Jul 18 12:36:37 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.101 to f4:cf:a2:e3:b2:94 via enp2s0
Jul 18 12:36:37 srv4hai named[30406]: client @0x7f93300d0220 192.168.12.252#53659/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-01.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 18 12:36:37 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#42495/key rndc-key: signer "rndc-key" approved
Jul 18 12:36:37 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#42495/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-01.viehai.at' TXT
Jul 18 12:36:37 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#42495/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-01.viehai.at' TXT "00c768089445c9f8f8e0a9ab6d602edfb6"
Jul 18 12:36:37 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#42495/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-01.viehai.at' A
Jul 18 12:36:37 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#42495/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-01.viehai.at' A 192.168.12.101
Jul 18 12:36:37 srv4hai dhcpd[30731]: Added new forward map from shelly-01.viehai.at to 192.168.12.101
Jul 18 12:36:37 srv4hai named[30406]: client @0x7f931c085800 192.168.12.252#45353/key rndc-key: signer "rndc-key" approved
Jul 18 12:36:37 srv4hai named[30406]: client @0x7f931c085800 192.168.12.252#45353/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '101.12.168.192.in-addr.arpa' PTR
Jul 18 12:36:37 srv4hai named[30406]: client @0x7f931c085800 192.168.12.252#45353/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '101.12.168.192.in-addr.arpa' PTR shelly-01.viehai.at.
Jul 18 12:36:37 srv4hai dhcpd[30731]: Added reverse map from 101.12.168.192.in-addr.arpa. to shelly-01.viehai.at
Jul 18 12:36:37 srv4hai common[17235]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jul 18 12:36:37 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-01' - shIP/2:'' perform:'conf'
Jul 18 12:36:39 srv4hai mosquitto[18551]: New connection from 192.168.12.101 on port 1883.
Jul 18 12:36:39 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-01' - shIP/2:'192.168.12.101'
Jul 18 12:36:39 srv4hai mosquitto[18551]: New client connected from 192.168.12.101 as shelly1pm-F4CFA2E3B294 (c1, k60, u'shmqtt').
Jul 18 12:36:39 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wandlicht beim Esstisch' already set for '192.168.12.101'
Jul 18 12:36:39 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(0)' - allready transmitted - skipping
Jul 18 12:36:39 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(1)' - allready transmitted - skipping
Jul 18 12:36:39 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(2)' - allready transmitted - skipping
Jul 18 12:36:39 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(3)' - allready transmitted - skipping
Jul 18 12:36:39 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(4)' - allready transmitted - skipping
Jul 18 12:36:39 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(5)' - allready transmitted - skipping
Jul 18 12:36:39 srv4hai conf_shelly.sh: SHELLY:'shelly-01' out:0 ON : MISSING
Jul 18 12:36:39 srv4hai conf_shelly.sh: SHELLY:'shelly-01' out:0 OFF: MISSING
Jul 18 12:36:46 srv4hai named[30406]: connection refused resolving 'snapcraft.io/DS/IN': 95.129.202.2#53
Jul 18 12:36:46 srv4hai snapd[16680]: storehelpers.go:791: cannot refresh: snap has no updates available: "bare", "core", "core18", "core20", "gnome-3-28-1804", "gtk-common-themes", "mqtt-explorer"
Jul 18 12:37:01 srv4hai CRON[17375]: (root) CMD (/etc/linetest/linetest.sh)
Jul 18 12:37:07 srv4hai fetchmail[1651]: 48925 messages (48925 seen) for tmiglinci at mail.akis.at (-242997742 octets).
Jul 18 12:37:20 srv4hai named[30406]: connection refused resolving 'nrdp.prod.eu-west-1.internal.dradis.netflix.com/A/IN': 95.129.202.2#53
Jul 18 12:37:20 srv4hai fetchmail[1651]: 10464 messages (10464 seen) for srozum at mail.akis.at (1260313418 octets).
Jul 18 12:37:25 srv4hai common[17388]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul 18 12:37:26 srv4hai ping_SP[7142]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721299046 - 'ping_SP_0'
Jul 18 12:37:26 srv4hai ping_SP[7142]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 18 12:37:35 srv4hai bt_scan[17388]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Jul 18 12:37:35 srv4hai bt_scan[17388]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Jul 18 12:37:39 srv4hai fetchmail[1651]: 24811 messages (24811 seen) for mrozum at mail.akis.at (43784069 octets).
Jul 18 12:37:39 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Jul 18 12:38:01 srv4hai CRON[17437]: (root) CMD (/etc/linetest/linetest.sh)
Jul 18 12:38:02 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=17443, secured, session=
Jul 18 12:38:02 srv4hai dovecot: imap(miglincit)<17443>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 18 12:38:15 srv4hai named[30406]: connection refused resolving 'global-image.aliexpress.com.gds.alibabadns.com/A/IN': 95.129.202.2#53
Jul 18 12:38:37 srv4hai activate_scenario[17453]: SHELLY scenario: 'homeOffice(homeoffice)' started
Jul 18 12:38:37 srv4hai activate_scenario[17453]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished