activate_scenario.sh
Thu Feb 1 01:31:19 CET 2024
scenario: welcomeLight
phoneName: 0

'night' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'thomas@miglinci.name'

scenario: 'Willkommen-Licht EIN-schalten' - 'welcomeLight' - 'welcomelight'

Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/02/01/_0.log)

vorher: 01:31:19.329

http://192.168.12.103/relay/0?turn=on
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "http"

nachher: 01:31:19.384
Dauer: 55 msec phName: 'phoneName:'0''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/02/01/_1.log)

vorher: 01:31:19.354

http://192.168.12.116/white/0?turn=on&brightness=25
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 25,
  "transition": 0,
  "power": 10.8,
  "overpower": false

nachher: 01:31:19.494
Dauer: 140 msec phName: 'phoneName:'0''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/02/01/_2.log)

vorher: 01:31:19.376

http://192.168.12.116/white/1?turn=on&brightness=25
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 25,
  "transition": 0,
  "power": 10.8,
  "overpower": false

nachher: 01:31:19.494
Dauer: 118 msec phName: 'phoneName:'0''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/02/01/_3.log)

vorher: 01:31:19.397

http://192.168.12.117/white/0?turn=on&brightness=25
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 25,
  "transition": 0,
  "power": 7.13,
  "overpower": false

nachher: 01:31:19.433
Dauer: 35 msec phName: 'phoneName:'0''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/02/01/_4.log)

vorher: 01:31:19.413

http://192.168.12.117/white/1?turn=on&brightness=25
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 25,
  "transition": 0,
  "power": 7.13,
  "overpower": false

nachher: 01:31:19.464
Dauer: 51 msec phName: 'phoneName:'0''


scenario: 'Willkommen-Licht EIN-schalten' - 'welcomeLight' - 'welcomelight'

urls : 5
vorher : 01:31:19.276
nachher: 01:31:19.505
Dauer : 230 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/01//scene_welcomeLight_20240201_013119.txt'


syslog

Feb  1 01:28:01 srv4hai CRON[8560]: (root) CMD (/etc/linetest/linetest.sh)
Feb  1 01:28:08 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706747288 - 'ping_SP_0'
Feb  1 01:28:08 srv4hai check_presence[8584]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Feb  1 01:28:08 srv4hai check_presence[8584]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Feb  1 01:28:08 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  1 01:28:16 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1706747296 - 'ping_SP_1'
Feb  1 01:28:16 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb  1 01:28:19 srv4hai named[14530]: resolver priming query complete
Feb  1 01:28:34 srv4hai nmbd[30864]: [2024/02/01 01:28:34.329426,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Feb  1 01:28:34 srv4hai nmbd[30864]:   find_domain_master_name_query_fail:
Feb  1 01:28:34 srv4hai nmbd[30864]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Feb  1 01:28:34 srv4hai nmbd[30864]:   Unable to sync browse lists in this workgroup.
Feb  1 01:28:38 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706747318 - 'ping_SP_0'
Feb  1 01:28:38 srv4hai check_presence[8650]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Feb  1 01:28:38 srv4hai check_presence[8650]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Feb  1 01:28:38 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  1 01:28:46 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1706747326 - 'ping_SP_1'
Feb  1 01:28:47 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb  1 01:28:58 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb  1 01:28:59 srv4hai fetchmail[1651]: 36944 messages (36943 seen) for tmiglinci at mail.akis.at (-1228414664 octets).
Feb  1 01:28:59 srv4hai postfix/smtpd[8697]: connect from localhost[127.0.0.1]
Feb  1 01:28:59 srv4hai postfix/smtpd[8697]: A49EB6011D: client=localhost[127.0.0.1]
Feb  1 01:28:59 srv4hai postfix/cleanup[8700]: A49EB6011D: message-id=<20240201002518.A20C160244@mail.viehai.at>
Feb  1 01:28:59 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:36944 of 36944 (14510 octets) not flushed
Feb  1 01:28:59 srv4hai postfix/qmgr[28610]: A49EB6011D: from=, size=14819, nrcpt=1 (queue active)
Feb  1 01:28:59 srv4hai postfix/smtpd[8697]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Feb  1 01:28:59 srv4hai postfix/local[8701]: A49EB6011D: to=, relay=local, delay=0.08, delays=0.05/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb  1 01:28:59 srv4hai postfix/qmgr[28610]: A49EB6011D: removed
Feb  1 01:29:00 srv4hai fetchmail[1651]: 9838 messages (9838 seen) for srozum at mail.akis.at (1188632446 octets).
Feb  1 01:29:00 srv4hai named[14530]: resolver priming query complete
Feb  1 01:29:00 srv4hai fetchmail[1651]: 21416 messages (21416 seen) for mrozum at mail.akis.at (-669007289 octets).
Feb  1 01:29:01 srv4hai fetchmail[1651]: 45 messages (45 seen) for admin@bastelstube.wien at pop3.world4you.com (12035480 octets).
Feb  1 01:29:01 srv4hai CRON[8705]: (root) CMD (/etc/linetest/linetest.sh)
Feb  1 01:29:08 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706747348 - 'ping_SP_0'
Feb  1 01:29:08 srv4hai check_presence[8725]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Feb  1 01:29:08 srv4hai check_presence[8725]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Feb  1 01:29:08 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  1 01:29:17 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1706747357 - 'ping_SP_1'
Feb  1 01:29:17 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb  1 01:29:38 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706747378 - 'ping_SP_0'
Feb  1 01:29:38 srv4hai check_presence[8798]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Feb  1 01:29:38 srv4hai check_presence[8798]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Feb  1 01:29:38 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  1 01:29:47 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1706747387 - 'ping_SP_1'
Feb  1 01:29:47 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb  1 01:30:01 srv4hai CRON[8851]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Feb  1 01:30:01 srv4hai CRON[8852]: (root) CMD (/etc/linetest/linetest.sh)
Feb  1 01:30:01 srv4hai meter.sh: SHELLY meter.sh started
Feb  1 01:30:03 srv4hai named[14530]: resolver priming query complete
Feb  1 01:30:05 srv4hai named[14530]: resolver priming query complete
Feb  1 01:30:09 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706747409 - 'ping_SP_0'
Feb  1 01:30:09 srv4hai check_presence[9059]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Feb  1 01:30:09 srv4hai check_presence[9059]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Feb  1 01:30:09 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  1 01:30:17 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1706747417 - 'ping_SP_1'
Feb  1 01:30:17 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb  1 01:30:39 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706747439 - 'ping_SP_0'
Feb  1 01:30:39 srv4hai check_presence[9200]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Feb  1 01:30:39 srv4hai check_presence[9200]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Feb  1 01:30:39 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  1 01:30:46 srv4hai bt_scan[9241]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' found: 'No'
Feb  1 01:30:46 srv4hai bt_scan[9241]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Feb  1 01:30:46 srv4hai check_presence[9265]: SHELLY ()-(bt_scan) what: 'presence' - persPresent: '(__/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Feb  1 01:30:46 srv4hai check_presence[9265]: SHELLY ()-(bt_scan)-presence: NOT activate_scenario.shtml: offAll
Feb  1 01:30:47 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1706747447 - 'ping_SP_1'
Feb  1 01:30:47 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb  1 01:31:01 srv4hai CRON[9355]: (root) CMD (/etc/linetest/linetest.sh)
Feb  1 01:31:03 srv4hai named[14530]: resolver priming query complete
Feb  1 01:31:09 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706747469 - 'ping_SP_0'
Feb  1 01:31:09 srv4hai check_presence[9389]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(__/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Feb  1 01:31:09 srv4hai check_presence[9389]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Feb  1 01:31:09 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  1 01:31:09 srv4hai meter.sh: SHELLY meter.sh ended
Feb  1 01:31:16 srv4hai dhcpd[5037]: DHCPDISCOVER from 48:55:19:00:b3:58 via enp2s0
Feb  1 01:31:16 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb  1 01:31:16 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb  1 01:31:16 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.137
Feb  1 01:31:16 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-37
Feb  1 01:31:16 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.137 (192.168.12.252) from 48:55:19:00:b3:58 via enp2s0
Feb  1 01:31:16 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb  1 01:31:16 srv4hai named[14530]: client @0x7fc3240092c0 192.168.12.252#58167/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-37.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb  1 01:31:16 srv4hai named[14530]: client @0x7fc31c041220 192.168.12.252#59347/key rndc-key: signer "rndc-key" approved
Feb  1 01:31:16 srv4hai named[14530]: client @0x7fc31c041220 192.168.12.252#59347/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' TXT
Feb  1 01:31:16 srv4hai named[14530]: client @0x7fc31c041220 192.168.12.252#59347/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' TXT "001bc21ebc20088cb6a311248591ab7101"
Feb  1 01:31:16 srv4hai named[14530]: client @0x7fc31c041220 192.168.12.252#59347/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' A
Feb  1 01:31:16 srv4hai named[14530]: client @0x7fc31c041220 192.168.12.252#59347/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' A 192.168.12.137
Feb  1 01:31:16 srv4hai dhcpd[5037]: Added new forward map from shelly-37.viehai.at to 192.168.12.137
Feb  1 01:31:16 srv4hai named[14530]: client @0x7fc310074f60 192.168.12.252#55287/key rndc-key: signer "rndc-key" approved
Feb  1 01:31:16 srv4hai named[14530]: client @0x7fc310074f60 192.168.12.252#55287/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '137.12.168.192.in-addr.arpa' PTR
Feb  1 01:31:16 srv4hai named[14530]: client @0x7fc310074f60 192.168.12.252#55287/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  1 01:31:16 srv4hai dhcpd[5037]: Added reverse map from 137.12.168.192.in-addr.arpa. to shelly-37.viehai.at
Feb  1 01:31:16 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-37' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Feb  1 01:31:17 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
Feb  1 01:31:17 srv4hai ht_shelly.sh: SHELLY - working dir '/srv/www/viehai/shelly/wetter/2024/02'
Feb  1 01:31:17 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=43&temp=21.75&id=shellyht-00B358
Feb  1 01:31:17 srv4hai ht_shelly.sh: SHELLY id  => macID: '00:B3:58'
Feb  1 01:31:17 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
Feb  1 01:31:17 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137'
Feb  1 01:31:17 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137'
Feb  1 01:31:17 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Feb  1 01:31:17 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Feb  1 01:31:17 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Feb  1 01:31:17 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Feb  1 01:31:17 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Feb  1 01:31:17 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Feb  1 01:31:17 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Feb  1 01:31:17 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Feb  1 01:31:17 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Feb  1 01:31:17 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Feb  1 01:31:17 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Feb  1 01:31:17 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Feb  1 01:31:17 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 21.75° - 43%
Feb  1 01:31:17 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240201.csv'
Feb  1 01:31:17 srv4hai ht_shelly.sh: SHELLY - initial creation of '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240201.csv'
Feb  1 01:31:17 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 21.75°/° - 43%/% - SAVED
Feb  1 01:31:17 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: batt='91'°
Feb  1 01:31:17 srv4hai named[14530]: resolver priming query complete
Feb  1 01:31:17 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1706747477 - 'ping_SP_1'
Feb  1 01:31:17 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb  1 01:31:17 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-01T00:31:17.823Z",#012    "content": {#012      "temp": 21.75,#012      "hum": 43,#012      "batt": 91#012    },#012    "transaction": "5f2d539f-a7fc-42cb-b739-88a9ef74d7df"#012  }#012}'°
Feb  1 01:31:19 srv4hai bt_scan[9678]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' found: 'Yes'
Feb  1 01:31:19 srv4hai bt_scan[9678]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Feb  1 01:31:19 srv4hai ping_SP[9701]: SHELLY ping_SP.sh started from bt_scan - trcF:'/srv/www/viehai/shelly/meter/trc_9701.txt'
Feb  1 01:31:19 srv4hai check_presence[9706]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Feb  1 01:31:19 srv4hai check_presence[9706]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: welcomeLight
Feb  1 01:31:19 srv4hai activate_scenario[9723]: SHELLY scenario: 'welcomeLight(welcomelight)' started
Feb  1 01:31:19 srv4hai activate_scenario[9723]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished