activate_scenario.sh
Tue Jul 9 18:14:55 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/09/_0.log)

vorher: 18:14:55.589

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: 18:14:55.627
Dauer: 39 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 18:14:55.600

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: 18:14:55.638
Dauer: 38 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 2
vorher : 18:14:55.570
nachher: 18:14:55.645
Dauer : 76 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/09//scene_buero_UM_20240709_181455.txt'


syslog

Jul  9 18:11:01 srv4hai CRON[13818]: (root) CMD (/etc/linetest/linetest.sh)
Jul  9 18:11:15 srv4hai nmbd[2172]: [2024/07/09 18:11:15.191650,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Jul  9 18:11:15 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Jul  9 18:11:15 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Jul  9 18:11:15 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Jul  9 18:11:22 srv4hai postfix/anvil[12746]: statistics: max connection rate 1/60s for (smtp:178.215.236.182) at Jul  9 18:08:02
Jul  9 18:11:22 srv4hai postfix/anvil[12746]: statistics: max connection count 1 for (smtp:178.215.236.182) at Jul  9 18:08:02
Jul  9 18:11:22 srv4hai postfix/anvil[12746]: statistics: max cache size 1 at Jul  9 18:08:02
Jul  9 18:11:29 srv4hai ping_SP[8691]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720541489 - 'ping_SP_0'
Jul  9 18:11:29 srv4hai ping_SP[8691]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  9 18:11:39 srv4hai postfix/qmgr[8566]: 0963C6004D: from=, size=1541, nrcpt=1 (queue active)
Jul  9 18:11:40 srv4hai named[30406]: REFUSED unexpected RCODE resolving 'outlook.nl/MX/IN': 77.72.169.216#53
Jul  9 18:11:40 srv4hai named[30406]: REFUSED unexpected RCODE resolving 'outlook.nl/MX/IN': 77.72.175.216#53
Jul  9 18:11:40 srv4hai postfix/smtp[13856]: 0963C6004D: to=, relay=none, delay=59141, delays=59140/0.01/0.65/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=outlook.nl type=MX: Host not found, try again)
Jul  9 18:12:01 srv4hai CRON[13861]: (root) CMD (/etc/linetest/linetest.sh)
Jul  9 18:12:14 srv4hai dhcpd[30731]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Jul  9 18:12:14 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Jul  9 18:12:14 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jul  9 18:12:14 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.139
Jul  9 18:12:14 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-39
Jul  9 18:12:14 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Jul  9 18:12:14 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Jul  9 18:12:14 srv4hai named[30406]: client @0x7f934c0aebf0 192.168.12.252#55677/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul  9 18:12:14 srv4hai named[30406]: client @0x7f93300c1420 192.168.12.252#35535/key rndc-key: signer "rndc-key" approved
Jul  9 18:12:14 srv4hai named[30406]: client @0x7f93300c1420 192.168.12.252#35535/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Jul  9 18:12:14 srv4hai named[30406]: client @0x7f93300c1420 192.168.12.252#35535/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Jul  9 18:12:14 srv4hai named[30406]: client @0x7f93300c1420 192.168.12.252#35535/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Jul  9 18:12:14 srv4hai named[30406]: client @0x7f93300c1420 192.168.12.252#35535/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Jul  9 18:12:14 srv4hai dhcpd[30731]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Jul  9 18:12:14 srv4hai named[30406]: client @0x7f93501490e0 192.168.12.252#54261/key rndc-key: signer "rndc-key" approved
Jul  9 18:12:14 srv4hai named[30406]: client @0x7f93501490e0 192.168.12.252#54261/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Jul  9 18:12:14 srv4hai named[30406]: client @0x7f93501490e0 192.168.12.252#54261/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  9 18:12:14 srv4hai dhcpd[30731]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Jul  9 18:12:14 srv4hai common[13870]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jul  9 18:12:14 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf'
Jul  9 18:12:16 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Jul  9 18:12:16 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Jul  9 18:12:16 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  9 18:12:16 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  9 18:12:16 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Jul  9 18:12:16 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Jul  9 18:12:22 srv4hai common[13937]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jul  9 18:12:22 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=30.800000&hum=50.600000&id=C049EF8AC9D8&batt=100&volt=6.780000
Jul  9 18:12:22 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/07/shelly-39_20240709.csv'
Jul  9 18:12:22 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Jul  9 18:12:23 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Jul  9 18:12: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}'
Jul  9 18:12: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 '.''
Jul  9 18:12:23 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Jul  9 18:12:23 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Jul  9 18:12:23 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 30.8° - 50.6%
Jul  9 18:12:23 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 30.8°/31.3° - 50.6%/49.3% - SAVED
Jul  9 18:12:23 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'°
Jul  9 18:12:23 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-09T16:12:23.643Z",#012    "content": {#012      "temp": 30.8,#012      "hum": 50.6,#012      "batt": 100,#012      "csvF": "shelly-39_20240709.csv"#012    },#012    "transaction": "a282de18-75f6-493b-812d-9c5185b8d55b"#012  }#012}'°
Jul  9 18:12:42 srv4hai ping_SP[8691]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720541562 - 'ping_SP_0'
Jul  9 18:12:42 srv4hai ping_SP[8691]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  9 18:12:57 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul  9 18:12:58 srv4hai fetchmail[1651]: 48317 messages (48316 seen) for tmiglinci at mail.akis.at (-306807235 octets).
Jul  9 18:12:58 srv4hai postfix/smtpd[14054]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul  9 18:12:58 srv4hai postfix/smtpd[14054]: connect from localhost[127.0.0.1]
Jul  9 18:12:58 srv4hai postfix/smtpd[14054]: 68A576004E: client=localhost[127.0.0.1]
Jul  9 18:12:58 srv4hai postfix/cleanup[14056]: 68A576004E: message-id=<20240709160800.b9a921fc62be0554@backercity.com>
Jul  9 18:12:58 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:48317 of 48317 (13022 octets) not flushed
Jul  9 18:12:58 srv4hai postfix/qmgr[8566]: 68A576004E: from=, size=13273, nrcpt=1 (queue active)
Jul  9 18:12:58 srv4hai postfix/local[14057]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul  9 18:12:58 srv4hai postfix/local[14057]: 68A576004E: to=, relay=local, delay=0.07, delays=0.05/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul  9 18:12:58 srv4hai postfix/qmgr[8566]: 68A576004E: removed
Jul  9 18:12:58 srv4hai postfix/smtpd[14054]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Jul  9 18:12:58 srv4hai fetchmail[1651]: 10425 messages (10425 seen) for srozum at mail.akis.at (1251423200 octets).
Jul  9 18:12:59 srv4hai fetchmail[1651]: 24645 messages (24645 seen) for mrozum at mail.akis.at (22152080 octets).
Jul  9 18:13:00 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Jul  9 18:13:01 srv4hai CRON[14060]: (root) CMD (/etc/linetest/linetest.sh)
Jul  9 18:13:55 srv4hai ping_SP[8691]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720541635 - 'ping_SP_0'
Jul  9 18:13:55 srv4hai ping_SP[8691]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  9 18:14:01 srv4hai CRON[14096]: (root) CMD (/etc/linetest/linetest.sh)
Jul  9 18:14:55 srv4hai activate_scenario[14107]: SHELLY scenario: 'buero_UM(buero_um)' started
Jul  9 18:14:55 srv4hai activate_scenario[14107]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished