activate_scenario.sh
Fri Aug 2 12:59:50 CEST 2024
scenario: herdzeile_UM
source: 192.168.12.129

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

scenario: 'Herdzeile UMschalten' - 'herdzeile_UM' - 'herdzeile_um'

Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/08/02/_0.log)

vorher: 12:59:50.920

http://192.168.12.117/white/0?turn=toggle&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 13.21,
  "overpower": false

nachher: 12:59:51.006
Dauer: 87 msec phName: 'shelly-29:'Schalter Herdzeile''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/08/02/_1.log)

vorher: 12:59:50.932

http://192.168.12.117/white/1?turn=toggle&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 13.21,
  "overpower": false

nachher: 12:59:51.055
Dauer: 123 msec phName: 'shelly-29:'Schalter Herdzeile''


scenario: 'Herdzeile UMschalten' - 'herdzeile_UM' - 'herdzeile_um'

urls : 2
vorher : 12:59:50.902
nachher: 12:59:51.062
Dauer : 160 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/08/02//scene_herdzeile_UM_20240802_125950.txt'


syslog

Aug  2 12:56:00 srv4hai postfix/smtpd[12403]: disconnect from unknown[178.215.236.216] ehlo=1 auth=0/1 quit=1 commands=2/3
Aug  2 12:56:01 srv4hai CRON[12407]: (root) CMD (/etc/linetest/linetest.sh)
Aug  2 12:56:16 srv4hai ping_SP[30079]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722596176 - 'ping_SP_0'
Aug  2 12:56:16 srv4hai ping_SP[30079]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug  2 12:56:31 srv4hai nmbd[2172]: [2024/08/02 12:56:31.745167,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Aug  2 12:56:31 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Aug  2 12:56:31 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Aug  2 12:56:31 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Aug  2 12:56:34 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=12444, secured, session=
Aug  2 12:56:34 srv4hai dovecot: imap(rozumm)<12444>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug  2 12:57:01 srv4hai CRON[12452]: (root) CMD (/etc/linetest/linetest.sh)
Aug  2 12:57:08 srv4hai ping_SP[14422]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1722596228 - 'ping_SP_1'
Aug  2 12:57:08 srv4hai ping_SP[14422]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Aug  2 12:57:19 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=12484, secured, session=
Aug  2 12:57:19 srv4hai dovecot: imap(miglincit)<12484>: Logged out in=590 out=1232 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug  2 12:57:29 srv4hai ping_SP[30079]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722596249 - 'ping_SP_0'
Aug  2 12:57:29 srv4hai ping_SP[30079]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug  2 12:57:34 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=12504, secured, session=<4qfeMbEe5IAAAAAAAAAAAAAAAAAAAAAB>
Aug  2 12:57:35 srv4hai dovecot: imap(rozumm)<12504><4qfeMbEe5IAAAAAAAAAAAAAAAAAAAAAB>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug  2 12:57:39 srv4hai dhcpd[30731]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Aug  2 12:57:39 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Aug  2 12:57:39 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Aug  2 12:57:39 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.139
Aug  2 12:57:39 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-39
Aug  2 12:57:39 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Aug  2 12:57:39 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Aug  2 12:57:39 srv4hai named[30406]: client @0x7f93480deab0 192.168.12.252#41381/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Aug  2 12:57:39 srv4hai named[30406]: client @0x7f932c06a420 192.168.12.252#51533/key rndc-key: signer "rndc-key" approved
Aug  2 12:57:39 srv4hai named[30406]: client @0x7f932c06a420 192.168.12.252#51533/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Aug  2 12:57:39 srv4hai named[30406]: client @0x7f932c06a420 192.168.12.252#51533/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Aug  2 12:57:39 srv4hai named[30406]: client @0x7f932c06a420 192.168.12.252#51533/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Aug  2 12:57:39 srv4hai named[30406]: client @0x7f932c06a420 192.168.12.252#51533/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Aug  2 12:57:39 srv4hai dhcpd[30731]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Aug  2 12:57:39 srv4hai named[30406]: client @0x7f93506e3340 192.168.12.252#33225/key rndc-key: signer "rndc-key" approved
Aug  2 12:57:39 srv4hai named[30406]: client @0x7f93506e3340 192.168.12.252#33225/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Aug  2 12:57:39 srv4hai named[30406]: client @0x7f93506e3340 192.168.12.252#33225/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '139.12.168.192.in-addr.arpa' PTR shelly-39.viehai.at.
Aug  2 12:57:39 srv4hai dhcpd[30731]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Aug  2 12:57:39 srv4hai common[12507]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Aug  2 12:57:39 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf'
Aug  2 12:57:39 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Aug  2 12:57:39 srv4hai common[12524]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Aug  2 12:57:39 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=29.300000&hum=49.500000&id=C049EF8AC9D8&batt=100&volt=6.720000
Aug  2 12:57:39 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/08/shelly-39_20240802.csv'
Aug  2 12:57:39 srv4hai ht_shelly.sh: SHELLY - 'shelly-39_20240802.csv' modifed 548s ago - EXIT
Aug  2 12:57:39 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Aug  2 12:57:39 srv4hai conf_shelly.sh: SHELLY:'shelly-39' 'conf(0)' - 'settings/actions?index=0&name=report_url&enabled=true&urls[]=http://www.viehai.at/shelly/ht_shelly.shtml?gen=2&temp=${ev.tC}&hum=${status["humidity:0"].rH}&id=${config.sys.device.mac}'
Aug  2 12:57:39 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-cmd: 'curl --connect-timeout 3 --silent -X -POST -d 'settings/actions?index=0&name=report_url&enabled=true&urls[]=http://www.viehai.at/shelly/ht_shelly.shtml?gen=2&temp=${ev.tC}&hum=${status["humidity:0"].rH}&id=${config.sys.device.mac}' http://192.168.12.139/rpc | jq -r '.''
Aug  2 12:57:39 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Aug  2 12:57:39 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Aug  2 12:58:01 srv4hai CRON[12603]: (root) CMD (/etc/linetest/linetest.sh)
Aug  2 12:58:02 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Aug  2 12:58:22 srv4hai ping_SP[14422]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1722596302 - 'ping_SP_1'
Aug  2 12:58:22 srv4hai ping_SP[14422]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Aug  2 12:58:33 srv4hai fetchmail[1651]: 49916 messages (49916 seen) for tmiglinci at mail.akis.at (-169617797 octets).
Aug  2 12:58:33 srv4hai activate_scenario[12643]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Aug  2 12:58:33 srv4hai activate_scenario[12643]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-28:'Schalter Nasszeile'
Aug  2 12:58:33 srv4hai activate_scenario[12643]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' TO BE EXECUTED, shelly-28:'Schalter Nasszeile'
Aug  2 12:58:33 srv4hai postfix/pickup[27417]: 5A1766018A: uid=33 from=
Aug  2 12:58:33 srv4hai postfix/cleanup[12697]: 5A1766018A: message-id=<20240802105833.5A1766018A@mail.viehai.at>
Aug  2 12:58:33 srv4hai postfix/qmgr[8566]: 5A1766018A: from=, size=9207, nrcpt=1 (queue active)
Aug  2 12:58:33 srv4hai postfix/local[12710]: warning: database /etc/aliases.db is older than source file /etc/aliases
Aug  2 12:58:33 srv4hai activate_scenario[12643]: SHELLY: scenario: 'nasszeile_um(nasszeile_um)'-'shelly-16'-'Küche Licht Naßzeile' --> '0?turn=toggle&brightness=25'
Aug  2 12:58:33 srv4hai proc_url[12715]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/02/_0.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/0?turn=toggle&brightness=25' - phName:'shelly-28:'Schalter Nasszeile''
Aug  2 12:58:33 srv4hai postfix/local[12710]: 5A1766018A: to=, orig_to=, relay=local, delay=0.03, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Aug  2 12:58:33 srv4hai postfix/cleanup[12697]: 5FAB86018B: message-id=<20240802105833.5FAB86018B@mail.viehai.at>
Aug  2 12:58:33 srv4hai postfix/bounce[12711]: 5A1766018A: sender non-delivery notification: 5FAB86018B
Aug  2 12:58:33 srv4hai postfix/qmgr[8566]: 5FAB86018B: from=<>, size=11089, nrcpt=1 (queue active)
Aug  2 12:58:33 srv4hai postfix/qmgr[8566]: 5A1766018A: removed
Aug  2 12:58:33 srv4hai postfix/local[12710]: 5FAB86018B: to=, relay=local, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Aug  2 12:58:33 srv4hai postfix/qmgr[8566]: 5FAB86018B: removed
Aug  2 12:58:33 srv4hai activate_scenario[12643]: SHELLY: scenario: 'nasszeile_um(nasszeile_um)'-'shelly-16'-'Küche Licht Naßzeile' --> '1?turn=toggle&brightness=25'
Aug  2 12:58:33 srv4hai proc_url[12727]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/02/_1.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/1?turn=toggle&brightness=25' - phName:'shelly-28:'Schalter Nasszeile''
Aug  2 12:58:33 srv4hai activate_scenario[12643]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' took 132 msec, shelly-28:'Schalter Nasszeile'
Aug  2 12:58:35 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=12769, secured, session=
Aug  2 12:58:35 srv4hai dovecot: imap(rozumm)<12769>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug  2 12:58:41 srv4hai fetchmail[1651]: 10538 messages (10538 seen) for srozum at mail.akis.at (1266967945 octets).
Aug  2 12:58:42 srv4hai ping_SP[30079]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722596322 - 'ping_SP_0'
Aug  2 12:58:42 srv4hai ping_SP[30079]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug  2 12:58:51 srv4hai fetchmail[1651]: 25093 messages (25093 seen) for mrozum at mail.akis.at (83336186 octets).
Aug  2 12:58:51 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Aug  2 12:59:01 srv4hai CRON[12794]: (root) CMD (/etc/linetest/linetest.sh)
Aug  2 12:59:20 srv4hai postfix/anvil[12405]: statistics: max connection rate 1/60s for (smtp:178.215.236.216) at Aug  2 12:55:59
Aug  2 12:59:20 srv4hai postfix/anvil[12405]: statistics: max connection count 1 for (smtp:178.215.236.216) at Aug  2 12:55:59
Aug  2 12:59:20 srv4hai postfix/anvil[12405]: statistics: max cache size 1 at Aug  2 12:55:59
Aug  2 12:59:35 srv4hai ping_SP[14422]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1722596375 - 'ping_SP_1'
Aug  2 12:59:35 srv4hai ping_SP[14422]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Aug  2 12:59:35 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=12827, secured, session=
Aug  2 12:59:35 srv4hai dovecot: imap(rozumm)<12827>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug  2 12:59:50 srv4hai activate_scenario[12837]: SHELLY scenario: 'herdzeile_UM(herdzeile_um)' started
Aug  2 12:59:50 srv4hai activate_scenario[12837]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-29:'Schalter Herdzeile'

finished