最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

ios - How to Implement Room-Specific Geofencing for Home Automation? - Stack Overflow

programmeradmin0浏览0评论

I am working on a home automation project that’s already implemented, and I’m trying to add a feature to detect the exact location of a user within my house, specifically within individual rooms.

I am considering using geofencing to achieve this functionality. However, the typical geofencing approach uses a circular region, and I need a rectangular or square region for more accuracy in detecting when a user enters or exits a room. My goal is to automatically turn on the lights when a user enters a room and turn them off when the user exits.

Here are my questions:

Is it possible to define square or rectangular regions for geofencing? Can I use Google Maps for this, or is there a better alternative? Does Google Maps provide the exact location of a user, with enough precision to distinguish between rooms in a house? I’m looking for suggestions or solutions that will allow me to implement this room-based geofencing feature with precise location tracking.

I have tried using Core Location as well as the geofencing concept, but it is not providing the expected accuracy. Can anyone please help me achieve this without using external hardware like Bluetooth? I also tried implementing this using Wi-Fi (SSL), but it causes issues when users have the same Wi-Fi frequency in each room.

发布评论

评论列表(0)

  1. 暂无评论