activate_scenario.sh
Sun Dec 22 21:30:03 CET 2024
scenario: herdzeile_UM
source: 192.168.12.129

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

scenario: 'Herdzeile UMschalten' - 'herdzeile_UM' - 'herdzeile_um'

KÜ Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/12/22/_0.log)

vorher: 21:30:03.899

http://192.168.12.117/white/0?turn=toggle&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 13.21,
  "overpower": false

nachher: 21:30:03.992
Dauer: 93 msec phName: 'shelly-29:'KÜ Schalter Herdzeile''


KÜ Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/12/22/_1.log)

vorher: 21:30:03.914

http://192.168.12.117/white/1?turn=toggle&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 13.21,
  "overpower": false

nachher: 21:30:03.989
Dauer: 76 msec phName: 'shelly-29:'KÜ Schalter Herdzeile''


scenario: 'Herdzeile UMschalten' - 'herdzeile_UM' - 'herdzeile_um'

urls : 2
vorher : 21:30:03.868
nachher: 21:30:04.000
Dauer : 133 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/22//scene_herdzeile_UM_20241222_213003.txt'


syslog

Dec 22 21:27:01 srv4hai CRON[7271]: (root) CMD (/etc/linetest/linetest.sh)
Dec 22 21:27:01 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Dec 22 21:27:01 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Dec 22 21:27:01 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Dec 22 21:27:01 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Dec 22 21:27:01 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.61
Dec 22 21:27:01 srv4hai dhcpd[4995]: execute_statement argv[2] = fpThomas
Dec 22 21:27:01 srv4hai named[30406]: client @0x7f932c079890 192.168.12.252#56649/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec 22 21:27:01 srv4hai named[30406]: client @0x7f9350685ed0 192.168.12.252#59175/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec 22 21:27:01 srv4hai common[7283]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Dec 22 21:27:09 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 22 21:27:09 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 22 21:27:11 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Dec 22 21:27:11 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Dec 22 21:27:11 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Dec 22 21:27:11 srv4hai named[30406]: client @0x7f932c079890 192.168.12.252#56649/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec 22 21:27:11 srv4hai named[30406]: client @0x7f932c079890 192.168.12.252#56649/key rndc-key: signer "rndc-key" approved
Dec 22 21:27:11 srv4hai named[30406]: client @0x7f932c079890 192.168.12.252#56649/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Dec 22 21:27:11 srv4hai named[30406]: client @0x7f932c079890 192.168.12.252#56649/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Dec 22 21:27:11 srv4hai named[30406]: client @0x7f932c079890 192.168.12.252#56649/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Dec 22 21:27:11 srv4hai named[30406]: client @0x7f932c079890 192.168.12.252#56649/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Dec 22 21:27:11 srv4hai dhcpd[4995]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Dec 22 21:27:11 srv4hai named[30406]: client @0x7f932c079890 192.168.12.252#56649/key rndc-key: signer "rndc-key" approved
Dec 22 21:27:11 srv4hai named[30406]: client @0x7f932c079890 192.168.12.252#56649/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Dec 22 21:27:11 srv4hai named[30406]: client @0x7f932c079890 192.168.12.252#56649/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Dec 22 21:27:11 srv4hai named[30406]: client @0x7f932c079890 192.168.12.252#56649/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Dec 22 21:27:11 srv4hai named[30406]: client @0x7f932c079890 192.168.12.252#56649/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Dec 22 21:27:11 srv4hai dhcpd[4995]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Dec 22 21:27:11 srv4hai named[30406]: client @0x7f932c079890 192.168.12.252#56649/key rndc-key: signer "rndc-key" approved
Dec 22 21:27:11 srv4hai named[30406]: client @0x7f932c079890 192.168.12.252#56649/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Dec 22 21:27:11 srv4hai named[30406]: client @0x7f932c079890 192.168.12.252#56649/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Dec 22 21:27:11 srv4hai named[30406]: client @0x7f932c079890 192.168.12.252#56649/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Dec 22 21:27:11 srv4hai named[30406]: client @0x7f932c079890 192.168.12.252#56649/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Dec 22 21:27:11 srv4hai dhcpd[4995]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Dec 22 21:27:11 srv4hai named[30406]: client @0x7f932c079890 192.168.12.252#56649/key rndc-key: signer "rndc-key" approved
Dec 22 21:27:11 srv4hai named[30406]: client @0x7f932c079890 192.168.12.252#56649/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Dec 22 21:27:11 srv4hai named[30406]: client @0x7f932c079890 192.168.12.252#56649/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Dec 22 21:27:11 srv4hai named[30406]: client @0x7f932c079890 192.168.12.252#56649/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Dec 22 21:27:11 srv4hai named[30406]: client @0x7f932c079890 192.168.12.252#56649/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Dec 22 21:27:11 srv4hai named[30406]: client @0x7f932c079890 192.168.12.252#56649/key rndc-key: signer "rndc-key" approved
Dec 22 21:27:11 srv4hai named[30406]: client @0x7f932c079890 192.168.12.252#56649/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Dec 22 21:27:11 srv4hai dhcpd[4995]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Dec 22 21:27:11 srv4hai named[30406]: client @0x7f932c079890 192.168.12.252#56649/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 22 21:27:11 srv4hai dhcpd[4995]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Dec 22 21:27:11 srv4hai named[30406]: client @0x7f932c079890 192.168.12.252#56649/key rndc-key: signer "rndc-key" approved
Dec 22 21:27:11 srv4hai named[30406]: client @0x7f932c079890 192.168.12.252#56649/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Dec 22 21:27:11 srv4hai named[30406]: client @0x7f932c079890 192.168.12.252#56649/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 22 21:27:11 srv4hai dhcpd[4995]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Dec 22 21:27:11 srv4hai named[30406]: client @0x7f932c079890 192.168.12.252#56649/key rndc-key: signer "rndc-key" approved
Dec 22 21:27:11 srv4hai named[30406]: client @0x7f932c079890 192.168.12.252#56649/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Dec 22 21:27:11 srv4hai named[30406]: client @0x7f932c079890 192.168.12.252#56649/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 22 21:27:11 srv4hai named[30406]: client @0x7f932c079890 192.168.12.252#56649/key rndc-key: signer "rndc-key" approved
Dec 22 21:27:11 srv4hai named[30406]: client @0x7f932c079890 192.168.12.252#56649/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Dec 22 21:27:11 srv4hai named[30406]: client @0x7f932c079890 192.168.12.252#56649/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 22 21:27:11 srv4hai dhcpd[4995]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Dec 22 21:27:11 srv4hai dhcpd[4995]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Dec 22 21:27:22 srv4hai ping_SP[7733]: SHELLY (0) - ping 192.168.12.61 2 sucessfully  @~1734899242 - 'ping_SP_0'
Dec 22 21:27:22 srv4hai ping_SP[7733]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 22 21:27:38 srv4hai ping_SP[12792]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1734899258 - 'ping_SP_1'
Dec 22 21:27:38 srv4hai ping_SP[12792]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec 22 21:27:49 srv4hai postfix/smtpd[7353]: connect from unknown[80.94.95.239]
Dec 22 21:27:52 srv4hai postfix/smtpd[7353]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec 22 21:27:52 srv4hai postfix/smtpd[7353]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Dec 22 21:28:01 srv4hai CRON[7359]: (root) CMD (/etc/linetest/linetest.sh)
Dec 22 21:28:06 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 22 21:28:06 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 22 21:28:07 srv4hai nmbd[2172]: [2024/12/22 21:28:07.377989,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Dec 22 21:28:07 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Dec 22 21:28:07 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Dec 22 21:28:07 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Dec 22 21:28:33 srv4hai mosquitto[29419]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Dec 22 21:28:35 srv4hai ping_SP[7733]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734899315 - 'ping_SP_0'
Dec 22 21:28:35 srv4hai ping_SP[7733]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 22 21:28:51 srv4hai ping_SP[12792]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1734899331 - 'ping_SP_1'
Dec 22 21:28:51 srv4hai ping_SP[12792]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec 22 21:29:01 srv4hai CRON[7415]: (root) CMD (/etc/linetest/linetest.sh)
Dec 22 21:29:06 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 22 21:29:06 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 22 21:29:29 srv4hai common[7424]: SHELLY common.sh inkludiert von ./bt_scan.sh
Dec 22 21:29:39 srv4hai bt_scan[7424]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Dec 22 21:29:39 srv4hai bt_scan[7424]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Dec 22 21:29:39 srv4hai common[7463]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Dec 22 21:29:39 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1734899379-1734899369
Dec 22 21:29:39 srv4hai check_presence[7463]: 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 21:29:39 srv4hai check_presence[7463]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Dec 22 21:29:39 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'10'=1734899379-1734899369
Dec 22 21:29:39 srv4hai check_presence[7463]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Dec 22 21:29:39 srv4hai check_presence[7463]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Dec 22 21:29:39 srv4hai common.sh: SHELLY: BTstatus[2]:'null' dweetAge:'10'=1734899379-1734899369
Dec 22 21:29:39 srv4hai check_presence[7463]: 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 21:29:39 srv4hai check_presence[7463]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Dec 22 21:29:39 srv4hai check_presence[7463]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_vorraumOn) - sceneOFF(offAll)
Dec 22 21:29:39 srv4hai check_presence[7463]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Dec 22 21:29:48 srv4hai ping_SP[7733]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734899388 - 'ping_SP_0'
Dec 22 21:29:48 srv4hai ping_SP[7733]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 22 21:29:56 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Dec 22 21:29:56 srv4hai fetchmail[1651]: 59914 messages (59914 seen) for tmiglinci at mail.akis.at (631035351 octets).
Dec 22 21:29:57 srv4hai fetchmail[1651]: 11267 messages (11267 seen) for srozum at mail.akis.at (1349236378 octets).
Dec 22 21:29:57 srv4hai fetchmail[1651]: 28006 messages (28006 seen) for mrozum at mail.akis.at (518004611 octets).
Dec 22 21:29:58 srv4hai fetchmail[1651]: 1161 messages (1161 seen) for admin@bastelstube.wien at pop3.world4you.com (52202045 octets).
Dec 22 21:30:01 srv4hai CRON[7636]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)
Dec 22 21:30:01 srv4hai CRON[7637]: (root) CMD (/etc/linetest/linetest.sh)
Dec 22 21:30:01 srv4hai CRON[7638]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Dec 22 21:30:01 srv4hai common[7640]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Dec 22 21:30:01 srv4hai meter.sh: SHELLY meter.sh started
Dec 22 21:30:02 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Dec 22 21:30:02 srv4hai meter.sh: SHELLY 'shelly-28/KÜ Schalter Nasszeile' - type: 'shelly-i3' ignoring
Dec 22 21:30:03 srv4hai activate_scenario[7969]: SHELLY scenario: 'herdzeile_UM(herdzeile_um)' started
Dec 22 21:30:03 srv4hai activate_scenario[7969]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-29:'KÜ Schalter Herdzeile'

finished