activate_scenario.sh
Sun Jan 5 11:46:52 CET 2025
scenario: vorraumOn
phoneName: 0
vorher: 11:46:52.544
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: 11:46:52.572
Dauer: 29 msec
phName: 'phoneName:'0''
urls : 1
vorher : 11:46:52.516
nachher: 11:46:52.578
Dauer : 63 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/01/05//scene_vorraumOn_20250105_114652.txt'
Jan 5 11:43:01 srv4hai CRON[17376]: (root) CMD (/etc/linetest/linetest.sh) Jan 5 11:43:14 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=17383, secured, session=<12fMLfMqYL4AAAAAAAAAAAAAAAAAAAAB> Jan 5 11:43:14 srv4hai dovecot: imap(rozumm)<17383><12fMLfMqYL4AAAAAAAAAAAAAAAAAAAAB>: Logged out in=92 out=1062 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Jan 5 11:43:16 srv4hai nmbd[2172]: [2025/01/05 11:43:16.982666, 0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail) Jan 5 11:43:16 srv4hai nmbd[2172]: find_domain_master_name_query_fail: Jan 5 11:43:16 srv4hai nmbd[2172]: Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP. Jan 5 11:43:16 srv4hai nmbd[2172]: Unable to sync browse lists in this workgroup. Jan 5 11:43:17 srv4hai dhcpd[4995]: DHCPDISCOVER from 98:cd:ac:2e:1c:da via enp2s0 Jan 5 11:43:17 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0 Jan 5 11:43:17 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Jan 5 11:43:17 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.122 Jan 5 11:43:17 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-22 Jan 5 11:43:17 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.122 (192.168.12.252) from 98:cd:ac:2e:1c:da via enp2s0 Jan 5 11:43:17 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0 Jan 5 11:43:17 srv4hai named[30406]: client @0x7f931c09c730 192.168.12.252#54853/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-22.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jan 5 11:43:17 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#58085/key rndc-key: signer "rndc-key" approved Jan 5 11:43:17 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#58085/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' TXT Jan 5 11:43:17 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#58085/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' TXT "0051fce7ef7edfb3d29643aefa7bc5b7f2" Jan 5 11:43:17 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#58085/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' A Jan 5 11:43:17 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#58085/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' A 192.168.12.122 Jan 5 11:43:17 srv4hai dhcpd[4995]: Added new forward map from shelly-22.viehai.at to 192.168.12.122 Jan 5 11:43:17 srv4hai named[30406]: client @0x7f934c0733f0 192.168.12.252#36411/key rndc-key: signer "rndc-key" approved Jan 5 11:43:17 srv4hai named[30406]: client @0x7f934c0733f0 192.168.12.252#36411/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '122.12.168.192.in-addr.arpa' PTR Jan 5 11:43:17 srv4hai named[30406]: client @0x7f934c0733f0 192.168.12.252#36411/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '122.12.168.192.in-addr.arpa' PTR shelly-22.viehai.at. Jan 5 11:43:17 srv4hai dhcpd[4995]: Added reverse map from 122.12.168.192.in-addr.arpa. to shelly-22.viehai.at Jan 5 11:43:17 srv4hai common[17388]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Jan 5 11:43:17 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-22' - shIP/2:'' perform:'conf' Jan 5 11:43:18 srv4hai mosquitto[29419]: New connection from 192.168.12.122 on port 1883. Jan 5 11:43:18 srv4hai mosquitto[29419]: Client shelly1-98CDAC2E1CDA already connected, closing old connection. Jan 5 11:43:18 srv4hai mosquitto[29419]: Socket error on client shelly1-98CDAC2E1CDA, disconnecting. Jan 5 11:43:18 srv4hai mosquitto[29419]: New client connected from 192.168.12.122 as shelly1-98CDAC2E1CDA (c1, k60, u'shmqtt'). Jan 5 11:43:18 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-22' - shIP/2:'192.168.12.122' Jan 5 11:43:18 srv4hai conf_shelly.sh: SHELLY: usage/name 'WC Licht' already set for '192.168.12.122' Jan 5 11:43:18 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(0)' - allready transmitted - skipping Jan 5 11:43:18 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(1)' - allready transmitted - skipping Jan 5 11:43:18 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(2)' - allready transmitted - skipping Jan 5 11:43:18 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(3)' - allready transmitted - skipping Jan 5 11:43:18 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(4)' - allready transmitted - skipping Jan 5 11:44:01 srv4hai CRON[17504]: (root) CMD (/etc/linetest/linetest.sh) Jan 5 11:44:14 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=17510, secured, session= Jan 5 11:44:14 srv4hai dovecot: imap(rozumm)<17510> : Logged out in=92 out=1062 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Jan 5 11:45:01 srv4hai CRON[17522]: (root) CMD (/etc/linetest/linetest.sh) Jan 5 11:45:14 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=17530, secured, session= Jan 5 11:45:14 srv4hai dovecot: imap(rozumm)<17530> : Logged out in=92 out=1062 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Jan 5 11:45:42 srv4hai dhcpd[4995]: DHCPDISCOVER from 98:cd:ac:2e:1c:da via enp2s0 Jan 5 11:45:42 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0 Jan 5 11:45:42 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Jan 5 11:45:42 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.122 Jan 5 11:45:42 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-22 Jan 5 11:45:42 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.122 (192.168.12.252) from 98:cd:ac:2e:1c:da via enp2s0 Jan 5 11:45:42 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0 Jan 5 11:45:42 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#36021/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-22.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jan 5 11:45:42 srv4hai named[30406]: client @0x7f932c0cbfc0 192.168.12.252#39057/key rndc-key: signer "rndc-key" approved Jan 5 11:45:42 srv4hai named[30406]: client @0x7f932c0cbfc0 192.168.12.252#39057/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' TXT Jan 5 11:45:42 srv4hai named[30406]: client @0x7f932c0cbfc0 192.168.12.252#39057/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' TXT "0051fce7ef7edfb3d29643aefa7bc5b7f2" Jan 5 11:45:42 srv4hai named[30406]: client @0x7f932c0cbfc0 192.168.12.252#39057/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' A Jan 5 11:45:42 srv4hai named[30406]: client @0x7f932c0cbfc0 192.168.12.252#39057/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' A 192.168.12.122 Jan 5 11:45:42 srv4hai dhcpd[4995]: Added new forward map from shelly-22.viehai.at to 192.168.12.122 Jan 5 11:45:42 srv4hai named[30406]: client @0x7f9348035d30 192.168.12.252#34495/key rndc-key: signer "rndc-key" approved Jan 5 11:45:42 srv4hai named[30406]: client @0x7f9348035d30 192.168.12.252#34495/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '122.12.168.192.in-addr.arpa' PTR Jan 5 11:45:42 srv4hai named[30406]: client @0x7f9348035d30 192.168.12.252#34495/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '122.12.168.192.in-addr.arpa' PTR shelly-22.viehai.at. Jan 5 11:45:42 srv4hai dhcpd[4995]: Added reverse map from 122.12.168.192.in-addr.arpa. to shelly-22.viehai.at Jan 5 11:45:42 srv4hai common[17537]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Jan 5 11:45:42 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-22' - shIP/2:'' perform:'conf' Jan 5 11:45:43 srv4hai mosquitto[29419]: New connection from 192.168.12.122 on port 1883. Jan 5 11:45:43 srv4hai mosquitto[29419]: Client shelly1-98CDAC2E1CDA already connected, closing old connection. Jan 5 11:45:43 srv4hai mosquitto[29419]: Socket error on client shelly1-98CDAC2E1CDA, disconnecting. Jan 5 11:45:43 srv4hai mosquitto[29419]: New client connected from 192.168.12.122 as shelly1-98CDAC2E1CDA (c1, k60, u'shmqtt'). Jan 5 11:45:43 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-22' - shIP/2:'192.168.12.122' Jan 5 11:45:43 srv4hai conf_shelly.sh: SHELLY: usage/name 'WC Licht' already set for '192.168.12.122' Jan 5 11:45:43 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(0)' - allready transmitted - skipping Jan 5 11:45:43 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(1)' - allready transmitted - skipping Jan 5 11:45:43 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(2)' - allready transmitted - skipping Jan 5 11:45:43 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(3)' - allready transmitted - skipping Jan 5 11:45:43 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(4)' - allready transmitted - skipping Jan 5 11:46:01 srv4hai CRON[17648]: (root) CMD (/etc/linetest/linetest.sh) Jan 5 11:46:10 srv4hai postfix/anvil[17374]: statistics: max connection rate 1/60s for (smtp:80.94.95.239) at Jan 5 11:42:48 Jan 5 11:46:10 srv4hai postfix/anvil[17374]: statistics: max connection count 1 for (smtp:80.94.95.239) at Jan 5 11:42:48 Jan 5 11:46:10 srv4hai postfix/anvil[17374]: statistics: max cache size 1 at Jan 5 11:42:48 Jan 5 11:46:14 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=17655, secured, session= Jan 5 11:46:14 srv4hai dovecot: imap(rozumm)<17655> : Logged out in=92 out=1062 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Jan 5 11:46:18 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Jan 5 11:46:19 srv4hai fetchmail[1651]: 60819 messages (60819 seen) for tmiglinci at mail.akis.at (688058867 octets). Jan 5 11:46:19 srv4hai fetchmail[1651]: 11341 messages (11341 seen) for srozum at mail.akis.at (1355366635 octets). Jan 5 11:46:20 srv4hai fetchmail[1651]: 28174 messages (28174 seen) for mrozum at mail.akis.at (540224053 octets). Jan 5 11:46:20 srv4hai fetchmail[1651]: 1162 messages (1162 seen) for admin@bastelstube.wien at pop3.world4you.com (52206525 octets). Jan 5 11:46:41 srv4hai dhcpd[4995]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0 Jan 5 11:46:41 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Jan 5 11:46:41 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Jan 5 11:46:41 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.61 Jan 5 11:46:41 srv4hai dhcpd[4995]: execute_statement argv[2] = fpThomas Jan 5 11:46:41 srv4hai common[17665]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Jan 5 11:46:41 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' Jan 5 11:46:41 srv4hai common[17680]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Jan 5 11:46:41 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 Jan 5 11:46:41 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Jan 5 11:46:41 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#49785/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jan 5 11:46:41 srv4hai named[30406]: client @0x7f93100d8ab0 192.168.12.252#54507/key rndc-key: signer "rndc-key" approved Jan 5 11:46:41 srv4hai named[30406]: client @0x7f93100d8ab0 192.168.12.252#54507/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT Jan 5 11:46:41 srv4hai named[30406]: client @0x7f93100d8ab0 192.168.12.252#54507/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2" Jan 5 11:46:41 srv4hai named[30406]: client @0x7f93100d8ab0 192.168.12.252#54507/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A Jan 5 11:46:41 srv4hai named[30406]: client @0x7f93100d8ab0 192.168.12.252#54507/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61 Jan 5 11:46:41 srv4hai dhcpd[4995]: Added new forward map from fpThomas.viehai.at to 192.168.12.61 Jan 5 11:46:41 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#53355/key rndc-key: signer "rndc-key" approved Jan 5 11:46:41 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#53355/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR Jan 5 11:46:41 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#53355/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. Jan 5 11:46:41 srv4hai dhcpd[4995]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at Jan 5 11:46:41 srv4hai ping_SP[17680]: SHELLY ping_SP.sh started from smartphone, user:'root' Jan 5 11:46:44 srv4hai postfix/smtpd[17701]: connect from unknown[80.94.95.239] Jan 5 11:46:44 srv4hai postfix/smtpd[17701]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism Jan 5 11:46:44 srv4hai postfix/smtpd[17701]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4 Jan 5 11:46:51 srv4hai common[17713]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Jan 5 11:46:52 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'9'=1736074012-1736074003 Jan 5 11:46:52 srv4hai check_presence[17713]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Jan 5 11:46:52 srv4hai check_presence[17713]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming' Jan 5 11:46:52 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'9'=1736074012-1736074003 Jan 5 11:46:52 srv4hai check_presence[17713]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No Jan 5 11:46:52 srv4hai check_presence[17713]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'false' Jan 5 11:46:52 srv4hai check_presence[17713]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn) Jan 5 11:46:52 srv4hai check_presence[17713]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn Jan 5 11:46:52 srv4hai activate_scenario[17827]: SHELLY last scenario: 'offAll' @ '102055' from 'scene_offAll_20250105_102055.txt' - delta=3 Jan 5 11:46:52 srv4hai activate_scenario[17827]: dateutils.ddiff -i '%Y%m%d%H%M%s' 20250105114652 20250105102055 -f '%S' Jan 5 11:46:52 srv4hai activate_scenario[17827]: SHELLY new scenario: 'vorraumOn' different - GO ON Jan 5 11:46:52 srv4hai activate_scenario[17827]: SHELLY scenario: 'vorraumOn(vorraumon)' started Jan 5 11:46:52 srv4hai activate_scenario[17827]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'
finished