activate_scenario.sh
Tue Apr 30 20:06:11 CEST 2024
scenario: buero_UM
source: 192.168.12.140

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

scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

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

vorher: 20:06:11.893

http://192.168.12.108/relay/0?turn=toggle
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 20:06:12.232
Dauer: 339 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 20:06:11.907

http://192.168.12.140/relay/0?turn=toggle
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 20:06:11.961
Dauer: 54 msec phName: 'shelly-40:'Thomas Büro Licht''


scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

urls : 2
vorher : 20:06:11.872
nachher: 20:06:12.240
Dauer : 367 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/30//scene_buero_UM_20240430_200611.txt'


syslog

Apr 30 20:03:01 srv4hai CRON[13232]: (root) CMD (/etc/linetest/linetest.sh)
Apr 30 20:03:31 srv4hai ping_SP[14658]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1714500211 - 'ping_SP_1'
Apr 30 20:03:31 srv4hai ping_SP[14658]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 30 20:04:01 srv4hai CRON[13274]: (root) CMD (/etc/linetest/linetest.sh)
Apr 30 20:04:05 srv4hai dhcpd[22856]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Apr 30 20:04:05 srv4hai dhcpd[22856]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Apr 30 20:04:05 srv4hai dhcpd[22856]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Apr 30 20:04:05 srv4hai dhcpd[22856]: execute_statement argv[1] = 192.168.12.139
Apr 30 20:04:05 srv4hai dhcpd[22856]: execute_statement argv[2] = shelly-39
Apr 30 20:04:05 srv4hai dhcpd[22856]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Apr 30 20:04:05 srv4hai dhcpd[22856]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Apr 30 20:04:05 srv4hai named[15509]: client @0x7f93040065c0 192.168.12.252#51317/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr 30 20:04:05 srv4hai named[15509]: client @0x7f9318030580 192.168.12.252#46615/key rndc-key: signer "rndc-key" approved
Apr 30 20:04:05 srv4hai named[15509]: client @0x7f9318030580 192.168.12.252#46615/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Apr 30 20:04:05 srv4hai named[15509]: client @0x7f9318030580 192.168.12.252#46615/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Apr 30 20:04:05 srv4hai named[15509]: client @0x7f9318030580 192.168.12.252#46615/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Apr 30 20:04:05 srv4hai named[15509]: client @0x7f9318030580 192.168.12.252#46615/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Apr 30 20:04:05 srv4hai dhcpd[22856]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Apr 30 20:04:05 srv4hai named[15509]: client @0x7f930806d890 192.168.12.252#57201/key rndc-key: signer "rndc-key" approved
Apr 30 20:04:05 srv4hai named[15509]: client @0x7f930806d890 192.168.12.252#57201/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Apr 30 20:04:05 srv4hai named[15509]: client @0x7f930806d890 192.168.12.252#57201/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 30 20:04:05 srv4hai dhcpd[22856]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Apr 30 20:04:05 srv4hai common[13280]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Apr 30 20:04:05 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf'
Apr 30 20:04:05 srv4hai common[13293]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Apr 30 20:04:05 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=23.500000&hum=34.500000&id=C049EF8AC9D8&batt=100&volt=6.810000
Apr 30 20:04:05 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/04/shelly-39_20240430.csv'
Apr 30 20:04:05 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Apr 30 20:04:05 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Apr 30 20:04:05 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 30 20:04:05 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 30 20:04:05 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Apr 30 20:04:05 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Apr 30 20:04:05 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 23.5° - 34.5%
Apr 30 20:04:05 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 23.5°/24° - 34.5%/33.4% - SAVED
Apr 30 20:04:05 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'°
Apr 30 20:04:05 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Apr 30 20:04:05 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Apr 30 20:04:05 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 30 20:04:05 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-04-30T18:04:05.912Z",#012    "content": {#012      "temp": 23.5,#012      "hum": 34.5,#012      "batt": 100,#012      "csvF": "shelly-39_20240430.csv"#012    },#012    "transaction": "01436c86-090f-44ca-b37e-ebb38aa14de6"#012  }#012}'°
Apr 30 20:04:06 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 30 20:04:06 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Apr 30 20:04:06 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Apr 30 20:04:07 srv4hai ping_SP[9370]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1714500247 - 'ping_SP_0'
Apr 30 20:04:07 srv4hai ping_SP[9370]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 30 20:04:44 srv4hai ping_SP[14658]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1714500284 - 'ping_SP_1'
Apr 30 20:04:44 srv4hai ping_SP[14658]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 30 20:05:01 srv4hai CRON[13483]: (root) CMD (/etc/linetest/linetest.sh)
Apr 30 20:05:20 srv4hai ping_SP[9370]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1714500320 - 'ping_SP_0'
Apr 30 20:05:20 srv4hai ping_SP[9370]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 30 20:05:32 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=13515, secured, session=
Apr 30 20:05:33 srv4hai dovecot: imap(miglincit)<13515>: Logged out in=450 out=1240 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 30 20:05:57 srv4hai ping_SP[14658]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1714500357 - 'ping_SP_1'
Apr 30 20:05:57 srv4hai ping_SP[14658]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 30 20:06:01 srv4hai CRON[13542]: (root) CMD (/etc/linetest/linetest.sh)
Apr 30 20:06:11 srv4hai activate_scenario[13548]: SHELLY scenario: 'buero_UM(buero_um)' started
Apr 30 20:06:11 srv4hai activate_scenario[13548]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished