activate_scenario.sh
Thu Feb 22 14:47:20 CET 2024
scenario: LOG_gehen
source: 192.168.12.103

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

scenario: 'LOG_AUS' - 'LOG_gehen' - 'log_gehen'

scenario: 'LOG_AUS' - 'LOG_gehen' - 'log_gehen'

urls : 0
vorher : 14:47:20.436
nachher: 14:47:20.443
Dauer : 7 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/22//scene_LOG_gehen_20240222_144720.txt'


syslog

Feb 22 14:44:01 srv4hai CRON[30637]: (root) CMD (/etc/linetest/linetest.sh)
Feb 22 14:44:31 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30657, secured, session=
Feb 22 14:44:31 srv4hai dovecot: imap(rozumm)<30657>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 22 14:44:38 srv4hai ping_SP[5777]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1708609478 - 'ping_SP_0'
Feb 22 14:44:38 srv4hai ping_SP[5777]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 22 14:45:01 srv4hai dhcpd[5037]: DHCPDISCOVER from 48:55:19:00:b3:58 via enp2s0
Feb 22 14:45:01 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb 22 14:45:01 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 22 14:45:01 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.137
Feb 22 14:45:01 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-37
Feb 22 14:45:01 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.137 (192.168.12.252) from 48:55:19:00:b3:58 via enp2s0
Feb 22 14:45:01 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb 22 14:45:01 srv4hai named[14530]: client @0x7fc3180354e0 192.168.12.252#56483/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-37.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 22 14:45:01 srv4hai named[14530]: client @0x7fc3240d1310 192.168.12.252#32825/key rndc-key: signer "rndc-key" approved
Feb 22 14:45:01 srv4hai named[14530]: client @0x7fc3240d1310 192.168.12.252#32825/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' TXT
Feb 22 14:45:01 srv4hai named[14530]: client @0x7fc3240d1310 192.168.12.252#32825/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' TXT "001bc21ebc20088cb6a311248591ab7101"
Feb 22 14:45:01 srv4hai named[14530]: client @0x7fc3240d1310 192.168.12.252#32825/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' A
Feb 22 14:45:01 srv4hai named[14530]: client @0x7fc3240d1310 192.168.12.252#32825/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' A 192.168.12.137
Feb 22 14:45:01 srv4hai dhcpd[5037]: Added new forward map from shelly-37.viehai.at to 192.168.12.137
Feb 22 14:45:01 srv4hai named[14530]: client @0x7fc32405faa0 192.168.12.252#59459/key rndc-key: signer "rndc-key" approved
Feb 22 14:45:01 srv4hai named[14530]: client @0x7fc32405faa0 192.168.12.252#59459/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '137.12.168.192.in-addr.arpa' PTR
Feb 22 14:45:01 srv4hai named[14530]: client @0x7fc32405faa0 192.168.12.252#59459/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '137.12.168.192.in-addr.arpa' PTR shelly-37.viehai.at.
Feb 22 14:45:01 srv4hai dhcpd[5037]: Added reverse map from 137.12.168.192.in-addr.arpa. to shelly-37.viehai.at
Feb 22 14:45:01 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-37' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Feb 22 14:45:01 srv4hai CRON[30686]: (root) CMD (/etc/linetest/linetest.sh)
Feb 22 14:45:02 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
Feb 22 14:45:02 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=40&temp=23.25&id=shellyht-00B358
Feb 22 14:45:02 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240222.csv'
Feb 22 14:45:02 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
Feb 22 14:45:02 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137'
Feb 22 14:45:02 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137'
Feb 22 14:45:02 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Feb 22 14:45:02 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Feb 22 14:45:02 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Feb 22 14:45:02 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Feb 22 14:45:02 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Feb 22 14:45:02 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Feb 22 14:45:02 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Feb 22 14:45:02 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Feb 22 14:45:02 srv4hai named[14530]: clients-per-query decreased to 10
Feb 22 14:45:02 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Feb 22 14:45:02 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Feb 22 14:45:02 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Feb 22 14:45:02 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Feb 22 14:45:03 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 23.25° - 40%
Feb 22 14:45:03 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 23.25°/23.12° - 40%/40% - SAVED
Feb 22 14:45:03 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: batt='91'°
Feb 22 14:45:03 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: dweetIO='{#012  "this": "succeeded",#012  "by": "dweeting",#012  "the": "dweet",#012  "with": {#012    "thing": "viehai-37",#012    "created": "2024-02-22T13:45:03.532Z",#012    "content": {#012      "temp": 23.25,#012      "hum": 40,#012      "batt": 91#012    },#012    "transaction": "10abaa5c-345f-4fac-9995-34579eaa2f4b"#012  }#012}'°
Feb 22 14:45:07 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=40&temp=23.25&id=shellyht-00B358
Feb 22 14:45:07 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240222.csv'
Feb 22 14:45:07 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240222.csv' modifed 4s ago - EXIT
Feb 22 14:45:12 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=40&temp=23.25&id=shellyht-00B358
Feb 22 14:45:12 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240222.csv'
Feb 22 14:45:12 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240222.csv' modifed 9s ago - EXIT
Feb 22 14:45:18 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=40&temp=23.25&id=shellyht-00B358
Feb 22 14:45:18 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240222.csv'
Feb 22 14:45:18 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240222.csv' modifed 15s ago - EXIT
Feb 22 14:45:23 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=40&temp=23.25&id=shellyht-00B358
Feb 22 14:45:23 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240222.csv'
Feb 22 14:45:23 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240222.csv' modifed 20s ago - EXIT
Feb 22 14:45:28 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=40&temp=23.25&id=shellyht-00B358
Feb 22 14:45:28 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240222.csv'
Feb 22 14:45:28 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240222.csv' modifed 25s ago - EXIT
Feb 22 14:45:31 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=31036, secured, session=
Feb 22 14:45:31 srv4hai dovecot: imap(rozumm)<31036>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 22 14:45:41 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb 22 14:45:41 srv4hai fetchmail[1651]: 38600 messages (38599 seen) for tmiglinci at mail.akis.at (-1106327254 octets).
Feb 22 14:45:42 srv4hai postfix/smtpd[31051]: connect from localhost[127.0.0.1]
Feb 22 14:45:42 srv4hai postfix/smtpd[31051]: 0902B60119: client=localhost[127.0.0.1]
Feb 22 14:45:42 srv4hai postfix/cleanup[31054]: 0902B60119: message-id=<1zK6TuYNUHVMh3z1mC893EcsRYN6s52893745@j51fbnt13dx7F.j51fbnt13dx7F.PROD.OUTLOOK.COM>
Feb 22 14:45:42 srv4hai postfix/qmgr[28610]: 0902B60119: from=, size=7753, nrcpt=1 (queue active)
Feb 22 14:45:42 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:38600 of 38600 (7511 octets) not flushed
Feb 22 14:45:42 srv4hai postfix/smtpd[31051]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Feb 22 14:45:42 srv4hai postfix/local[31055]: 0902B60119: to=, relay=local, delay=0.08, delays=0.05/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 22 14:45:42 srv4hai postfix/qmgr[28610]: 0902B60119: removed
Feb 22 14:45:42 srv4hai fetchmail[1651]: 9920 messages (9920 seen) for srozum at mail.akis.at (1196562469 octets).
Feb 22 14:45:43 srv4hai fetchmail[1651]: 21798 messages (21798 seen) for mrozum at mail.akis.at (-565677017 octets).
Feb 22 14:45:44 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Feb 22 14:45:51 srv4hai ping_SP[5777]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1708609551 - 'ping_SP_0'
Feb 22 14:45:51 srv4hai ping_SP[5777]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 22 14:46:01 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=31082, secured, session=
Feb 22 14:46:01 srv4hai dovecot: imap(miglincit)<31082>: Logged out in=742 out=47798 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=24108 body_count=0 body_bytes=0
Feb 22 14:46:01 srv4hai CRON[31084]: (root) CMD (/etc/linetest/linetest.sh)
Feb 22 14:46:18 srv4hai common[31096]: SHELLY common.sh inkludiert
Feb 22 14:46:28 srv4hai bt_scan[31096]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'Yes'
Feb 22 14:46:28 srv4hai bt_scan[31096]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Feb 22 14:46:31 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=31131, secured, session=
Feb 22 14:46:31 srv4hai dovecot: imap(rozumm)<31131>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 22 14:47:02 srv4hai CRON[31147]: (root) CMD (/etc/linetest/linetest.sh)
Feb 22 14:47:04 srv4hai ping_SP[5777]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1708609624 - 'ping_SP_0'
Feb 22 14:47:04 srv4hai ping_SP[5777]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 22 14:47:17 srv4hai activate_scenario[31172]: SHELLY scenario: 'LOG_kommen(log_kommen)' started
Feb 22 14:47:17 srv4hai activate_scenario[31172]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'
Feb 22 14:47:17 srv4hai activate_scenario[31172]: SHELLY scenario: 'LOG_kommen(log_kommen)' TO BE EXECUTED, shelly-03:'Licht Vorzimmer'
Feb 22 14:47:17 srv4hai activate_scenario[31172]: SHELLY scenario: 'LOG_kommen(log_kommen)' took 6 msec, shelly-03:'Licht Vorzimmer'
Feb 22 14:47:20 srv4hai activate_scenario[31240]: SHELLY scenario: 'LOG_gehen(log_gehen)' started
Feb 22 14:47:20 srv4hai activate_scenario[31240]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'

finished