My app has stopped enumerating locks


(Bobfrankston) #1

It finds the batteries but not the loskc

8939625a-28c5-4a69-9ab7-763e1374cf48 10:45:07 PM: debug RMFHCBridge/24: _device_to_json Backdoor battery
8939625a-28c5-4a69-9ab7-763e1374cf48 10:45:07 PM: debug RMFHCBridge/24: _device_to_json Frontdoor battery
8939625a-28c5-4a69-9ab7-763e1374cf48 10:45:07 PM: debug RMFHCBridge/24: Obtaining devices for type battery
8939625a-28c5-4a69-9ab7-763e1374cf48 10:45:07 PM: debug RMFHCBridge/24: Obtaining devices for type lock

When I look at devices for Backdoor I see
lock: locked
battery: 60 %

How do I go about tracing down this problem?

BTW, I “solved” my previous problem with reburied fields not being supplied by commenting out temperature and threeaxis devices. No idea why that was a problem. (Is a debugging IDE In the works?)


(Andrew Mager) #2

Here is the code Bob shared with me, if anyone wants to use it:

https://onedrive.live.com/?cid=10a2ccb2b2a54109&id=10a2ccb2b2a54109!64225&ithint=file,Groovy&authkey=!ADtcuzGe8BF7Dbk


(Bobfrankston) #3

Note that this is a temporary share though I don’t have immediately plans to remove it … nor update it. But if people want to make suggestions I’d appreciate it. The goal is to simply have an API that allows me access to the devices without letting the automation meme get in the way. What I want is a simple API that is local in my house and that’s what I’m pretending to emulate.