activate_scenario.sh
Tue Nov 26 22:48:38 CET 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'

SZ Nachtkästchen Thomas (/srv/www/viehai/shelly/log_scenarios/2024/11/26/_0.log)

vorher: 22:48:38.421

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:48:38.454
Dauer: 32 msec phName: 'shelly-12:'SZ Licht''


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

urls : 1
vorher : 22:48:38.401
nachher: 22:48:38.462
Dauer : 60 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/11/26//scene_bedlight_tom_20241126_224838.txt'


syslog

Nov 26 22:45:01 srv4hai CRON[20393]: (root) CMD (/etc/linetest/linetest.sh)
Nov 26 22:45:30 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Nov 26 22:45:31 srv4hai fetchmail[1651]: 57780 messages (57780 seen) for tmiglinci at mail.akis.at (449584617 octets).
Nov 26 22:45:32 srv4hai fetchmail[1651]: 11111 messages (11111 seen) for srozum at mail.akis.at (1338522342 octets).
Nov 26 22:45:32 srv4hai fetchmail[1651]: 27469 messages (27469 seen) for mrozum at mail.akis.at (439373617 octets).
Nov 26 22:45:33 srv4hai fetchmail[1651]: 1157 messages (1157 seen) for admin@bastelstube.wien at pop3.world4you.com (52170273 octets).
Nov 26 22:45:54 srv4hai ping_SP[16656]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1732657554 - 'ping_SP_0'
Nov 26 22:45:54 srv4hai ping_SP[16656]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Nov 26 22:45:57 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20446, secured, session=<1Gs3xtcnIo4AAAAAAAAAAAAAAAAAAAAB>
Nov 26 22:45:57 srv4hai dovecot: imap(rozumm)<20446><1Gs3xtcnIo4AAAAAAAAAAAAAAAAAAAAB>: Logged out in=179 out=1623 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 26 22:46:02 srv4hai CRON[20453]: (root) CMD (/etc/linetest/linetest.sh)
Nov 26 22:46:10 srv4hai ping_SP[27569]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1732657570 - 'ping_SP_1'
Nov 26 22:46:10 srv4hai ping_SP[27569]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Nov 26 22:46:31 srv4hai activate_scenario[20485]: SHELLY scenario: 'vorraumOff(vorraumoff)' started
Nov 26 22:46:31 srv4hai activate_scenario[20485]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-25:'KÜ Licht'
Nov 26 22:46:31 srv4hai activate_scenario[20485]: SHELLY scenario: 'vorraumOff(vorraumoff)' TO BE EXECUTED, shelly-25:'KÜ Licht'
Nov 26 22:46:31 srv4hai postfix/pickup[3645]: 3266863463: uid=33 from=
Nov 26 22:46:31 srv4hai postfix/cleanup[20538]: 3266863463: message-id=<20241126214631.3266863463@mail.viehai.at>
Nov 26 22:46:31 srv4hai postfix/qmgr[8566]: 3266863463: from=, size=5290, nrcpt=1 (queue active)
Nov 26 22:46:31 srv4hai activate_scenario[20485]: SHELLY: scenario: 'vorraumOff(vorraumoff)'-'shelly-03'-'VZ Licht' --> '0?turn=off'
Nov 26 22:46:31 srv4hai proc_url[20556]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/11/26/_0.log' - shellyUsage:'VZ Licht' - scUrl:'http://192.168.12.103/relay/0?turn=off' - phName:'shelly-25:'KÜ Licht''
Nov 26 22:46:31 srv4hai postfix/local[20550]: 3266863463: to=, orig_to=, relay=local, delay=0.04, delays=0.02/0/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null")
Nov 26 22:46:31 srv4hai postfix/cleanup[20538]: 398D463464: message-id=<20241126214631.398D463464@mail.viehai.at>
Nov 26 22:46:31 srv4hai postfix/bounce[20552]: 3266863463: sender non-delivery notification: 398D463464
Nov 26 22:46:31 srv4hai postfix/qmgr[8566]: 398D463464: from=<>, size=7209, nrcpt=1 (queue active)
Nov 26 22:46:31 srv4hai postfix/qmgr[8566]: 3266863463: removed
Nov 26 22:46:31 srv4hai postfix/local[20550]: 398D463464: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Nov 26 22:46:31 srv4hai postfix/qmgr[8566]: 398D463464: removed
Nov 26 22:46:31 srv4hai activate_scenario[20485]: SHELLY: scenario: 'vorraumOff(vorraumoff)'-'shelly-16'-'KÜ Licht Naßzeile' --> '0?turn=off&brightness=70'
Nov 26 22:46:31 srv4hai proc_url[20569]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/11/26/_1.log' - shellyUsage:'KÜ Licht Naßzeile' - scUrl:'http://192.168.12.116/white/0?turn=off&brightness=70' - phName:'shelly-25:'KÜ Licht''
Nov 26 22:46:31 srv4hai activate_scenario[20485]: SHELLY: scenario: 'vorraumOff(vorraumoff)'-'shelly-16'-'KÜ Licht Naßzeile' --> '1?turn=off&brightness=70'
Nov 26 22:46:31 srv4hai proc_url[20580]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/11/26/_2.log' - shellyUsage:'KÜ Licht Naßzeile' - scUrl:'http://192.168.12.116/white/1?turn=off&brightness=70' - phName:'shelly-25:'KÜ Licht''
Nov 26 22:46:31 srv4hai activate_scenario[20485]: SHELLY: scenario: 'vorraumOff(vorraumoff)'-'shelly-17'-'KÜ Licht Herdzeile' --> '0?turn=off&brightness=50'
Nov 26 22:46:31 srv4hai proc_url[20591]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/11/26/_3.log' - shellyUsage:'KÜ Licht Herdzeile' - scUrl:'http://192.168.12.117/white/0?turn=off&brightness=50' - phName:'shelly-25:'KÜ Licht''
Nov 26 22:46:31 srv4hai activate_scenario[20485]: SHELLY: scenario: 'vorraumOff(vorraumoff)'-'shelly-17'-'KÜ Licht Herdzeile' --> '1?turn=off&brightness=50'
Nov 26 22:46:31 srv4hai proc_url[20612]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/11/26/_4.log' - shellyUsage:'KÜ Licht Herdzeile' - scUrl:'http://192.168.12.117/white/1?turn=off&brightness=50' - phName:'shelly-25:'KÜ Licht''
Nov 26 22:46:31 srv4hai activate_scenario[20485]: SHELLY: scenario: 'vorraumOff(vorraumoff)'-'shelly-22'-'WC Licht' --> '0?turn=off'
Nov 26 22:46:31 srv4hai proc_url[20623]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/11/26/_5.log' - shellyUsage:'WC Licht' - scUrl:'http://192.168.12.122/relay/0?turn=off' - phName:'shelly-25:'KÜ Licht''
Nov 26 22:46:31 srv4hai activate_scenario[20485]: SHELLY: scenario: 'vorraumOff(vorraumoff)'-'shelly-25'-'KÜ Licht' --> '0?turn=off'
Nov 26 22:46:31 srv4hai proc_url[20664]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/11/26/_6.log' - shellyUsage:'KÜ Licht' - scUrl:'http://192.168.12.125/relay/0?turn=off' - phName:'shelly-25:'KÜ Licht''
Nov 26 22:46:31 srv4hai activate_scenario[20485]: SHELLY scenario: 'vorraumOff(vorraumoff)' took 164 msec, shelly-25:'KÜ Licht'
Nov 26 22:46:57 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20758, secured, session=<64HLydcnTo4AAAAAAAAAAAAAAAAAAAAB>
Nov 26 22:46:57 srv4hai dovecot: imap(rozumm)<20758><64HLydcnTo4AAAAAAAAAAAAAAAAAAAAB>: Logged out in=179 out=1623 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 26 22:47:01 srv4hai CRON[20763]: (root) CMD (/etc/linetest/linetest.sh)
Nov 26 22:47:07 srv4hai ping_SP[16656]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1732657627 - 'ping_SP_0'
Nov 26 22:47:07 srv4hai ping_SP[16656]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Nov 26 22:47:23 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20793, secured, session=
Nov 26 22:47:23 srv4hai dovecot: imap(miglincit)<20793>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 26 22:47:24 srv4hai ping_SP[27569]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1732657644 - 'ping_SP_1'
Nov 26 22:47:24 srv4hai ping_SP[27569]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Nov 26 22:47:33 srv4hai postfix/anvil[20332]: statistics: max connection rate 1/60s for (smtp:80.94.95.239) at Nov 26 22:44:09
Nov 26 22:47:33 srv4hai postfix/anvil[20332]: statistics: max connection count 1 for (smtp:80.94.95.239) at Nov 26 22:44:09
Nov 26 22:47:33 srv4hai postfix/anvil[20332]: statistics: max cache size 1 at Nov 26 22:44:09
Nov 26 22:47:47 srv4hai mosquitto[4998]: Client shellyplus1-441793a58ae4 has exceeded timeout, disconnecting.
Nov 26 22:47:47 srv4hai mosquitto[4998]: Socket error on client shellyplus1-441793a58ae4, disconnecting.
Nov 26 22:47:57 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20829, secured, session=
Nov 26 22:47:57 srv4hai dovecot: imap(rozumm)<20829>: Logged out in=179 out=1623 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 26 22:47:59 srv4hai postfix/smtpd[20831]: connect from unknown[80.94.95.239]
Nov 26 22:48:01 srv4hai CRON[20835]: (root) CMD (/etc/linetest/linetest.sh)
Nov 26 22:48:02 srv4hai postfix/smtpd[20831]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Nov 26 22:48:04 srv4hai postfix/smtpd[20831]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Nov 26 22:48:10 srv4hai dhcpd[21239]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0
Nov 26 22:48:10 srv4hai dhcpd[21239]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Nov 26 22:48:10 srv4hai dhcpd[21239]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Nov 26 22:48:10 srv4hai dhcpd[21239]: execute_statement argv[1] = 192.168.12.147
Nov 26 22:48:10 srv4hai dhcpd[21239]: execute_statement argv[2] = shelly-47
Nov 26 22:48:10 srv4hai dhcpd[21239]: DHCPREQUEST for 192.168.12.147 (192.168.12.252) from 44:17:93:a5:8a:e4 via enp2s0
Nov 26 22:48:10 srv4hai dhcpd[21239]: DHCPACK on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Nov 26 22:48:10 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#56967/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-47.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Nov 26 22:48:10 srv4hai named[30406]: client @0x7f93100dab10 192.168.12.252#46273/key rndc-key: signer "rndc-key" approved
Nov 26 22:48:10 srv4hai named[30406]: client @0x7f93100dab10 192.168.12.252#46273/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' TXT
Nov 26 22:48:10 srv4hai named[30406]: client @0x7f93100dab10 192.168.12.252#46273/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' TXT "31f97534415d36e3a13ec57b0310c0867f"
Nov 26 22:48:10 srv4hai named[30406]: client @0x7f93100dab10 192.168.12.252#46273/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' A
Nov 26 22:48:10 srv4hai named[30406]: client @0x7f93100dab10 192.168.12.252#46273/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' A 192.168.12.147
Nov 26 22:48:10 srv4hai dhcpd[21239]: Added new forward map from shelly-47.viehai.at to 192.168.12.147
Nov 26 22:48:10 srv4hai named[30406]: client @0x7f93300c1420 192.168.12.252#50197/key rndc-key: signer "rndc-key" approved
Nov 26 22:48:10 srv4hai named[30406]: client @0x7f93300c1420 192.168.12.252#50197/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '147.12.168.192.in-addr.arpa' PTR
Nov 26 22:48:10 srv4hai named[30406]: client @0x7f93300c1420 192.168.12.252#50197/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '147.12.168.192.in-addr.arpa' PTR shelly-47.viehai.at.
Nov 26 22:48:10 srv4hai dhcpd[21239]: Added reverse map from 147.12.168.192.in-addr.arpa. to shelly-47.viehai.at
Nov 26 22:48:10 srv4hai common[20847]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Nov 26 22:48:10 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-47' - shIP/2:'' perform:'conf'
Nov 26 22:48:11 srv4hai mosquitto[4998]: New connection from 192.168.12.147 on port 1883.
Nov 26 22:48:11 srv4hai mosquitto[4998]: New client connected from 192.168.12.147 as shellyplus1-441793a58ae4 (c1, k60, u'shmqtt').
Nov 26 22:48:14 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-47' - shIP/2:'192.168.12.147'
Nov 26 22:48:14 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Schreibtischlampe links' already set for '192.168.12.147'
Nov 26 22:48:14 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(0)' - allready transmitted - skipping
Nov 26 22:48:20 srv4hai ping_SP[16656]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1732657700 - 'ping_SP_0'
Nov 26 22:48:20 srv4hai ping_SP[16656]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Nov 26 22:48:37 srv4hai ping_SP[27569]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1732657717 - 'ping_SP_1'
Nov 26 22:48:37 srv4hai ping_SP[27569]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Nov 26 22:48:38 srv4hai activate_scenario[20948]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started
Nov 26 22:48:38 srv4hai activate_scenario[20948]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'SZ Licht'

finished