activate_scenario.sh
Fri Sep 13 14:52:53 CEST 2024
scenario: vorraumOn
phoneName: 0

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

scenario: 'Vorzimmer EIN' - 'vorraumOn' - 'vorraumon'

Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/09/13/_0.log)

vorher: 14:52:53.908

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": "input"

nachher: 14:52:54.008
Dauer: 99 msec phName: 'phoneName:'0''


scenario: 'Vorzimmer EIN' - 'vorraumOn' - 'vorraumon'

urls : 1
vorher : 14:52:53.889
nachher: 14:52:54.014
Dauer : 124 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/13//scene_vorraumOn_20240913_145253.txt'


syslog

Sep 13 14:49:01 srv4hai CRON[27200]: (root) CMD (/etc/linetest/linetest.sh)
Sep 13 14:50:00 srv4hai ping_SP[29963]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726231800 - 'ping_SP_1'
Sep 13 14:50:00 srv4hai ping_SP[29963]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 13 14:50:01 srv4hai CRON[27230]: (root) CMD (/etc/linetest/linetest.sh)
Sep 13 14:50:01 srv4hai CRON[27231]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Sep 13 14:50:01 srv4hai common[27233]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Sep 13 14:50:01 srv4hai meter.sh: SHELLY meter.sh started
Sep 13 14:50:04 srv4hai meter.sh: SHELLY 'shelly-22/WC':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 13 14:50:04 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Sep 13 14:50:04 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Sep 13 14:50:08 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Sep 13 14:50:08 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Sep 13 14:50:08 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Sep 13 14:50:08 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Sep 13 14:50:08 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Sep 13 14:50:11 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 13 14:50:14 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 13 14:50:14 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Sep 13 14:50:14 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Sep 13 14:50:14 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Sep 13 14:50:14 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Sep 13 14:50:14 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Sep 13 14:50:14 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test' - status: 'OOS' ignoring
Sep 13 14:50:14 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Sep 13 14:50:14 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Sep 13 14:50:14 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Sep 13 14:50:14 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Sep 13 14:50:14 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Sep 13 14:50:14 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Sep 13 14:50:14 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Sep 13 14:50:14 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Sep 13 14:50:14 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Sep 13 14:50:14 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Sep 13 14:50:18 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 13 14:50:18 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Sep 13 14:50:18 srv4hai common[28178]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Sep 13 14:50:18 srv4hai check_shelly.sh: SHELLY last scenery executed: 'vorraumOn'
Sep 13 14:50:18 srv4hai check_shelly.sh: SHELLY found '6' active shelly outputs
Sep 13 14:50:18 srv4hai meter.sh: SHELLY meter.sh ended
Sep 13 14:50:56 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Sep 13 14:50:56 srv4hai fetchmail[1651]: 52245 messages (52245 seen) for tmiglinci at mail.akis.at (7377679 octets).
Sep 13 14:50:57 srv4hai fetchmail[1651]: 10716 messages (10716 seen) for srozum at mail.akis.at (1301407812 octets).
Sep 13 14:50:57 srv4hai fetchmail[1651]: 25889 messages (25889 seen) for mrozum at mail.akis.at (207838427 octets).
Sep 13 14:50:58 srv4hai fetchmail[1651]: 1143 messages (1143 seen) for admin@bastelstube.wien at pop3.world4you.com (51639660 octets).
Sep 13 14:51:01 srv4hai CRON[28227]: (root) CMD (/etc/linetest/linetest.sh)
Sep 13 14:51:03 srv4hai ping_SP[29963]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726231863 - 'ping_SP_1'
Sep 13 14:51:03 srv4hai ping_SP[29963]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 13 14:51:43 srv4hai postfix/anvil[27177]: statistics: max connection rate 1/60s for (smtp:94.156.177.87) at Sep 13 14:48:23
Sep 13 14:51:43 srv4hai postfix/anvil[27177]: statistics: max connection count 1 for (smtp:94.156.177.87) at Sep 13 14:48:23
Sep 13 14:51:43 srv4hai postfix/anvil[27177]: statistics: max cache size 1 at Sep 13 14:48:23
Sep 13 14:52:01 srv4hai CRON[28260]: (root) CMD (/etc/linetest/linetest.sh)
Sep 13 14:52:07 srv4hai ping_SP[29963]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726231927 - 'ping_SP_1'
Sep 13 14:52:07 srv4hai ping_SP[29963]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 13 14:52:42 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Sep 13 14:52:42 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Sep 13 14:52:42 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Sep 13 14:52:42 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Sep 13 14:52:42 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Sep 13 14:52:42 srv4hai common[28288]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Sep 13 14:52:42 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Sep 13 14:52:42 srv4hai common[28302]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Sep 13 14:52:42 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Sep 13 14:52:42 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Sep 13 14:52:42 srv4hai named[30406]: client @0x7f9310079c50 192.168.12.252#34337/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Sep 13 14:52:42 srv4hai named[30406]: client @0x7f93300a3990 192.168.12.252#46191/key rndc-key: signer "rndc-key" approved
Sep 13 14:52:42 srv4hai named[30406]: client @0x7f93300a3990 192.168.12.252#46191/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Sep 13 14:52:42 srv4hai named[30406]: client @0x7f93300a3990 192.168.12.252#46191/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Sep 13 14:52:42 srv4hai named[30406]: client @0x7f93300a3990 192.168.12.252#46191/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Sep 13 14:52:42 srv4hai named[30406]: client @0x7f93300a3990 192.168.12.252#46191/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Sep 13 14:52:42 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Sep 13 14:52:42 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#33313/key rndc-key: signer "rndc-key" approved
Sep 13 14:52:42 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#33313/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Sep 13 14:52:42 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#33313/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '61.12.168.192.in-addr.arpa' PTR fpThomas.viehai.at.
Sep 13 14:52:42 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Sep 13 14:52:42 srv4hai ping_SP[28302]: SHELLY ping_SP.sh started from smartphone, user:'root'
Sep 13 14:52:47 srv4hai common[28324]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 13 14:52:53 srv4hai common[28347]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep 13 14:52:53 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'5'=1726231973-1726231968
Sep 13 14:52:53 srv4hai check_presence[28347]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Sep 13 14:52:53 srv4hai check_presence[28347]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Sep 13 14:52:53 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'5'=1726231973-1726231968
Sep 13 14:52:53 srv4hai check_presence[28347]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Sep 13 14:52:53 srv4hai check_presence[28347]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Sep 13 14:52:53 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'5'=1726231973-1726231968
Sep 13 14:52:53 srv4hai check_presence[28347]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Sep 13 14:52:53 srv4hai check_presence[28347]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(BT/LIVE) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Sep 13 14:52:53 srv4hai check_presence[28347]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn)
Sep 13 14:52:53 srv4hai check_presence[28347]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Sep 13 14:52:53 srv4hai activate_scenario[28517]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Sep 13 14:52:53 srv4hai activate_scenario[28517]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished