activate_scenario.sh
Tue Oct 1 14:36:27 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/10/01/_0.log)

vorher: 14:36:28.003

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


Balkon-Licht (/srv/www/viehai/shelly/log_scenarios/2024/10/01/_1.log)

vorher: 14:36:28.016

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


Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/10/01/_2.log)

vorher: 14:36:28.030

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: 14:36:28.057
Dauer: 28 msec phName: 'shelly-40:'Thomas Büro Licht''


Stehlampe Anne hell (/srv/www/viehai/shelly/log_scenarios/2024/10/01/_3.log)

vorher: 14:36:28.043

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: 14:36:28.068
Dauer: 25 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/10/01/_4.log)

vorher: 14:36:28.057

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

nachher: 14:36:28.091
Dauer: 33 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 14:36:28.072

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: 14:36:28.112
Dauer: 41 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 14:36:28.085

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: 14:36:28.148
Dauer: 64 msec phName: 'shelly-40:'Thomas Büro Licht''


Sophie Licht (/srv/www/viehai/shelly/log_scenarios/2024/10/01/_7.log)

vorher: 14:36:28.097

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: 14:36:28.128
Dauer: 30 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 14:36:28.111

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


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

vorher: 14:36:28.123

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: 14:36:28.205
Dauer: 82 msec phName: 'shelly-40:'Thomas Büro Licht''


Schlafzimmer Licht (/srv/www/viehai/shelly/log_scenarios/2024/10/01/_10.log)

vorher: 14:36:28.137

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: 14:36:28.159
Dauer: 22 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 14:36:28.149

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: 14:36:28.179
Dauer: 30 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 14:36:28.162

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: 14:36:28.216
Dauer: 53 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 14:36:28.177

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: 14:36:28.212
Dauer: 35 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 14:36:28.191

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: 14:36:28.225
Dauer: 35 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe groß (/srv/www/viehai/shelly/log_scenarios/2024/10/01/_15.log)

vorher: 14:36:28.203

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: 14:36:28.292
Dauer: 90 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 14:36:28.217

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


Licht Empore (/srv/www/viehai/shelly/log_scenarios/2024/10/01/_17.log)

vorher: 14:36:28.235

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: 14:36:28.357
Dauer: 121 msec phName: 'shelly-40:'Thomas Büro Licht''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/10/01/_18.log)

vorher: 14:36:28.244

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: 14:36:28.274
Dauer: 30 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 19
vorher : 14:36:27.979
nachher: 14:36:28.364
Dauer : 386 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/10/01//scene_homeOffice_20241001_143627.txt'


syslog

Oct  1 14:33:01 srv4hai CRON[11538]: (root) CMD (/etc/linetest/linetest.sh)
Oct  1 14:33:27 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Oct  1 14:33:28 srv4hai fetchmail[1651]: 53556 messages (53556 seen) for tmiglinci at mail.akis.at (96515171 octets).
Oct  1 14:33:29 srv4hai fetchmail[1651]: 10791 messages (10791 seen) for srozum at mail.akis.at (1307264502 octets).
Oct  1 14:33:29 srv4hai fetchmail[1651]: 26280 messages (26280 seen) for mrozum at mail.akis.at (267188026 octets).
Oct  1 14:33:30 srv4hai fetchmail[1651]: 1146 messages (1146 seen) for admin@bastelstube.wien at pop3.world4you.com (51923571 octets).
Oct  1 14:33:34 srv4hai ping_SP[2698]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1727786014 - 'ping_SP_0'
Oct  1 14:33:34 srv4hai ping_SP[2698]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Oct  1 14:33:49 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=11574, secured, session=
Oct  1 14:33:49 srv4hai dovecot: imap(miglincit)<11574>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Oct  1 14:34:01 srv4hai CRON[11579]: (root) CMD (/etc/linetest/linetest.sh)
Oct  1 14:34:04 srv4hai postfix/smtpd[11584]: connect from unknown[185.196.9.190]
Oct  1 14:34:04 srv4hai postfix/smtpd[11584]: warning: unknown[185.196.9.190]: SASL LOGIN authentication failed: Invalid authentication mechanism
Oct  1 14:34:04 srv4hai postfix/smtpd[11584]: disconnect from unknown[185.196.9.190] ehlo=1 auth=0/1 quit=1 commands=2/3
Oct  1 14:34:18 srv4hai systemd[1]: Started Run anacron jobs.
Oct  1 14:34:18 srv4hai anacron[11590]: Anacron 2.3 started on 2024-10-01
Oct  1 14:34:18 srv4hai anacron[11590]: Normal exit (0 jobs run)
Oct  1 14:34:18 srv4hai systemd[1]: anacron.service: Succeeded.
Oct  1 14:34:47 srv4hai ping_SP[2698]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1727786087 - 'ping_SP_0'
Oct  1 14:34:47 srv4hai ping_SP[2698]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Oct  1 14:35:01 srv4hai CRON[11620]: (root) CMD (/etc/linetest/linetest.sh)
Oct  1 14:35:25 srv4hai dhcpd[30731]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Oct  1 14:35:25 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Oct  1 14:35:25 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Oct  1 14:35:25 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.139
Oct  1 14:35:25 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-39
Oct  1 14:35:25 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Oct  1 14:35:25 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Oct  1 14:35:25 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#36489/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Oct  1 14:35:25 srv4hai named[30406]: client @0x7f9330095370 192.168.12.252#47647/key rndc-key: signer "rndc-key" approved
Oct  1 14:35:25 srv4hai named[30406]: client @0x7f9330095370 192.168.12.252#47647/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Oct  1 14:35:25 srv4hai named[30406]: client @0x7f9330095370 192.168.12.252#47647/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Oct  1 14:35:25 srv4hai named[30406]: client @0x7f9330095370 192.168.12.252#47647/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Oct  1 14:35:25 srv4hai named[30406]: client @0x7f9330095370 192.168.12.252#47647/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Oct  1 14:35:25 srv4hai dhcpd[30731]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Oct  1 14:35:25 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#33335/key rndc-key: signer "rndc-key" approved
Oct  1 14:35:25 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#33335/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Oct  1 14:35:25 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#33335/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.
Oct  1 14:35:25 srv4hai dhcpd[30731]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Oct  1 14:35:25 srv4hai common[11631]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Oct  1 14:35:25 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf'
Oct  1 14:35:25 srv4hai common[11644]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Oct  1 14:35:25 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Oct  1 14:35:25 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=18.300000&hum=52.100000&id=C049EF8AC9D8&batt=100&volt=6.110000
Oct  1 14:35:25 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/10/shelly-39_20241001.csv'
Oct  1 14:35:25 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Oct  1 14:35:25 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Oct  1 14:35:25 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}'
Oct  1 14:35:25 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Oct  1 14:35:25 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}'
Oct  1 14:35:26 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 '.''
Oct  1 14:35:26 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Oct  1 14:35:26 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 '.''
Oct  1 14:35:26 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Oct  1 14:35:26 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Oct  1 14:35:26 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Oct  1 14:35:26 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 18.3° - 52.1%
Oct  1 14:35:26 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 18.3°/18.8° - 52.1%/52.1% - SAVED
Oct  1 14:35:26 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'°
Oct  1 14:35:26 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: dweetIO='{#012  "this": "succeeded",#012  "by": "dweeting",#012  "the": "dweet",#012  "with": {#012    "thing": "viehai-39",#012    "created": "2024-10-01T12:35:26.548Z",#012    "content": {#012      "temp": 18.3,#012      "hum": 52.1,#012      "batt": 100,#012      "csvF": "shelly-39_20241001.csv"#012    },#012    "transaction": "17390c88-4753-408c-853c-66e4a4bbb1c3"#012  }#012}'°
Oct  1 14:36:00 srv4hai ping_SP[2698]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1727786160 - 'ping_SP_0'
Oct  1 14:36:00 srv4hai ping_SP[2698]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Oct  1 14:36:01 srv4hai CRON[11820]: (root) CMD (/etc/linetest/linetest.sh)
Oct  1 14:36:27 srv4hai activate_scenario[11831]: SHELLY scenario: 'homeOffice(homeoffice)' started
Oct  1 14:36:27 srv4hai activate_scenario[11831]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished