maximvelichko / pyvera

A python library to control devices via the Vera hub
GNU General Public License v2.0
26 stars 30 forks source link

Device with Vera warning does not update #66

Closed philhawthorne closed 6 years ago

philhawthorne commented 7 years ago

Using this as part of home assistant.

I have 3 Aeotec 6 in 1 multisensors. For some reason my Vera always displays "failed at setting user config" for these devices. However the settings have updated.

So the issue is, motion sensor reports stop getting sent to Home Assistant for these devices. The other sensors such as temperature and lux update in home assistant, but the motion detection does not. The motion detection does however report correctly in Vera.

I have a bunch of other sensors such as the 4 in 1 sensor and door window sensors. All these work perfectly.

So, not sure why pyvera isn't updating the status when motion is/isn't detected for these motion sensors.

pavoni commented 7 years ago

Can you see anything in the logs when the motions sensors stop getting updated?

dpembo commented 7 years ago

I've got one of these also, others I have are all fibaro.  I've not noticed any issues but will check again and report back.

On 18 Jul 2017, 15:11, at 15:11, Greg Dowling notifications@github.com wrote:

Can you see anything in the logs when the motions sensors stop getting updated?

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/pavoni/pyvera/issues/66#issuecomment-316076090

philhawthorne commented 7 years ago

I can see these in the Home Assistant logs for one of my sensors

2017-07-18 20:33:23 DEBUG (Vera Poll Thread) [pyvera.subscribe] Poll returned
2017-07-18 20:33:23 DEBUG (Vera Poll Thread) [pyvera.subscribe] Event: Living Room Motion, state 1, {"altid": "22", "id": "79", "subcategory": "3", "room": "2", "parent": "1", "armed": "0", "armedtripped": "0", "batterylevel": "100", "lasttrip": "1500372434", "tripped": "1", "state": "1", "comment": "Living Room Motion: Setting user configuration"}
2017-07-18 20:33:23 DEBUG (Vera Poll Thread) [pyvera.subscribe] Event: Living Room Motion, state 1, {"altid": "22", "id": "79", "subcategory": "3", "room": "2", "parent": "1", "armed": "0", "armedtripped": "0", "batterylevel": "100", "lasttrip": "1500372434", "tripped": "1", "state": "1", "comment": "Living Room Motion: Setting user configuration"}
2017-07-18 20:33:25 DEBUG (Vera Poll Thread) [pyvera.subscribe] Poll returned
2017-07-18 20:33:25 DEBUG (Vera Poll Thread) [pyvera.subscribe] Event: Living Room Motion, state 1, {"altid": "22", "id": "79", "subcategory": "3", "room": "2", "parent": "1", "armed": "0", "armedtripped": "0", "batterylevel": "100", "lasttrip": "1500372434", "tripped": "1", "state": "1", "comment": "Living Room Motion: Setting user configuration"}
2017-07-18 20:33:25 DEBUG (Vera Poll Thread) [pyvera.subscribe] Event: Living Room Motion, state 1, {"altid": "22", "id": "79", "subcategory": "3", "room": "2", "parent": "1", "armed": "0", "armedtripped": "0", "batterylevel": "100", "lasttrip": "1500372434", "tripped": "1", "state": "1", "comment": "Living Room Motion: Setting user configuration"}
2017-07-18 20:33:26 DEBUG (Vera Poll Thread) [pyvera.subscribe] Poll returned
2017-07-18 20:33:26 DEBUG (Vera Poll Thread) [pyvera.subscribe] Event: Living Room Motion, state 1, {"altid": "22", "id": "79", "subcategory": "3", "room": "2", "parent": "1", "armed": "0", "armedtripped": "0", "batterylevel": "100", "lasttrip": "1500372434", "tripped": "1", "state": "1", "comment": "Living Room Motion: Setting user configuration"}
2017-07-18 20:33:26 DEBUG (Vera Poll Thread) [pyvera.subscribe] Event: Living Room Motion, state 1, {"altid": "22", "id": "79", "subcategory": "3", "room": "2", "parent": "1", "armed": "0", "armedtripped": "0", "batterylevel": "100", "lasttrip": "1500372434", "tripped": "1", "state": "1", "comment": "Living Room Motion: Setting user configuration"}
2017-07-18 20:33:27 DEBUG (Vera Poll Thread) [pyvera.subscribe] Poll returned
2017-07-18 20:33:27 DEBUG (Vera Poll Thread) [pyvera.subscribe] Event: Living Room Motion, state 2, {"altid": "22", "id": "79", "subcategory": "3", "room": "2", "parent": "1", "armed": "0", "armedtripped": "0", "batterylevel": "100", "lasttrip": "1500372434", "tripped": "1", "state": "2", "comment": "Living Room Motion: Failed at: Setting user configuration"}
2017-07-18 20:33:27 ERROR (Vera Poll Thread) [pyvera.subscribe] Device Living Room Motion, state 2, Living Room Motion: Failed at: Setting user configuration
2017-07-18 20:33:27 DEBUG (Vera Poll Thread) [pyvera.subscribe] Event: Living Room Motion, state 2, {"altid": "22", "id": "79", "subcategory": "3", "room": "2", "parent": "1", "armed": "0", "armedtripped": "0", "batterylevel": "100", "lasttrip": "1500372434", "tripped": "1", "state": "2", "comment": "Living Room Motion: Failed at: Setting user configuration"}
2017-07-18 20:33:27 ERROR (Vera Poll Thread) [pyvera.subscribe] Device Living Room Motion, state 2, Living Room Motion: Failed at: Setting user configuration
2017-07-18 20:33:29 DEBUG (Vera Poll Thread) [pyvera.subscribe] Poll returned
2017-07-18 20:33:29 DEBUG (Vera Poll Thread) [pyvera.subscribe] Event: Living Room Motion, state 2, {"altid": "22", "id": "79", "subcategory": "3", "room": "2", "parent": "1", "armed": "0", "armedtripped": "0", "batterylevel": "100", "lasttrip": "1500372434", "tripped": "1", "state": "2", "comment": "Living Room Motion: Failed at: Setting user configuration"}
2017-07-18 20:33:29 ERROR (Vera Poll Thread) [pyvera.subscribe] Device Living Room Motion, state 2, Living Room Motion: Failed at: Setting user configuration
2017-07-18 20:33:29 DEBUG (Vera Poll Thread) [pyvera.subscribe] Event: Living Room Motion, state 2, {"altid": "22", "id": "79", "subcategory": "3", "room": "2", "parent": "1", "armed": "0", "armedtripped": "0", "batterylevel": "100", "lasttrip": "1500372434", "tripped": "1", "state": "2", "comment": "Living Room Motion: Failed at: Setting user configuration"}
2017-07-18 20:33:29 ERROR (Vera Poll Thread) [pyvera.subscribe] Device Living Room Motion, state 2, Living Room Motion: Failed at: Setting user configuration
2017-07-18 20:33:30 DEBUG (Vera Poll Thread) [pyvera.subscribe] Poll returned
2017-07-18 20:33:30 DEBUG (Vera Poll Thread) [pyvera.subscribe] Event: Living Room Motion, state 2, {"altid": "22", "id": "79", "subcategory": "3", "room": "2", "parent": "1", "armed": "0", "armedtripped": "0", "batterylevel": "100", "lasttrip": "1500372434", "tripped": "1", "state": "2", "comment": "Living Room Motion: Failed at: Setting user configuration"}
2017-07-18 20:33:30 ERROR (Vera Poll Thread) [pyvera.subscribe] Device Living Room Motion, state 2, Living Room Motion: Failed at: Setting user configuration
2017-07-18 20:33:30 DEBUG (Vera Poll Thread) [pyvera.subscribe] Event: Living Room Motion, state 2, {"altid": "22", "id": "79", "subcategory": "3", "room": "2", "parent": "1", "armed": "0", "armedtripped": "0", "batterylevel": "100", "lasttrip": "1500372434", "tripped": "1", "state": "2", "comment": "Living Room Motion: Failed at: Setting user configuration"}
2017-07-18 20:33:30 ERROR (Vera Poll Thread) [pyvera.subscribe] Device Living Room Motion, state 2, Living Room Motion: Failed at: Setting user configuration