activate_scenario.sh
Sat Apr 6 19:55:36 CEST 2024
scenario: pcON
origin: dhcpcommit.sh-pchai7x

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

scenario: 'Schreibtisch Thomas EIN-schalten' - 'pcON' - 'pcon'

Thomas Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/04/06/_0.log)

vorher: 19:55:37.024

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

nachher: 19:55:37.061
Dauer: 36 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


scenario: 'Schreibtisch Thomas EIN-schalten' - 'pcON' - 'pcon'

urls : 1
vorher : 19:55:36.964
nachher: 19:55:37.068
Dauer : 105 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/06//scene_pcON_20240406_195536.txt'


syslog

Apr  6 19:52:01 srv4hai CRON[16639]: (root) CMD (/etc/linetest/linetest.sh)
Apr  6 19:52:17 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr  6 19:52:17 srv4hai fetchmail[1651]: 41491 messages (41491 seen) for tmiglinci at mail.akis.at (-847541520 octets).
Apr  6 19:52:18 srv4hai fetchmail[1651]: 10096 messages (10096 seen) for srozum at mail.akis.at (1218610731 octets).
Apr  6 19:52:18 srv4hai fetchmail[1651]: 22702 messages (22702 seen) for mrozum at mail.akis.at (-373346513 octets).
Apr  6 19:52:18 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Apr  6 19:52:43 srv4hai activate_scenario[16652]: SHELLY scenario: 'LOG_kommen(log_kommen)' started
Apr  6 19:52:43 srv4hai activate_scenario[16652]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'
Apr  6 19:52:43 srv4hai activate_scenario[16652]: SHELLY scenario: 'LOG_kommen(log_kommen)' TO BE EXECUTED, shelly-03:'Licht Vorzimmer'
Apr  6 19:52:43 srv4hai activate_scenario[16652]: SHELLY scenario: 'LOG_kommen(log_kommen)' took 6 msec, shelly-03:'Licht Vorzimmer'
Apr  6 19:53:01 srv4hai CRON[16725]: (root) CMD (/etc/linetest/linetest.sh)
Apr  6 19:53:09 srv4hai ping_SP[27672]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712425989 - 'ping_SP_0'
Apr  6 19:53:09 srv4hai ping_SP[27672]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  6 19:53:14 srv4hai common[16745]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr  6 19:53:24 srv4hai bt_scan[16745]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'No'
Apr  6 19:53:24 srv4hai bt_scan[16745]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Apr  6 19:53:24 srv4hai common[16778]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Apr  6 19:53:25 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1712426005-1712425995
Apr  6 19:53:25 srv4hai check_presence[16778]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Apr  6 19:53:25 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1712426005-1712425995
Apr  6 19:53:25 srv4hai check_presence[16778]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Apr  6 19:53:25 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1712426005-1712425995
Apr  6 19:53:25 srv4hai check_presence[16778]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr  6 19:53:25 srv4hai check_presence[16778]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Apr  6 19:53:25 srv4hai check_presence[16778]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Apr  6 19:53:41 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=16891, secured, session=
Apr  6 19:53:41 srv4hai dovecot: imap(miglincit)<16891>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr  6 19:54:01 srv4hai CRON[16895]: (root) CMD (/etc/linetest/linetest.sh)
Apr  6 19:54:04 srv4hai postfix/smtpd[16900]: connect from unknown[45.88.90.157]
Apr  6 19:54:04 srv4hai postfix/smtpd[16900]: warning: unknown[45.88.90.157]: SASL LOGIN authentication failed: Invalid authentication mechanism
Apr  6 19:54:04 srv4hai postfix/smtpd[16900]: disconnect from unknown[45.88.90.157] ehlo=1 auth=0/1 quit=1 commands=2/3
Apr  6 19:54:22 srv4hai ping_SP[27672]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712426062 - 'ping_SP_0'
Apr  6 19:54:22 srv4hai ping_SP[27672]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  6 19:54:39 srv4hai activate_scenario[16924]: SHELLY scenario: 'homeOffice(homeoffice)' started
Apr  6 19:54:39 srv4hai activate_scenario[16924]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Apr  6 19:54:39 srv4hai activate_scenario[16924]: SHELLY scenario: 'homeOffice(homeoffice)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Apr  6 19:54:39 srv4hai postfix/pickup[7869]: 3851A60245: uid=33 from=
Apr  6 19:54:39 srv4hai postfix/cleanup[16977]: 3851A60245: message-id=<20240406175439.3851A60245@mail.viehai.at>
Apr  6 19:54:39 srv4hai postfix/qmgr[15291]: 3851A60245: from=, size=14848, nrcpt=1 (queue active)
Apr  6 19:54:39 srv4hai activate_scenario[16924]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-01'-'Wandlicht beim Esstisch' --> '0?turn=off'
Apr  6 19:54:39 srv4hai postfix/local[16990]: 3851A60245: to=, orig_to=, relay=local, delay=0.06, delays=0.04/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Apr  6 19:54:39 srv4hai postfix/cleanup[16977]: 419CF60248: message-id=<20240406175439.419CF60248@mail.viehai.at>
Apr  6 19:54:39 srv4hai proc_url[16995]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/06/_0.log' - shellyUsage:'Wandlicht beim Esstisch' - scUrl:'http://192.168.12.101/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Apr  6 19:54:39 srv4hai postfix/bounce[16991]: 3851A60245: sender non-delivery notification: 419CF60248
Apr  6 19:54:39 srv4hai postfix/qmgr[15291]: 419CF60248: from=<>, size=16770, nrcpt=1 (queue active)
Apr  6 19:54:39 srv4hai postfix/qmgr[15291]: 3851A60245: removed
Apr  6 19:54:39 srv4hai activate_scenario[16924]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-02'-'Balkon-Licht' --> '0?turn=off'
Apr  6 19:54:39 srv4hai proc_url[17007]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/06/_1.log' - shellyUsage:'Balkon-Licht' - scUrl:'http://192.168.12.102/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Apr  6 19:54:39 srv4hai postfix/local[16990]: 419CF60248: 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  6 19:54:39 srv4hai postfix/qmgr[15291]: 419CF60248: removed
Apr  6 19:54:39 srv4hai activate_scenario[16924]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=off'
Apr  6 19:54:39 srv4hai proc_url[17018]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/06/_2.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Apr  6 19:54:39 srv4hai activate_scenario[16924]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-05'-'Stehlampe Anne hell' --> '0?turn=off'
Apr  6 19:54:39 srv4hai proc_url[17039]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/06/_3.log' - shellyUsage:'Stehlampe Anne hell' - scUrl:'http://192.168.12.105/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Apr  6 19:54:39 srv4hai activate_scenario[16924]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-06'-'Fernsehlampe klein' --> '0?turn=off'
Apr  6 19:54:39 srv4hai proc_url[17052]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/06/_4.log' - shellyUsage:'Fernsehlampe klein' - scUrl:'http://192.168.12.106/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Apr  6 19:54:39 srv4hai activate_scenario[16924]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-07'-'Nachtkästchen Lampe Thomas' --> '0?turn=off'
Apr  6 19:54:39 srv4hai proc_url[17072]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/06/_5.log' - shellyUsage:'Nachtkästchen Lampe Thomas' - scUrl:'http://192.168.12.107/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Apr  6 19:54:39 srv4hai activate_scenario[16924]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=on'
Apr  6 19:54:39 srv4hai proc_url[17083]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/06/_6.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=on' - phName:'shelly-40:'Thomas Büro Licht''
Apr  6 19:54:39 srv4hai activate_scenario[16924]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-09'-'Sophie Licht' --> '0?turn=off'
Apr  6 19:54:39 srv4hai proc_url[17116]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/06/_7.log' - shellyUsage:'Sophie Licht' - scUrl:'http://192.168.12.109/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Apr  6 19:54:39 srv4hai activate_scenario[16924]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-10'-'WZ Bücherregal' --> '0?turn=off'
Apr  6 19:54:39 srv4hai proc_url[17134]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/06/_8.log' - shellyUsage:'WZ Bücherregal' - scUrl:'http://192.168.12.110/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Apr  6 19:54:39 srv4hai activate_scenario[16924]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=on'
Apr  6 19:54:39 srv4hai proc_url[17148]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/06/_9.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=on' - phName:'shelly-40:'Thomas Büro Licht''
Apr  6 19:54:39 srv4hai activate_scenario[16924]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-12'-'Schlafzimmer Licht' --> '0?turn=off'
Apr  6 19:54:39 srv4hai proc_url[17161]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/06/_10.log' - shellyUsage:'Schlafzimmer Licht' - scUrl:'http://192.168.12.112/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Apr  6 19:54:39 srv4hai activate_scenario[16924]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-16'-'Küche Licht Naßzeile' --> '0?turn=on&brightness=20'
Apr  6 19:54:39 srv4hai proc_url[17172]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/06/_11.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/0?turn=on&brightness=20' - phName:'shelly-40:'Thomas Büro Licht''
Apr  6 19:54:39 srv4hai activate_scenario[16924]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-16'-'Küche Licht Naßzeile' --> '1?turn=on&brightness=20'
Apr  6 19:54:39 srv4hai proc_url[17204]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/06/_12.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/1?turn=on&brightness=20' - phName:'shelly-40:'Thomas Büro Licht''
Apr  6 19:54:39 srv4hai activate_scenario[16924]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-17'-'Küche Licht Herdzeile' --> '0?turn=off&brightness=50'
Apr  6 19:54:39 srv4hai proc_url[17237]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/06/_13.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/0?turn=off&brightness=50' - phName:'shelly-40:'Thomas Büro Licht''
Apr  6 19:54:39 srv4hai activate_scenario[16924]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-17'-'Küche Licht Herdzeile' --> '1?turn=off&brightness=50'
Apr  6 19:54:39 srv4hai proc_url[17271]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/06/_14.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/1?turn=off&brightness=50' - phName:'shelly-40:'Thomas Büro Licht''
Apr  6 19:54:39 srv4hai activate_scenario[16924]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-19'-'Fernsehlampe groß' --> '0?turn=off'
Apr  6 19:54:39 srv4hai proc_url[17294]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/06/_15.log' - shellyUsage:'Fernsehlampe groß' - scUrl:'http://192.168.12.119/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Apr  6 19:54:39 srv4hai activate_scenario[16924]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-23'-'Licht Sekretär' --> '0?turn=off'
Apr  6 19:54:39 srv4hai proc_url[17307]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/06/_16.log' - shellyUsage:'Licht Sekretär' - scUrl:'http://192.168.12.123/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Apr  6 19:54:39 srv4hai activate_scenario[16924]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-24'-'Licht Empore' --> '0?turn=on'
Apr  6 19:54:39 srv4hai proc_url[17333]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/06/_17.log' - shellyUsage:'Licht Empore' - scUrl:'http://192.168.12.124/relay/0?turn=on' - phName:'shelly-40:'Thomas Büro Licht''
Apr  6 19:54:39 srv4hai activate_scenario[16924]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-25'-'Küchenlicht' --> '0?turn=off'
Apr  6 19:54:39 srv4hai proc_url[17360]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/06/_18.log' - shellyUsage:'Küchenlicht' - scUrl:'http://192.168.12.125/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Apr  6 19:54:39 srv4hai activate_scenario[17318]: SHELLY scenario: 'LOG_gehen(log_gehen)' started
Apr  6 19:54:39 srv4hai activate_scenario[17318]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'
Apr  6 19:54:39 srv4hai activate_scenario[17318]: SHELLY scenario: 'LOG_gehen(log_gehen)' TO BE EXECUTED, shelly-03:'Licht Vorzimmer'
Apr  6 19:54:39 srv4hai activate_scenario[17318]: SHELLY scenario: 'LOG_gehen(log_gehen)' took 7 msec, shelly-03:'Licht Vorzimmer'
Apr  6 19:54:39 srv4hai activate_scenario[16924]: SHELLY scenario: 'homeOffice(homeoffice)' took 402 msec, shelly-40:'Thomas Büro Licht'
Apr  6 19:55:01 srv4hai CRON[17542]: (root) CMD (/etc/linetest/linetest.sh)
Apr  6 19:55:35 srv4hai ping_SP[27672]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712426135 - 'ping_SP_0'
Apr  6 19:55:35 srv4hai ping_SP[27672]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  6 19:55:36 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Apr  6 19:55:36 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.10
Apr  6 19:55:36 srv4hai dhcpd[28085]: execute_statement argv[2] = pchai7x
Apr  6 19:55:36 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Apr  6 19:55:36 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Apr  6 19:55:36 srv4hai named[15509]: client @0x7f93140740a0 192.168.12.252#45831/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr  6 19:55:36 srv4hai named[15509]: client @0x7f930c088170 192.168.12.252#56889/key rndc-key: signer "rndc-key" approved
Apr  6 19:55:36 srv4hai named[15509]: client @0x7f930c088170 192.168.12.252#56889/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Apr  6 19:55:36 srv4hai named[15509]: client @0x7f930c088170 192.168.12.252#56889/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Apr  6 19:55:36 srv4hai named[15509]: client @0x7f930c088170 192.168.12.252#56889/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Apr  6 19:55:36 srv4hai named[15509]: client @0x7f930c088170 192.168.12.252#56889/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Apr  6 19:55:36 srv4hai dhcpd[28085]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Apr  6 19:55:36 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Apr  6 19:55:36 srv4hai named[15509]: client @0x7f93180c5880 192.168.12.252#35157/key rndc-key: signer "rndc-key" approved
Apr  6 19:55:36 srv4hai named[15509]: client @0x7f93180c5880 192.168.12.252#35157/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Apr  6 19:55:36 srv4hai named[15509]: client @0x7f93180c5880 192.168.12.252#35157/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '10.12.168.192.in-addr.arpa' PTR pchai7x.viehai.at.
Apr  6 19:55:36 srv4hai dhcpd[28085]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Apr  6 19:55:36 srv4hai activate_scenario[17573]: SHELLY scenario: 'pcON(pcon)' started
Apr  6 19:55:36 srv4hai activate_scenario[17573]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished