Comments (9)
I'm thinking it would be best to just move the login call to the debug level. Thinking about it, it seems like it's not useful to know unless you're debugging something.
from homebridge-node-alarm-dot-com.
Ah, that could make sense. I also noticed that even when on log level 3, not all changes to sensor state seemed to log. I admittedly didn't do much testing because of all the API login messages ...saw one log msg for a change in sensor state, but then went to open/close a door, no log... but with all the API login messages, I just disabled it. I'm guessing now that I didn't wait long enough for the login poll, to see the change and write the log. IF all changes to sensor state do log at log level 3 and API login is moved to debug, then we're probably good!
from homebridge-node-alarm-dot-com.
I just pushed a commit to the beta branch which moves some spammy calls to debug. Hope you can use log level 3 without being annoyed now!
from homebridge-node-alarm-dot-com.
Looks good here, kinda.
Some sensor updates are being logged, but some are not. Haven't seen a pattern yet, will test some more.
from homebridge-node-alarm-dot-com.
Can confirm, a few select sensors do log properly (a motion, patio door that has a contact sensor) and others do not log anything ...ex standard door and window sensors. Unclear why. They all report correctly in the alarm.com app event log.
from homebridge-node-alarm-dot-com.
Bit more info. It seems that if a sensor goes state=1 and then state=0, ex a door opened and closed, it will not get logged.
If a sensor goes state=1 and stays that way for some period of time, it will eventually get logged. So, someone opening a door to walk through it and then the door closes, no logs. Open and close a window, no logs.
These state changes do show up properly in the alarm.com event log, per above. Unclear why we have no logs here.
from homebridge-node-alarm-dot-com.
I'll check this out and see which sensors are missing logging in the code.
The issue of missed state changes has to do with limitations of this being a cloud polling plugin. If you both open and close a door within the time your plugin is not checking the cloud status, the plugin will just see that the door has kept the same state. The only way to fix this would be to lower the refresh rate super low (which I do not recommend!) or for us to implement web sockets.
from homebridge-node-alarm-dot-com.
Gotcha. Is there a way to request state changes vs current state, when you poll, to get more info? They have the data as it shows up in the app event history. Maybe no way to get it via their API?
(...think the sensors are all logging, but the above issue means the events don't all show up, making it seem they aren't logging)
from homebridge-node-alarm-dot-com.
So we are able to pull sensor history, but there is no way to inject history into Homekit. I think the way to acomplish what you're asking for would be to lower the polling time (something you can try yourself already) or implement websocket polling as mentioned in node-alarm-dot-com/node-alarm-dot-com#27
from homebridge-node-alarm-dot-com.
Related Issues (20)
- Arming State No Longer Triggers Automations HOT 2
- No camera feed and warning UNHANDLED ERROR HOT 2
- Unresponsive after upgrading to v1.9.0 HOT 21
- light Status not reporting HOT 2
- Freeze Sensor (heat sensor) incorrectly appears as a smoke sensor HOT 9
- "Received no partitions" on startup HOT 5
- Arming Modes HOT 4
- Invalid account credentials crashes homebridge HOT 6
- Not Appearing in Home Kit HOT 2
- Not fully showing in HK HOT 3
- Icon category and device change in the app like fan, outlet and lights HOT 9
- Virtual Panic Button as a homekit button accessory HOT 7
- Telus Security (alarm.com) error - failed: No afg cookie: AND Error: GET https://www.alarm.com/web/api/identities failed: GET https://www.alarm.com/web/api/identities failed: [object Object] HOT 4
- No notifications for ADT for HK HOT 2
- RTSP Stream Grabbing? HOT 3
- no longer login to Alarm.com HOT 3
- Late notifications on Homekit HOT 2
- Help Request / Adding to Home app HOT 1
- Plugin Unresponsive in Home App - Works in HomeBridge 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 homebridge-node-alarm-dot-com.