activate_scenario.sh
Sat Jul 20 14:04:35 CEST 2024
scenario: buero_UM
source: 192.168.12.140

'day' <--> 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/07/20/_0.log)

vorher: 14:04:36.054

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: 14:04:36.182
Dauer: 128 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 14:04:36.074

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: 14:04:36.157
Dauer: 83 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 2
vorher : 14:04:36.025
nachher: 14:04:36.189
Dauer : 164 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/20//scene_buero_UM_20240720_140435.txt'


syslog

Jul 20 14:01:01 srv4hai CRON[20592]: (root) CMD (/etc/linetest/linetest.sh)
Jul 20 14:01:21 srv4hai mosquitto[18551]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Jul 20 14:01:24 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721476884 - 'ping_SP_1'
Jul 20 14:01:24 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 20 14:01:35 srv4hai dhcpd[30731]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Jul 20 14:01:35 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Jul 20 14:01:35 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jul 20 14:01:35 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.139
Jul 20 14:01:35 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-39
Jul 20 14:01:35 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Jul 20 14:01:35 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Jul 20 14:01:35 srv4hai named[30406]: client @0x7f933010ba20 192.168.12.252#55229/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 20 14:01:35 srv4hai named[30406]: client @0x7f932c0cbfc0 192.168.12.252#52813/key rndc-key: signer "rndc-key" approved
Jul 20 14:01:35 srv4hai named[30406]: client @0x7f932c0cbfc0 192.168.12.252#52813/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Jul 20 14:01:35 srv4hai named[30406]: client @0x7f932c0cbfc0 192.168.12.252#52813/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Jul 20 14:01:35 srv4hai named[30406]: client @0x7f932c0cbfc0 192.168.12.252#52813/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Jul 20 14:01:35 srv4hai named[30406]: client @0x7f932c0cbfc0 192.168.12.252#52813/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Jul 20 14:01:35 srv4hai dhcpd[30731]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Jul 20 14:01:35 srv4hai named[30406]: client @0x7f93480026a0 192.168.12.252#60167/key rndc-key: signer "rndc-key" approved
Jul 20 14:01:35 srv4hai named[30406]: client @0x7f93480026a0 192.168.12.252#60167/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Jul 20 14:01:35 srv4hai named[30406]: client @0x7f93480026a0 192.168.12.252#60167/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.
Jul 20 14:01:35 srv4hai dhcpd[30731]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Jul 20 14:01:35 srv4hai common[20618]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jul 20 14:01:35 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf'
Jul 20 14:01:35 srv4hai common[20631]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jul 20 14:01:35 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=26.800000&hum=48.900000&id=C049EF8AC9D8&batt=100&volt=6.780000
Jul 20 14:01:35 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/07/shelly-39_20240720.csv'
Jul 20 14:01:35 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Jul 20 14:01:35 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Jul 20 14:01:35 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Jul 20 14:01:35 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Jul 20 14:01:35 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}'
Jul 20 14:01:35 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}'
Jul 20 14:01:35 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 '.''
Jul 20 14:01:35 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Jul 20 14:01:35 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 '.''
Jul 20 14:01:35 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Jul 20 14:01:35 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Jul 20 14:01:35 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 26.8° - 48.9%
Jul 20 14:01:35 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Jul 20 14:01:35 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 26.8°/26.4° - 48.9%/48.9% - SAVED
Jul 20 14:01:35 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'°
Jul 20 14:01:36 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-07-20T12:01:36.409Z",#012    "content": {#012      "temp": 26.8,#012      "hum": 48.9,#012      "batt": 100,#012      "csvF": "shelly-39_20240720.csv"#012    },#012    "transaction": "fd5dd6df-a3a1-4564-bc3d-ba4a857e9745"#012  }#012}'°
Jul 20 14:01:50 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20787, secured, session=
Jul 20 14:01:50 srv4hai dovecot: imap(miglincit)<20787>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 20 14:02:00 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721476920 - 'ping_SP_0'
Jul 20 14:02:00 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 20 14:02:01 srv4hai CRON[20807]: (root) CMD (/etc/linetest/linetest.sh)
Jul 20 14:02:38 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721476958 - 'ping_SP_1'
Jul 20 14:02:38 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 20 14:03:01 srv4hai CRON[20840]: (root) CMD (/etc/linetest/linetest.sh)
Jul 20 14:03:13 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721476993 - 'ping_SP_0'
Jul 20 14:03:13 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 20 14:03:51 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721477031 - 'ping_SP_1'
Jul 20 14:03:51 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 20 14:04:01 srv4hai CRON[20889]: (root) CMD (/etc/linetest/linetest.sh)
Jul 20 14:04:24 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul 20 14:04:25 srv4hai fetchmail[1651]: 49051 messages (49051 seen) for tmiglinci at mail.akis.at (-234563782 octets).
Jul 20 14:04:25 srv4hai fetchmail[1651]: 10479 messages (10479 seen) for srozum at mail.akis.at (1261747211 octets).
Jul 20 14:04:26 srv4hai fetchmail[1651]: 24848 messages (24848 seen) for mrozum at mail.akis.at (54796823 octets).
Jul 20 14:04:26 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Jul 20 14:04:27 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721477067 - 'ping_SP_0'
Jul 20 14:04:27 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 20 14:04:35 srv4hai activate_scenario[20915]: SHELLY scenario: 'buero_UM(buero_um)' started
Jul 20 14:04:35 srv4hai activate_scenario[20915]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished