activate_scenario.sh
Tue Jul 2 19:11:39 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/07/02/_0.log)

vorher: 19:11:39.539

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:11:39.597
Dauer: 58 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


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

urls : 1
vorher : 19:11:39.514
nachher: 19:11:39.603
Dauer : 89 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/02//scene_pcON_20240702_191139.txt'


syslog

Jul  2 19:08:01 srv4hai CRON[24485]: (root) CMD (/etc/linetest/linetest.sh)
Jul  2 19:08:06 srv4hai fetchmail[1651]: 24513 messages (24513 seen) for mrozum at mail.akis.at (-2597158 octets).
Jul  2 19:08:07 srv4hai fetchmail[1651]: 1138 messages (1138 seen) for admin@bastelstube.wien at pop3.world4you.com (51557211 octets).
Jul  2 19:08:17 srv4hai ping_SP[25570]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1719940097 - 'ping_SP_1'
Jul  2 19:08:17 srv4hai ping_SP[25570]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul  2 19:08:25 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=24524, secured, session=
Jul  2 19:08:25 srv4hai dovecot: imap(miglincit)<24524>: Logged out in=723 out=58329 deleted=0 expunged=0 trashed=0 hdr_count=65 hdr_bytes=28813 body_count=0 body_bytes=0
Jul  2 19:08:45 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=24527, secured, session=
Jul  2 19:08:45 srv4hai dovecot: imap(pilsc)<24527>: Logged out in=90 out=1011 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul  2 19:08:51 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=24529, secured, session=<7EuMxEYcxroAAAAAAAAAAAAAAAAAAAAB>
Jul  2 19:08:51 srv4hai dovecot: imap(rozumm)<24529><7EuMxEYcxroAAAAAAAAAAAAAAAAAAAAB>: Logged out in=92 out=1059 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul  2 19:08:53 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:db:84:d2:3b:46 via enp2s0
Jul  2 19:08:53 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.106 to e8:db:84:d2:3b:46 via enp2s0
Jul  2 19:08:53 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jul  2 19:08:53 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.106
Jul  2 19:08:53 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-06
Jul  2 19:08:53 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.106 (192.168.12.252) from e8:db:84:d2:3b:46 via enp2s0
Jul  2 19:08:53 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.106 to e8:db:84:d2:3b:46 via enp2s0
Jul  2 19:08:53 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#47701/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-06.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul  2 19:08:53 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#44081/key rndc-key: signer "rndc-key" approved
Jul  2 19:08:53 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#44081/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-06.viehai.at' TXT
Jul  2 19:08:53 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#44081/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-06.viehai.at' TXT "00e5b4e36e36fc00550f574d5b1f0bfd3e"
Jul  2 19:08:53 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#44081/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-06.viehai.at' A
Jul  2 19:08:53 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#44081/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-06.viehai.at' A 192.168.12.106
Jul  2 19:08:53 srv4hai dhcpd[30731]: Added new forward map from shelly-06.viehai.at to 192.168.12.106
Jul  2 19:08:53 srv4hai named[30406]: client @0x7f93100d8ab0 192.168.12.252#59939/key rndc-key: signer "rndc-key" approved
Jul  2 19:08:53 srv4hai named[30406]: client @0x7f93100d8ab0 192.168.12.252#59939/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '106.12.168.192.in-addr.arpa' PTR
Jul  2 19:08:53 srv4hai named[30406]: client @0x7f93100d8ab0 192.168.12.252#59939/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '106.12.168.192.in-addr.arpa' PTR shelly-06.viehai.at.
Jul  2 19:08:53 srv4hai dhcpd[30731]: Added reverse map from 106.12.168.192.in-addr.arpa. to shelly-06.viehai.at
Jul  2 19:08:53 srv4hai common[24531]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jul  2 19:08:53 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-06' - shIP/2:'' perform:'conf'
Jul  2 19:08:54 srv4hai mosquitto[18551]: New connection from 192.168.12.106 on port 1883.
Jul  2 19:08:54 srv4hai mosquitto[18551]: Client shelly1-E8DB84D23B46 already connected, closing old connection.
Jul  2 19:08:54 srv4hai mosquitto[18551]: Socket error on client shelly1-E8DB84D23B46, disconnecting.
Jul  2 19:08:54 srv4hai mosquitto[18551]: New client connected from 192.168.12.106 as shelly1-E8DB84D23B46 (c1, k60, u'shmqtt').
Jul  2 19:08:54 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-06' - shIP/2:'192.168.12.106'
Jul  2 19:08:54 srv4hai conf_shelly.sh: SHELLY: usage/name 'Fernsehlampe klein' already set for '192.168.12.106'
Jul  2 19:08:54 srv4hai conf_shelly.sh: SHELLY:'shelly-06' 'conf(0)' - allready transmitted - skipping
Jul  2 19:08:54 srv4hai conf_shelly.sh: SHELLY:'shelly-06' 'conf(1)' - allready transmitted - skipping
Jul  2 19:08:54 srv4hai conf_shelly.sh: SHELLY:'shelly-06' 'conf(2)' - allready transmitted - skipping
Jul  2 19:08:54 srv4hai conf_shelly.sh: SHELLY:'shelly-06' 'conf(3)' - allready transmitted - skipping
Jul  2 19:08:54 srv4hai conf_shelly.sh: SHELLY:'shelly-06' out:0 ON : MISSING
Jul  2 19:08:55 srv4hai conf_shelly.sh: SHELLY:'shelly-06' out:0 OFF: MISSING
Jul  2 19:09:01 srv4hai CRON[24648]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Jul  2 19:09:01 srv4hai CRON[24649]: (root) CMD (/etc/linetest/linetest.sh)
Jul  2 19:09:01 srv4hai systemd[1]: Starting Clean php session files...
Jul  2 19:09:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Jul  2 19:09:01 srv4hai systemd[1]: Started Clean php session files.
Jul  2 19:09:30 srv4hai ping_SP[25570]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1719940170 - 'ping_SP_1'
Jul  2 19:09:30 srv4hai ping_SP[25570]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul  2 19:09:51 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=24787, secured, session=
Jul  2 19:09:51 srv4hai dovecot: imap(rozumm)<24787>: Logged out in=92 out=1059 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul  2 19:09:59 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=24795, secured, session=
Jul  2 19:09:59 srv4hai dovecot: imap(pilsc)<24795>: Logged out in=210 out=1555 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul  2 19:10:01 srv4hai CRON[24799]: (root) CMD (/etc/linetest/linetest.sh)
Jul  2 19:10:01 srv4hai CRON[24798]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Jul  2 19:10:01 srv4hai common[24801]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Jul  2 19:10:01 srv4hai meter.sh: SHELLY meter.sh started
Jul  2 19:10:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Jul  2 19:10:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Jul  2 19:10:05 srv4hai meter.sh: SHELLY 'shelly-19/Fernsehlampe groß':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul  2 19:10:07 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Jul  2 19:10:07 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Jul  2 19:10:07 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Jul  2 19:10:07 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Jul  2 19:10:07 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Jul  2 19:10:11 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul  2 19:10:13 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul  2 19:10:13 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Jul  2 19:10:13 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Jul  2 19:10:13 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Jul  2 19:10:13 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Jul  2 19:10:13 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Jul  2 19:10:16 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul  2 19:10:16 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Jul  2 19:10:16 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Jul  2 19:10:16 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Jul  2 19:10:16 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Jul  2 19:10:16 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Jul  2 19:10:16 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Jul  2 19:10:16 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Jul  2 19:10:16 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Jul  2 19:10:16 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Jul  2 19:10:16 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Jul  2 19:10:19 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul  2 19:10:19 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Jul  2 19:10:19 srv4hai common[25693]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Jul  2 19:10:19 srv4hai check_shelly.sh: SHELLY last scenery executed: 'vorraumOn'
Jul  2 19:10:19 srv4hai check_shelly.sh: SHELLY found '4' active shelly outputs
Jul  2 19:10:19 srv4hai meter.sh: SHELLY meter.sh ended
Jul  2 19:10:43 srv4hai ping_SP[25570]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1719940243 - 'ping_SP_1'
Jul  2 19:10:43 srv4hai ping_SP[25570]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul  2 19:10:51 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=25742, secured, session=
Jul  2 19:10:51 srv4hai dovecot: imap(rozumm)<25742>: Logged out in=92 out=1059 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul  2 19:11:01 srv4hai CRON[25747]: (root) CMD (/etc/linetest/linetest.sh)
Jul  2 19:11:10 srv4hai nmbd[2172]: [2024/07/02 19:11:10.240810,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Jul  2 19:11:10 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Jul  2 19:11:10 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Jul  2 19:11:10 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Jul  2 19:11:25 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=25765, secured, session=
Jul  2 19:11:25 srv4hai dovecot: imap(miglincit)<25765>: Logged out in=548 out=1337 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul  2 19:11:28 srv4hai activate_scenario[25769]: SHELLY scenario: 'buero_UM(buero_um)' started
Jul  2 19:11:28 srv4hai activate_scenario[25769]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Jul  2 19:11:28 srv4hai activate_scenario[25769]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Jul  2 19:11:28 srv4hai postfix/pickup[20778]: E6BB7601BE: uid=33 from=
Jul  2 19:11:28 srv4hai postfix/cleanup[25822]: E6BB7601BE: message-id=<20240702171128.E6BB7601BE@mail.viehai.at>
Jul  2 19:11:28 srv4hai postfix/qmgr[8566]: E6BB7601BE: from=, size=12972, nrcpt=1 (queue active)
Jul  2 19:11:28 srv4hai postfix/local[25835]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul  2 19:11:28 srv4hai activate_scenario[25769]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
Jul  2 19:11:28 srv4hai proc_url[25840]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/02/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Jul  2 19:11:28 srv4hai activate_scenario[25769]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
Jul  2 19:11:28 srv4hai proc_url[25851]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/02/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Jul  2 19:11:28 srv4hai postfix/local[25835]: E6BB7601BE: to=, orig_to=, relay=local, delay=0.06, delays=0.02/0/0/0.04, dsn=5.1.1, status=bounced (unknown user: "null")
Jul  2 19:11:28 srv4hai postfix/cleanup[25822]: F362B601BF: message-id=<20240702171128.F362B601BF@mail.viehai.at>
Jul  2 19:11:29 srv4hai postfix/bounce[25839]: E6BB7601BE: sender non-delivery notification: F362B601BF
Jul  2 19:11:29 srv4hai postfix/qmgr[8566]: F362B601BF: from=<>, size=14894, nrcpt=1 (queue active)
Jul  2 19:11:29 srv4hai postfix/qmgr[8566]: E6BB7601BE: removed
Jul  2 19:11:29 srv4hai postfix/local[25835]: F362B601BF: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul  2 19:11:29 srv4hai postfix/qmgr[8566]: F362B601BF: removed
Jul  2 19:11:29 srv4hai activate_scenario[25769]: SHELLY scenario: 'buero_UM(buero_um)' took 70 msec, shelly-40:'Thomas Büro Licht'
Jul  2 19:11:39 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Jul  2 19:11:39 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.10
Jul  2 19:11:39 srv4hai dhcpd[30731]: execute_statement argv[2] = pchai7x
Jul  2 19:11:39 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Jul  2 19:11:39 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Jul  2 19:11:39 srv4hai named[30406]: client @0x7f932c0d0080 192.168.12.252#41855/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul  2 19:11:39 srv4hai named[30406]: client @0x7f932c0cbfc0 192.168.12.252#56115/key rndc-key: signer "rndc-key" approved
Jul  2 19:11:39 srv4hai named[30406]: client @0x7f932c0cbfc0 192.168.12.252#56115/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Jul  2 19:11:39 srv4hai named[30406]: client @0x7f932c0cbfc0 192.168.12.252#56115/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Jul  2 19:11:39 srv4hai named[30406]: client @0x7f932c0cbfc0 192.168.12.252#56115/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Jul  2 19:11:39 srv4hai named[30406]: client @0x7f932c0cbfc0 192.168.12.252#56115/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Jul  2 19:11:39 srv4hai dhcpd[30731]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Jul  2 19:11:39 srv4hai named[30406]: client @0x7f931c02c6e0 192.168.12.252#38687/key rndc-key: signer "rndc-key" approved
Jul  2 19:11:39 srv4hai named[30406]: client @0x7f931c02c6e0 192.168.12.252#38687/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Jul  2 19:11:39 srv4hai named[30406]: client @0x7f931c02c6e0 192.168.12.252#38687/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.
Jul  2 19:11:39 srv4hai dhcpd[30731]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Jul  2 19:11:39 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Jul  2 19:11:39 srv4hai activate_scenario[25898]: SHELLY scenario: 'pcON(pcon)' started
Jul  2 19:11:39 srv4hai activate_scenario[25898]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished