activate_scenario.sh
Wed Jun 12 21:33:32 CEST 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'

Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/06/12/_0.log)

vorher: 21:33:32.727

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: 21:33:32.757
Dauer: 30 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 21:33:32.688
nachher: 21:33:32.764
Dauer : 77 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/12//scene_vorraumOn_20240612_213332.txt'


syslog

Jun 12 21:30:01 srv4hai CRON[17585]: (root) CMD (/etc/linetest/linetest.sh)
Jun 12 21:30:01 srv4hai CRON[17586]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Jun 12 21:30:01 srv4hai CRON[17587]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)
Jun 12 21:30:01 srv4hai common[17589]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Jun 12 21:30:01 srv4hai meter.sh: SHELLY meter.sh started
Jun 12 21:30:01 srv4hai ping_SP[7759]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1718220601 - 'ping_SP_1'
Jun 12 21:30:01 srv4hai ping_SP[7759]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jun 12 21:30:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Jun 12 21:30:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Jun 12 21:30:05 srv4hai meter.sh: SHELLY 'shelly-05/Stehlampe Anne hell':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 12 21:30:08 srv4hai meter.sh: SHELLY 'shelly-19/Fernsehlampe groß':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 12 21:30:10 srv4hai meter.sh: SHELLY 'shelly-06/Fernsehlampe klein':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 12 21:30:12 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Jun 12 21:30:12 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Jun 12 21:30:12 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Jun 12 21:30:13 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Jun 12 21:30:13 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Jun 12 21:30:16 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 12 21:30:18 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 12 21:30:18 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Jun 12 21:30:18 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Jun 12 21:30:18 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Jun 12 21:30:18 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Jun 12 21:30:18 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Jun 12 21:30:21 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 12 21:30:21 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Jun 12 21:30:21 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Jun 12 21:30:21 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Jun 12 21:30:21 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Jun 12 21:30:21 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Jun 12 21:30:21 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Jun 12 21:30:21 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Jun 12 21:30:21 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Jun 12 21:30:21 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Jun 12 21:30:21 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Jun 12 21:30:24 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 12 21:30:24 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Jun 12 21:30:24 srv4hai common[18473]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Jun 12 21:30:24 srv4hai check_shelly.sh: SHELLY last scenery executed: 'buero_UM'
Jun 12 21:30:24 srv4hai check_shelly.sh: SHELLY found '4' active shelly outputs
Jun 12 21:30:24 srv4hai meter.sh: SHELLY meter.sh ended
Jun 12 21:30:27 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jun 12 21:30:27 srv4hai fetchmail[1651]: 46292 messages (46291 seen) for tmiglinci at mail.akis.at (-473461706 octets).
Jun 12 21:30:27 srv4hai postfix/smtpd[18496]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jun 12 21:30:27 srv4hai postfix/smtpd[18496]: connect from localhost[127.0.0.1]
Jun 12 21:30:27 srv4hai postfix/smtpd[18496]: DEF7C6018A: client=localhost[127.0.0.1]
Jun 12 21:30:27 srv4hai postfix/cleanup[18499]: DEF7C6018A: message-id=
Jun 12 21:30:27 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:46292 of 46292 (7692 octets) not flushed
Jun 12 21:30:27 srv4hai postfix/qmgr[31004]: DEF7C6018A: from=, size=7991, nrcpt=1 (queue active)
Jun 12 21:30:27 srv4hai postfix/smtpd[18496]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Jun 12 21:30:27 srv4hai postfix/local[18500]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jun 12 21:30:27 srv4hai postfix/local[18500]: DEF7C6018A: to=, relay=local, delay=0.08, delays=0.05/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jun 12 21:30:27 srv4hai postfix/qmgr[31004]: DEF7C6018A: removed
Jun 12 21:30:28 srv4hai fetchmail[1651]: 10329 messages (10329 seen) for srozum at mail.akis.at (1244438002 octets).
Jun 12 21:30:28 srv4hai fetchmail[1651]: 24051 messages (24051 seen) for mrozum at mail.akis.at (-140378878 octets).
Jun 12 21:30:29 srv4hai fetchmail[1651]: 112 messages (112 seen) for admin@bastelstube.wien at pop3.world4you.com (45905527 octets).
Jun 12 21:30:34 srv4hai systemd[1]: Started Run anacron jobs.
Jun 12 21:30:34 srv4hai anacron[18505]: Anacron 2.3 started on 2024-06-12
Jun 12 21:30:34 srv4hai anacron[18505]: Normal exit (0 jobs run)
Jun 12 21:30:34 srv4hai systemd[1]: anacron.service: Succeeded.
Jun 12 21:30:53 srv4hai common[18511]: SHELLY common.sh inkludiert von ./shelly/check_shelly.sh
Jun 12 21:30:53 srv4hai check_shelly.sh: SHELLY last scenery executed: 'buero_UM'
Jun 12 21:30:53 srv4hai check_shelly.sh: SHELLY found '4' active shelly outputs
Jun 12 21:30:53 srv4hai common[18534]: SHELLY common.sh inkludiert von ./shelly/prep_viehai.sh
Jun 12 21:30:54 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'4'=1718220654-1718220650
Jun 12 21:30:54 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'4'=1718220654-1718220650
Jun 12 21:30:54 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'4'=1718220654-1718220650
Jun 12 21:31:01 srv4hai CRON[18610]: (root) CMD (/etc/linetest/linetest.sh)
Jun 12 21:31:04 srv4hai ping_SP[7759]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1718220664 - 'ping_SP_1'
Jun 12 21:31:04 srv4hai ping_SP[7759]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jun 12 21:31:12 srv4hai mosquitto[18551]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Jun 12 21:32:01 srv4hai CRON[18643]: (root) CMD (/etc/linetest/linetest.sh)
Jun 12 21:32:08 srv4hai ping_SP[7759]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1718220728 - 'ping_SP_1'
Jun 12 21:32:08 srv4hai ping_SP[7759]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jun 12 21:33:01 srv4hai CRON[18675]: (root) CMD (/etc/linetest/linetest.sh)
Jun 12 21:33:11 srv4hai ping_SP[7759]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1718220791 - 'ping_SP_1'
Jun 12 21:33:11 srv4hai ping_SP[7759]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jun 12 21:33:31 srv4hai common[18702]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jun 12 21:33:31 srv4hai bt_scan[18702]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Jun 12 21:33:31 srv4hai bt_scan[18702]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Jun 12 21:33:31 srv4hai common[18733]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jun 12 21:33:31 srv4hai ping_SP[18733]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Jun 12 21:33:31 srv4hai common[18754]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jun 12 21:33:32 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1718220812-1718220811
Jun 12 21:33:32 srv4hai check_presence[18754]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Jun 12 21:33:32 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1718220812-1718220811
Jun 12 21:33:32 srv4hai check_presence[18754]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Jun 12 21:33:32 srv4hai check_presence[18754]: SHELLY (ping_SP__bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Jun 12 21:33:32 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'1'=1718220812-1718220811
Jun 12 21:33:32 srv4hai check_presence[18754]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jun 12 21:33:32 srv4hai check_presence[18754]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(__/__) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jun 12 21:33:32 srv4hai check_presence[18754]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_buero_UM) - sceneONsmall(vorraumOn)
Jun 12 21:33:32 srv4hai check_presence[18754]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: vorraumOn
Jun 12 21:33:32 srv4hai activate_scenario[18883]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jun 12 21:33:32 srv4hai activate_scenario[18883]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished