activate_scenario.sh
Sun Dec 22 21:38:02 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'

TB Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/12/22/_0.log)

vorher: 21:38:02.274

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: 21:38:02.304
Dauer: 29 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


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

urls : 1
vorher : 21:38:02.237
nachher: 21:38:02.310
Dauer : 75 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/22//scene_pcON_20241222_213802.txt'


syslog

Dec 22 21:35:00 srv4hai fetchmail[1651]: 28006 messages (28006 seen) for mrozum at mail.akis.at (518004611 octets).
Dec 22 21:35:00 srv4hai fetchmail[1651]: 1161 messages (1161 seen) for admin@bastelstube.wien at pop3.world4you.com (52202045 octets).
Dec 22 21:35:01 srv4hai CRON[9573]: (root) CMD (/etc/linetest/linetest.sh)
Dec 22 21:35:09 srv4hai postfix/anvil[8994]: statistics: max connection rate 1/60s for (smtp:154.203.197.233) at Dec 22 21:31:12
Dec 22 21:35:09 srv4hai postfix/anvil[8994]: statistics: max connection count 1 for (smtp:154.203.197.233) at Dec 22 21:31:12
Dec 22 21:35:09 srv4hai postfix/anvil[8994]: statistics: max cache size 2 at Dec 22 21:31:45
Dec 22 21:35:38 srv4hai mosquitto[29419]: Client shelly1-98CDAC2DB6DB has exceeded timeout, disconnecting.
Dec 22 21:35:38 srv4hai mosquitto[29419]: Socket error on client shelly1-98CDAC2DB6DB, disconnecting.
Dec 22 21:35:41 srv4hai postfix/smtpd[9584]: connect from unknown[80.94.95.239]
Dec 22 21:35:42 srv4hai postfix/smtpd[9584]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec 22 21:35:43 srv4hai postfix/smtpd[9584]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Dec 22 21:35:45 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 22 21:35:45 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 22 21:35:54 srv4hai ping_SP[7733]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734899754 - 'ping_SP_0'
Dec 22 21:35:54 srv4hai ping_SP[7733]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 22 21:35:57 srv4hai dhcpd[4995]: DHCPDISCOVER from 98:cd:ac:2d:b6:db via enp2s0
Dec 22 21:35:57 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.125 to 98:cd:ac:2d:b6:db via enp2s0
Dec 22 21:35:57 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Dec 22 21:35:57 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.125
Dec 22 21:35:57 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-25
Dec 22 21:35:57 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.125 (192.168.12.252) from 98:cd:ac:2d:b6:db via enp2s0
Dec 22 21:35:57 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.125 to 98:cd:ac:2d:b6:db via enp2s0
Dec 22 21:35:57 srv4hai named[30406]: client @0x7f932c0c7f00 192.168.12.252#42605/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-25.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec 22 21:35:57 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#53537/key rndc-key: signer "rndc-key" approved
Dec 22 21:35:57 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#53537/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-25.viehai.at' TXT
Dec 22 21:35:57 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#53537/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-25.viehai.at' TXT "00a4d627ad58f376691816e2e7457e7bae"
Dec 22 21:35:57 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#53537/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-25.viehai.at' A
Dec 22 21:35:57 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#53537/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-25.viehai.at' A 192.168.12.125
Dec 22 21:35:57 srv4hai dhcpd[4995]: Added new forward map from shelly-25.viehai.at to 192.168.12.125
Dec 22 21:35:57 srv4hai named[30406]: client @0x7f934c0b2c60 192.168.12.252#47203/key rndc-key: signer "rndc-key" approved
Dec 22 21:35:57 srv4hai named[30406]: client @0x7f934c0b2c60 192.168.12.252#47203/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '125.12.168.192.in-addr.arpa' PTR
Dec 22 21:35:57 srv4hai named[30406]: client @0x7f934c0b2c60 192.168.12.252#47203/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '125.12.168.192.in-addr.arpa' PTR shelly-25.viehai.at.
Dec 22 21:35:57 srv4hai dhcpd[4995]: Added reverse map from 125.12.168.192.in-addr.arpa. to shelly-25.viehai.at
Dec 22 21:35:57 srv4hai common[9607]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Dec 22 21:35:57 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-25' - shIP/2:'' perform:'conf'
Dec 22 21:35:59 srv4hai mosquitto[29419]: New connection from 192.168.12.125 on port 1883.
Dec 22 21:35:59 srv4hai mosquitto[29419]: New client connected from 192.168.12.125 as shelly1-98CDAC2DB6DB (c1, k60, u'shmqtt').
Dec 22 21:35:59 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-25' - shIP/2:'192.168.12.125'
Dec 22 21:35:59 srv4hai conf_shelly.sh: SHELLY: usage/name 'KÜ Licht' already set for '192.168.12.125'
Dec 22 21:35:59 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(0)' - allready transmitted - skipping
Dec 22 21:35:59 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(1)' - allready transmitted - skipping
Dec 22 21:35:59 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(2)' - allready transmitted - skipping
Dec 22 21:35:59 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(3)' - allready transmitted - skipping
Dec 22 21:35:59 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(4)' - allready transmitted - skipping
Dec 22 21:35:59 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(5)' - allready transmitted - skipping
Dec 22 21:36:01 srv4hai CRON[9732]: (root) CMD (/etc/linetest/linetest.sh)
Dec 22 21:36:11 srv4hai ping_SP[12792]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1734899771 - 'ping_SP_1'
Dec 22 21:36:11 srv4hai ping_SP[12792]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec 22 21:36:42 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 22 21:36:42 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 22 21:36:51 srv4hai common[9763]: SHELLY common.sh inkludiert von ./bt_scan.sh
Dec 22 21:37:01 srv4hai CRON[9784]: (root) CMD (/etc/linetest/linetest.sh)
Dec 22 21:37:01 srv4hai bt_scan[9763]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Dec 22 21:37:01 srv4hai bt_scan[9763]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Dec 22 21:37:05 srv4hai postfix/smtpd[9584]: connect from unknown[154.203.197.233]
Dec 22 21:37:05 srv4hai postfix/smtpd[9584]: warning: unknown[154.203.197.233]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec 22 21:37:05 srv4hai postfix/smtpd[9584]: disconnect from unknown[154.203.197.233] ehlo=1 auth=0/1 quit=1 commands=2/3
Dec 22 21:37:07 srv4hai ping_SP[7733]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734899827 - 'ping_SP_0'
Dec 22 21:37:07 srv4hai ping_SP[7733]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 22 21:37:25 srv4hai ping_SP[12792]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1734899845 - 'ping_SP_1'
Dec 22 21:37:25 srv4hai ping_SP[12792]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec 22 21:37:36 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 22 21:37:36 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 22 21:38:01 srv4hai CRON[9850]: (root) CMD (/etc/linetest/linetest.sh)
Dec 22 21:38:02 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Dec 22 21:38:02 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.10
Dec 22 21:38:02 srv4hai dhcpd[4995]: execute_statement argv[2] = pchai7x
Dec 22 21:38:02 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Dec 22 21:38:02 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Dec 22 21:38:02 srv4hai named[30406]: client @0x7f933011a820 192.168.12.252#60493/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec 22 21:38:02 srv4hai named[30406]: client @0x7f9330095370 192.168.12.252#43365/key rndc-key: signer "rndc-key" approved
Dec 22 21:38:02 srv4hai named[30406]: client @0x7f9330095370 192.168.12.252#43365/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Dec 22 21:38:02 srv4hai named[30406]: client @0x7f9330095370 192.168.12.252#43365/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Dec 22 21:38:02 srv4hai named[30406]: client @0x7f9330095370 192.168.12.252#43365/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Dec 22 21:38:02 srv4hai named[30406]: client @0x7f9330095370 192.168.12.252#43365/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Dec 22 21:38:02 srv4hai dhcpd[4995]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Dec 22 21:38:02 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Dec 22 21:38:02 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#51537/key rndc-key: signer "rndc-key" approved
Dec 22 21:38:02 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#51537/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Dec 22 21:38:02 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#51537/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.
Dec 22 21:38:02 srv4hai dhcpd[4995]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Dec 22 21:38:02 srv4hai activate_scenario[9860]: SHELLY scenario: 'pcON(pcon)' started
Dec 22 21:38:02 srv4hai activate_scenario[9860]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished