activate_scenario.sh
Thu May 2 16:29:00 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/05/02/_0.log)

vorher: 16:29:00.276

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: 16:29:00.366
Dauer: 89 msec phName: 'shelly-40:'Thomas Büro Licht''


Balkon-Licht (/srv/www/viehai/shelly/log_scenarios/2024/05/02/_1.log)

vorher: 16:29:00.289

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

nachher: 16:29:00.316
Dauer: 28 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/05/02/_2.log)

vorher: 16:29:00.303

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: 16:29:00.368
Dauer: 66 msec phName: 'shelly-40:'Thomas Büro Licht''


Stehlampe Anne hell (/srv/www/viehai/shelly/log_scenarios/2024/05/02/_3.log)

vorher: 16:29:00.315

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: 16:29:00.369
Dauer: 55 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/05/02/_4.log)

vorher: 16:29:00.328

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: 16:29:00.460
Dauer: 133 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 16:29:00.340

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: 16:29:00.594
Dauer: 253 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 16:29:00.353

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: 16:29:00.463
Dauer: 111 msec phName: 'shelly-40:'Thomas Büro Licht''


Sophie Licht (/srv/www/viehai/shelly/log_scenarios/2024/05/02/_7.log)

vorher: 16:29:00.366

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: 16:29:00.434
Dauer: 67 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 16:29:00.381

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: 16:29:00.404
Dauer: 22 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 16:29:00.395

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: 16:29:00.443
Dauer: 48 msec phName: 'shelly-40:'Thomas Büro Licht''


Schlafzimmer Licht (/srv/www/viehai/shelly/log_scenarios/2024/05/02/_10.log)

vorher: 16:29:00.408

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: 16:29:00.436
Dauer: 28 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 16:29:00.421

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: 16:29:00.458
Dauer: 36 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 16:29:00.434

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: 16:29:00.469
Dauer: 35 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 16:29:00.451

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: 16:29:00.490
Dauer: 38 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 16:29:00.468

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: 16:29:00.502
Dauer: 35 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe groß (/srv/www/viehai/shelly/log_scenarios/2024/05/02/_15.log)

vorher: 16:29:00.483

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

nachher: 16:29:00.537
Dauer: 53 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 16:29:00.499

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: 16:29:00.572
Dauer: 74 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Empore (/srv/www/viehai/shelly/log_scenarios/2024/05/02/_17.log)

vorher: 16:29:00.512

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: 16:29:00.597
Dauer: 84 msec phName: 'shelly-40:'Thomas Büro Licht''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/05/02/_18.log)

vorher: 16:29:00.524

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: 16:29:00.588
Dauer: 64 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 19
vorher : 16:29:00.238
nachher: 16:29:00.613
Dauer : 377 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/05/02//scene_homeOffice_20240502_162900.txt'


syslog

May  2 16:26:01 srv4hai CRON[15246]: (root) CMD (/etc/linetest/linetest.sh)
May  2 16:26:19 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
May  2 16:26:20 srv4hai fetchmail[1651]: 43382 messages (43382 seen) for tmiglinci at mail.akis.at (-682832689 octets).
May  2 16:26:20 srv4hai fetchmail[1651]: 10197 messages (10197 seen) for srozum at mail.akis.at (1230949843 octets).
May  2 16:26:21 srv4hai fetchmail[1651]: 23246 messages (23246 seen) for mrozum at mail.akis.at (-282559590 octets).
May  2 16:26:21 srv4hai fetchmail[1651]: 52 messages (52 seen) for admin@bastelstube.wien at pop3.world4you.com (12587653 octets).
May  2 16:27:01 srv4hai CRON[15279]: (root) CMD (/etc/linetest/linetest.sh)
May  2 16:27:03 srv4hai ping_SP[12097]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1714660023 - 'ping_SP_0'
May  2 16:27:03 srv4hai ping_SP[12097]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
May  2 16:28:01 srv4hai CRON[15319]: (root) CMD (/etc/linetest/linetest.sh)
May  2 16:28:15 srv4hai mosquitto[18551]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
May  2 16:28:16 srv4hai ping_SP[12097]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1714660096 - 'ping_SP_0'
May  2 16:28:16 srv4hai ping_SP[12097]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
May  2 16:28:21 srv4hai dhcpd[22856]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
May  2 16:28:21 srv4hai dhcpd[22856]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
May  2 16:28:21 srv4hai dhcpd[22856]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
May  2 16:28:21 srv4hai dhcpd[22856]: execute_statement argv[1] = 192.168.12.139
May  2 16:28:21 srv4hai dhcpd[22856]: execute_statement argv[2] = shelly-39
May  2 16:28:21 srv4hai dhcpd[22856]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
May  2 16:28:21 srv4hai dhcpd[22856]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
May  2 16:28:21 srv4hai named[15509]: client @0x7f93100a9530 192.168.12.252#34385/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
May  2 16:28:21 srv4hai named[15509]: client @0x7f9314041790 192.168.12.252#49917/key rndc-key: signer "rndc-key" approved
May  2 16:28:21 srv4hai named[15509]: client @0x7f9314041790 192.168.12.252#49917/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
May  2 16:28:21 srv4hai named[15509]: client @0x7f9314041790 192.168.12.252#49917/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
May  2 16:28:21 srv4hai named[15509]: client @0x7f9314041790 192.168.12.252#49917/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
May  2 16:28:21 srv4hai named[15509]: client @0x7f9314041790 192.168.12.252#49917/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
May  2 16:28:21 srv4hai dhcpd[22856]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
May  2 16:28:21 srv4hai named[15509]: client @0x7f931c65d6a0 192.168.12.252#55431/key rndc-key: signer "rndc-key" approved
May  2 16:28:21 srv4hai named[15509]: client @0x7f931c65d6a0 192.168.12.252#55431/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
May  2 16:28:21 srv4hai named[15509]: client @0x7f931c65d6a0 192.168.12.252#55431/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.
May  2 16:28:21 srv4hai dhcpd[22856]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
May  2 16:28:21 srv4hai common[15355]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
May  2 16:28:21 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf'
May  2 16:28:21 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
May  2 16:28:21 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
May  2 16:28:21 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}'
May  2 16:28:23 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 '.''
May  2 16:28:23 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
May  2 16:28:23 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
May  2 16:28:27 srv4hai common[15423]: SHELLY common.sh inkludiert von ./ht_shelly.sh
May  2 16:28:27 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=18.300000&hum=95.200000&id=C049EF8AC9D8&batt=100&volt=6.760000
May  2 16:28:27 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/05/shelly-39_20240502.csv'
May  2 16:28:27 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
May  2 16:28:27 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
May  2 16:28:27 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}'
May  2 16:28:27 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 '.''
May  2 16:28:27 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
May  2 16:28:27 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
May  2 16:28:27 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 18.3° - 95.2%
May  2 16:28:27 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 18.3°/17.7° - 95.2%/91.7% - SAVED
May  2 16:28:27 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt=''°
May  2 16:28:27 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-05-02T14:28:27.844Z",#012    "content": {#012      "temp": 18.3,#012      "hum": 95.2,#012      "batt": "",#012      "csvF": "shelly-39_20240502.csv"#012    },#012    "transaction": "9dee2483-3296-41fb-bf55-3dbf1e16dc7b"#012  }#012}'°
May  2 16:28:55 srv4hai postfix/anvil[15134]: statistics: max connection rate 1/60s for (smtp:80.76.49.171) at May  2 16:23:53
May  2 16:28:55 srv4hai postfix/anvil[15134]: statistics: max connection count 1 for (smtp:80.76.49.171) at May  2 16:23:53
May  2 16:28:55 srv4hai postfix/anvil[15134]: statistics: max cache size 1 at May  2 16:23:53
May  2 16:29:00 srv4hai activate_scenario[15542]: SHELLY scenario: 'homeOffice(homeoffice)' started
May  2 16:29:00 srv4hai activate_scenario[15542]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished