activate_scenario.sh
Sat Jun 1 22:51:04 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/01/_0.log)

vorher: 22:51:04.236

http://192.168.12.103/relay/0?turn=on

        

nachher: 22:51:07.315
Dauer: 3079 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 22:51:04.218
nachher: 22:51:07.322
Dauer : 3104 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/01//scene_vorraumOn_20240601_225104.txt'


syslog

Jun  1 22:48:01 srv4hai CRON[975]: (root) CMD (/etc/linetest/linetest.sh)
Jun  1 22:48:30 srv4hai ping_SP[26980]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1717274910 - 'ping_SP_0'
Jun  1 22:48:30 srv4hai ping_SP[26980]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun  1 22:48:41 srv4hai mosquitto[18551]: Client shelly1pm-E09806AA0824 has exceeded timeout, disconnecting.
Jun  1 22:48:41 srv4hai mosquitto[18551]: Socket error on client shelly1pm-E09806AA0824, disconnecting.
Jun  1 22:49:01 srv4hai CRON[1009]: (root) CMD (/etc/linetest/linetest.sh)
Jun  1 22:49:18 srv4hai postfix/smtpd[1015]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jun  1 22:49:18 srv4hai postfix/smtpd[1015]: connect from unknown[185.208.158.235]
Jun  1 22:49:18 srv4hai postfix/smtpd[1015]: warning: unknown[185.208.158.235]: SASL LOGIN authentication failed: Invalid authentication mechanism
Jun  1 22:49:18 srv4hai postfix/smtpd[1015]: disconnect from unknown[185.208.158.235] ehlo=1 auth=0/1 quit=1 commands=2/3
Jun  1 22:49:43 srv4hai ping_SP[26980]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1717274983 - 'ping_SP_0'
Jun  1 22:49:43 srv4hai ping_SP[26980]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun  1 22:50:01 srv4hai CRON[1043]: (root) CMD (/etc/linetest/linetest.sh)
Jun  1 22:50:01 srv4hai CRON[1044]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Jun  1 22:50:01 srv4hai common[1046]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Jun  1 22:50:01 srv4hai meter.sh: SHELLY meter.sh started
Jun  1 22:50:03 srv4hai meter.sh: SHELLY 'shelly-03/Licht Vorzimmer':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  1 22:50:03 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Jun  1 22:50:03 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Jun  1 22:50:06 srv4hai meter.sh: SHELLY 'shelly-05/Stehlampe Anne hell':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  1 22:50:09 srv4hai meter.sh: SHELLY 'shelly-19/Fernsehlampe groß':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  1 22:50:11 srv4hai meter.sh: SHELLY 'shelly-06/Fernsehlampe klein':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  1 22:50:13 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Jun  1 22:50:13 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Jun  1 22:50:13 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Jun  1 22:50:13 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Jun  1 22:50:13 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Jun  1 22:50:16 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  1 22:50:19 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  1 22:50:19 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Jun  1 22:50:19 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Jun  1 22:50:19 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Jun  1 22:50:19 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Jun  1 22:50:19 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Jun  1 22:50:22 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  1 22:50:22 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Jun  1 22:50:22 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Jun  1 22:50:22 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Jun  1 22:50:22 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Jun  1 22:50:22 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Jun  1 22:50:22 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Jun  1 22:50:22 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Jun  1 22:50:22 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Jun  1 22:50:22 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Jun  1 22:50:22 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Jun  1 22:50:25 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  1 22:50:25 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Jun  1 22:50:25 srv4hai common[1890]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Jun  1 22:50:25 srv4hai check_shelly.sh: SHELLY last scenery executed: 'vorraumOff'
Jun  1 22:50:25 srv4hai check_shelly.sh: SHELLY found '3' active shelly outputs
Jun  1 22:50:25 srv4hai meter.sh: SHELLY meter.sh ended
Jun  1 22:50:43 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Jun  1 22:50:43 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jun  1 22:50:43 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jun  1 22:50:43 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jun  1 22:50:43 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jun  1 22:50:43 srv4hai common[1914]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jun  1 22:50:53 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jun  1 22:50:53 srv4hai common[1933]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jun  1 22:50:53 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jun  1 22:50:53 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jun  1 22:50:53 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jun  1 22:50:53 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jun  1 22:50:53 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jun  1 22:50:53 srv4hai common[1946]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jun  1 22:50:53 srv4hai ping_SP[1933]: SHELLY ping_SP.sh started from smartphone, user:'root'
Jun  1 22:51:00 srv4hai ping_SP[26980]: SHELLY (0)- ping 192.168.12.61 1 not answered (1) @~1717275060 - 'ping_SP_0'
Jun  1 22:51:01 srv4hai CRON[1981]: (root) CMD (/etc/linetest/linetest.sh)
Jun  1 22:51:03 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jun  1 22:51:03 srv4hai common[1991]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jun  1 22:51:03 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jun  1 22:51:03 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jun  1 22:51:03 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jun  1 22:51:03 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jun  1 22:51:03 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jun  1 22:51:03 srv4hai named[30406]: client @0x7f935062dc00 192.168.12.252#43669/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jun  1 22:51:03 srv4hai common[2009]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jun  1 22:51:03 srv4hai common[2012]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jun  1 22:51:03 srv4hai ping_SP[1991]: SHELLY ping_SP.sh started from smartphone, user:'root'
Jun  1 22:51:03 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'2'=1717275063-1717275061
Jun  1 22:51:04 srv4hai check_presence[2009]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jun  1 22:51:04 srv4hai check_presence[2009]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Jun  1 22:51:04 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'3'=1717275064-1717275061
Jun  1 22:51:04 srv4hai check_presence[2009]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jun  1 22:51:04 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'3'=1717275064-1717275061
Jun  1 22:51:04 srv4hai check_presence[2009]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jun  1 22:51:04 srv4hai check_presence[2009]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Jun  1 22:51:04 srv4hai check_presence[2009]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOff) - sceneONsmall(vorraumOn)
Jun  1 22:51:04 srv4hai check_presence[2009]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Jun  1 22:51:04 srv4hai activate_scenario[2182]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jun  1 22:51:04 srv4hai activate_scenario[2182]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished