activate_scenario.sh
Tue Feb 4 20:44:01 CET 2025
scenario: vorraumOn
phoneName: 1

'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/2025/02/04/_0.log)

vorher: 20:44:02.002

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: 20:44:02.090
Dauer: 88 msec phName: 'phoneName:'1''


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

urls : 1
vorher : 20:44:01.976
nachher: 20:44:02.096
Dauer : 121 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/04//scene_vorraumOn_20250204_204401.txt'


syslog

Feb  4 20:41:00 srv4hai common[11745]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 20:41:00 srv4hai common[11769]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 20:41:00 srv4hai common[11793]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 20:41:01 srv4hai CRON[11818]: (root) CMD (/etc/linetest/linetest.sh)
Feb  4 20:41:15 srv4hai postfix/smtpd[10379]: connect from unknown[92.118.39.63]
Feb  4 20:41:19 srv4hai postfix/smtpd[10379]: warning: unknown[92.118.39.63]: SASL PLAIN authentication failed: 
Feb  4 20:41:19 srv4hai postfix/smtpd[10379]: disconnect from unknown[92.118.39.63] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb  4 20:41:19 srv4hai postfix/smtpd[10379]: connect from unknown[92.118.39.65]
Feb  4 20:41:21 srv4hai dhcpd[4995]: DHCPDISCOVER from 84:cc:a8:a8:55:7d via enp2s0
Feb  4 20:41:21 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0
Feb  4 20:41:21 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb  4 20:41:21 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.102
Feb  4 20:41:21 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-02
Feb  4 20:41:21 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.102 (192.168.12.252) from 84:cc:a8:a8:55:7d via enp2s0
Feb  4 20:41:21 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0
Feb  4 20:41:21 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#43479/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-02.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb  4 20:41:21 srv4hai named[30406]: client @0x7f934c0557f0 192.168.12.252#43089/key rndc-key: signer "rndc-key" approved
Feb  4 20:41:21 srv4hai named[30406]: client @0x7f934c0557f0 192.168.12.252#43089/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-02.viehai.at' TXT
Feb  4 20:41:21 srv4hai named[30406]: client @0x7f934c0557f0 192.168.12.252#43089/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-02.viehai.at' TXT "005dc8ffbb18e92d4c1a5981a9354b73fe"
Feb  4 20:41:21 srv4hai named[30406]: client @0x7f934c0557f0 192.168.12.252#43089/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-02.viehai.at' A
Feb  4 20:41:21 srv4hai named[30406]: client @0x7f934c0557f0 192.168.12.252#43089/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-02.viehai.at' A 192.168.12.102
Feb  4 20:41:21 srv4hai dhcpd[4995]: Added new forward map from shelly-02.viehai.at to 192.168.12.102
Feb  4 20:41:21 srv4hai named[30406]: client @0x7f931c01da50 192.168.12.252#50693/key rndc-key: signer "rndc-key" approved
Feb  4 20:41:21 srv4hai named[30406]: client @0x7f931c01da50 192.168.12.252#50693/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '102.12.168.192.in-addr.arpa' PTR
Feb  4 20:41:21 srv4hai named[30406]: client @0x7f931c01da50 192.168.12.252#50693/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '102.12.168.192.in-addr.arpa' PTR shelly-02.viehai.at.
Feb  4 20:41:21 srv4hai dhcpd[4995]: Added reverse map from 102.12.168.192.in-addr.arpa. to shelly-02.viehai.at
Feb  4 20:41:21 srv4hai common[11828]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Feb  4 20:41:21 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-02' - shIP/2:'' perform:'conf'
Feb  4 20:41:22 srv4hai mosquitto[29419]: New connection from 192.168.12.102 on port 1883.
Feb  4 20:41:22 srv4hai mosquitto[29419]: Client shelly1pm-84CCA8A8557D already connected, closing old connection.
Feb  4 20:41:22 srv4hai mosquitto[29419]: Socket error on client shelly1pm-84CCA8A8557D, disconnecting.
Feb  4 20:41:22 srv4hai mosquitto[29419]: New client connected from 192.168.12.102 as shelly1pm-84CCA8A8557D (c1, k60, u'shmqtt').
Feb  4 20:41:22 srv4hai grab_shelly.sh: SHELLY 'shelly-02':  OFFLINE, resp. not answering within timeout 1.500000s
Feb  4 20:41:23 srv4hai postfix/smtpd[10379]: warning: unknown[92.118.39.65]: SASL PLAIN authentication failed: 
Feb  4 20:41:23 srv4hai postfix/smtpd[10379]: disconnect from unknown[92.118.39.65] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb  4 20:41:44 srv4hai common[11848]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 20:41:44 srv4hai common[11872]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 20:42:00 srv4hai common[11902]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 20:42:00 srv4hai common[11926]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 20:42:00 srv4hai common[11950]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 20:42:01 srv4hai CRON[11975]: (root) CMD (/etc/linetest/linetest.sh)
Feb  4 20:42:02 srv4hai ping_SP[6107]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1738698122 - 'ping_SP_0'
Feb  4 20:42:02 srv4hai ping_SP[6107]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  4 20:42:44 srv4hai common[11997]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 20:42:44 srv4hai common[12021]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 20:43:00 srv4hai common[12047]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 20:43:00 srv4hai common[12071]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 20:43:00 srv4hai common[12095]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 20:43:01 srv4hai CRON[12120]: (root) CMD (/etc/linetest/linetest.sh)
Feb  4 20:43:04 srv4hai postfix/smtpd[12131]: connect from unknown[45.144.212.145]
Feb  4 20:43:04 srv4hai postfix/smtpd[12131]: warning: unknown[45.144.212.145]: SASL LOGIN authentication failed: Invalid authentication mechanism
Feb  4 20:43:04 srv4hai postfix/smtpd[12131]: disconnect from unknown[45.144.212.145] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb  4 20:43:15 srv4hai ping_SP[6107]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1738698195 - 'ping_SP_0'
Feb  4 20:43:15 srv4hai ping_SP[6107]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  4 20:43:38 srv4hai nmbd[2172]: [2025/02/04 20:43:38.549909,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Feb  4 20:43:38 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Feb  4 20:43:38 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Feb  4 20:43:38 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Feb  4 20:43:44 srv4hai common[12156]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 20:43:44 srv4hai common[12180]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 20:43:51 srv4hai common[12206]: SHELLY common.sh inkludiert von ./bt_scan.sh
Feb  4 20:43:53 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=12221, secured, session=
Feb  4 20:43:53 srv4hai dovecot: imap(miglincit)<12221>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb  4 20:44:00 srv4hai common[12222]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 20:44:00 srv4hai common[12246]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 20:44:00 srv4hai common[12270]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 20:44:01 srv4hai bt_scan[12206]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes'
Feb  4 20:44:01 srv4hai bt_scan[12206]: SHELLY - ping_SP.sh started for BTmac: '1' - IPv4: '192.168.12.62'
Feb  4 20:44:01 srv4hai common[12312]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Feb  4 20:44:01 srv4hai ping_SP[12312]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Feb  4 20:44:01 srv4hai common[12333]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Feb  4 20:44:01 srv4hai CRON[12347]: (root) CMD (/etc/linetest/linetest.sh)
Feb  4 20:44:01 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1738698241-1738698240
Feb  4 20:44:01 srv4hai check_presence[12333]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Feb  4 20:44:01 srv4hai check_presence[12333]: SHELLY (ping_SP__bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Feb  4 20:44:01 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1738698241-1738698240
Feb  4 20:44:01 srv4hai check_presence[12333]: 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
Feb  4 20:44:01 srv4hai check_presence[12333]: SHELLY (ping_SP__bt_scan)-(1) what: 'coming' - persPresent: '(__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Feb  4 20:44:01 srv4hai check_presence[12333]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_buero_UM) - sceneONsmall(vorraumOn)
Feb  4 20:44:01 srv4hai check_presence[12333]: SHELLY (ping_SP__bt_scan)-(1)-coming: activate_scenario.shtml: vorraumOn
Feb  4 20:44:01 srv4hai activate_scenario[12439]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Feb  4 20:44:01 srv4hai activate_scenario[12439]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'1'

finished