activate_scenario.sh
Mon Oct 14 09:25:24 CEST 2024
scenario: pcON
origin: dhcpcommit.sh-pchai7x

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

scenario: 'Schreibtisch Thomas EIN-schalten' - 'pcON' - 'pcon'

Thomas Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/10/14/_0.log)

vorher: 09:25:25.048

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

nachher: 09:25:25.088
Dauer: 41 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


scenario: 'Schreibtisch Thomas EIN-schalten' - 'pcON' - 'pcon'

urls : 1
vorher : 09:25:25.023
nachher: 09:25:25.095
Dauer : 71 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/10/14//scene_pcON_20241014_092524.txt'


syslog

Oct 14 09:22:01 srv4hai CRON[27966]: (root) CMD (/etc/linetest/linetest.sh)
Oct 14 09:22:34 srv4hai ping_SP[14587]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1728890554 - 'ping_SP_0'
Oct 14 09:22:34 srv4hai ping_SP[14587]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Oct 14 09:23:01 srv4hai CRON[28007]: (root) CMD (/etc/linetest/linetest.sh)
Oct 14 09:23:25 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28019, secured, session=
Oct 14 09:23:25 srv4hai dovecot: imap(miglincit)<28019>: Logged out in=702 out=47691 deleted=0 expunged=0 trashed=0 hdr_count=59 hdr_bytes=18834 body_count=0 body_bytes=0
Oct 14 09:23:39 srv4hai postfix/smtpd[28027]: warning: hostname 188-190-10-145.clevhosting.com does not resolve to address 188.190.10.145: Name or service not known
Oct 14 09:23:39 srv4hai postfix/smtpd[28027]: connect from unknown[188.190.10.145]
Oct 14 09:23:39 srv4hai postfix/smtpd[28027]: warning: unknown[188.190.10.145]: SASL LOGIN authentication failed: Invalid authentication mechanism
Oct 14 09:23:39 srv4hai postfix/smtpd[28027]: disconnect from unknown[188.190.10.145] ehlo=1 auth=0/1 quit=1 commands=2/3
Oct 14 09:23:47 srv4hai ping_SP[14587]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1728890627 - 'ping_SP_0'
Oct 14 09:23:47 srv4hai ping_SP[14587]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Oct 14 09:23:59 srv4hai dhcpd[30731]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Oct 14 09:23:59 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Oct 14 09:23:59 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Oct 14 09:23:59 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.139
Oct 14 09:23:59 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-39
Oct 14 09:23:59 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Oct 14 09:23:59 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Oct 14 09:23:59 srv4hai named[30406]: client @0x7f932c0b5090 192.168.12.252#42123/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Oct 14 09:23:59 srv4hai named[30406]: client @0x7f93506b28d0 192.168.12.252#60305/key rndc-key: signer "rndc-key" approved
Oct 14 09:23:59 srv4hai named[30406]: client @0x7f93506b28d0 192.168.12.252#60305/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Oct 14 09:23:59 srv4hai named[30406]: client @0x7f93506b28d0 192.168.12.252#60305/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Oct 14 09:23:59 srv4hai named[30406]: client @0x7f93506b28d0 192.168.12.252#60305/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Oct 14 09:23:59 srv4hai named[30406]: client @0x7f93506b28d0 192.168.12.252#60305/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Oct 14 09:23:59 srv4hai dhcpd[30731]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Oct 14 09:23:59 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#34617/key rndc-key: signer "rndc-key" approved
Oct 14 09:23:59 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#34617/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Oct 14 09:23:59 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#34617/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.
Oct 14 09:23:59 srv4hai dhcpd[30731]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Oct 14 09:23:59 srv4hai common[28046]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Oct 14 09:23:59 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf'
Oct 14 09:23:59 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Oct 14 09:24:00 srv4hai common[28076]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Oct 14 09:24:00 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=11&hum=61.300000&id=C049EF8AC9D8&batt=100&volt=6.110000
Oct 14 09:24:00 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/10/shelly-39_20241014.csv'
Oct 14 09:24:00 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Oct 14 09:24:00 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Oct 14 09:24:00 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}'
Oct 14 09:24:00 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Oct 14 09:24:00 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}'
Oct 14 09:24:00 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 '.''
Oct 14 09:24:00 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Oct 14 09:24:00 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 '.''
Oct 14 09:24:00 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Oct 14 09:24:00 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Oct 14 09:24:00 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Oct 14 09:24:00 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 11° - 61.3%
Oct 14 09:24:00 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 11°/10.4° - 61.3%/61.9% - SAVED
Oct 14 09:24:00 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'°
Oct 14 09:24:00 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-10-14T07:24:00.820Z",#012    "content": {#012      "temp": 11,#012      "hum": 61.3,#012      "batt": 100,#012      "csvF": "shelly-39_20241014.csv"#012    },#012    "transaction": "d4f23dfb-13c5-49c1-a51b-183dc7a37793"#012  }#012}'°
Oct 14 09:24:01 srv4hai CRON[28274]: (root) CMD (/etc/linetest/linetest.sh)
Oct 14 09:24:09 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28300, secured, session=
Oct 14 09:24:09 srv4hai dovecot: imap(miglincit)<28300>: Logged out in=702 out=47669 deleted=0 expunged=0 trashed=0 hdr_count=59 hdr_bytes=18834 body_count=0 body_bytes=0
Oct 14 09:25:00 srv4hai ping_SP[14587]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1728890700 - 'ping_SP_0'
Oct 14 09:25:00 srv4hai ping_SP[14587]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Oct 14 09:25:01 srv4hai CRON[28324]: (root) CMD (/etc/linetest/linetest.sh)
Oct 14 09:25:24 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Oct 14 09:25:24 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.10
Oct 14 09:25:24 srv4hai dhcpd[30731]: execute_statement argv[2] = pchai7x
Oct 14 09:25:24 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Oct 14 09:25:24 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Oct 14 09:25:24 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#50687/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Oct 14 09:25:24 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#53885/key rndc-key: signer "rndc-key" approved
Oct 14 09:25:24 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#53885/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Oct 14 09:25:24 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#53885/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Oct 14 09:25:24 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#53885/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Oct 14 09:25:24 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#53885/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Oct 14 09:25:24 srv4hai dhcpd[30731]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Oct 14 09:25:24 srv4hai named[30406]: client @0x7f93501490e0 192.168.12.252#37905/key rndc-key: signer "rndc-key" approved
Oct 14 09:25:24 srv4hai named[30406]: client @0x7f93501490e0 192.168.12.252#37905/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Oct 14 09:25:24 srv4hai named[30406]: client @0x7f93501490e0 192.168.12.252#37905/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '10.12.168.192.in-addr.arpa' PTR pchai7x.viehai.at.
Oct 14 09:25:24 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Oct 14 09:25:24 srv4hai dhcpd[30731]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Oct 14 09:25:24 srv4hai activate_scenario[28339]: SHELLY scenario: 'pcON(pcon)' started
Oct 14 09:25:24 srv4hai activate_scenario[28339]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished