activate_scenario.sh
Mon Dec 23 17:24:28 CET 2024
scenario: vorraumOn
phoneName: 0

'night' <--> 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/23/_0.log)

vorher: 17:24:28.821

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: 17:24:28.886
Dauer: 65 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 17:24:28.800
nachher: 17:24:28.892
Dauer : 92 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/23//scene_vorraumOn_20241223_172428.txt'


syslog

Dec 23 17:21:01 srv4hai CRON[23496]: (root) CMD (/etc/linetest/linetest.sh)
Dec 23 17:21:02 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 23 17:21:02 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 23 17:21:58 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 23 17:21:58 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 23 17:22:01 srv4hai CRON[23517]: (root) CMD (/etc/linetest/linetest.sh)
Dec 23 17:22:57 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 23 17:22:57 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 23 17:23:01 srv4hai CRON[23549]: (root) CMD (/etc/linetest/linetest.sh)
Dec 23 17:23:24 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=23560, secured, session=
Dec 23 17:23:24 srv4hai dovecot: imap(miglincit)<23560>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec 23 17:23:34 srv4hai postfix/smtpd[23561]: connect from 194-230-62-198.static.adslpremium.ch[194.230.62.198]
Dec 23 17:23:39 srv4hai postfix/smtpd[23561]: warning: 194-230-62-198.static.adslpremium.ch[194.230.62.198]: SASL PLAIN authentication failed: 
Dec 23 17:23:39 srv4hai postfix/smtpd[23561]: lost connection after AUTH from 194-230-62-198.static.adslpremium.ch[194.230.62.198]
Dec 23 17:23:39 srv4hai postfix/smtpd[23561]: disconnect from 194-230-62-198.static.adslpremium.ch[194.230.62.198] ehlo=2 starttls=1 auth=0/1 commands=3/4
Dec 23 17:23:50 srv4hai postfix/smtpd[23561]: connect from unknown[80.94.95.239]
Dec 23 17:23:53 srv4hai postfix/smtpd[23561]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec 23 17:23:54 srv4hai postfix/smtpd[23561]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Dec 23 17:23:55 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 23 17:23:55 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 23 17:23:59 srv4hai systemd[1]: Started Session 1574244 of user root.
Dec 23 17:24:01 srv4hai CRON[23581]: (root) CMD (/etc/linetest/linetest.sh)
Dec 23 17:24:17 srv4hai dhcpd[4995]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Dec 23 17:24:17 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Dec 23 17:24:17 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Dec 23 17:24:17 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.61
Dec 23 17:24:17 srv4hai dhcpd[4995]: execute_statement argv[2] = fpThomas
Dec 23 17:24:17 srv4hai common[23590]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Dec 23 17:24:17 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Dec 23 17:24:17 srv4hai common[23605]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Dec 23 17:24:18 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Dec 23 17:24:18 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Dec 23 17:24:18 srv4hai named[30406]: client @0x7f932c0d0080 192.168.12.252#54289/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec 23 17:24:18 srv4hai named[30406]: client @0x7f935063c890 192.168.12.252#43515/key rndc-key: signer "rndc-key" approved
Dec 23 17:24:18 srv4hai named[30406]: client @0x7f935063c890 192.168.12.252#43515/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Dec 23 17:24:18 srv4hai named[30406]: client @0x7f935063c890 192.168.12.252#43515/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Dec 23 17:24:18 srv4hai named[30406]: client @0x7f935063c890 192.168.12.252#43515/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Dec 23 17:24:18 srv4hai named[30406]: client @0x7f935063c890 192.168.12.252#43515/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Dec 23 17:24:18 srv4hai dhcpd[4995]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Dec 23 17:24:18 srv4hai named[30406]: client @0x7f931001f430 192.168.12.252#41669/key rndc-key: signer "rndc-key" approved
Dec 23 17:24:18 srv4hai named[30406]: client @0x7f931001f430 192.168.12.252#41669/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Dec 23 17:24:18 srv4hai named[30406]: client @0x7f931001f430 192.168.12.252#41669/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.
Dec 23 17:24:18 srv4hai dhcpd[4995]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Dec 23 17:24:18 srv4hai ping_SP[23605]: SHELLY ping_SP.sh started from smartphone, user:'root'
Dec 23 17:24:28 srv4hai common[23635]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Dec 23 17:24:28 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'0'=1734971068-1734971068
Dec 23 17:24:28 srv4hai check_presence[23635]: 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 23 17:24:28 srv4hai check_presence[23635]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Dec 23 17:24:28 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'0'=1734971068-1734971068
Dec 23 17:24:28 srv4hai check_presence[23635]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Dec 23 17:24:28 srv4hai check_presence[23635]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Dec 23 17:24:28 srv4hai check_presence[23635]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Dec 23 17:24:28 srv4hai check_presence[23635]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Dec 23 17:24:28 srv4hai activate_scenario[23739]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Dec 23 17:24:28 srv4hai activate_scenario[23739]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished