activate_scenario.sh
Wed Apr 10 22:44:02 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/04/10/_0.log)

vorher: 22:44:02.808

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: 22:44:02.843
Dauer: 35 msec phName: 'shelly-12:'Schlafzimmer Licht''


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

urls : 1
vorher : 22:44:02.785
nachher: 22:44:02.849
Dauer : 64 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/10//scene_bedlight_tom_20240410_224402.txt'


syslog

Apr 10 22:41:01 srv4hai CRON[30870]: (root) CMD (/etc/linetest/linetest.sh)
Apr 10 22:41:35 srv4hai ping_SP[19663]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712781695 - 'ping_SP_0'
Apr 10 22:41:35 srv4hai ping_SP[19663]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 10 22:41:39 srv4hai postfix/anvil[29401]: statistics: max connection rate 1/60s for (smtp:45.128.96.187) at Apr 10 22:38:18
Apr 10 22:41:39 srv4hai postfix/anvil[29401]: statistics: max connection count 1 for (smtp:45.128.96.187) at Apr 10 22:38:18
Apr 10 22:41:39 srv4hai postfix/anvil[29401]: statistics: max cache size 1 at Apr 10 22:38:18
Apr 10 22:41:46 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30899, secured, session=
Apr 10 22:41:46 srv4hai dovecot: imap(rozumm)<30899>: Logged out in=92 out=1059 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 10 22:42:01 srv4hai CRON[30907]: (root) CMD (/etc/linetest/linetest.sh)
Apr 10 22:42:12 srv4hai ping_SP[10501]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1712781732 - 'ping_SP_1'
Apr 10 22:42:12 srv4hai ping_SP[10501]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 10 22:42:26 srv4hai common[30933]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr 10 22:42:36 srv4hai bt_scan[30933]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Apr 10 22:42:36 srv4hai bt_scan[30933]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Apr 10 22:42:36 srv4hai common[30965]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Apr 10 22:42:36 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'16'=1712781756-1712781740
Apr 10 22:42:36 srv4hai check_presence[30965]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Apr 10 22:42:36 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'16'=1712781756-1712781740
Apr 10 22:42:36 srv4hai check_presence[30965]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Apr 10 22:42:36 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'16'=1712781756-1712781740
Apr 10 22:42:36 srv4hai check_presence[30965]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 10 22:42:36 srv4hai check_presence[30965]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr 10 22:42:36 srv4hai check_presence[30965]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Apr 10 22:42:46 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=31088, secured, session=
Apr 10 22:42:46 srv4hai dovecot: imap(rozumm)<31088>: Logged out in=92 out=1059 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 10 22:42:48 srv4hai ping_SP[19663]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712781768 - 'ping_SP_0'
Apr 10 22:42:48 srv4hai ping_SP[19663]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 10 22:43:01 srv4hai CRON[31106]: (root) CMD (/etc/linetest/linetest.sh)
Apr 10 22:43:01 srv4hai systemd[1]: Starting Cleanup of Temporary Directories...
Apr 10 22:43:01 srv4hai systemd-tmpfiles[31108]: [/usr/lib/tmpfiles.d/vsftpd.conf:1] Line references path below legacy directory /var/run/, updating /var/run/vsftpd/empty → /run/vsftpd/empty; please update the tmpfiles.d/ drop-in file accordingly.
Apr 10 22:43:01 srv4hai systemd[1]: systemd-tmpfiles-clean.service: Succeeded.
Apr 10 22:43:01 srv4hai systemd[1]: Started Cleanup of Temporary Directories.
Apr 10 22:43:09 srv4hai postfix/smtpd[31113]: connect from unknown[45.128.96.187]
Apr 10 22:43:09 srv4hai postfix/smtpd[31113]: warning: unknown[45.128.96.187]: SASL LOGIN authentication failed: Invalid authentication mechanism
Apr 10 22:43:09 srv4hai postfix/smtpd[31113]: disconnect from unknown[45.128.96.187] ehlo=1 auth=0/1 quit=1 commands=2/3
Apr 10 22:43:26 srv4hai ping_SP[10501]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1712781806 - 'ping_SP_1'
Apr 10 22:43:26 srv4hai ping_SP[10501]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 10 22:43:46 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=31142, secured, session=<7F9eGMQVppwAAAAAAAAAAAAAAAAAAAAB>
Apr 10 22:43:46 srv4hai dovecot: imap(rozumm)<31142><7F9eGMQVppwAAAAAAAAAAAAAAAAAAAAB>: Logged out in=92 out=1059 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 10 22:44:00 srv4hai activate_scenario[31153]: SHELLY scenario: 'buero_UM(buero_um)' started
Apr 10 22:44:00 srv4hai activate_scenario[31153]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Apr 10 22:44:00 srv4hai activate_scenario[31153]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Apr 10 22:44:00 srv4hai postfix/pickup[22344]: DF6AE6022F: uid=33 from=
Apr 10 22:44:00 srv4hai postfix/cleanup[31206]: DF6AE6022F: message-id=<20240410204400.DF6AE6022F@mail.viehai.at>
Apr 10 22:44:00 srv4hai postfix/qmgr[15291]: DF6AE6022F: from=, size=5816, nrcpt=1 (queue active)
Apr 10 22:44:00 srv4hai activate_scenario[31153]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
Apr 10 22:44:00 srv4hai proc_url[31224]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/10/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Apr 10 22:44:00 srv4hai postfix/local[31219]: DF6AE6022F: to=, orig_to=, relay=local, delay=0.05, delays=0.03/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Apr 10 22:44:00 srv4hai postfix/cleanup[31206]: E7EA160230: message-id=<20240410204400.E7EA160230@mail.viehai.at>
Apr 10 22:44:00 srv4hai postfix/bounce[31220]: DF6AE6022F: sender non-delivery notification: E7EA160230
Apr 10 22:44:00 srv4hai postfix/qmgr[15291]: E7EA160230: from=<>, size=7738, nrcpt=1 (queue active)
Apr 10 22:44:00 srv4hai postfix/qmgr[15291]: DF6AE6022F: removed
Apr 10 22:44:00 srv4hai activate_scenario[31153]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
Apr 10 22:44:00 srv4hai proc_url[31236]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/10/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Apr 10 22:44:00 srv4hai postfix/local[31219]: E7EA160230: to=, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 10 22:44:00 srv4hai postfix/qmgr[15291]: E7EA160230: removed
Apr 10 22:44:01 srv4hai CRON[31254]: (root) CMD (/etc/linetest/linetest.sh)
Apr 10 22:44:01 srv4hai activate_scenario[31153]: SHELLY scenario: 'buero_UM(buero_um)' took 584 msec, shelly-40:'Thomas Büro Licht'
Apr 10 22:44:01 srv4hai ping_SP[19663]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712781841 - 'ping_SP_0'
Apr 10 22:44:01 srv4hai ping_SP[19663]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 10 22:44:02 srv4hai activate_scenario[31297]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started
Apr 10 22:44:02 srv4hai activate_scenario[31297]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'Schlafzimmer Licht'

finished