Turn off Web Server logging for shortcuts
Turn off Web Server logging for shortcuts
I am running several shortcuts to get my HomePod Temperature and Humidity, Eve and 2 x Aqara FP2 Lux readings into Indigo and would like to do so every 30 seconds but this is generating a lot of logging from the Web Server and as I increase the number of devices it will grow.
Is there any way to silence the output and if not can it be added as I expect I am not alone in using Apple Home devices this way to get data into Indigo.
Is there any way to silence the output and if not can it be added as I expect I am not alone in using Apple Home devices this way to get data into Indigo.
CliveS
Indigo 2024.2.1 : macOS Sequoia 15.6.1 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer
Indigo 2024.2.1 : macOS Sequoia 15.6.1 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer
- jay (support)
- Site Admin
- Posts: 19202
- Joined: Wed Mar 19, 2008 11:52 am
- Location: Austin, Texas
- Contact:
Re: Turn off Web Server logging for shortcuts
Can you post a few lines from your Event Log that show exactly what's logged? There is no log suppression at the moment, but I want to make sure that we fully understand which messages you are referring to.
I'll add this to the feature request list.
I'll add this to the feature request list.
Re: Turn off Web Server logging for shortcuts
Code: Select all
10 Aug 2023 at 15:57:58
Action Group Shortcuts
Web Server HTTP API command call received from 92.144.72.119
Web Server API v2 command received, id: '136.867 lx' from '92.144.72.119'
Web Server HTTP API command call received from 92.144.72.119
Web Server API v2 command received, id: '339 lx' from '92.144.72.119'
Web Server HTTP API command call received from 92.144.72.119
Web Server API v2 command received, id: '71' from '92.144.72.119'
Web Server HTTP API command call received from 92.144.72.119
Web Server API v2 command received, id: '21.6°C' from '92.144.72.119'
CliveS
Indigo 2024.2.1 : macOS Sequoia 15.6.1 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer
Indigo 2024.2.1 : macOS Sequoia 15.6.1 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer
- jay (support)
- Site Admin
- Posts: 19202
- Joined: Wed Mar 19, 2008 11:52 am
- Location: Austin, Texas
- Contact:
Re: Turn off Web Server logging for shortcuts
Got it. Those are primarily for security purposes so that you can see any API calls that you might not be expecting. We do understand the clutter if you are doing something that requires some kind of constant communication.
One way you might be able to reduce the logging is to attempt to consolidate all those shortcuts into one. I don't know what they do, so that suggestion is just speculation.
One way you might be able to reduce the logging is to attempt to consolidate all those shortcuts into one. I don't know what they do, so that suggestion is just speculation.
Re: Turn off Web Server logging for shortcuts
I appreciate the security concern but the log file will get so cluttered trying to find an unexpected API call would be impossible to see anyway. It would be nice to have the option.jay (support) wrote:Got it. Those are primarily for security purposes so that you can see any API calls that you might not be expecting. We do understand the clutter if you are doing something that requires some kind of constant communication..
I cannot see how to consolidate when every variable update has to call the API.jay (support) wrote:One way you might be able to reduce the logging is to attempt to consolidate all those shortcuts into one. I don't know what they do, so that suggestion is just speculation.
[img] [/img]
CliveS
Indigo 2024.2.1 : macOS Sequoia 15.6.1 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer
Indigo 2024.2.1 : macOS Sequoia 15.6.1 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer
- durosity
- Posts: 4810
- Joined: Thu May 10, 2012 3:21 pm
- Location: Newcastle Upon Tyne, Ye Ol' England.
Re: Turn off Web Server logging for shortcuts
Hey @Clive, don’t suppose you could send me a copy of the shortcuts you’re using and how you have them setup to write to Indigo could you? It’s not something I have any specific need for right now but I suspect it may be useful for something I have in mind later in the year.
Sent from my iPhone using Tapatalk Pro
Sent from my iPhone using Tapatalk Pro
Computer says no.
Re: Turn off Web Server logging for shortcuts
Still getting my head around all this but so fardurosity wrote:Hey @Clive, don’t suppose you could send me a copy of the shortcuts you’re using and how you have them setup to write to Indigo could you? It’s not something I have any specific need for right now but I suspect it may be useful for something I have in mind later in the year.
Sent from my iPhone using Tapatalk Pro
Two types, 'indigo.variable.updateValue' (example as above) for temp, humidity, lux need to be polled hence the request to kill the log output and on/off types like my Aqara FP2 motion and door/window sensors using 'indigo.actionGroup.execute' can be triggered by the Home app and doesn't hit the log to much. but also log every time.
Short HowTo for the Aqara FP2 can be found at
https://forums.indigodomo.com/viewtopi ... &start=30
When you (or anyone else)gets something that Apple Home supports we can sort it out, just ask.
Also this allows Matter to interface with Indigo as I have an Aqara Door and Window Sensor P2, Matter over Thread working as well as updating an Eve Motion also using Matter.
CliveS
Indigo 2024.2.1 : macOS Sequoia 15.6.1 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer
Indigo 2024.2.1 : macOS Sequoia 15.6.1 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer
- jay (support)
- Site Admin
- Posts: 19202
- Joined: Wed Mar 19, 2008 11:52 am
- Location: Austin, Texas
- Contact:
Re: Turn off Web Server logging for shortcuts
Yeah, we probably need some way to do a batches of variable updates. I'll add this to the list as well.CliveS wrote:jay (support) wrote:I cannot see how to consolidate when every variable update has to call the API.
- durosity
- Posts: 4810
- Joined: Thu May 10, 2012 3:21 pm
- Location: Newcastle Upon Tyne, Ye Ol' England.
Re: Turn off Web Server logging for shortcuts
That list is getting mighty long!
Also thanks for the reply Clive, looks like it may be useful!
Sent from my iPhone using Tapatalk Pro
Also thanks for the reply Clive, looks like it may be useful!
Sent from my iPhone using Tapatalk Pro
Computer says no.
Re: Turn off Web Server logging for shortcuts
Yes and an addition for the ever growing list that I have just thought of,durosity wrote:That list is getting mighty long!
Sent from my iPhone using Tapatalk Pro
If API v2 is coming from a local IP then offer the option to turn off logging, that should be safe (and possibly the Indigo Reflector IP if possible)?
CliveS
Indigo 2024.2.1 : macOS Sequoia 15.6.1 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer
Indigo 2024.2.1 : macOS Sequoia 15.6.1 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer