activate_scenario.sh
Mon Apr 29 23:13:25 CEST 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üche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/04/29/_0.log)

vorher: 23:13:25.405

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

nachher: 23:13:25.436
Dauer: 31 msec phName: 'shelly-29:'Schalter Herdzeile''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/04/29/_1.log)

vorher: 23:13:25.419

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

nachher: 23:13:25.472
Dauer: 53 msec phName: 'shelly-29:'Schalter Herdzeile''


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

urls : 2
vorher : 23:13:25.369
nachher: 23:13:25.479
Dauer : 111 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/29//scene_herdzeile_UM_20240429_231325.txt'


syslog

Apr 29 23:10:01 srv4hai CRON[20314]: (root) CMD (/etc/linetest/linetest.sh)
Apr 29 23:10:01 srv4hai CRON[20315]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Apr 29 23:10:01 srv4hai common[20317]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Apr 29 23:10:01 srv4hai meter.sh: SHELLY meter.sh started
Apr 29 23:10:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Apr 29 23:10:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Apr 29 23:10:08 srv4hai meter.sh: SHELLY 'shelly-42/Stehlampe dimmbar':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 29 23:10:08 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Apr 29 23:10:08 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Apr 29 23:10:08 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Apr 29 23:10:08 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Apr 29 23:10:08 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Apr 29 23:10:11 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 29 23:10:14 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 29 23:10:14 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Apr 29 23:10:14 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Apr 29 23:10:14 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Apr 29 23:10:14 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Apr 29 23:10:14 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Apr 29 23:10:16 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 29 23:10:16 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Apr 29 23:10:16 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Apr 29 23:10:16 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Apr 29 23:10:16 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Apr 29 23:10:16 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Apr 29 23:10:17 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Apr 29 23:10:17 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Apr 29 23:10:17 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Apr 29 23:10:17 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Apr 29 23:10:17 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Apr 29 23:10:18 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=21184, secured, session=
Apr 29 23:10:18 srv4hai dovecot: imap(miglincit)<21184>: Logged out in=511 out=39622 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=15378 body_count=0 body_bytes=0
Apr 29 23:10:19 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 29 23:10:20 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Apr 29 23:10:20 srv4hai common[20317]: SHELLY common.sh inkludiert von ./check_presence.sh
Apr 29 23:10:20 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1714425020-1714425009
Apr 29 23:10:20 srv4hai check_presence[20317]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Apr 29 23:10:20 srv4hai check_presence[20317]: SHELLY (meter.sh)-(99) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Apr 29 23:10:20 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1714425020-1714425009
Apr 29 23:10:20 srv4hai check_presence[20317]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Apr 29 23:10:20 srv4hai check_presence[20317]: SHELLY (meter.sh)-(99) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Apr 29 23:10:20 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1714425020-1714425009
Apr 29 23:10:20 srv4hai check_presence[20317]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 29 23:10:20 srv4hai check_presence[20317]: SHELLY (meter.sh)-(99) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr 29 23:10:20 srv4hai check_presence[20317]: SHELLY (meter.sh)-(99)-presence: NOT activate_scenario.shtml: offAll
Apr 29 23:10:20 srv4hai common[20317]: SHELLY common.sh inkludiert von ./check_shelly.sh
Apr 29 23:10:20 srv4hai check_shelly.sh: SHELLY last scenery executed: 'vorraumOn'
Apr 29 23:10:20 srv4hai check_shelly.sh: SHELLY found '4' active shelly outputs
Apr 29 23:10:20 srv4hai meter.sh: SHELLY meter.sh ended
Apr 29 23:10:20 srv4hai postfix/pickup[13875]: AFDCB631A0: uid=33 from=
Apr 29 23:10:20 srv4hai postfix/cleanup[19940]: AFDCB631A0: message-id=<20240429211020.AFDCB631A0@mail.viehai.at>
Apr 29 23:10:20 srv4hai postfix/qmgr[15291]: AFDCB631A0: from=, size=749, nrcpt=1 (queue active)
Apr 29 23:10:20 srv4hai postfix/local[20030]: AFDCB631A0: to=, orig_to=, relay=local, delay=0.03, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 29 23:10:20 srv4hai postfix/qmgr[15291]: AFDCB631A0: removed
Apr 29 23:10:26 srv4hai nmbd[2172]: [2024/04/29 23:10:26.711103,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Apr 29 23:10:26 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Apr 29 23:10:26 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Apr 29 23:10:26 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Apr 29 23:10:32 srv4hai ping_SP[19764]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1714425032 - 'ping_SP_1'
Apr 29 23:10:32 srv4hai ping_SP[19764]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 29 23:11:01 srv4hai CRON[21378]: (root) CMD (/etc/linetest/linetest.sh)
Apr 29 23:11:08 srv4hai named[15509]: validating poll.gras.samsungdm.com/CNAME: no valid signature found
Apr 29 23:11:10 srv4hai ping_SP[5456]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1714425070 - 'ping_SP_0'
Apr 29 23:11:10 srv4hai ping_SP[5456]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 29 23:11:11 srv4hai named[15509]: validating sdk.pushmessage.samsung.com/A: no valid signature found
Apr 29 23:11:45 srv4hai ping_SP[19764]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1714425105 - 'ping_SP_1'
Apr 29 23:11:45 srv4hai ping_SP[19764]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 29 23:12:01 srv4hai CRON[21427]: (root) CMD (/etc/linetest/linetest.sh)
Apr 29 23:12:10 srv4hai named[15509]: resolver priming query complete
Apr 29 23:12:11 srv4hai named[15509]: resolver priming query complete
Apr 29 23:12:12 srv4hai named[15509]: resolver priming query complete
Apr 29 23:12:12 srv4hai postfix/anvil[19551]: statistics: max connection rate 1/60s for (smtp:109.206.237.17) at Apr 29 23:02:12
Apr 29 23:12:12 srv4hai postfix/anvil[19551]: statistics: max connection count 1 for (smtp:109.206.237.17) at Apr 29 23:02:12
Apr 29 23:12:12 srv4hai postfix/anvil[19551]: statistics: max cache size 1 at Apr 29 23:02:12
Apr 29 23:12:13 srv4hai named[15509]: resolver priming query complete
Apr 29 23:12:15 srv4hai named[15509]: resolver priming query complete
Apr 29 23:12:24 srv4hai ping_SP[5456]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1714425144 - 'ping_SP_0'
Apr 29 23:12:24 srv4hai ping_SP[5456]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 29 23:12:31 srv4hai named[15509]: resolver priming query complete
Apr 29 23:12:52 srv4hai named[15509]: resolver priming query complete
Apr 29 23:12:53 srv4hai named[15509]: resolver priming query complete
Apr 29 23:12:58 srv4hai common[21466]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr 29 23:12:58 srv4hai ping_SP[19764]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1714425178 - 'ping_SP_1'
Apr 29 23:12:58 srv4hai ping_SP[19764]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 29 23:13:01 srv4hai CRON[21494]: (root) CMD (/etc/linetest/linetest.sh)
Apr 29 23:13:08 srv4hai bt_scan[21466]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Apr 29 23:13:08 srv4hai bt_scan[21466]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Apr 29 23:13:08 srv4hai common[21517]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Apr 29 23:13:08 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'7'=1714425188-1714425181
Apr 29 23:13:08 srv4hai check_presence[21517]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Apr 29 23:13:09 srv4hai check_presence[21517]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Apr 29 23:13:09 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'8'=1714425189-1714425181
Apr 29 23:13:09 srv4hai check_presence[21517]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Apr 29 23:13:09 srv4hai check_presence[21517]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Apr 29 23:13:09 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'8'=1714425189-1714425181
Apr 29 23:13:09 srv4hai check_presence[21517]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 29 23:13:09 srv4hai check_presence[21517]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr 29 23:13:09 srv4hai check_presence[21517]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Apr 29 23:13:14 srv4hai named[15509]: resolver priming query complete
Apr 29 23:13:18 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=21644, secured, session=
Apr 29 23:13:18 srv4hai dovecot: imap(miglincit)<21644>: Logged out in=289 out=1233 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 29 23:13:21 srv4hai named[15509]: resolver priming query complete
Apr 29 23:13:24 srv4hai named[15509]: resolver priming query complete
Apr 29 23:13:25 srv4hai activate_scenario[21650]: SHELLY scenario: 'herdzeile_UM(herdzeile_um)' started
Apr 29 23:13:25 srv4hai activate_scenario[21650]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-29:'Schalter Herdzeile'

finished