activate_scenario.sh
Sun Dec 22 10:17:26 CET 2024
scenario: buero_UM
source: 192.168.12.140

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

scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

TB Regallicht (/srv/www/viehai/shelly/log_scenarios/2024/12/22/_0.log)

vorher: 10:17:26.706

http://192.168.12.108/relay/0?turn=toggle
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 10:17:26.749
Dauer: 42 msec phName: 'shelly-40:'TB Licht''


TB Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/22/_1.log)

vorher: 10:17:26.725

http://192.168.12.140/relay/0?turn=toggle
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 10:17:26.757
Dauer: 32 msec phName: 'shelly-40:'TB Licht''


scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

urls : 2
vorher : 10:17:26.665
nachher: 10:17:26.764
Dauer : 100 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/22//scene_buero_UM_20241222_101726.txt'


syslog

Dec 22 10:14:01 srv4hai CRON[12226]: (root) CMD (/etc/linetest/linetest.sh)
Dec 22 10:14:14 srv4hai ping_SP[7733]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734858854 - 'ping_SP_0'
Dec 22 10:14:14 srv4hai ping_SP[7733]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 22 10:14:24 srv4hai postfix/smtpd[12167]: connect from unknown[80.94.95.239]
Dec 22 10:14:27 srv4hai postfix/smtpd[12167]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec 22 10:14:28 srv4hai postfix/smtpd[12167]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Dec 22 10:14:34 srv4hai ping_SP[32227]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1734858874 - 'ping_SP_1'
Dec 22 10:14:34 srv4hai ping_SP[32227]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec 22 10:14:35 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Dec 22 10:14:35 srv4hai fetchmail[1651]: 59881 messages (59881 seen) for tmiglinci at mail.akis.at (628480615 octets).
Dec 22 10:14:37 srv4hai fetchmail[1651]: 11265 messages (11265 seen) for srozum at mail.akis.at (1349115014 octets).
Dec 22 10:14:40 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 22 10:14:40 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 22 10:14:40 srv4hai fetchmail[1651]: 27992 messages (27992 seen) for mrozum at mail.akis.at (516962270 octets).
Dec 22 10:14:40 srv4hai fetchmail[1651]: 1161 messages (1161 seen) for admin@bastelstube.wien at pop3.world4you.com (52202045 octets).
Dec 22 10:14:46 srv4hai postfix/anvil[8266]: statistics: max connection rate 1/60s for (smtp:80.94.95.239) at Dec 22 10:06:31
Dec 22 10:14:46 srv4hai postfix/anvil[8266]: statistics: max connection count 1 for (smtp:80.94.95.239) at Dec 22 10:06:31
Dec 22 10:14:46 srv4hai postfix/anvil[8266]: statistics: max cache size 2 at Dec 22 10:07:26
Dec 22 10:15:01 srv4hai CRON[12274]: (root) CMD (/etc/linetest/linetest.sh)
Dec 22 10:15:27 srv4hai ping_SP[7733]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734858927 - 'ping_SP_0'
Dec 22 10:15:27 srv4hai ping_SP[7733]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 22 10:15:34 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 22 10:15:34 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 22 10:15:47 srv4hai ping_SP[32227]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1734858947 - 'ping_SP_1'
Dec 22 10:15:47 srv4hai ping_SP[32227]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec 22 10:16:00 srv4hai common[12322]: SHELLY common.sh inkludiert von ./bt_scan.sh
Dec 22 10:16:01 srv4hai CRON[12336]: (root) CMD (/etc/linetest/linetest.sh)
Dec 22 10:16:10 srv4hai bt_scan[12322]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Dec 22 10:16:10 srv4hai bt_scan[12322]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Dec 22 10:16:10 srv4hai common[12361]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Dec 22 10:16:11 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1734858971-1734858960
Dec 22 10:16:11 srv4hai check_presence[12361]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Dec 22 10:16:11 srv4hai check_presence[12361]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Dec 22 10:16:11 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'11'=1734858971-1734858960
Dec 22 10:16:11 srv4hai check_presence[12361]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Dec 22 10:16:11 srv4hai check_presence[12361]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Dec 22 10:16:11 srv4hai common.sh: SHELLY: BTstatus[2]:'null' dweetAge:'11'=1734858971-1734858960
Dec 22 10:16:11 srv4hai check_presence[12361]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and null//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Dec 22 10:16:11 srv4hai check_presence[12361]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Dec 22 10:16:11 srv4hai check_presence[12361]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_vorraumOn) - sceneOFF(offAll)
Dec 22 10:16:11 srv4hai check_presence[12361]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Dec 22 10:16:33 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 22 10:16:33 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 22 10:16:38 srv4hai common[12514]: SHELLY common.sh inkludiert von ./bt_scan.sh
Dec 22 10:16:41 srv4hai ping_SP[7733]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734859001 - 'ping_SP_0'
Dec 22 10:16:41 srv4hai ping_SP[7733]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 22 10:16:48 srv4hai bt_scan[12514]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Dec 22 10:16:48 srv4hai bt_scan[12514]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Dec 22 10:16:57 srv4hai dhcpd[4995]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0
Dec 22 10:16:57 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Dec 22 10:16:57 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Dec 22 10:16:57 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.147
Dec 22 10:16:57 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-47
Dec 22 10:16:57 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.147 (192.168.12.252) from 44:17:93:a5:8a:e4 via enp2s0
Dec 22 10:16:57 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Dec 22 10:16:57 srv4hai named[30406]: client @0x7f93300b2620 192.168.12.252#50523/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-47.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec 22 10:16:57 srv4hai named[30406]: client @0x7f933000d2b0 192.168.12.252#39609/key rndc-key: signer "rndc-key" approved
Dec 22 10:16:57 srv4hai named[30406]: client @0x7f933000d2b0 192.168.12.252#39609/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' TXT
Dec 22 10:16:57 srv4hai named[30406]: client @0x7f933000d2b0 192.168.12.252#39609/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' TXT "31f97534415d36e3a13ec57b0310c0867f"
Dec 22 10:16:57 srv4hai named[30406]: client @0x7f933000d2b0 192.168.12.252#39609/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' A
Dec 22 10:16:57 srv4hai named[30406]: client @0x7f933000d2b0 192.168.12.252#39609/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' A 192.168.12.147
Dec 22 10:16:57 srv4hai dhcpd[4995]: Added new forward map from shelly-47.viehai.at to 192.168.12.147
Dec 22 10:16:57 srv4hai named[30406]: client @0x7f9348048e40 192.168.12.252#53443/key rndc-key: signer "rndc-key" approved
Dec 22 10:16:57 srv4hai named[30406]: client @0x7f9348048e40 192.168.12.252#53443/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '147.12.168.192.in-addr.arpa' PTR
Dec 22 10:16:57 srv4hai named[30406]: client @0x7f9348048e40 192.168.12.252#53443/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '147.12.168.192.in-addr.arpa' PTR shelly-47.viehai.at.
Dec 22 10:16:57 srv4hai dhcpd[4995]: Added reverse map from 147.12.168.192.in-addr.arpa. to shelly-47.viehai.at
Dec 22 10:16:57 srv4hai common[12568]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Dec 22 10:16:57 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-47' - shIP/2:'' perform:'conf'
Dec 22 10:16:58 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-47' - shIP/2:'192.168.12.147'
Dec 22 10:16:58 srv4hai mosquitto[29419]: New connection from 192.168.12.147 on port 1883.
Dec 22 10:16:58 srv4hai mosquitto[29419]: New client connected from 192.168.12.147 as shellyplus1-441793a58ae4 (c1, k60, u'shmqtt').
Dec 22 10:16:58 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Schreibtischlampe links' already set for '192.168.12.147'
Dec 22 10:16:58 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(0)' - allready transmitted - skipping
Dec 22 10:17:00 srv4hai ping_SP[32227]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1734859020 - 'ping_SP_1'
Dec 22 10:17:00 srv4hai ping_SP[32227]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec 22 10:17:01 srv4hai CRON[12625]: (root) CMD (/etc/linetest/linetest.sh)
Dec 22 10:17:01 srv4hai CRON[12626]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Dec 22 10:17:06 srv4hai common[12649]: SHELLY common.sh inkludiert von ./bt_scan.sh
Dec 22 10:17:16 srv4hai bt_scan[12649]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes'
Dec 22 10:17:16 srv4hai bt_scan[12649]: SHELLY - ping_SP.sh already running for BTmac: '1' - IPv4: '192.168.12.62'
Dec 22 10:17:26 srv4hai activate_scenario[12684]: SHELLY scenario: 'buero_UM(buero_um)' started
Dec 22 10:17:26 srv4hai activate_scenario[12684]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished