mikebishop / hubitat-teslamate Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
First, Great add-on for Hubitat. Everything works perfectly, except the "Create presence device for larger area" seletion.
When I select this in the Teslamate MQTT settings, it creates a child device with my car's name, followed by "nearby".
The problem isn't the creation of the device, but the fact it never changes state. When I leave my home (geo-fence), the presence state changes on the vehicle's presence will show "not present", but the "Nearby" device still shows "present". I drive away from the house > 20 miles, and still no change. When I get back to the house and my Teslamate system changes back to "Home", the vehicle device will change to "present" in hubitat, and the "Nearby" device still doesn't change at all.
I tried to turn off the feature and allow it to remove the device, then turn the feature back on so it can re-create it (it does), but it still doesn't change state when I leave the area.
I don't know how far away the "nearby" device needs to be before it changes to "not present", but it appears to be more than 40 miles.
I was hoping it would trigger outside of the "Home" geo-fence by a set distance (say 1/2 mile) so it could be used to turn the A/C setting when getting close to home to allow time to cool/heat before getting there. Since my geo-fence for "Home" is set for a 460 feet radius, I'm literally in the driveway when the geo-fence is triggered. I don't want to increase the radius of the geo-fence because I sometimes pass by the the house travelling from one town to the next, and the main road is only 800 feet from the house, and I don't want to trigger "coming home" routines when I'm only passing by. It would be great if the size of "Nearby" was selectable.
Please let me know if I'm doing something wrong, or expecting something that isn't going to happen. If you need more info, don't be afraid to ask, I'm more than happy to help.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.