activate_scenario.sh
Sun Jun 2 00:03:42 CEST 2024
scenario: bedlight_tom
source: 192.168.12.112

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

scenario: 'Nachttischlampe Thomas UM-schalten' - 'bedlight_tom' - 'bedlight_tom'

Nachtkästchen Lampe Thomas (/srv/www/viehai/shelly/log_scenarios/2024/06/02/_0.log)

vorher: 00:03:42.544

http://192.168.12.107/relay/0?turn=toggle
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 00:03:42.570
Dauer: 25 msec phName: 'shelly-12:'Schlafzimmer Licht''


scenario: 'Nachttischlampe Thomas UM-schalten' - 'bedlight_tom' - 'bedlight_tom'

urls : 1
vorher : 00:03:42.524
nachher: 00:03:42.576
Dauer : 52 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/02//scene_bedlight_tom_20240602_000342.txt'


syslog

Jun  2 00:00:02 srv4hai rsyslogd:  [origin software="rsyslogd" swVersion="8.1901.0" x-pid="15644" x-info="https://www.rsyslog.com"] rsyslogd was HUPed
Jun  2 00:00:05 srv4hai rsyslogd:  [origin software="rsyslogd" swVersion="8.1901.0" x-pid="15644" x-info="https://www.rsyslog.com"] rsyslogd was HUPed
Jun  2 00:00:05 srv4hai nmbd[2172]: [2024/06/02 00:00:05.287058,  0] ../source3/nmbd/nmbd_workgroupdb.c:276(dump_workgroups)
Jun  2 00:00:05 srv4hai nmbd[2172]:   dump_workgroups()
Jun  2 00:00:05 srv4hai nmbd[2172]:    dump workgroup on subnet  192.168.12.252: netmask=  255.255.255.0:
Jun  2 00:00:05 srv4hai nmbd[2172]:   #011WORKGROUP(1) current master browser = SRV4HAI
Jun  2 00:00:05 srv4hai nmbd[2172]:   #011#011SRV4HAI 40849a03 (srv4hai server)
Jun  2 00:00:05 srv4hai nmbd[2172]:   #011#01149FX680_SERIES 40819a03 (Samba 3.0.37)
Jun  2 00:00:05 srv4hai nmbd[2172]: [2024/06/02 00:00:05.287135,  0] ../source3/nmbd/nmbd_workgroupdb.c:276(dump_workgroups)
Jun  2 00:00:05 srv4hai nmbd[2172]:   dump_workgroups()
Jun  2 00:00:05 srv4hai nmbd[2172]:    dump workgroup on subnet  UNICAST_SUBNET: netmask= 192.168.12.252:
Jun  2 00:00:05 srv4hai nmbd[2172]:   #011WORKGROUP(1) current master browser = UNKNOWN
Jun  2 00:00:05 srv4hai nmbd[2172]:   #011#011SRV4HAI 40819a03 (srv4hai server)
Jun  2 00:00:05 srv4hai systemd[1]: logrotate.service: Succeeded.
Jun  2 00:00:05 srv4hai systemd[1]: Started Rotate log files.
Jun  2 00:00:05 srv4hai meter.sh: SHELLY 'shelly-05/Stehlampe Anne hell':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  2 00:00:08 srv4hai meter.sh: SHELLY 'shelly-19/Fernsehlampe groß':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  2 00:00:10 srv4hai meter.sh: SHELLY 'shelly-06/Fernsehlampe klein':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  2 00:00:10 srv4hai meter.sh: SHELLY - initial creation of '/srv/www/viehai/shelly//meter/2024/06/02/shelly-02_0_20240602.csv'
Jun  2 00:00:12 srv4hai meter.sh: SHELLY - initial creation of '/srv/www/viehai/shelly//meter/2024/06/02/shelly-04_0_20240602.csv'
Jun  2 00:00:12 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Jun  2 00:00:12 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Jun  2 00:00:12 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Jun  2 00:00:12 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Jun  2 00:00:12 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Jun  2 00:00:15 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  2 00:00:18 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  2 00:00:18 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Jun  2 00:00:18 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Jun  2 00:00:18 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Jun  2 00:00:18 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Jun  2 00:00:18 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Jun  2 00:00:20 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  2 00:00:20 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Jun  2 00:00:20 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Jun  2 00:00:20 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Jun  2 00:00:20 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Jun  2 00:00:20 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Jun  2 00:00:20 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Jun  2 00:00:20 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Jun  2 00:00:20 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Jun  2 00:00:21 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Jun  2 00:00:21 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Jun  2 00:00:24 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  2 00:00:24 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Jun  2 00:00:24 srv4hai common[19346]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Jun  2 00:00:24 srv4hai check_shelly.sh: SHELLY last scenery executed: 'vorraumOn'
Jun  2 00:00:24 srv4hai check_shelly.sh: SHELLY found '3' active shelly outputs
Jun  2 00:00:24 srv4hai meter.sh: SHELLY meter.sh ended
Jun  2 00:00:48 srv4hai ping_SP[26980]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1717279248 - 'ping_SP_0'
Jun  2 00:00:48 srv4hai ping_SP[26980]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun  2 00:00:56 srv4hai common[19392]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jun  2 00:01:01 srv4hai CRON[19407]: (root) CMD (/etc/linetest/linetest.sh)
Jun  2 00:01:06 srv4hai bt_scan[19392]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Jun  2 00:01:06 srv4hai bt_scan[19392]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Jun  2 00:01:06 srv4hai common[19430]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jun  2 00:01:07 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1717279267-1717279256
Jun  2 00:01:07 srv4hai check_presence[19430]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jun  2 00:01:07 srv4hai check_presence[19430]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Jun  2 00:01:07 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'11'=1717279267-1717279256
Jun  2 00:01:07 srv4hai check_presence[19430]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jun  2 00:01:07 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1717279267-1717279256
Jun  2 00:01:07 srv4hai check_presence[19430]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jun  2 00:01:07 srv4hai check_presence[19430]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Jun  2 00:01:07 srv4hai check_presence[19430]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_vorraumOn) - sceneOFF(offAll)
Jun  2 00:01:07 srv4hai check_presence[19430]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Jun  2 00:01:13 srv4hai common[19577]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jun  2 00:01:23 srv4hai bt_scan[19577]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Jun  2 00:01:23 srv4hai bt_scan[19577]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Jun  2 00:02:01 srv4hai CRON[19621]: (root) CMD (/etc/linetest/linetest.sh)
Jun  2 00:02:01 srv4hai ping_SP[26980]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1717279321 - 'ping_SP_0'
Jun  2 00:02:01 srv4hai ping_SP[26980]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun  2 00:02:45 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jun  2 00:02:46 srv4hai fetchmail[1651]: 45518 messages (45518 seen) for tmiglinci at mail.akis.at (-538119352 octets).
Jun  2 00:02:46 srv4hai fetchmail[1651]: 10280 messages (10280 seen) for srozum at mail.akis.at (1237935201 octets).
Jun  2 00:02:47 srv4hai fetchmail[1651]: 23817 messages (23817 seen) for mrozum at mail.akis.at (-181625322 octets).
Jun  2 00:02:47 srv4hai fetchmail[1651]: 82 messages (82 seen) for admin@bastelstube.wien at pop3.world4you.com (30513194 octets).
Jun  2 00:03:01 srv4hai CRON[19644]: (root) CMD (/etc/linetest/linetest.sh)
Jun  2 00:03:14 srv4hai ping_SP[26980]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1717279394 - 'ping_SP_0'
Jun  2 00:03:14 srv4hai ping_SP[26980]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun  2 00:03:42 srv4hai activate_scenario[19673]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started
Jun  2 00:03:42 srv4hai activate_scenario[19673]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'Schlafzimmer Licht'

finished