activate_scenario.sh
Tue Aug 20 11:04:13 CEST 2024
scenario: offDownstairs
source: 192.168.12.123

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

scenario: 'Licht Unten AUS-schalten' - 'offDownstairs' - 'offdownstairs'

Wandlicht beim Esstisch (/srv/www/viehai/shelly/log_scenarios/2024/08/20/_0.log)

vorher: 11:04:13.749

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:04:13.784
Dauer: 35 msec phName: 'shelly-23:'Licht Sekretär''


Balkon-Licht (/srv/www/viehai/shelly/log_scenarios/2024/08/20/_1.log)

vorher: 11:04:13.762

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:04:13.792
Dauer: 29 msec phName: 'shelly-23:'Licht Sekretär''


Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/08/20/_2.log)

vorher: 11:04:13.776

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:04:13.810
Dauer: 35 msec phName: 'shelly-23:'Licht Sekretär''


Stehlampe Anne hell (/srv/www/viehai/shelly/log_scenarios/2024/08/20/_3.log)

vorher: 11:04:13.788

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: 11:04:13.815
Dauer: 28 msec phName: 'shelly-23:'Licht Sekretär''


Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/08/20/_4.log)

vorher: 11:04:13.802

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:04:13.856
Dauer: 54 msec phName: 'shelly-23:'Licht Sekretär''


WZ Bücherregal (/srv/www/viehai/shelly/log_scenarios/2024/08/20/_5.log)

vorher: 11:04:13.814

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: 11:04:13.868
Dauer: 54 msec phName: 'shelly-23:'Licht Sekretär''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/08/20/_6.log)

vorher: 11:04:13.830

http://192.168.12.116/white/0?turn=off&brightness=70
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 70,
  "transition": 0,
  "power": 10.8,
  "overpower": false

nachher: 11:04:13.881
Dauer: 51 msec phName: 'shelly-23:'Licht Sekretär''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/08/20/_7.log)

vorher: 11:04:13.845

http://192.168.12.116/white/1?turn=off&brightness=70
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 70,
  "transition": 0,
  "power": 10.8,
  "overpower": false

nachher: 11:04:13.878
Dauer: 34 msec phName: 'shelly-23:'Licht Sekretär''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/08/20/_8.log)

vorher: 11:04:13.858

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:04:13.898
Dauer: 41 msec phName: 'shelly-23:'Licht Sekretär''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/08/20/_9.log)

vorher: 11:04:13.871

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:04:13.969
Dauer: 98 msec phName: 'shelly-23:'Licht Sekretär''


Fernsehlampe groß (/srv/www/viehai/shelly/log_scenarios/2024/08/20/_10.log)

vorher: 11:04:13.887

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:04:13.931
Dauer: 45 msec phName: 'shelly-23:'Licht Sekretär''


WC (/srv/www/viehai/shelly/log_scenarios/2024/08/20/_11.log)

vorher: 11:04:13.900

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

nachher: 11:04:13.977
Dauer: 77 msec phName: 'shelly-23:'Licht Sekretär''


Licht Sekretär (/srv/www/viehai/shelly/log_scenarios/2024/08/20/_12.log)

vorher: 11:04:13.914

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

nachher: 11:04:13.978
Dauer: 63 msec phName: 'shelly-23:'Licht Sekretär''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/08/20/_13.log)

vorher: 11:04:13.929

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

nachher: 11:04:13.965
Dauer: 36 msec phName: 'shelly-23:'Licht Sekretär''


scenario: 'Licht Unten AUS-schalten' - 'offDownstairs' - 'offdownstairs'

urls : 14
vorher : 11:04:13.731
nachher: 11:04:13.986
Dauer : 256 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/08/20//scene_offDownstairs_20240820_110413.txt'


syslog

Aug 20 11:01:01 srv4hai CRON[15330]: (root) CMD (/etc/linetest/linetest.sh)
Aug 20 11:01:15 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=15337, secured, session=
Aug 20 11:01:15 srv4hai dovecot: imap(miglincit)<15337>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug 20 11:01:15 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=15339, secured, session=
Aug 20 11:01:15 srv4hai dovecot: imap(rozumm)<15339>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug 20 11:01:35 srv4hai ping_SP[31134]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1724144495 - 'ping_SP_1'
Aug 20 11:01:35 srv4hai ping_SP[31134]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Aug 20 11:01:39 srv4hai postfix/anvil[14332]: statistics: max connection rate 1/60s for (smtp:178.215.236.137) at Aug 20 10:58:19
Aug 20 11:01:39 srv4hai postfix/anvil[14332]: statistics: max connection count 1 for (smtp:178.215.236.137) at Aug 20 10:58:19
Aug 20 11:01:39 srv4hai postfix/anvil[14332]: statistics: max cache size 1 at Aug 20 10:58:19
Aug 20 11:02:01 srv4hai CRON[15373]: (root) CMD (/etc/linetest/linetest.sh)
Aug 20 11:02:15 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=15380, secured, session=
Aug 20 11:02:15 srv4hai dovecot: imap(rozumm)<15380>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug 20 11:02:23 srv4hai dhcpd[30731]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Aug 20 11:02:23 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Aug 20 11:02:23 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Aug 20 11:02:23 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.139
Aug 20 11:02:23 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-39
Aug 20 11:02:23 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Aug 20 11:02:23 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Aug 20 11:02:23 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#50523/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Aug 20 11:02:23 srv4hai named[30406]: client @0x7f931002f1e0 192.168.12.252#59121/key rndc-key: signer "rndc-key" approved
Aug 20 11:02:23 srv4hai named[30406]: client @0x7f931002f1e0 192.168.12.252#59121/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Aug 20 11:02:23 srv4hai named[30406]: client @0x7f931002f1e0 192.168.12.252#59121/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Aug 20 11:02:23 srv4hai named[30406]: client @0x7f931002f1e0 192.168.12.252#59121/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Aug 20 11:02:23 srv4hai named[30406]: client @0x7f931002f1e0 192.168.12.252#59121/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Aug 20 11:02:23 srv4hai dhcpd[30731]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Aug 20 11:02:23 srv4hai named[30406]: client @0x7f93100debd0 192.168.12.252#42529/key rndc-key: signer "rndc-key" approved
Aug 20 11:02:23 srv4hai named[30406]: client @0x7f93100debd0 192.168.12.252#42529/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Aug 20 11:02:23 srv4hai named[30406]: client @0x7f93100debd0 192.168.12.252#42529/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.
Aug 20 11:02:23 srv4hai dhcpd[30731]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Aug 20 11:02:23 srv4hai common[15385]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Aug 20 11:02:23 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf'
Aug 20 11:02:23 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Aug 20 11:02:23 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Aug 20 11:02:23 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}'
Aug 20 11:02: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 '.''
Aug 20 11:02:23 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Aug 20 11:02:23 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Aug 20 11:02:26 srv4hai common[15436]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Aug 20 11:02:26 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=24&hum=65.100000&id=C049EF8AC9D8&batt=100&volt=6.610000
Aug 20 11:02:26 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/08/shelly-39_20240820.csv'
Aug 20 11:02:26 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Aug 20 11:02:26 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Aug 20 11:02:26 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}'
Aug 20 11:02: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 '.''
Aug 20 11:02:26 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Aug 20 11:02:26 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Aug 20 11:02:26 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 24° - 65.1%
Aug 20 11:02:26 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 24°/23.5° - 65.1%/66.2% - SAVED
Aug 20 11:02:26 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'°
Aug 20 11:02: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-08-20T09:02:26.912Z",#012    "content": {#012      "temp": 24,#012      "hum": 65.1,#012      "batt": 100,#012      "csvF": "shelly-39_20240820.csv"#012    },#012    "transaction": "6352a2b5-b195-4cc9-9295-641b66d6156b"#012  }#012}'°
Aug 20 11:02:32 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Aug 20 11:02:33 srv4hai fetchmail[1651]: 50371 messages (50371 seen) for tmiglinci at mail.akis.at (-126682768 octets).
Aug 20 11:02:34 srv4hai fetchmail[1651]: 10600 messages (10600 seen) for srozum at mail.akis.at (1279029270 octets).
Aug 20 11:02:34 srv4hai fetchmail[1651]: 25403 messages (25403 seen) for mrozum at mail.akis.at (140635727 octets).
Aug 20 11:02:35 srv4hai fetchmail[1651]: 1141 messages (1141 seen) for admin@bastelstube.wien at pop3.world4you.com (51598561 octets).
Aug 20 11:02:38 srv4hai ping_SP[31134]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1724144558 - 'ping_SP_1'
Aug 20 11:02:38 srv4hai ping_SP[31134]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Aug 20 11:03:01 srv4hai CRON[15575]: (root) CMD (/etc/linetest/linetest.sh)
Aug 20 11:03:15 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=15587, secured, session=<2l8pshkg4uQAAAAAAAAAAAAAAAAAAAAB>
Aug 20 11:03:15 srv4hai dovecot: imap(rozumm)<15587><2l8pshkg4uQAAAAAAAAAAAAAAAAAAAAB>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug 20 11:03:42 srv4hai ping_SP[31134]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1724144622 - 'ping_SP_1'
Aug 20 11:03:42 srv4hai ping_SP[31134]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Aug 20 11:04:01 srv4hai CRON[15622]: (root) CMD (/etc/linetest/linetest.sh)
Aug 20 11:04:13 srv4hai activate_scenario[15628]: SHELLY scenario: 'offDownstairs(offdownstairs)' started
Aug 20 11:04:13 srv4hai activate_scenario[15628]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-23:'Licht Sekretär'

finished