activate_scenario.sh
Sun Sep 29 12:37:06 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/09/29/_0.log)

vorher: 12:37:06.905

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: 12:37:06.937
Dauer: 31 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


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

urls : 1
vorher : 12:37:06.885
nachher: 12:37:06.971
Dauer : 85 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/29//scene_pcON_20240929_123706.txt'


syslog

Sep 29 12:34:01 srv4hai CRON[23832]: (root) CMD (/etc/linetest/linetest.sh)
Sep 29 12:34:13 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=23841, secured, session=
Sep 29 12:34:13 srv4hai dovecot: imap(miglincit)<23841>: Logged out in=373 out=41944 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=14837 body_count=0 body_bytes=0
Sep 29 12:34:21 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=23845, secured, session=
Sep 29 12:34:21 srv4hai dovecot: imap(pilsc)<23845>: Logged out in=90 out=980 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 29 12:34:45 srv4hai ping_SP[23469]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1727606085 - 'ping_SP_0'
Sep 29 12:34:45 srv4hai ping_SP[23469]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 29 12:34:46 srv4hai postfix/smtpd[22031]: connect from unknown[94.141.120.236]
Sep 29 12:34:46 srv4hai postfix/smtpd[22031]: warning: unknown[94.141.120.236]: SASL LOGIN authentication failed: Invalid authentication mechanism
Sep 29 12:34:46 srv4hai postfix/smtpd[22031]: disconnect from unknown[94.141.120.236] ehlo=1 auth=0/1 quit=1 commands=2/3
Sep 29 12:35:01 srv4hai CRON[23879]: (root) CMD (/etc/linetest/linetest.sh)
Sep 29 12:35:05 srv4hai dhcpd[30731]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Sep 29 12:35:05 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Sep 29 12:35:05 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Sep 29 12:35:05 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.139
Sep 29 12:35:05 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-39
Sep 29 12:35:05 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Sep 29 12:35:05 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Sep 29 12:35:05 srv4hai named[30406]: client @0x7f934c046b60 192.168.12.252#58501/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Sep 29 12:35:05 srv4hai named[30406]: client @0x7f93100d6a50 192.168.12.252#56885/key rndc-key: signer "rndc-key" approved
Sep 29 12:35:05 srv4hai named[30406]: client @0x7f93100d6a50 192.168.12.252#56885/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Sep 29 12:35:05 srv4hai named[30406]: client @0x7f93100d6a50 192.168.12.252#56885/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Sep 29 12:35:05 srv4hai named[30406]: client @0x7f93100d6a50 192.168.12.252#56885/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Sep 29 12:35:05 srv4hai named[30406]: client @0x7f93100d6a50 192.168.12.252#56885/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Sep 29 12:35:05 srv4hai dhcpd[30731]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Sep 29 12:35:05 srv4hai named[30406]: client @0x7f9348072b20 192.168.12.252#52165/key rndc-key: signer "rndc-key" approved
Sep 29 12:35:05 srv4hai named[30406]: client @0x7f9348072b20 192.168.12.252#52165/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Sep 29 12:35:05 srv4hai named[30406]: client @0x7f9348072b20 192.168.12.252#52165/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.
Sep 29 12:35:05 srv4hai dhcpd[30731]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Sep 29 12:35:05 srv4hai common[23887]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Sep 29 12:35:05 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf'
Sep 29 12:35:05 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Sep 29 12:35:05 srv4hai common[23905]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Sep 29 12:35:05 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=19.800000&hum=39.500000&id=C049EF8AC9D8&batt=100&volt=6.110000
Sep 29 12:35:05 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/09/shelly-39_20240929.csv'
Sep 29 12:35:05 srv4hai ht_shelly.sh: SHELLY - 'shelly-39_20240929.csv' modifed 306s ago - EXIT
Sep 29 12:35:05 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Sep 29 12:35:05 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}'
Sep 29 12:35:06 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 '.''
Sep 29 12:35:06 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Sep 29 12:35:06 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Sep 29 12:35:32 srv4hai dhcpd[30731]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0
Sep 29 12:35:32 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Sep 29 12:35:34 srv4hai dhcpd[30731]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0
Sep 29 12:35:34 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Sep 29 12:35:34 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Sep 29 12:35:34 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.5
Sep 29 12:35:34 srv4hai dhcpd[30731]: execute_statement argv[2] = btscan1
Sep 29 12:35:34 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.5 (192.168.12.252) from 08:3a:8d:d0:46:5a via enp2s0
Sep 29 12:35:34 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Sep 29 12:35:34 srv4hai named[30406]: client @0x7f9310079c50 192.168.12.252#58809/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: btscan1.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Sep 29 12:35:34 srv4hai named[30406]: client @0x7f93300a3990 192.168.12.252#44725/key rndc-key: signer "rndc-key" approved
Sep 29 12:35:34 srv4hai named[30406]: client @0x7f93300a3990 192.168.12.252#44725/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' TXT
Sep 29 12:35:34 srv4hai named[30406]: client @0x7f93300a3990 192.168.12.252#44725/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' TXT "000118916176265854cff71f762ffe0635"
Sep 29 12:35:34 srv4hai named[30406]: client @0x7f93300a3990 192.168.12.252#44725/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' A
Sep 29 12:35:34 srv4hai named[30406]: client @0x7f93300a3990 192.168.12.252#44725/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' A 192.168.12.5
Sep 29 12:35:34 srv4hai dhcpd[30731]: Added new forward map from btscan1.viehai.at to 192.168.12.5
Sep 29 12:35:34 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.5'(5) device 'btscan1'
Sep 29 12:35:34 srv4hai named[30406]: client @0x7f934c0b2c60 192.168.12.252#45031/key rndc-key: signer "rndc-key" approved
Sep 29 12:35:34 srv4hai named[30406]: client @0x7f934c0b2c60 192.168.12.252#45031/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '5.12.168.192.in-addr.arpa' PTR
Sep 29 12:35:34 srv4hai named[30406]: client @0x7f934c0b2c60 192.168.12.252#45031/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '5.12.168.192.in-addr.arpa' PTR btscan1.viehai.at.
Sep 29 12:35:34 srv4hai dhcpd[30731]: Added reverse map from 5.12.168.192.in-addr.arpa. to btscan1.viehai.at
Sep 29 12:35:34 srv4hai dhcpcommit.sh: SHELLY device 'btscan1' known and accepted
Sep 29 12:35:58 srv4hai ping_SP[23469]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1727606158 - 'ping_SP_0'
Sep 29 12:35:58 srv4hai ping_SP[23469]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 29 12:36:01 srv4hai CRON[24025]: (root) CMD (/etc/linetest/linetest.sh)
Sep 29 12:36:52 srv4hai activate_scenario[24051]: SHELLY scenario: 'buero_UM(buero_um)' started
Sep 29 12:36:52 srv4hai activate_scenario[24051]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Sep 29 12:36:52 srv4hai activate_scenario[24051]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Sep 29 12:36:52 srv4hai postfix/pickup[18366]: 4F1DC63463: uid=33 from=
Sep 29 12:36:52 srv4hai postfix/cleanup[24104]: 4F1DC63463: message-id=<20240929103652.4F1DC63463@mail.viehai.at>
Sep 29 12:36:52 srv4hai postfix/qmgr[8566]: 4F1DC63463: from=, size=20076, nrcpt=1 (queue active)
Sep 29 12:36:52 srv4hai activate_scenario[24051]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
Sep 29 12:36:52 srv4hai proc_url[24122]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/29/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Sep 29 12:36:52 srv4hai postfix/local[24117]: 4F1DC63463: to=, orig_to=, relay=local, delay=0.04, delays=0.03/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Sep 29 12:36:52 srv4hai postfix/cleanup[24104]: 55A0A63465: message-id=<20240929103652.55A0A63465@mail.viehai.at>
Sep 29 12:36:52 srv4hai postfix/bounce[24118]: 4F1DC63463: sender non-delivery notification: 55A0A63465
Sep 29 12:36:52 srv4hai postfix/qmgr[8566]: 55A0A63465: from=<>, size=21998, nrcpt=1 (queue active)
Sep 29 12:36:52 srv4hai postfix/qmgr[8566]: 4F1DC63463: removed
Sep 29 12:36:52 srv4hai postfix/local[24117]: 55A0A63465: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Sep 29 12:36:52 srv4hai postfix/qmgr[8566]: 55A0A63465: removed
Sep 29 12:36:52 srv4hai activate_scenario[24051]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
Sep 29 12:36:52 srv4hai proc_url[24134]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/29/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Sep 29 12:36:52 srv4hai activate_scenario[24051]: SHELLY scenario: 'buero_UM(buero_um)' took 84 msec, shelly-40:'Thomas Büro Licht'
Sep 29 12:37:01 srv4hai CRON[24179]: (root) CMD (/etc/linetest/linetest.sh)
Sep 29 12:37:06 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Sep 29 12:37:06 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.10
Sep 29 12:37:06 srv4hai dhcpd[30731]: execute_statement argv[2] = pchai7x
Sep 29 12:37:06 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Sep 29 12:37:06 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Sep 29 12:37:06 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#48983/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Sep 29 12:37:06 srv4hai named[30406]: client @0x7f9348054f20 192.168.12.252#40017/key rndc-key: signer "rndc-key" approved
Sep 29 12:37:06 srv4hai named[30406]: client @0x7f9348054f20 192.168.12.252#40017/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Sep 29 12:37:06 srv4hai named[30406]: client @0x7f9348054f20 192.168.12.252#40017/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Sep 29 12:37:06 srv4hai named[30406]: client @0x7f9348054f20 192.168.12.252#40017/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Sep 29 12:37:06 srv4hai named[30406]: client @0x7f9348054f20 192.168.12.252#40017/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Sep 29 12:37:06 srv4hai dhcpd[30731]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Sep 29 12:37:06 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Sep 29 12:37:06 srv4hai named[30406]: client @0x7f932c0ce020 192.168.12.252#50629/key rndc-key: signer "rndc-key" approved
Sep 29 12:37:06 srv4hai named[30406]: client @0x7f932c0ce020 192.168.12.252#50629/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Sep 29 12:37:06 srv4hai named[30406]: client @0x7f932c0ce020 192.168.12.252#50629/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.
Sep 29 12:37:06 srv4hai dhcpd[30731]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Sep 29 12:37:06 srv4hai activate_scenario[24193]: SHELLY scenario: 'pcON(pcon)' started
Sep 29 12:37:06 srv4hai activate_scenario[24193]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished