Comments (5)
Hi,
Sure, but the question is why?
This is a crucial action to make sure device is being synced, it doesn't contain any transportation data but the action being performed and used as opposed to debug messages that allows to debug by adding the transportation data between classes and API.
Thanks
from ha-shinobi.
Hi,
Sure, but the question is why?
Because it spams the log as every minute you have a line for it. And it grows a lot if you leave HA running for weeks.
This is a crucial action to make sure device is being synced, it doesn't contain any transportation data but the action being > performed and used as opposed to debug messages that allows to debug by adding the transportation data between classes and API.
I think the normal behavior should be to log warning (for example slow updates) or errors (for example failed updates) but a standard behavior message should not be so interesting in everyday life. Instead is important if you need to debug a misbehavior, so I suggested to move it to another level and not at all to remove it.
Hope it's more clear and it makes sense for you as well.
Thank you,
Simone
from ha-shinobi.
Default configuration if HA is Warning for a reason, if you would like to raise the log level you should set the specific component to INFO or DEBUG,
INFO and DEBUG are to document an action performed successfully, debug allows you to view the underlying data of the action,
Using just warning to inform that an action failed will make error and debug as redundant
Thanks
from ha-shinobi.
I understand you want to leave the component as it is. Ok, no problem.
Feel free to close this request.
Just take care that is the only one behaving like that. Many users leave the default
logging level as INFO and so do I.
Best regards,
Simone
from ha-shinobi.
Not trying to argue, but... according to HA, default is debug if you set the integration without log level parameter, if you didn't set the logger integration it will be warning and above
The log severity level is warning if the logger integration is not enabled in configuration.yaml.
Taken from https://www.home-assistant.io/integrations/logger/
Anyway, thanks for the suggestion, will consider it for next release
from ha-shinobi.
Related Issues (20)
- 2.0.24: broken feeds HOT 20
- Cannot Connect to Shinobi - Missing Permanent API Key HOT 13
- Shinobi integration stops working after some time HOT 10
- Invalid Server Details (debug enabled) HOT 16
- Motion detection not working when using Tensorflow and event filter HOT 14
- HomeAssistant log is showing errors HOT 3
- Unable to play live stream HOT 8
- Media browser using camera identifier. Possible to use camera name instead? HOT 4
- Timezone ignoreg HOT 7
- Motion detection stopped working since 3.x HOT 3
- Latest home assistant update (2023.08.1) seems broken shinobi integration HOT 8
- Integrations should cancel non-critical tasks when receiving the stop event HOT 11
- Invalid server details HOT 4
- Integration doesn't create camera entity
- Non-thread-safe operation invoked on an event loop other than the current one HOT 1
- Media brower "Unknown Error" HOT 2
- Startup throws this - Failed to load monitor data: {'ok': False, 'msg': 'Not Authorized'}, Error: the JSON object must be str, bytes or bytearray, not NoneType, Line: 464 HOT 3
- Motion binary_sensor not working if Shinobi primary engine is not Pixel Array HOT 8
- Unexpected exception importing component on HA ver. 2024.1.0b0 HOT 8
- Failed to load monitor data HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha-shinobi.