activate_scenario.sh
Thu Apr 11 16:08:17 CEST 2024
scenario: pcON
origin: dhcpcommit.sh-pchai7x

'day' <--> 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/11/_0.log)

vorher: 16:08:17.157

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: 16:08:17.203
Dauer: 46 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


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

urls : 1
vorher : 16:08:17.133
nachher: 16:08:17.210
Dauer : 77 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/11//scene_pcON_20240411_160817.txt'


syslog

Apr 11 16:05:01 srv4hai CRON[10129]: (root) CMD (/etc/linetest/linetest.sh)
Apr 11 16:05:07 srv4hai ping_SP[2857]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712844307 - 'ping_SP_0'
Apr 11 16:05:07 srv4hai ping_SP[2857]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 11 16:05:53 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=10170, secured, session=
Apr 11 16:05:53 srv4hai dovecot: imap(miglincit)<10170>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 11 16:06:01 srv4hai CRON[10172]: (root) CMD (/etc/linetest/linetest.sh)
Apr 11 16:06:20 srv4hai ping_SP[2857]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712844380 - 'ping_SP_0'
Apr 11 16:06:20 srv4hai ping_SP[2857]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 11 16:07:01 srv4hai CRON[10220]: (root) CMD (/etc/linetest/linetest.sh)
Apr 11 16:07:33 srv4hai ping_SP[2857]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712844453 - 'ping_SP_0'
Apr 11 16:07:33 srv4hai ping_SP[2857]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 11 16:07:55 srv4hai activate_scenario[10259]: SHELLY scenario: 'homeOffice(homeoffice)' started
Apr 11 16:07:55 srv4hai activate_scenario[10259]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Apr 11 16:07:55 srv4hai activate_scenario[10259]: SHELLY scenario: 'homeOffice(homeoffice)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Apr 11 16:07:55 srv4hai postfix/pickup[8590]: D4EE26022F: uid=33 from=
Apr 11 16:07:55 srv4hai postfix/cleanup[10312]: D4EE26022F: message-id=<20240411140755.D4EE26022F@mail.viehai.at>
Apr 11 16:07:55 srv4hai postfix/qmgr[15291]: D4EE26022F: from=, size=2599, nrcpt=1 (queue active)
Apr 11 16:07:55 srv4hai postfix/local[10325]: D4EE26022F: to=, orig_to=, relay=local, delay=0.07, delays=0.05/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Apr 11 16:07:55 srv4hai postfix/cleanup[10312]: DFAB860230: message-id=<20240411140755.DFAB860230@mail.viehai.at>
Apr 11 16:07:55 srv4hai activate_scenario[10259]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-01'-'Wandlicht beim Esstisch' --> '0?turn=off'
Apr 11 16:07:55 srv4hai postfix/bounce[10326]: D4EE26022F: sender non-delivery notification: DFAB860230
Apr 11 16:07:55 srv4hai postfix/qmgr[15291]: DFAB860230: from=<>, size=4521, nrcpt=1 (queue active)
Apr 11 16:07:55 srv4hai postfix/qmgr[15291]: D4EE26022F: removed
Apr 11 16:07:55 srv4hai proc_url[10330]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/11/_0.log' - shellyUsage:'Wandlicht beim Esstisch' - scUrl:'http://192.168.12.101/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Apr 11 16:07:55 srv4hai postfix/local[10325]: DFAB860230: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 11 16:07:55 srv4hai postfix/qmgr[15291]: DFAB860230: removed
Apr 11 16:07:55 srv4hai activate_scenario[10259]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-02'-'Balkon-Licht' --> '0?turn=off'
Apr 11 16:07:55 srv4hai proc_url[10342]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/11/_1.log' - shellyUsage:'Balkon-Licht' - scUrl:'http://192.168.12.102/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Apr 11 16:07:55 srv4hai activate_scenario[10259]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=off'
Apr 11 16:07:55 srv4hai proc_url[10353]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/11/_2.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Apr 11 16:07:55 srv4hai activate_scenario[10259]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-05'-'Stehlampe Anne hell' --> '0?turn=off'
Apr 11 16:07:55 srv4hai proc_url[10371]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/11/_3.log' - shellyUsage:'Stehlampe Anne hell' - scUrl:'http://192.168.12.105/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Apr 11 16:07:55 srv4hai activate_scenario[10259]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-06'-'Fernsehlampe klein' --> '0?turn=off'
Apr 11 16:07:55 srv4hai proc_url[10385]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/11/_4.log' - shellyUsage:'Fernsehlampe klein' - scUrl:'http://192.168.12.106/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Apr 11 16:07:55 srv4hai activate_scenario[10259]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-07'-'Nachtkästchen Lampe Thomas' --> '0?turn=off'
Apr 11 16:07:55 srv4hai proc_url[10403]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/11/_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 11 16:07:55 srv4hai activate_scenario[10259]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=on'
Apr 11 16:07:55 srv4hai proc_url[10424]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/11/_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 11 16:07:56 srv4hai activate_scenario[10259]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-09'-'Sophie Licht' --> '0?turn=off'
Apr 11 16:07:56 srv4hai proc_url[10443]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/11/_7.log' - shellyUsage:'Sophie Licht' - scUrl:'http://192.168.12.109/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Apr 11 16:07:56 srv4hai activate_scenario[10259]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-10'-'WZ Bücherregal' --> '0?turn=off'
Apr 11 16:07:56 srv4hai proc_url[10471]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/11/_8.log' - shellyUsage:'WZ Bücherregal' - scUrl:'http://192.168.12.110/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Apr 11 16:07:56 srv4hai activate_scenario[10259]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=on'
Apr 11 16:07:56 srv4hai proc_url[10492]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/11/_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 11 16:07:56 srv4hai activate_scenario[10259]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-12'-'Schlafzimmer Licht' --> '0?turn=off'
Apr 11 16:07:56 srv4hai proc_url[10503]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/11/_10.log' - shellyUsage:'Schlafzimmer Licht' - scUrl:'http://192.168.12.112/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Apr 11 16:07:56 srv4hai activate_scenario[10259]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-16'-'Küche Licht Naßzeile' --> '0?turn=on&brightness=20'
Apr 11 16:07:56 srv4hai proc_url[10524]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/11/_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 11 16:07:56 srv4hai activate_scenario[10259]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-16'-'Küche Licht Naßzeile' --> '1?turn=on&brightness=20'
Apr 11 16:07:56 srv4hai proc_url[10549]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/11/_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 11 16:07:56 srv4hai activate_scenario[10259]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-17'-'Küche Licht Herdzeile' --> '0?turn=off&brightness=50'
Apr 11 16:07:56 srv4hai proc_url[10573]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/11/_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 11 16:07:56 srv4hai activate_scenario[10259]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-17'-'Küche Licht Herdzeile' --> '1?turn=off&brightness=50'
Apr 11 16:07:56 srv4hai proc_url[10590]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/11/_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 11 16:07:56 srv4hai activate_scenario[10259]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-19'-'Fernsehlampe groß' --> '0?turn=off'
Apr 11 16:07:56 srv4hai proc_url[10619]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/11/_15.log' - shellyUsage:'Fernsehlampe groß' - scUrl:'http://192.168.12.119/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Apr 11 16:07:56 srv4hai activate_scenario[10259]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-23'-'Licht Sekretär' --> '0?turn=off'
Apr 11 16:07:56 srv4hai proc_url[10653]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/11/_16.log' - shellyUsage:'Licht Sekretär' - scUrl:'http://192.168.12.123/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Apr 11 16:07:56 srv4hai activate_scenario[10259]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-24'-'Licht Empore' --> '0?turn=on'
Apr 11 16:07:56 srv4hai proc_url[10666]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/11/_17.log' - shellyUsage:'Licht Empore' - scUrl:'http://192.168.12.124/relay/0?turn=on' - phName:'shelly-40:'Thomas Büro Licht''
Apr 11 16:07:56 srv4hai activate_scenario[10259]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-25'-'Küchenlicht' --> '0?turn=off'
Apr 11 16:07:56 srv4hai proc_url[10679]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/11/_18.log' - shellyUsage:'Küchenlicht' - scUrl:'http://192.168.12.125/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Apr 11 16:07:56 srv4hai activate_scenario[10259]: SHELLY scenario: 'homeOffice(homeoffice)' took 364 msec, shelly-40:'Thomas Büro Licht'
Apr 11 16:08:01 srv4hai CRON[10810]: (root) CMD (/etc/linetest/linetest.sh)
Apr 11 16:08:17 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Apr 11 16:08:17 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.10
Apr 11 16:08:17 srv4hai dhcpd[28085]: execute_statement argv[2] = pchai7x
Apr 11 16:08:17 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Apr 11 16:08:17 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Apr 11 16:08:17 srv4hai named[15509]: client @0x7f931c157870 192.168.12.252#52339/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr 11 16:08:17 srv4hai named[15509]: client @0x7f930800b8b0 192.168.12.252#59797/key rndc-key: signer "rndc-key" approved
Apr 11 16:08:17 srv4hai named[15509]: client @0x7f930800b8b0 192.168.12.252#59797/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Apr 11 16:08:17 srv4hai named[15509]: client @0x7f930800b8b0 192.168.12.252#59797/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Apr 11 16:08:17 srv4hai named[15509]: client @0x7f930800b8b0 192.168.12.252#59797/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Apr 11 16:08:17 srv4hai named[15509]: client @0x7f930800b8b0 192.168.12.252#59797/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Apr 11 16:08:17 srv4hai dhcpd[28085]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Apr 11 16:08:17 srv4hai named[15509]: client @0x7f931c633cd0 192.168.12.252#60961/key rndc-key: signer "rndc-key" approved
Apr 11 16:08:17 srv4hai named[15509]: client @0x7f931c633cd0 192.168.12.252#60961/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Apr 11 16:08:17 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Apr 11 16:08:17 srv4hai named[15509]: client @0x7f931c633cd0 192.168.12.252#60961/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 11 16:08:17 srv4hai dhcpd[28085]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Apr 11 16:08:17 srv4hai activate_scenario[10830]: SHELLY scenario: 'pcON(pcon)' started
Apr 11 16:08:17 srv4hai activate_scenario[10830]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished