activate_scenario.sh
Mon Dec 30 09:08:38 CET 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'

TB Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/12/30/_0.log)

vorher: 09:08:38.613

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: 09:08:38.639
Dauer: 27 msec phName: 'shelly-0:'''


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

urls : 1
vorher : 09:08:38.591
nachher: 09:08:38.646
Dauer : 55 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/30//scene_pcOFF_20241230_090838.txt'


syslog

Dec 30 09:05:01 srv4hai CRON[6745]: (root) CMD (/etc/linetest/linetest.sh)
Dec 30 09:05:31 srv4hai ping_SP[6391]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1735545931 - 'ping_SP_0'
Dec 30 09:05:31 srv4hai ping_SP[6391]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 30 09:06:01 srv4hai CRON[6802]: (root) CMD (/etc/linetest/linetest.sh)
Dec 30 09:06:34 srv4hai ping_SP[6391]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1735545994 - 'ping_SP_0'
Dec 30 09:06:34 srv4hai ping_SP[6391]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 30 09:06:37 srv4hai dhcpd[4995]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Dec 30 09:06:37 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Dec 30 09:06:37 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Dec 30 09:06:37 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.139
Dec 30 09:06:37 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-39
Dec 30 09:06:37 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Dec 30 09:06:37 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Dec 30 09:06:37 srv4hai named[30406]: client @0x7f93300d0220 192.168.12.252#40723/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec 30 09:06:37 srv4hai named[30406]: client @0x7f93100e3a50 192.168.12.252#33231/key rndc-key: signer "rndc-key" approved
Dec 30 09:06:37 srv4hai named[30406]: client @0x7f93100e3a50 192.168.12.252#33231/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Dec 30 09:06:37 srv4hai named[30406]: client @0x7f93100e3a50 192.168.12.252#33231/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Dec 30 09:06:37 srv4hai named[30406]: client @0x7f93100e3a50 192.168.12.252#33231/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Dec 30 09:06:37 srv4hai named[30406]: client @0x7f93100e3a50 192.168.12.252#33231/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Dec 30 09:06:37 srv4hai dhcpd[4995]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Dec 30 09:06:37 srv4hai named[30406]: client @0x7f93506682d0 192.168.12.252#45139/key rndc-key: signer "rndc-key" approved
Dec 30 09:06:37 srv4hai named[30406]: client @0x7f93506682d0 192.168.12.252#45139/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Dec 30 09:06:37 srv4hai named[30406]: client @0x7f93506682d0 192.168.12.252#45139/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.
Dec 30 09:06:37 srv4hai dhcpd[4995]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Dec 30 09:06:37 srv4hai common[6848]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Dec 30 09:06:37 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf'
Dec 30 09:06:38 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Dec 30 09:06:38 srv4hai common[6865]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Dec 30 09:06:38 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=3.900000&hum=68.300000&id=C049EF8AC9D8&batt=96&volt=5.930000
Dec 30 09:06:38 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/12/shelly-39_20241230.csv'
Dec 30 09:06:38 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Dec 30 09:06:38 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Dec 30 09:06:38 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}'
Dec 30 09:06:38 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Dec 30 09:06:38 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}'
Dec 30 09:06:38 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-cmd: 'curl --connect-timeout 3 --silent -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 '.''
Dec 30 09:06:38 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Dec 30 09:06:38 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-cmd: 'curl --connect-timeout 3 --silent -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 '.''
Dec 30 09:06:38 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Dec 30 09:06:38 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 3.9° - 68.3%
Dec 30 09:06:38 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 3.9°/2.8° - 68.3%/70.5% - SAVED
Dec 30 09:06:38 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='95'°
Dec 30 09:06:38 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-12-30T08:06:38.635Z",#012    "content": {#012      "temp": 3.9,#012      "hum": 68.3,#012      "batt": 95,#012      "csvF": "shelly-39_20241230.csv"#012    },#012    "transaction": "c402863f-60dc-49fd-83be-7cb4e15f357f"#012  }#012}'°
Dec 30 09:06:50 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7008, secured, session=
Dec 30 09:06:50 srv4hai dovecot: imap(miglincit)<7008>: Logged out in=1969 out=1239 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec 30 09:07:00 srv4hai postfix/anvil[6537]: statistics: max connection rate 1/60s for (smtp:80.94.95.239) at Dec 30 09:03:35
Dec 30 09:07:00 srv4hai postfix/anvil[6537]: statistics: max connection count 1 for (smtp:80.94.95.239) at Dec 30 09:03:35
Dec 30 09:07:00 srv4hai postfix/anvil[6537]: statistics: max cache size 1 at Dec 30 09:03:35
Dec 30 09:07:01 srv4hai CRON[7015]: (root) CMD (/etc/linetest/linetest.sh)
Dec 30 09:07:25 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Dec 30 09:07:27 srv4hai fetchmail[1651]: 60386 messages (60386 seen) for tmiglinci at mail.akis.at (664822295 octets).
Dec 30 09:07:27 srv4hai fetchmail[1651]: 11305 messages (11305 seen) for srozum at mail.akis.at (1353426037 octets).
Dec 30 09:07:28 srv4hai fetchmail[1651]: 28093 messages (28093 seen) for mrozum at mail.akis.at (526880359 octets).
Dec 30 09:07:28 srv4hai fetchmail[1651]: 1162 messages (1162 seen) for admin@bastelstube.wien at pop3.world4you.com (52206525 octets).
Dec 30 09:07:28 srv4hai postfix/smtpd[7038]: connect from unknown[80.94.95.239]
Dec 30 09:07:30 srv4hai common[7042]: SHELLY common.sh inkludiert von ./bt_scan.sh
Dec 30 09:07:30 srv4hai bt_scan[7042]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Dec 30 09:07:30 srv4hai bt_scan[7042]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Dec 30 09:07:31 srv4hai postfix/smtpd[7038]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec 30 09:07:33 srv4hai postfix/smtpd[7038]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Dec 30 09:07:37 srv4hai ping_SP[6391]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1735546057 - 'ping_SP_0'
Dec 30 09:07:37 srv4hai ping_SP[6391]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 30 09:08:01 srv4hai CRON[7110]: (root) CMD (/etc/linetest/linetest.sh)
Dec 30 09:08:27 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7128, secured, session=
Dec 30 09:08:27 srv4hai dovecot: imap(miglincit)<7128>: Logged out in=441 out=15748 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=378 body_count=1 body_bytes=13824
Dec 30 09:08:33 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7132, secured, session=
Dec 30 09:08:33 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7134, secured, session=
Dec 30 09:08:33 srv4hai dovecot: imap(miglincit)<7134>: Logged out in=397 out=5974 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=562 body_count=1 body_bytes=3698
Dec 30 09:08:33 srv4hai dovecot: imap(miglincit)<7132>: Logged out in=641 out=33815 deleted=0 expunged=0 trashed=3 hdr_count=4 hdr_bytes=1118 body_count=0 body_bytes=0
Dec 30 09:08:37 srv4hai dovecot: imap(miglincit)<24357>: Logged out in=5865 out=730550 deleted=0 expunged=0 trashed=0 hdr_count=20 hdr_bytes=7364 body_count=20 body_bytes=617440
Dec 30 09:08:37 srv4hai dovecot: imap(miglincit)<24356>: Logged out in=892174 out=9340141 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec 30 09:08:37 srv4hai dovecot: imap(miglincit)<24354>: Logged out in=900017 out=9331439 deleted=0 expunged=0 trashed=0 hdr_count=2 hdr_bytes=934 body_count=0 body_bytes=0
Dec 30 09:08:37 srv4hai dovecot: imap(miglincit)<24358>: Logged out in=891777 out=9230611 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec 30 09:08:37 srv4hai dovecot: imap(miglincit)<24353>: Logged out in=901878 out=9702690 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=2 body_bytes=29262
Dec 30 09:08:38 srv4hai activate_scenario[7142]: SHELLY last scenario: 'vorraumOn' @ '085228' from 'scene_vorraumOn_20241230_085228.txt' - delta=-10
Dec 30 09:08:38 srv4hai activate_scenario[7142]:        dateutils.ddiff -i '%Y%m%d%H%M%s' 20241230090838 20241230085228  -f '%S'
Dec 30 09:08:38 srv4hai activate_scenario[7142]: SHELLY  new scenario: 'pcOFF' different - GO ON
Dec 30 09:08:38 srv4hai activate_scenario[7142]: SHELLY scenario: 'pcOFF(pcoff)' started
Dec 30 09:08:38 srv4hai activate_scenario[7142]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''

finished