activate_scenario.sh
Fri Apr 12 11:14:38 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/04/12/_0.log)

vorher: 11:14:38.119

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: 11:14:38.193
Dauer: 73 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 11:14:38.138

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: 11:14:38.165
Dauer: 27 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 11:14:38.154

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: 11:14:38.309
Dauer: 155 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 11:14:38.171

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: 11:14:38.296
Dauer: 125 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 11:14:38.190

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: 11:14:38.304
Dauer: 113 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 11:14:38.207

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

nachher: 11:14:38.236
Dauer: 28 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 11:14:38.223

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: 11:14:38.406
Dauer: 183 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 11:14:38.237

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

nachher: 11:14:38.265
Dauer: 29 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 11:14:38.249

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: 11:14:38.297
Dauer: 48 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 11:14:38.261

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: 11:14:38.303
Dauer: 43 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 11:14:38.273

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: 11:14:38.305
Dauer: 32 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 11:14:38.285

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: 11:14:38.316
Dauer: 31 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 11:14:38.297

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: 11:14:38.331
Dauer: 33 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 11:14:38.317

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: 11:14:38.346
Dauer: 29 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 11:14:38.329

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: 11:14:38.397
Dauer: 68 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 11:14:38.343

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: 11:14:38.390
Dauer: 47 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 11:14:38.357

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: 11:14:38.405
Dauer: 47 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 11:14:38.371

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

nachher: 11:14:38.410
Dauer: 38 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 11:14:38.386

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: 11:14:38.447
Dauer: 60 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 19
vorher : 11:14:38.093
nachher: 11:14:38.453
Dauer : 360 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/12//scene_homeOffice_20240412_111438.txt'


syslog

Apr 12 11:11:01 srv4hai CRON[10595]: (root) CMD (/etc/linetest/linetest.sh)
Apr 12 11:11:15 srv4hai ownCloud[24536]: [Zhj6s5XBfUSKnQYmOAuprQAAAAM][155.190.35.5][miglincit][files_texteditor][PUT][/index.php/apps/files_texteditor/ajax/savefile] File: /privat/Gesundheit/Chilaiditi-Syndrom/info.txt modified since opening.
Apr 12 11:11:24 srv4hai ping_SP[26393]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712913084 - 'ping_SP_0'
Apr 12 11:11:24 srv4hai ping_SP[26393]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 12 11:11:33 srv4hai named[15509]: resolver priming query complete
Apr 12 11:11:34 srv4hai named[15509]: resolver priming query complete
Apr 12 11:11:46 srv4hai postfix/smtpd[10629]: connect from unknown[194.48.251.123]
Apr 12 11:11:46 srv4hai postfix/smtpd[10629]: warning: unknown[194.48.251.123]: SASL LOGIN authentication failed: Invalid authentication mechanism
Apr 12 11:11:46 srv4hai postfix/smtpd[10629]: disconnect from unknown[194.48.251.123] ehlo=1 auth=0/1 quit=1 commands=2/3
Apr 12 11:11:53 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=10637, secured, session=<5kKlqeIVvt0AAAAAAAAAAAAAAAAAAAAB>
Apr 12 11:11:53 srv4hai dovecot: imap(miglincit)<10637><5kKlqeIVvt0AAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 12 11:12:01 srv4hai CRON[10639]: (root) CMD (/etc/linetest/linetest.sh)
Apr 12 11:12:23 srv4hai named[15509]: resolver priming query complete
Apr 12 11:12:37 srv4hai ping_SP[26393]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712913157 - 'ping_SP_0'
Apr 12 11:12:37 srv4hai ping_SP[26393]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 12 11:12:39 srv4hai named[15509]: resolver priming query complete
Apr 12 11:13:01 srv4hai CRON[10675]: (root) CMD (/etc/linetest/linetest.sh)
Apr 12 11:13:34 srv4hai named[15509]: resolver priming query complete
Apr 12 11:13:34 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr 12 11:13:34 srv4hai fetchmail[1651]: 41821 messages (41821 seen) for tmiglinci at mail.akis.at (-817481479 octets).
Apr 12 11:13:35 srv4hai fetchmail[1651]: 10126 messages (10126 seen) for srozum at mail.akis.at (1224416817 octets).
Apr 12 11:13:35 srv4hai fetchmail[1651]: 22826 messages (22826 seen) for mrozum at mail.akis.at (-352142329 octets).
Apr 12 11:13:36 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Apr 12 11:13:45 srv4hai named[15509]: resolver priming query complete
Apr 12 11:13:50 srv4hai ping_SP[26393]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712913230 - 'ping_SP_0'
Apr 12 11:13:50 srv4hai ping_SP[26393]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 12 11:13:57 srv4hai dhcpd[28085]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Apr 12 11:13:57 srv4hai dhcpd[28085]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Apr 12 11:13:57 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Apr 12 11:13:57 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.139
Apr 12 11:13:57 srv4hai dhcpd[28085]: execute_statement argv[2] = shelly-39
Apr 12 11:13:57 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Apr 12 11:13:57 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Apr 12 11:13:57 srv4hai named[15509]: client @0x7f92fc030df0 192.168.12.252#44587/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr 12 11:13:57 srv4hai named[15509]: client @0x7f93080b8190 192.168.12.252#53873/key rndc-key: signer "rndc-key" approved
Apr 12 11:13:57 srv4hai named[15509]: client @0x7f93080b8190 192.168.12.252#53873/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Apr 12 11:13:57 srv4hai named[15509]: client @0x7f93080b8190 192.168.12.252#53873/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Apr 12 11:13:57 srv4hai named[15509]: client @0x7f93080b8190 192.168.12.252#53873/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Apr 12 11:13:57 srv4hai named[15509]: client @0x7f93080b8190 192.168.12.252#53873/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Apr 12 11:13:57 srv4hai dhcpd[28085]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Apr 12 11:13:57 srv4hai named[15509]: client @0x7f931c6302d0 192.168.12.252#37677/key rndc-key: signer "rndc-key" approved
Apr 12 11:13:57 srv4hai named[15509]: client @0x7f931c6302d0 192.168.12.252#37677/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Apr 12 11:13:57 srv4hai named[15509]: client @0x7f931c6302d0 192.168.12.252#37677/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.
Apr 12 11:13:57 srv4hai dhcpd[28085]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Apr 12 11:13:57 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Apr 12 11:13:57 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Apr 12 11:13:57 srv4hai common[10723]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Apr 12 11:13:57 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=20.700000&hum=42.200000&id=C049EF8AC9D8&batt=100&volt=6.700000
Apr 12 11:13:57 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/04/shelly-39_20240412.csv'
Apr 12 11:13:57 srv4hai ht_shelly.sh: SHELLY - 'shelly-39_20240412.csv' modifed 369s ago - EXIT
Apr 12 11:13:57 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Apr 12 11:13:57 srv4hai conf_shelly.sh: SHELLY:'shelly-39' 'conf(0)' - 'settings/actions?index=0&name=report_url&enabled=true&urls[]=http://www.viehai.at/shelly/ht_shelly.shtml?gen=2&temp=${ev.tC}&hum=${status["humidity:0"].rH}&id=${config.sys.device.mac}'
Apr 12 11:13:57 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-cmd: 'curl --connect-timeout 3 --silent -X -POST -d 'settings/actions?index=0&name=report_url&enabled=true&urls[]=http://www.viehai.at/shelly/ht_shelly.shtml?gen=2&temp=${ev.tC}&hum=${status["humidity:0"].rH}&id=${config.sys.device.mac}' http://192.168.12.139/rpc | jq -r '.''
Apr 12 11:13:57 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Apr 12 11:13:57 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Apr 12 11:14:01 srv4hai CRON[10800]: (root) CMD (/etc/linetest/linetest.sh)
Apr 12 11:14:02 srv4hai named[15509]: resolver priming query complete
Apr 12 11:14:25 srv4hai nmbd[30864]: [2024/04/12 11:14:25.855554,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Apr 12 11:14:25 srv4hai nmbd[30864]:   find_domain_master_name_query_fail:
Apr 12 11:14:25 srv4hai nmbd[30864]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Apr 12 11:14:25 srv4hai nmbd[30864]:   Unable to sync browse lists in this workgroup.
Apr 12 11:14:38 srv4hai activate_scenario[10812]: SHELLY scenario: 'homeOffice(homeoffice)' started
Apr 12 11:14:38 srv4hai activate_scenario[10812]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished