activate_scenario.sh
Fri Jul 5 19:26:56 CEST 2024
scenario: pcOFF
source: 192.168.12.10

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

scenario: 'Schreibtisch Thomas AUS-schalten' - 'pcOFF' - 'pcoff'

Thomas Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/07/05/_0.log)

vorher: 19:26:56.740

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

nachher: 19:26:56.774
Dauer: 34 msec phName: 'shelly-0:'''


scenario: 'Schreibtisch Thomas AUS-schalten' - 'pcOFF' - 'pcoff'

urls : 1
vorher : 19:26:56.719
nachher: 19:26:56.781
Dauer : 61 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/05//scene_pcOFF_20240705_192656.txt'


syslog

Jul  5 19:23:01 srv4hai CRON[14970]: (root) CMD (/etc/linetest/linetest.sh)
Jul  5 19:23:23 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=14978, secured, session=
Jul  5 19:23:23 srv4hai dovecot: imap(miglincit)<14978>: Logged out in=443 out=46165 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=492 body_count=1 body_bytes=43968
Jul  5 19:23:41 srv4hai named[30406]: resolver priming query complete
Jul  5 19:23:57 srv4hai dhcpd[30731]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Jul  5 19:23:57 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Jul  5 19:23:57 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jul  5 19:23:57 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.139
Jul  5 19:23:57 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-39
Jul  5 19:23:57 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Jul  5 19:23:57 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Jul  5 19:23:57 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#40667/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul  5 19:23:57 srv4hai named[30406]: client @0x7f93380a5c40 192.168.12.252#43371/key rndc-key: signer "rndc-key" approved
Jul  5 19:23:57 srv4hai named[30406]: client @0x7f93380a5c40 192.168.12.252#43371/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Jul  5 19:23:57 srv4hai named[30406]: client @0x7f93380a5c40 192.168.12.252#43371/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Jul  5 19:23:57 srv4hai named[30406]: client @0x7f93380a5c40 192.168.12.252#43371/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Jul  5 19:23:57 srv4hai named[30406]: client @0x7f93380a5c40 192.168.12.252#43371/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Jul  5 19:23:57 srv4hai dhcpd[30731]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Jul  5 19:23:57 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#50431/key rndc-key: signer "rndc-key" approved
Jul  5 19:23:57 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#50431/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Jul  5 19:23:57 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#50431/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  5 19:23:57 srv4hai dhcpd[30731]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Jul  5 19:23:57 srv4hai common[14997]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jul  5 19:23:57 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf'
Jul  5 19:23:57 srv4hai common[15009]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jul  5 19:23:57 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=28.900000&hum=40.100000&id=C049EF8AC9D8&batt=100&volt=6.770000
Jul  5 19:23:57 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/07/shelly-39_20240705.csv'
Jul  5 19:23:57 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Jul  5 19:23:57 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Jul  5 19:23:57 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Jul  5 19:23:57 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  5 19:23:57 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Jul  5 19:23:57 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  5 19:23:57 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  5 19:23:57 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Jul  5 19:23:57 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Jul  5 19:23:57 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  5 19:23:57 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Jul  5 19:23:57 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 28.9° - 40.1%
Jul  5 19:23:57 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 28.9°/29.4° - 40.1%/38.7% - SAVED
Jul  5 19:23:57 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'°
Jul  5 19:23:57 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Jul  5 19:23:57 srv4hai named[30406]: resolver priming query complete
Jul  5 19:23:58 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-05T17:23:57.964Z",#012    "content": {#012      "temp": 28.9,#012      "hum": 40.1,#012      "batt": 100,#012      "csvF": "shelly-39_20240705.csv"#012    },#012    "transaction": "1ee5659e-66c7-4f26-ae9e-cc54144c03e7"#012  }#012}'°
Jul  5 19:24:01 srv4hai CRON[15162]: (root) CMD (/etc/linetest/linetest.sh)
Jul  5 19:24:01 srv4hai named[30406]: resolver priming query complete
Jul  5 19:24:02 srv4hai ping_SP[21836]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1720200242 - 'ping_SP_1'
Jul  5 19:24:02 srv4hai ping_SP[21836]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul  5 19:24:04 srv4hai ping_SP[31250]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720200244 - 'ping_SP_0'
Jul  5 19:24:04 srv4hai ping_SP[31250]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  5 19:24:44 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=15207, secured, session=
Jul  5 19:24:44 srv4hai dovecot: imap(miglincit)<15207>: Logged out in=828 out=61999 deleted=0 expunged=0 trashed=0 hdr_count=68 hdr_bytes=31797 body_count=0 body_bytes=0
Jul  5 19:24:47 srv4hai named[30406]: resolver priming query complete
Jul  5 19:25:01 srv4hai CRON[15213]: (root) CMD (/etc/linetest/linetest.sh)
Jul  5 19:25:15 srv4hai ping_SP[21836]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1720200315 - 'ping_SP_1'
Jul  5 19:25:15 srv4hai ping_SP[21836]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul  5 19:25:18 srv4hai ping_SP[31250]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720200318 - 'ping_SP_0'
Jul  5 19:25:18 srv4hai ping_SP[31250]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  5 19:25:20 srv4hai named[30406]: resolver priming query complete
Jul  5 19:26:01 srv4hai CRON[15265]: (root) CMD (/etc/linetest/linetest.sh)
Jul  5 19:26:12 srv4hai nmbd[2172]: [2024/07/05 19:26:12.415095,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Jul  5 19:26:12 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Jul  5 19:26:12 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Jul  5 19:26:12 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Jul  5 19:26:26 srv4hai named[30406]: resolver priming query complete
Jul  5 19:26:29 srv4hai ping_SP[21836]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1720200389 - 'ping_SP_1'
Jul  5 19:26:29 srv4hai ping_SP[21836]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul  5 19:26:31 srv4hai ping_SP[31250]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720200391 - 'ping_SP_0'
Jul  5 19:26:31 srv4hai ping_SP[31250]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  5 19:26:31 srv4hai named[30406]: resolver priming query complete
Jul  5 19:26:56 srv4hai activate_scenario[15320]: SHELLY scenario: 'pcOFF(pcoff)' started
Jul  5 19:26:56 srv4hai activate_scenario[15320]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''

finished