activate_scenario.sh
Mon Feb 10 08:31:06 CET 2025
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'

TB Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2025/02/10/_0.log)

vorher: 08:31:06.888

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: 08:31:06.921
Dauer: 32 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


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

urls : 1
vorher : 08:31:06.863
nachher: 08:31:06.927
Dauer : 64 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/10//scene_pcON_20250210_083106.txt'


syslog

Feb 10 08:28:00 srv4hai common[11782]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 08:28:01 srv4hai CRON[11807]: (root) CMD (/etc/linetest/linetest.sh)
Feb 10 08:28:02 srv4hai activate_scenario[11812]: SHELLY scenario: 'buero_UM(buero_um)' started
Feb 10 08:28:02 srv4hai activate_scenario[11812]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'
Feb 10 08:28:02 srv4hai activate_scenario[11812]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'TB Licht'
Feb 10 08:28:02 srv4hai postfix/pickup[20938]: 40EB963463: uid=33 from=
Feb 10 08:28:02 srv4hai postfix/cleanup[11527]: 40EB963463: message-id=<20250210072802.40EB963463@mail.viehai.at>
Feb 10 08:28:02 srv4hai postfix/qmgr[8566]: 40EB963463: from=, size=22184, nrcpt=1 (queue active)
Feb 10 08:28:02 srv4hai postfix/local[11528]: 40EB963463: to=, orig_to=, relay=local, delay=0.03, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Feb 10 08:28:02 srv4hai postfix/cleanup[11527]: 466DF63464: message-id=<20250210072802.466DF63464@mail.viehai.at>
Feb 10 08:28:02 srv4hai activate_scenario[11812]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'TB Regallicht' --> '0?turn=toggle'
Feb 10 08:28:02 srv4hai postfix/bounce[11878]: 40EB963463: sender non-delivery notification: 466DF63464
Feb 10 08:28:02 srv4hai postfix/qmgr[8566]: 466DF63464: from=<>, size=24063, nrcpt=1 (queue active)
Feb 10 08:28:02 srv4hai postfix/qmgr[8566]: 40EB963463: removed
Feb 10 08:28:02 srv4hai proc_url[11882]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/02/10/_0.log' - shellyUsage:'TB Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'TB Licht''
Feb 10 08:28:02 srv4hai postfix/local[11528]: 466DF63464: to=, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 10 08:28:02 srv4hai postfix/qmgr[8566]: 466DF63464: removed
Feb 10 08:28:02 srv4hai activate_scenario[11812]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'TB Licht' --> '0?turn=toggle'
Feb 10 08:28:02 srv4hai proc_url[11894]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/02/10/_1.log' - shellyUsage:'TB Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'TB Licht''
Feb 10 08:28:02 srv4hai activate_scenario[11812]: SHELLY scenario: 'buero_UM(buero_um)' took 134 msec, shelly-40:'TB Licht'
Feb 10 08:28:32 srv4hai common[11941]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 08:28:32 srv4hai common[11965]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 08:28:42 srv4hai nmbd[2172]: [2025/02/10 08:28:42.570966,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Feb 10 08:28:42 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Feb 10 08:28:42 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Feb 10 08:28:42 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Feb 10 08:28:47 srv4hai ping_SP[6783]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1739172527 - 'ping_SP_0'
Feb 10 08:28:47 srv4hai ping_SP[6783]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 10 08:28:59 srv4hai common[12019]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 08:28:59 srv4hai common[12043]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 08:29:00 srv4hai common[12067]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 08:29:00 srv4hai common[12091]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 08:29:00 srv4hai common[12118]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 08:29:01 srv4hai common[12145]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 08:29:01 srv4hai common[12175]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 08:29:01 srv4hai CRON[12203]: (root) CMD (/etc/linetest/linetest.sh)
Feb 10 08:29:32 srv4hai common[12217]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 08:29:32 srv4hai common[12241]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 08:29:50 srv4hai ping_SP[6783]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1739172590 - 'ping_SP_0'
Feb 10 08:29:50 srv4hai ping_SP[6783]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 10 08:29:54 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=12294, secured, session=
Feb 10 08:29:54 srv4hai dovecot: imap(miglincit)<12294>: Logged out in=1647 out=151608 deleted=0 expunged=0 trashed=0 hdr_count=244 hdr_bytes=79564 body_count=0 body_bytes=0
Feb 10 08:30:00 srv4hai common[12297]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 08:30:00 srv4hai common[12321]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 08:30:00 srv4hai common[12345]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 08:30:01 srv4hai CRON[12373]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Feb 10 08:30:01 srv4hai CRON[12372]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)
Feb 10 08:30:01 srv4hai CRON[12374]: (root) CMD (/etc/linetest/linetest.sh)
Feb 10 08:30:01 srv4hai common[12375]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Feb 10 08:30:01 srv4hai meter.sh: SHELLY meter.sh started
Feb 10 08:30:01 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Feb 10 08:30:02 srv4hai meter.sh: SHELLY 'shelly-28/KÜ Schalter Nasszeile' - type: 'shelly-i3' ignoring
Feb 10 08:30:09 srv4hai meter.sh: SHELLY 'shelly-54/GB Kugellampe':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 08:30:10 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Feb 10 08:30:10 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Feb 10 08:30:10 srv4hai meter.sh: SHELLY 'shelly-37/TB Klima' - type: 'shelly-ht' ignoring
Feb 10 08:30:10 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Feb 10 08:30:10 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Feb 10 08:30:13 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 08:30:15 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 08:30:15 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Feb 10 08:30:15 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Feb 10 08:30:15 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Feb 10 08:30:15 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Feb 10 08:30:15 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Feb 10 08:30:16 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Feb 10 08:30:16 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Feb 10 08:30:16 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Feb 10 08:30:16 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Feb 10 08:30:16 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Feb 10 08:30:16 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Feb 10 08:30:16 srv4hai meter.sh: SHELLY 'shelly-01a/WZ Licht Esstisch - 20241208 kein WLAN' - status: 'DFC' ignoring
Feb 10 08:30:16 srv4hai meter.sh: SHELLY 'shelly-43/43-tbd' - status: 'OOS' ignoring
Feb 10 08:30:16 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Feb 10 08:30:16 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Feb 10 08:30:19 srv4hai meter.sh: SHELLY 'shelly-50/50-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 08:30:19 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Feb 10 08:30:21 srv4hai meter.sh: SHELLY 'shelly-99/99-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 08:30:21 srv4hai common[13393]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Feb 10 08:30:21 srv4hai check_shelly.sh: SHELLY last scenery executed: 'buero_UM'
Feb 10 08:30:21 srv4hai check_shelly.sh: SHELLY found '4' active shelly outputs
Feb 10 08:30:21 srv4hai meter.sh: SHELLY meter.sh ended
Feb 10 08:30:32 srv4hai common[13417]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 08:30:32 srv4hai common[13441]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 08:30:53 srv4hai ping_SP[6783]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1739172653 - 'ping_SP_0'
Feb 10 08:30:53 srv4hai ping_SP[6783]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 10 08:30:59 srv4hai common[13490]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 08:30:59 srv4hai common[13514]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 08:31:00 srv4hai common[13540]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 08:31:01 srv4hai CRON[13565]: (root) CMD (/etc/linetest/linetest.sh)
Feb 10 08:31:06 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Feb 10 08:31:06 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.10
Feb 10 08:31:06 srv4hai dhcpd[4995]: execute_statement argv[2] = pchai7x
Feb 10 08:31:06 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Feb 10 08:31:06 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Feb 10 08:31:06 srv4hai named[30406]: client @0x7f9338088040 192.168.12.252#35671/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 10 08:31:06 srv4hai named[30406]: client @0x7f93506e3340 192.168.12.252#35761/key rndc-key: signer "rndc-key" approved
Feb 10 08:31:06 srv4hai named[30406]: client @0x7f93506e3340 192.168.12.252#35761/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Feb 10 08:31:06 srv4hai named[30406]: client @0x7f93506e3340 192.168.12.252#35761/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Feb 10 08:31:06 srv4hai named[30406]: client @0x7f93506e3340 192.168.12.252#35761/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Feb 10 08:31:06 srv4hai named[30406]: client @0x7f93506e3340 192.168.12.252#35761/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Feb 10 08:31:06 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Feb 10 08:31:06 srv4hai dhcpd[4995]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Feb 10 08:31:06 srv4hai named[30406]: client @0x7f933011e890 192.168.12.252#43545/key rndc-key: signer "rndc-key" approved
Feb 10 08:31:06 srv4hai named[30406]: client @0x7f933011e890 192.168.12.252#43545/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Feb 10 08:31:06 srv4hai named[30406]: client @0x7f933011e890 192.168.12.252#43545/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.
Feb 10 08:31:06 srv4hai dhcpd[4995]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Feb 10 08:31:06 srv4hai activate_scenario[13576]: SHELLY scenario: 'pcON(pcon)' started
Feb 10 08:31:06 srv4hai activate_scenario[13576]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished