activate_scenario.sh
Mon Jun 3 16:08:25 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/06/03/_0.log)

vorher: 16:08:26.105

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

nachher: 16:08:26.139
Dauer: 34 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 16:08:26.123

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

nachher: 16:08:26.176
Dauer: 54 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 2
vorher : 16:08:26.045
nachher: 16:08:26.182
Dauer : 140 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/03//scene_buero_UM_20240603_160825.txt'


syslog

Jun  3 16:05:01 srv4hai CRON[7573]: (root) CMD (/etc/linetest/linetest.sh)
Jun  3 16:05:02 srv4hai dhcpd[30731]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Jun  3 16:05:02 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Jun  3 16:05:02 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jun  3 16:05:02 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.139
Jun  3 16:05:02 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-39
Jun  3 16:05:03 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Jun  3 16:05:03 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Jun  3 16:05:03 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#36805/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jun  3 16:05:03 srv4hai named[30406]: client @0x7f9348090720 192.168.12.252#52423/key rndc-key: signer "rndc-key" approved
Jun  3 16:05:03 srv4hai named[30406]: client @0x7f9348090720 192.168.12.252#52423/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Jun  3 16:05:03 srv4hai named[30406]: client @0x7f9348090720 192.168.12.252#52423/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Jun  3 16:05:03 srv4hai named[30406]: client @0x7f9348090720 192.168.12.252#52423/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Jun  3 16:05:03 srv4hai named[30406]: client @0x7f9348090720 192.168.12.252#52423/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Jun  3 16:05:03 srv4hai dhcpd[30731]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Jun  3 16:05:03 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#53705/key rndc-key: signer "rndc-key" approved
Jun  3 16:05:03 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#53705/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Jun  3 16:05:03 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#53705/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.
Jun  3 16:05:03 srv4hai dhcpd[30731]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Jun  3 16:05:03 srv4hai common[7579]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jun  3 16:05:03 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf'
Jun  3 16:05:03 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Jun  3 16:05:03 srv4hai common[7598]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jun  3 16:05:03 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=23.700000&hum=57.100000&id=C049EF8AC9D8&batt=100&volt=6.760000
Jun  3 16:05:03 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-39_20240603.csv'
Jun  3 16:05:03 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Jun  3 16:05:03 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Jun  3 16:05:03 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Jun  3 16:05:03 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}'
Jun  3 16:05:03 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}'
Jun  3 16:05:03 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 '.''
Jun  3 16:05:03 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 '.''
Jun  3 16:05:03 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Jun  3 16:05:03 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Jun  3 16:05:03 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Jun  3 16:05:03 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Jun  3 16:05:03 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 23.7° - 57.1%
Jun  3 16:05:03 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 23.7°/24.2° - 57.1%/55.9% - SAVED
Jun  3 16:05:03 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'°
Jun  3 16:05:03 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-06-03T14:05:03.789Z",#012    "content": {#012      "temp": 23.7,#012      "hum": 57.1,#012      "batt": 100,#012      "csvF": "shelly-39_20240603.csv"#012    },#012    "transaction": "81a20ed8-34f0-4f43-a8c8-accc644f0dab"#012  }#012}'°
Jun  3 16:05:40 srv4hai ping_SP[15090]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1717423540 - 'ping_SP_0'
Jun  3 16:05:40 srv4hai ping_SP[15090]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun  3 16:06:01 srv4hai CRON[9683]: (root) CMD (/etc/linetest/linetest.sh)
Jun  3 16:06:54 srv4hai ping_SP[15090]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1717423614 - 'ping_SP_0'
Jun  3 16:06:54 srv4hai ping_SP[15090]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun  3 16:07:01 srv4hai CRON[9715]: (root) CMD (/etc/linetest/linetest.sh)
Jun  3 16:07:18 srv4hai postfix/smtpd[9723]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jun  3 16:07:18 srv4hai postfix/smtpd[9723]: connect from unknown[193.32.162.80]
Jun  3 16:07:18 srv4hai postfix/smtpd[9723]: warning: unknown[193.32.162.80]: SASL LOGIN authentication failed: Invalid authentication mechanism
Jun  3 16:07:19 srv4hai postfix/smtpd[9723]: lost connection after AUTH from unknown[193.32.162.80]
Jun  3 16:07:19 srv4hai postfix/smtpd[9723]: disconnect from unknown[193.32.162.80] ehlo=1 auth=0/1 commands=1/2
Jun  3 16:08:01 srv4hai CRON[9739]: (root) CMD (/etc/linetest/linetest.sh)
Jun  3 16:08:07 srv4hai ping_SP[15090]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1717423687 - 'ping_SP_0'
Jun  3 16:08:07 srv4hai ping_SP[15090]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun  3 16:08:12 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jun  3 16:08:13 srv4hai fetchmail[1651]: 45614 messages (45614 seen) for tmiglinci at mail.akis.at (-530747824 octets).
Jun  3 16:08:13 srv4hai fetchmail[1651]: 10286 messages (10286 seen) for srozum at mail.akis.at (1238307482 octets).
Jun  3 16:08:14 srv4hai fetchmail[1651]: 23848 messages (23848 seen) for mrozum at mail.akis.at (-177512041 octets).
Jun  3 16:08:14 srv4hai fetchmail[1651]: 86 messages (86 seen) for admin@bastelstube.wien at pop3.world4you.com (33311211 octets).
Jun  3 16:08:26 srv4hai activate_scenario[9767]: SHELLY scenario: 'buero_UM(buero_um)' started
Jun  3 16:08:26 srv4hai activate_scenario[9767]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished