activate_scenario.sh
Fri Dec 13 09:29:47 CET 2024
scenario: vorraumOn
phoneName: 1

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

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

VZ Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/13/_0.log)

vorher: 09:29:48.058

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: 09:29:48.174
Dauer: 115 msec phName: 'phoneName:'1''


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

urls : 1
vorher : 09:29:48.038
nachher: 09:29:48.180
Dauer : 142 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/13//scene_vorraumOn_20241213_092947.txt'


syslog

Dec 13 09:26:01 srv4hai CRON[25587]: (root) CMD (/etc/linetest/linetest.sh)
Dec 13 09:26:27 srv4hai dhcpd[4995]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0
Dec 13 09:26:27 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Dec 13 09:26:27 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Dec 13 09:26:27 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.147
Dec 13 09:26:27 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-47
Dec 13 09:26:27 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.147 (192.168.12.252) from 44:17:93:a5:8a:e4 via enp2s0
Dec 13 09:26:27 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Dec 13 09:26:27 srv4hai named[30406]: client @0x7f93506e3340 192.168.12.252#50809/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-47.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec 13 09:26:27 srv4hai named[30406]: client @0x7f93506df2d0 192.168.12.252#40079/key rndc-key: signer "rndc-key" approved
Dec 13 09:26:27 srv4hai named[30406]: client @0x7f93506df2d0 192.168.12.252#40079/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' TXT
Dec 13 09:26:27 srv4hai named[30406]: client @0x7f93506df2d0 192.168.12.252#40079/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' TXT "31f97534415d36e3a13ec57b0310c0867f"
Dec 13 09:26:27 srv4hai named[30406]: client @0x7f93506df2d0 192.168.12.252#40079/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' A
Dec 13 09:26:27 srv4hai named[30406]: client @0x7f93506df2d0 192.168.12.252#40079/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' A 192.168.12.147
Dec 13 09:26:27 srv4hai dhcpd[4995]: Added new forward map from shelly-47.viehai.at to 192.168.12.147
Dec 13 09:26:27 srv4hai named[30406]: client @0x7f931c067c00 192.168.12.252#48241/key rndc-key: signer "rndc-key" approved
Dec 13 09:26:27 srv4hai named[30406]: client @0x7f931c067c00 192.168.12.252#48241/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '147.12.168.192.in-addr.arpa' PTR
Dec 13 09:26:27 srv4hai named[30406]: client @0x7f931c067c00 192.168.12.252#48241/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 13 09:26:27 srv4hai dhcpd[4995]: Added reverse map from 147.12.168.192.in-addr.arpa. to shelly-47.viehai.at
Dec 13 09:26:27 srv4hai common[25594]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Dec 13 09:26:27 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-47' - shIP/2:'' perform:'conf'
Dec 13 09:26:28 srv4hai mosquitto[29419]: New connection from 192.168.12.147 on port 1883.
Dec 13 09:26:28 srv4hai mosquitto[29419]: New client connected from 192.168.12.147 as shellyplus1-441793a58ae4 (c1, k60, u'shmqtt').
Dec 13 09:26:35 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-47' - shIP/2:'192.168.12.147'
Dec 13 09:26:35 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Schreibtischlampe links' already set for '192.168.12.147'
Dec 13 09:26:35 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(0)' - allready transmitted - skipping
Dec 13 09:26:52 srv4hai postfix/smtpd[25641]: connect from unknown[80.94.95.239]
Dec 13 09:26:53 srv4hai postfix/smtpd[25641]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec 13 09:26:53 srv4hai postfix/smtpd[25641]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Dec 13 09:26:59 srv4hai ping_SP[10035]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734078419 - 'ping_SP_0'
Dec 13 09:26:59 srv4hai ping_SP[10035]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 13 09:27:01 srv4hai CRON[25666]: (root) CMD (/etc/linetest/linetest.sh)
Dec 13 09:27:59 srv4hai mosquitto[29419]: Client shellyplus1-441793a58ae4 has exceeded timeout, disconnecting.
Dec 13 09:27:59 srv4hai mosquitto[29419]: Socket error on client shellyplus1-441793a58ae4, disconnecting.
Dec 13 09:28:00 srv4hai nmbd[2172]: [2024/12/13 09:28:00.742456,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Dec 13 09:28:00 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Dec 13 09:28:00 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Dec 13 09:28:00 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Dec 13 09:28:01 srv4hai CRON[25692]: (root) CMD (/etc/linetest/linetest.sh)
Dec 13 09:28:02 srv4hai ping_SP[10035]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734078482 - 'ping_SP_0'
Dec 13 09:28:02 srv4hai ping_SP[10035]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 13 09:28:04 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=25718, secured, session=
Dec 13 09:28:04 srv4hai dovecot: imap(miglincit)<25718>: Logged out in=1948 out=1232 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec 13 09:28:12 srv4hai dhcpd[4995]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0
Dec 13 09:28:12 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Dec 13 09:28:12 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Dec 13 09:28:12 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.147
Dec 13 09:28:12 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-47
Dec 13 09:28:12 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.147 (192.168.12.252) from 44:17:93:a5:8a:e4 via enp2s0
Dec 13 09:28:12 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Dec 13 09:28:12 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#57629/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-47.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec 13 09:28:12 srv4hai named[30406]: client @0x7f93500576c0 192.168.12.252#40167/key rndc-key: signer "rndc-key" approved
Dec 13 09:28:12 srv4hai named[30406]: client @0x7f93500576c0 192.168.12.252#40167/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' TXT
Dec 13 09:28:12 srv4hai named[30406]: client @0x7f93500576c0 192.168.12.252#40167/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' TXT "31f97534415d36e3a13ec57b0310c0867f"
Dec 13 09:28:12 srv4hai named[30406]: client @0x7f93500576c0 192.168.12.252#40167/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' A
Dec 13 09:28:12 srv4hai named[30406]: client @0x7f93500576c0 192.168.12.252#40167/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' A 192.168.12.147
Dec 13 09:28:12 srv4hai dhcpd[4995]: Added new forward map from shelly-47.viehai.at to 192.168.12.147
Dec 13 09:28:12 srv4hai named[30406]: client @0x7f9338096e40 192.168.12.252#40249/key rndc-key: signer "rndc-key" approved
Dec 13 09:28:12 srv4hai named[30406]: client @0x7f9338096e40 192.168.12.252#40249/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '147.12.168.192.in-addr.arpa' PTR
Dec 13 09:28:12 srv4hai named[30406]: client @0x7f9338096e40 192.168.12.252#40249/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 13 09:28:12 srv4hai dhcpd[4995]: Added reverse map from 147.12.168.192.in-addr.arpa. to shelly-47.viehai.at
Dec 13 09:28:12 srv4hai common[25721]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Dec 13 09:28:12 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-47' - shIP/2:'' perform:'conf'
Dec 13 09:28:13 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-47' - shIP/2:'192.168.12.147'
Dec 13 09:28:13 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Schreibtischlampe links' already set for '192.168.12.147'
Dec 13 09:28:13 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(0)' - allready transmitted - skipping
Dec 13 09:28:13 srv4hai mosquitto[29419]: New connection from 192.168.12.147 on port 1883.
Dec 13 09:28:13 srv4hai mosquitto[29419]: New client connected from 192.168.12.147 as shellyplus1-441793a58ae4 (c1, k60, u'shmqtt').
Dec 13 09:28:35 srv4hai postfix/smtpd[25791]: connect from unknown[185.196.10.158]
Dec 13 09:28:35 srv4hai postfix/smtpd[25791]: warning: unknown[185.196.10.158]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec 13 09:28:36 srv4hai postfix/smtpd[25791]: disconnect from unknown[185.196.10.158] ehlo=1 auth=0/1 quit=1 commands=2/3
Dec 13 09:29:01 srv4hai CRON[25800]: (root) CMD (/etc/linetest/linetest.sh)
Dec 13 09:29:05 srv4hai ping_SP[10035]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734078545 - 'ping_SP_0'
Dec 13 09:29:05 srv4hai ping_SP[10035]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 13 09:29:44 srv4hai mosquitto[29419]: Client shellyplus1-441793a58ae4 has exceeded timeout, disconnecting.
Dec 13 09:29:44 srv4hai mosquitto[29419]: Socket error on client shellyplus1-441793a58ae4, disconnecting.
Dec 13 09:29:47 srv4hai common[25830]: SHELLY common.sh inkludiert von ./bt_scan.sh
Dec 13 09:29:47 srv4hai bt_scan[25830]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes'
Dec 13 09:29:47 srv4hai bt_scan[25830]: SHELLY - ping_SP.sh started for BTmac: '1' - IPv4: '192.168.12.62'
Dec 13 09:29:47 srv4hai common[25862]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Dec 13 09:29:47 srv4hai ping_SP[25862]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Dec 13 09:29:47 srv4hai common[25883]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Dec 13 09:29:47 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'0'=1734078587-1734078587
Dec 13 09:29:47 srv4hai check_presence[25883]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Dec 13 09:29:47 srv4hai check_presence[25883]: SHELLY (ping_SP__bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Dec 13 09:29:47 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'0'=1734078587-1734078587
Dec 13 09:29:47 srv4hai check_presence[25883]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.TRY} and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Dec 13 09:29:47 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'0'=1734078587-1734078587
Dec 13 09:29:47 srv4hai check_presence[25883]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Dec 13 09:29:47 srv4hai check_presence[25883]: SHELLY (ping_SP__bt_scan)-(1) what: 'coming' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Dec 13 09:29:47 srv4hai check_presence[25883]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_nasszeile_um) - sceneONsmall(vorraumOn)
Dec 13 09:29:47 srv4hai check_presence[25883]: SHELLY (ping_SP__bt_scan)-(1)-coming: activate_scenario.shtml: vorraumOn
Dec 13 09:29:48 srv4hai activate_scenario[26014]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Dec 13 09:29:48 srv4hai activate_scenario[26014]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'1'

finished