activate_scenario.sh
Mon Feb 26 23:17:01 CET 2024
scenario: bedlight_tom
source: 192.168.12.112

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

scenario: 'Nachttischlampe Thomas UM-schalten' - 'bedlight_tom' - 'bedlight_tom'

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

vorher: 23:17:01.357

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

nachher: 23:17:01.398
Dauer: 40 msec phName: 'shelly-12:'Schlafzimmer Licht''


scenario: 'Nachttischlampe Thomas UM-schalten' - 'bedlight_tom' - 'bedlight_tom'

urls : 1
vorher : 23:17:01.325
nachher: 23:17:01.404
Dauer : 81 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/26//scene_bedlight_tom_20240226_231701.txt'


syslog

Feb 26 23:14:01 srv4hai CRON[20298]: (root) CMD (/etc/linetest/linetest.sh)
Feb 26 23:14:17 srv4hai ping_SP[3929]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1708985657 - 'ping_SP_1'
Feb 26 23:14:17 srv4hai ping_SP[3929]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 26 23:14:23 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb 26 23:14:24 srv4hai fetchmail[1651]: 38836 messages (38836 seen) for tmiglinci at mail.akis.at (-1086074591 octets).
Feb 26 23:14:24 srv4hai fetchmail[1651]: 9940 messages (9940 seen) for srozum at mail.akis.at (1200750461 octets).
Feb 26 23:14:25 srv4hai fetchmail[1651]: 21882 messages (21882 seen) for mrozum at mail.akis.at (-546565260 octets).
Feb 26 23:14:25 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Feb 26 23:14:37 srv4hai dhcpd[5037]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Feb 26 23:14:37 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Feb 26 23:14:37 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 26 23:14:37 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.139
Feb 26 23:14:37 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-39
Feb 26 23:14:37 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Feb 26 23:14:37 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Feb 26 23:14:37 srv4hai named[14530]: client @0x7fc31c0b2820 192.168.12.252#38769/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 26 23:14:37 srv4hai named[14530]: client @0x7fc3200dae40 192.168.12.252#44157/key rndc-key: signer "rndc-key" approved
Feb 26 23:14:37 srv4hai named[14530]: client @0x7fc3200dae40 192.168.12.252#44157/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Feb 26 23:14:37 srv4hai named[14530]: client @0x7fc3200dae40 192.168.12.252#44157/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Feb 26 23:14:37 srv4hai named[14530]: client @0x7fc3200dae40 192.168.12.252#44157/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Feb 26 23:14:37 srv4hai named[14530]: client @0x7fc3200dae40 192.168.12.252#44157/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Feb 26 23:14:37 srv4hai dhcpd[5037]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Feb 26 23:14:37 srv4hai named[14530]: client @0x7fc308060380 192.168.12.252#40209/key rndc-key: signer "rndc-key" approved
Feb 26 23:14:37 srv4hai named[14530]: client @0x7fc308060380 192.168.12.252#40209/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Feb 26 23:14:37 srv4hai named[14530]: client @0x7fc308060380 192.168.12.252#40209/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.
Feb 26 23:14:37 srv4hai dhcpd[5037]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Feb 26 23:14:37 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Feb 26 23:14:37 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Feb 26 23:14:37 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=10.400000&hum=54.100000&id=C049EF8AC9D8&batt=100&volt=6.750000
Feb 26 23:14:37 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-39_20240226.csv'
Feb 26 23:14:37 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Feb 26 23:14:37 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Feb 26 23:14:37 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}'
Feb 26 23:14:37 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Feb 26 23:14:37 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}'
Feb 26 23:14:37 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 '.''
Feb 26 23:14:37 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Feb 26 23:14:37 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 '.''
Feb 26 23:14:37 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Feb 26 23:14:37 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Feb 26 23:14:37 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Feb 26 23:14:37 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 10.4° - 54.1%
Feb 26 23:14:37 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 10.4°/10.9° - 54.1%/51.7% - SAVED
Feb 26 23:14:37 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'°
Feb 26 23:14:38 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-02-26T22:14:38.337Z",#012    "content": {#012      "temp": 10.4,#012      "hum": 54.1,#012      "batt": 100#012    },#012    "transaction": "e46da3cf-6f1c-4307-a0dc-c74ea7747998"#012  }#012}'°
Feb 26 23:14:48 srv4hai ping_SP[24843]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1708985688 - 'ping_SP_0'
Feb 26 23:14:48 srv4hai ping_SP[24843]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 26 23:15:01 srv4hai CRON[20512]: (root) CMD (/etc/linetest/linetest.sh)
Feb 26 23:15:11 srv4hai postfix/smtpd[20520]: connect from unknown[45.128.96.239]
Feb 26 23:15:11 srv4hai postfix/smtpd[20520]: warning: unknown[45.128.96.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Feb 26 23:15:11 srv4hai postfix/smtpd[20520]: disconnect from unknown[45.128.96.239] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb 26 23:15:30 srv4hai ping_SP[3929]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1708985730 - 'ping_SP_1'
Feb 26 23:15:30 srv4hai ping_SP[3929]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 26 23:16:01 srv4hai ping_SP[24843]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1708985761 - 'ping_SP_0'
Feb 26 23:16:01 srv4hai ping_SP[24843]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 26 23:16:01 srv4hai CRON[20573]: (root) CMD (/etc/linetest/linetest.sh)
Feb 26 23:16:32 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20589, secured, session=
Feb 26 23:16:32 srv4hai dovecot: imap(miglincit)<20589>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 26 23:16:44 srv4hai ping_SP[3929]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1708985804 - 'ping_SP_1'
Feb 26 23:16:44 srv4hai ping_SP[3929]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 26 23:17:01 srv4hai CRON[20617]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Feb 26 23:17:01 srv4hai CRON[20618]: (root) CMD (/etc/linetest/linetest.sh)
Feb 26 23:17:01 srv4hai activate_scenario[20624]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started
Feb 26 23:17:01 srv4hai activate_scenario[20624]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'Schlafzimmer Licht'

finished