activate_scenario.sh
Thu Mar 14 18:36:00 CET 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/03/14/_0.log)

vorher: 18:36:00.634

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: 18:36:00.680
Dauer: 45 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


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

urls : 1
vorher : 18:36:00.581
nachher: 18:36:00.686
Dauer : 108 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/03/14//scene_pcON_20240314_183600.txt'


syslog

Mar 14 18:33:01 srv4hai CRON[20300]: (root) CMD (/etc/linetest/linetest.sh)
Mar 14 18:33:28 srv4hai systemd[1]: Started Run anacron jobs.
Mar 14 18:33:28 srv4hai anacron[20319]: Anacron 2.3 started on 2024-03-14
Mar 14 18:33:28 srv4hai anacron[20319]: Normal exit (0 jobs run)
Mar 14 18:33:28 srv4hai systemd[1]: anacron.service: Succeeded.
Mar 14 18:33:28 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20321, secured, session=
Mar 14 18:33:28 srv4hai dovecot: imap(miglincit)<20321>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 14 18:33:37 srv4hai ping_SP[19987]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1710437617 - 'ping_SP_0'
Mar 14 18:33:37 srv4hai ping_SP[19987]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar 14 18:34:01 srv4hai CRON[20361]: (root) CMD (/etc/linetest/linetest.sh)
Mar 14 18:34:03 srv4hai fetchmail[1651]: 22249 messages (22249 seen) for mrozum at mail.akis.at (-451645491 octets).
Mar 14 18:34:04 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Mar 14 18:34:51 srv4hai ping_SP[19987]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1710437691 - 'ping_SP_0'
Mar 14 18:34:51 srv4hai ping_SP[19987]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar 14 18:35:01 srv4hai CRON[20407]: (root) CMD (/etc/linetest/linetest.sh)
Mar 14 18:35:19 srv4hai postfix/smtpd[20422]: connect from unknown[5.30.190.8]
Mar 14 18:35:20 srv4hai postfix/smtpd[20422]: lost connection after CONNECT from unknown[5.30.190.8]
Mar 14 18:35:20 srv4hai postfix/smtpd[20422]: disconnect from unknown[5.30.190.8] commands=0/0
Mar 14 18:35:20 srv4hai postfix/smtpd[20422]: connect from unknown[5.30.190.8]
Mar 14 18:35:23 srv4hai postfix/smtpd[20422]: SSL_accept error from unknown[5.30.190.8]: lost connection
Mar 14 18:35:23 srv4hai postfix/smtpd[20422]: lost connection after STARTTLS from unknown[5.30.190.8]
Mar 14 18:35:23 srv4hai postfix/smtpd[20422]: disconnect from unknown[5.30.190.8] ehlo=1 starttls=0/1 commands=1/2
Mar 14 18:35:25 srv4hai postfix/smtpd[20422]: connect from unknown[185.168.173.87]
Mar 14 18:35:25 srv4hai postfix/smtpd[20422]: lost connection after CONNECT from unknown[185.168.173.87]
Mar 14 18:35:25 srv4hai postfix/smtpd[20422]: disconnect from unknown[185.168.173.87] commands=0/0
Mar 14 18:35:25 srv4hai postfix/smtpd[20422]: connect from unknown[185.168.173.87]
Mar 14 18:35:28 srv4hai postfix/smtpd[20428]: connect from unknown[185.57.204.133]
Mar 14 18:35:29 srv4hai postfix/smtpd[20428]: lost connection after CONNECT from unknown[185.57.204.133]
Mar 14 18:35:29 srv4hai postfix/smtpd[20428]: disconnect from unknown[185.57.204.133] commands=0/0
Mar 14 18:35:29 srv4hai postfix/smtpd[20428]: connect from unknown[185.57.204.133]
Mar 14 18:35:31 srv4hai postfix/smtpd[20422]: warning: unknown[185.168.173.87]: SASL PLAIN authentication failed: 
Mar 14 18:35:31 srv4hai postfix/smtpd[20422]: lost connection after AUTH from unknown[185.168.173.87]
Mar 14 18:35:31 srv4hai postfix/smtpd[20422]: disconnect from unknown[185.168.173.87] ehlo=2 starttls=1 auth=0/1 commands=3/4
Mar 14 18:35:36 srv4hai postfix/smtpd[20428]: warning: unknown[185.57.204.133]: SASL PLAIN authentication failed: 
Mar 14 18:35:36 srv4hai postfix/smtpd[20428]: lost connection after AUTH from unknown[185.57.204.133]
Mar 14 18:35:36 srv4hai postfix/smtpd[20428]: disconnect from unknown[185.57.204.133] ehlo=2 starttls=1 auth=0/1 commands=3/4
Mar 14 18:35:39 srv4hai activate_scenario[20436]: SHELLY scenario: 'homeOffice(homeoffice)' started
Mar 14 18:35:39 srv4hai activate_scenario[20436]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Mar 14 18:35:39 srv4hai activate_scenario[20436]: SHELLY scenario: 'homeOffice(homeoffice)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Mar 14 18:35:39 srv4hai postfix/pickup[20098]: 29298602B8: uid=33 from=
Mar 14 18:35:39 srv4hai postfix/cleanup[20489]: 29298602B8: message-id=<20240314173539.29298602B8@mail.viehai.at>
Mar 14 18:35:39 srv4hai postfix/qmgr[15291]: 29298602B8: from=, size=15494, nrcpt=1 (queue active)
Mar 14 18:35:39 srv4hai activate_scenario[20436]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-01'-'Wandlicht beim Esstisch' --> '0?turn=off'
Mar 14 18:35:39 srv4hai proc_url[20507]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/14/_0.log' - shellyUsage:'Wandlicht beim Esstisch' - scUrl:'http://192.168.12.101/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Mar 14 18:35:39 srv4hai activate_scenario[20436]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-02'-'Balkon-Licht' --> '0?turn=off'
Mar 14 18:35:39 srv4hai proc_url[20518]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/14/_1.log' - shellyUsage:'Balkon-Licht' - scUrl:'http://192.168.12.102/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Mar 14 18:35:39 srv4hai postfix/local[20502]: 29298602B8: to=, orig_to=, relay=local, delay=0.11, delays=0.07/0.01/0/0.03, dsn=5.1.1, status=bounced (unknown user: "null")
Mar 14 18:35:39 srv4hai postfix/cleanup[20489]: 3A12B602B9: message-id=<20240314173539.3A12B602B9@mail.viehai.at>
Mar 14 18:35:39 srv4hai activate_scenario[20436]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=off'
Mar 14 18:35:39 srv4hai proc_url[20529]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/14/_2.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Mar 14 18:35:39 srv4hai postfix/bounce[20503]: 29298602B8: sender non-delivery notification: 3A12B602B9
Mar 14 18:35:39 srv4hai postfix/qmgr[15291]: 3A12B602B9: from=<>, size=17413, nrcpt=1 (queue active)
Mar 14 18:35:39 srv4hai postfix/qmgr[15291]: 29298602B8: removed
Mar 14 18:35:39 srv4hai activate_scenario[20436]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-05'-'Stehlampe Anne hell' --> '0?turn=off'
Mar 14 18:35:39 srv4hai proc_url[20551]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/14/_3.log' - shellyUsage:'Stehlampe Anne hell' - scUrl:'http://192.168.12.105/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Mar 14 18:35:39 srv4hai postfix/local[20502]: 3A12B602B9: to=, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar 14 18:35:39 srv4hai postfix/qmgr[15291]: 3A12B602B9: removed
Mar 14 18:35:39 srv4hai activate_scenario[20436]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-06'-'Fernsehlampe klein' --> '0?turn=off'
Mar 14 18:35:39 srv4hai proc_url[20562]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/14/_4.log' - shellyUsage:'Fernsehlampe klein' - scUrl:'http://192.168.12.106/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Mar 14 18:35:39 srv4hai activate_scenario[20436]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-07'-'Nachtkästchen Lampe Thomas' --> '0?turn=off'
Mar 14 18:35:39 srv4hai proc_url[20583]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/14/_5.log' - shellyUsage:'Nachtkästchen Lampe Thomas' - scUrl:'http://192.168.12.107/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Mar 14 18:35:39 srv4hai activate_scenario[20436]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=on'
Mar 14 18:35:39 srv4hai proc_url[20594]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/14/_6.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=on' - phName:'shelly-40:'Thomas Büro Licht''
Mar 14 18:35:39 srv4hai activate_scenario[20436]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-09'-'Sophie Licht' --> '0?turn=off'
Mar 14 18:35:39 srv4hai proc_url[20615]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/14/_7.log' - shellyUsage:'Sophie Licht' - scUrl:'http://192.168.12.109/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Mar 14 18:35:39 srv4hai activate_scenario[20436]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-10'-'WZ Bücherregal' --> '0?turn=off'
Mar 14 18:35:39 srv4hai proc_url[20651]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/14/_8.log' - shellyUsage:'WZ Bücherregal' - scUrl:'http://192.168.12.110/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Mar 14 18:35:39 srv4hai activate_scenario[20436]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=on'
Mar 14 18:35:39 srv4hai proc_url[20673]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/14/_9.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=on' - phName:'shelly-40:'Thomas Büro Licht''
Mar 14 18:35:39 srv4hai activate_scenario[20436]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-12'-'Schlafzimmer Licht' --> '0?turn=off'
Mar 14 18:35:39 srv4hai proc_url[20699]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/14/_10.log' - shellyUsage:'Schlafzimmer Licht' - scUrl:'http://192.168.12.112/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Mar 14 18:35:39 srv4hai activate_scenario[20634]: SHELLY scenario: 'LOG_gehen(log_gehen)' started
Mar 14 18:35:39 srv4hai activate_scenario[20634]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'
Mar 14 18:35:39 srv4hai activate_scenario[20634]: SHELLY scenario: 'LOG_gehen(log_gehen)' TO BE EXECUTED, shelly-03:'Licht Vorzimmer'
Mar 14 18:35:39 srv4hai activate_scenario[20436]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-16'-'Küche Licht Naßzeile' --> '0?turn=on&brightness=20'
Mar 14 18:35:39 srv4hai proc_url[20748]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/14/_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''
Mar 14 18:35:39 srv4hai activate_scenario[20634]: SHELLY scenario: 'LOG_gehen(log_gehen)' took 6 msec, shelly-03:'Licht Vorzimmer'
Mar 14 18:35:39 srv4hai activate_scenario[20436]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-16'-'Küche Licht Naßzeile' --> '1?turn=on&brightness=20'
Mar 14 18:35:39 srv4hai proc_url[20783]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/14/_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''
Mar 14 18:35:39 srv4hai activate_scenario[20436]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-17'-'Küche Licht Herdzeile' --> '0?turn=off&brightness=50'
Mar 14 18:35:39 srv4hai proc_url[20824]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/14/_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''
Mar 14 18:35:39 srv4hai activate_scenario[20436]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-17'-'Küche Licht Herdzeile' --> '1?turn=off&brightness=50'
Mar 14 18:35:39 srv4hai proc_url[20845]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/14/_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''
Mar 14 18:35:39 srv4hai activate_scenario[20436]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-19'-'Fernsehlampe groß' --> '0?turn=off'
Mar 14 18:35:39 srv4hai proc_url[20870]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/14/_15.log' - shellyUsage:'Fernsehlampe groß' - scUrl:'http://192.168.12.119/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Mar 14 18:35:39 srv4hai activate_scenario[20436]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-23'-'Licht Sekretär' --> '0?turn=off'
Mar 14 18:35:39 srv4hai proc_url[20884]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/14/_16.log' - shellyUsage:'Licht Sekretär' - scUrl:'http://192.168.12.123/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Mar 14 18:35:39 srv4hai activate_scenario[20436]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-24'-'Licht Empore' --> '0?turn=on'
Mar 14 18:35:39 srv4hai proc_url[20905]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/14/_17.log' - shellyUsage:'Licht Empore' - scUrl:'http://192.168.12.124/relay/0?turn=on' - phName:'shelly-40:'Thomas Büro Licht''
Mar 14 18:35:39 srv4hai activate_scenario[20436]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-25'-'Küchenlicht' --> '0?turn=off'
Mar 14 18:35:39 srv4hai proc_url[20918]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/14/_18.log' - shellyUsage:'Küchenlicht' - scUrl:'http://192.168.12.125/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Mar 14 18:35:39 srv4hai activate_scenario[20436]: SHELLY scenario: 'homeOffice(homeoffice)' took 413 msec, shelly-40:'Thomas Büro Licht'
Mar 14 18:35:55 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=21064, secured, session=<1GrSUqIT7OwAAAAAAAAAAAAAAAAAAAAB>
Mar 14 18:35:55 srv4hai dovecot: imap(miglincit)<21064><1GrSUqIT7OwAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 14 18:36:00 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Mar 14 18:36:00 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.10
Mar 14 18:36:00 srv4hai dhcpd[5037]: execute_statement argv[2] = pchai7x
Mar 14 18:36:00 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Mar 14 18:36:00 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Mar 14 18:36:00 srv4hai named[15509]: client @0x7f931c6b5500 192.168.12.252#46875/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar 14 18:36:00 srv4hai named[15509]: client @0x7f930c069dc0 192.168.12.252#53225/key rndc-key: signer "rndc-key" approved
Mar 14 18:36:00 srv4hai named[15509]: client @0x7f930c069dc0 192.168.12.252#53225/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Mar 14 18:36:00 srv4hai named[15509]: client @0x7f930c069dc0 192.168.12.252#53225/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Mar 14 18:36:00 srv4hai named[15509]: client @0x7f930c069dc0 192.168.12.252#53225/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Mar 14 18:36:00 srv4hai named[15509]: client @0x7f930c069dc0 192.168.12.252#53225/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Mar 14 18:36:00 srv4hai dhcpd[5037]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Mar 14 18:36:00 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Mar 14 18:36:00 srv4hai named[15509]: client @0x7f931c10f2a0 192.168.12.252#44873/key rndc-key: signer "rndc-key" approved
Mar 14 18:36:00 srv4hai named[15509]: client @0x7f931c10f2a0 192.168.12.252#44873/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Mar 14 18:36:00 srv4hai named[15509]: client @0x7f931c10f2a0 192.168.12.252#44873/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.
Mar 14 18:36:00 srv4hai dhcpd[5037]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Mar 14 18:36:00 srv4hai activate_scenario[21074]: SHELLY scenario: 'pcON(pcon)' started
Mar 14 18:36:00 srv4hai activate_scenario[21074]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished