activate_scenario.sh
Fri May 24 21:39:54 CEST 2024
scenario: pcOFF
source: 192.168.12.10

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

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

Thomas Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/05/24/_0.log)

vorher: 21:39:55.047

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: 21:39:55.196
Dauer: 148 msec phName: 'shelly-0:'''


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

urls : 1
vorher : 21:39:55.024
nachher: 21:39:55.202
Dauer : 178 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/05/24//scene_pcOFF_20240524_213954.txt'


syslog

May 24 21:36:01 srv4hai CRON[12001]: (root) CMD (/etc/linetest/linetest.sh)
May 24 21:36:14 srv4hai ping_SP[7923]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1716579374 - 'ping_SP_0'
May 24 21:36:14 srv4hai ping_SP[7923]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
May 24 21:37:01 srv4hai CRON[12031]: (root) CMD (/etc/linetest/linetest.sh)
May 24 21:37:02 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=12038, secured, session=
May 24 21:37:02 srv4hai dovecot: imap(miglincit)<12038>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
May 24 21:37:27 srv4hai ping_SP[7923]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1716579447 - 'ping_SP_0'
May 24 21:37:27 srv4hai ping_SP[7923]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
May 24 21:37:42 srv4hai postfix/qmgr[15291]: F3294631A5: from=, size=21726, nrcpt=1 (queue active)
May 24 21:37:42 srv4hai postfix/qmgr[15291]: 7A5BB631B8: from=, size=21760, nrcpt=1 (queue active)
May 24 21:37:42 srv4hai postfix/qmgr[15291]: 5006B631BC: from=, size=21705, nrcpt=1 (queue active)
May 24 21:37:43 srv4hai postfix/smtp[12062]: 7A5BB631B8: host adamaspharma-com.mail.protection.outlook.com[52.101.10.2] said: 451 4.4.4 Mail received as unauthenticated, incoming to a recipient domain configured in a hosted tenant which has no mail-enabled subscriptions. ATTR5 [BN1PEPF00004685.namprd03.prod.outlook.com 2024-05-24T19:37:43.147Z 08DC796950D3885E] (in reply to end of DATA command)
May 24 21:37:43 srv4hai postfix/smtp[12063]: 5006B631BC: host mx1-us.emailsecurity.app[52.179.17.190] said: 450 4.1.1 : Recipient address rejected: unverified address: Recipient address lookup failed (in reply to RCPT TO command)
May 24 21:37:44 srv4hai postfix/smtp[12062]: 7A5BB631B8: to=, relay=adamaspharma-com.mail.protection.outlook.com[52.101.11.9]:25, delay=239804, delays=239802/0.03/1.4/0.65, dsn=4.4.4, status=deferred (host adamaspharma-com.mail.protection.outlook.com[52.101.11.9] said: 451 4.4.4 Mail received as unauthenticated, incoming to a recipient domain configured in a hosted tenant which has no mail-enabled subscriptions. ATTR5 [SN1PEPF00026368.namprd02.prod.outlook.com 2024-05-24T19:37:44.215Z 08DC7A38E288C284] (in reply to end of DATA command))
May 24 21:37:44 srv4hai postfix/smtp[12063]: 5006B631BC: to=, relay=mx2-us.emailsecurity.app[52.179.17.190]:25, delay=211193, delays=211191/0.04/2.4/0.14, dsn=4.1.1, status=deferred (host mx2-us.emailsecurity.app[52.179.17.190] said: 450 4.1.1 : Recipient address rejected: unverified address: Recipient address lookup failed (in reply to RCPT TO command))
May 24 21:38:01 srv4hai CRON[12067]: (root) CMD (/etc/linetest/linetest.sh)
May 24 21:38:12 srv4hai postfix/smtp[12061]: connect to colfaxfluidhandling.com[154.197.168.130]:25: Connection timed out
May 24 21:38:12 srv4hai postfix/smtp[12061]: F3294631A5: to=, relay=none, delay=189570, delays=189540/0.03/30/0, dsn=4.4.1, status=deferred (connect to colfaxfluidhandling.com[154.197.168.130]:25: Connection timed out)
May 24 21:38:41 srv4hai ping_SP[7923]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1716579521 - 'ping_SP_0'
May 24 21:38:41 srv4hai ping_SP[7923]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
May 24 21:39:01 srv4hai CRON[12098]: (root) CMD (/etc/linetest/linetest.sh)
May 24 21:39:01 srv4hai CRON[12099]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
May 24 21:39:01 srv4hai systemd[1]: Starting Clean php session files...
May 24 21:39:02 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
May 24 21:39:02 srv4hai systemd[1]: Started Clean php session files.
May 24 21:39:42 srv4hai dhcpd[22856]: DHCPDISCOVER from 48:55:19:00:b3:58 via enp2s0
May 24 21:39:42 srv4hai dhcpd[22856]: DHCPOFFER on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
May 24 21:39:42 srv4hai dhcpd[22856]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
May 24 21:39:42 srv4hai dhcpd[22856]: execute_statement argv[1] = 192.168.12.137
May 24 21:39:42 srv4hai dhcpd[22856]: execute_statement argv[2] = shelly-37
May 24 21:39:42 srv4hai dhcpd[22856]: DHCPREQUEST for 192.168.12.137 (192.168.12.252) from 48:55:19:00:b3:58 via enp2s0
May 24 21:39:42 srv4hai dhcpd[22856]: DHCPACK on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
May 24 21:39:42 srv4hai named[15509]: client @0x7f931c697a10 192.168.12.252#54237/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-37.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
May 24 21:39:42 srv4hai named[15509]: client @0x7f930800b8b0 192.168.12.252#50647/key rndc-key: signer "rndc-key" approved
May 24 21:39:42 srv4hai named[15509]: client @0x7f930800b8b0 192.168.12.252#50647/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' TXT
May 24 21:39:42 srv4hai named[15509]: client @0x7f930800b8b0 192.168.12.252#50647/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' TXT "001bc21ebc20088cb6a311248591ab7101"
May 24 21:39:42 srv4hai named[15509]: client @0x7f930800b8b0 192.168.12.252#50647/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' A
May 24 21:39:42 srv4hai named[15509]: client @0x7f930800b8b0 192.168.12.252#50647/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' A 192.168.12.137
May 24 21:39:42 srv4hai dhcpd[22856]: Added new forward map from shelly-37.viehai.at to 192.168.12.137
May 24 21:39:42 srv4hai named[15509]: client @0x7f931c65d6a0 192.168.12.252#39461/key rndc-key: signer "rndc-key" approved
May 24 21:39:42 srv4hai named[15509]: client @0x7f931c65d6a0 192.168.12.252#39461/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '137.12.168.192.in-addr.arpa' PTR
May 24 21:39:42 srv4hai named[15509]: client @0x7f931c65d6a0 192.168.12.252#39461/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.
May 24 21:39:42 srv4hai dhcpd[22856]: Added reverse map from 137.12.168.192.in-addr.arpa. to shelly-37.viehai.at
May 24 21:39:42 srv4hai common[12201]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
May 24 21:39:42 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-37' - shIP/2:'' perform:'conf'
May 24 21:39:42 srv4hai mosquitto[18551]: New connection from 192.168.12.137 on port 1883.
May 24 21:39:42 srv4hai mosquitto[18551]: New client connected from 192.168.12.137 as shellyht-00B358 (c1, k60, u'shmqtt').
May 24 21:39:42 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
May 24 21:39:43 srv4hai conf_shelly.sh: SHELLY: usage/name 'Klima Büro' already set for '192.168.12.137'
May 24 21:39:43 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
May 24 21:39:43 srv4hai common[12243]: SHELLY common.sh inkludiert von ./ht_shelly.sh
May 24 21:39:43 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=52&temp=24.38&id=shellyht-00B358
May 24 21:39:43 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
May 24 21:39:43 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/05/shelly-37_20240524.csv'
May 24 21:39:43 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
May 24 21:39:43 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
May 24 21:39:43 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
May 24 21:39:43 srv4hai conf_shelly.sh: SHELLY: usage/name 'Klima Büro' already set for '192.168.12.137'
May 24 21:39:43 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
May 24 21:39:43 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
May 24 21:39:43 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
May 24 21:39:43 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
May 24 21:39:43 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
May 24 21:39:43 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
May 24 21:39:43 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
May 24 21:39:43 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
May 24 21:39:43 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Klima Büro: 24.38° - 52%
May 24 21:39:43 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Klima Büro: 24.38°/24.75° - 52%/51% - SAVED
May 24 21:39:43 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Klima Büro: batt='91'°
May 24 21:39:43 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Klima Büro: dweetIO='{#012  "this": "succeeded",#012  "by": "dweeting",#012  "the": "dweet",#012  "with": {#012    "thing": "viehai-37",#012    "created": "2024-05-24T19:39:43.814Z",#012    "content": {#012      "temp": 24.38,#012      "hum": 52,#012      "batt": 91,#012      "csvF": "shelly-37_20240524.csv"#012    },#012    "transaction": "125f3708-3166-4128-9672-96b3dcaeedad"#012  }#012}'°
May 24 21:39:48 srv4hai common[12453]: SHELLY common.sh inkludiert von ./ht_shelly.sh
May 24 21:39:48 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=52&temp=24.38&id=shellyht-00B358
May 24 21:39:48 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/05/shelly-37_20240524.csv'
May 24 21:39:48 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240524.csv' modifed 5s ago - EXIT
May 24 21:39:53 srv4hai common[12479]: SHELLY common.sh inkludiert von ./ht_shelly.sh
May 24 21:39:53 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=52&temp=24.38&id=shellyht-00B358
May 24 21:39:53 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/05/shelly-37_20240524.csv'
May 24 21:39:53 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240524.csv' modifed 10s ago - EXIT
May 24 21:39:54 srv4hai dovecot: imap(miglincit)<3949>: Logged out in=3185 out=251791 deleted=0 expunged=0 trashed=0 hdr_count=2 hdr_bytes=690 body_count=2 body_bytes=164003
May 24 21:39:54 srv4hai activate_scenario[12504]: SHELLY scenario: 'pcOFF(pcoff)' started
May 24 21:39:54 srv4hai activate_scenario[12504]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-0:''

finished