Proximity sensors not working successfully

Ever since the smartphone app update for the iPhone (and im guessing a hub firmware upgrade) my proximity sensor has gone on the fritz. I have replaced the battery, paired it again etc. It will turn the lights off saying that I left my house when i havent moved and at night will turn my lights on saying I left at midnight, 2am and 3am (thats just last night) Does anyone have any ideas what is causing this to happen? My keychain itself is in my coat pocket which was like 5 feet away from the hub.