activate_scenario.sh
Thu Jun 20 15:35:04 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/06/20/_0.log)

vorher: 15:35:05.110

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: 15:35:05.135
Dauer: 25 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


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

urls : 1
vorher : 15:35:05.090
nachher: 15:35:05.142
Dauer : 51 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/20//scene_pcON_20240620_153504.txt'


syslog

Jun 20 15:32:01 srv4hai CRON[5271]: (root) CMD (/etc/linetest/linetest.sh)
Jun 20 15:32:24 srv4hai dhcpd[30731]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Jun 20 15:32:24 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Jun 20 15:32:24 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jun 20 15:32:24 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.139
Jun 20 15:32:24 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-39
Jun 20 15:32:24 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Jun 20 15:32:24 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Jun 20 15:32:24 srv4hai named[30406]: client @0x7f93300a3990 192.168.12.252#41047/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jun 20 15:32:24 srv4hai named[30406]: client @0x7f9350166000 192.168.12.252#54247/key rndc-key: signer "rndc-key" approved
Jun 20 15:32:24 srv4hai named[30406]: client @0x7f9350166000 192.168.12.252#54247/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Jun 20 15:32:24 srv4hai named[30406]: client @0x7f9350166000 192.168.12.252#54247/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Jun 20 15:32:24 srv4hai named[30406]: client @0x7f9350166000 192.168.12.252#54247/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Jun 20 15:32:24 srv4hai named[30406]: client @0x7f9350166000 192.168.12.252#54247/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Jun 20 15:32:24 srv4hai dhcpd[30731]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Jun 20 15:32:24 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#37189/key rndc-key: signer "rndc-key" approved
Jun 20 15:32:24 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#37189/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Jun 20 15:32:24 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#37189/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 20 15:32:24 srv4hai dhcpd[30731]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Jun 20 15:32:24 srv4hai common[5300]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jun 20 15:32:24 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf'
Jun 20 15:32:24 srv4hai common[5313]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jun 20 15:32:24 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=27.900000&hum=46.300000&id=C049EF8AC9D8&batt=100&volt=6.770000
Jun 20 15:32:24 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-39_20240620.csv'
Jun 20 15:32:24 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Jun 20 15:32:24 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Jun 20 15:32:24 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Jun 20 15:32:24 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 20 15:32:24 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Jun 20 15:32:24 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 20 15:32:24 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 20 15:32:24 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Jun 20 15:32:25 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 20 15:32:25 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Jun 20 15:32:25 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Jun 20 15:32:26 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Jun 20 15:32:26 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 27.9° - 46.3%
Jun 20 15:32:26 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 27.9°/27.4° - 46.3%/45.2% - SAVED
Jun 20 15:32:26 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt=''°
Jun 20 15:32:26 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-20T13:32:26.505Z",#012    "content": {#012      "temp": 27.9,#012      "hum": 46.3,#012      "batt": "",#012      "csvF": "shelly-39_20240620.csv"#012    },#012    "transaction": "6cbf5e34-0cf7-4843-8eb7-b0135d26fdfa"#012  }#012}'°
Jun 20 15:32:29 srv4hai ping_SP[7579]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1718890349 - 'ping_SP_0'
Jun 20 15:32:29 srv4hai ping_SP[7579]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun 20 15:32:39 srv4hai postfix/smtpd[5489]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jun 20 15:32:39 srv4hai postfix/smtpd[5489]: connect from unknown[193.32.162.90]
Jun 20 15:32:39 srv4hai postfix/smtpd[5489]: warning: unknown[193.32.162.90]: SASL LOGIN authentication failed: Invalid authentication mechanism
Jun 20 15:32:39 srv4hai postfix/smtpd[5489]: lost connection after AUTH from unknown[193.32.162.90]
Jun 20 15:32:39 srv4hai postfix/smtpd[5489]: disconnect from unknown[193.32.162.90] ehlo=1 auth=0/1 commands=1/2
Jun 20 15:32:43 srv4hai systemd[1]: Started Run anacron jobs.
Jun 20 15:32:43 srv4hai anacron[5492]: Anacron 2.3 started on 2024-06-20
Jun 20 15:32:43 srv4hai anacron[5492]: Normal exit (0 jobs run)
Jun 20 15:32:43 srv4hai systemd[1]: anacron.service: Succeeded.
Jun 20 15:33:01 srv4hai CRON[5510]: (root) CMD (/etc/linetest/linetest.sh)
Jun 20 15:33:42 srv4hai ping_SP[7579]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1718890422 - 'ping_SP_0'
Jun 20 15:33:42 srv4hai ping_SP[7579]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun 20 15:33:46 srv4hai postfix/scache[5114]: statistics: start interval Jun 20 15:30:20
Jun 20 15:33:46 srv4hai postfix/scache[5114]: statistics: domain lookup hits=0 miss=66 success=0%
Jun 20 15:33:46 srv4hai postfix/scache[5114]: statistics: address lookup hits=0 miss=1062 success=0%
Jun 20 15:34:01 srv4hai CRON[5594]: (root) CMD (/etc/linetest/linetest.sh)
Jun 20 15:34:19 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=5613, secured, session=
Jun 20 15:34:19 srv4hai dovecot: imap(miglincit)<5613>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jun 20 15:34:55 srv4hai ping_SP[7579]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1718890495 - 'ping_SP_0'
Jun 20 15:34:55 srv4hai ping_SP[7579]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun 20 15:35:01 srv4hai CRON[5670]: (root) CMD (/etc/linetest/linetest.sh)
Jun 20 15:35:02 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jun 20 15:35:03 srv4hai fetchmail[1651]: 46863 messages (46863 seen) for tmiglinci at mail.akis.at (-422262680 octets).
Jun 20 15:35:03 srv4hai fetchmail[1651]: 10345 messages (10345 seen) for srozum at mail.akis.at (1245611923 octets).
Jun 20 15:35:03 srv4hai fetchmail[1651]: 24232 messages (24232 seen) for mrozum at mail.akis.at (-81520265 octets).
Jun 20 15:35:04 srv4hai fetchmail[1651]: 1135 messages (1135 seen) for admin@bastelstube.wien at pop3.world4you.com (51504712 octets).
Jun 20 15:35:04 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Jun 20 15:35:04 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.10
Jun 20 15:35:04 srv4hai dhcpd[30731]: execute_statement argv[2] = pchai7x
Jun 20 15:35:04 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Jun 20 15:35:04 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Jun 20 15:35:04 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#32893/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jun 20 15:35:04 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#54597/key rndc-key: signer "rndc-key" approved
Jun 20 15:35:04 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#54597/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Jun 20 15:35:04 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#54597/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Jun 20 15:35:04 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#54597/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Jun 20 15:35:04 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#54597/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Jun 20 15:35:04 srv4hai dhcpd[30731]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Jun 20 15:35:04 srv4hai named[30406]: client @0x7f93300d0220 192.168.12.252#44995/key rndc-key: signer "rndc-key" approved
Jun 20 15:35:04 srv4hai named[30406]: client @0x7f93300d0220 192.168.12.252#44995/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Jun 20 15:35:04 srv4hai named[30406]: client @0x7f93300d0220 192.168.12.252#44995/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.
Jun 20 15:35:04 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Jun 20 15:35:04 srv4hai dhcpd[30731]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Jun 20 15:35:05 srv4hai activate_scenario[5683]: SHELLY scenario: 'pcON(pcon)' started
Jun 20 15:35:05 srv4hai activate_scenario[5683]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished