Doesn't open/close door and no error. #24
-
I first tried polygon_geofence and that didn't work. I am now testing with circular _geofence to make it simple, no luck with that as well. docker compose file: version: "3.8" ############ 2023/10/14 19:58:30 Acquiring MyQ session... ############ tesla-youq config.yml garage_doors: ############ from TeslaMate/mosquitto, I can see it was connected. tesla-youQ portainer output: Everything seems to be fine, but it doesn't appear it is triggering open/close on myQ. Are there any logs I can check to see if it was triggered? I tried DEBUG=true but the tesla-youQ output stay the same. Any help will be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 13 replies
-
It looks like the app isn't getting any pub/sub updates from the MQTT broker. With Try using a tool like MQTT Explorer to connect to your MQTT broker and make sure you're able to see data published to the teslamate topics for your car, especially |
Beta Was this translation helpful? Give feedback.
-
Thank you for your reply. Yes, I did check and do see the data. Here is the screen shot. |
Beta Was this translation helpful? Give feedback.
-
I restarted the docker and then published 3 set of lat/lng using MQTT explorer to simulate coming from outside of the geofence to a spot where it should trigger the garage door. Unfortunately, no update on the output. It doesn't look like it subscribed to any MQTT topic or a topic that doesn't exist. Is there any way I can check if it subscribed to "teslamate/cars/1" - note, the is "s" in cars. 2023/10/15 22:05:09 Received interrupt signal, shutting down... |
Beta Was this translation helpful? Give feedback.
-
Everything is working for me know. Thanks! |
Beta Was this translation helpful? Give feedback.
-
@betatester88 I've published a new docker image tag, |
Beta Was this translation helpful? Give feedback.
Oh interesting. Yes the spacing in the
config.yml
file is very important, particularly the leading spacing. That defines the dictionary that gets ingested into the config. If you didn't space properly, then it probably wasn't able to properly identify the garage configs and parameters. I'll add a check for that. Do you see updates in YouQ when you change things in the MQTT explorer now?Regarding your question about having an option to not close, no I don't have this implemented but makes sense that it should be. Give me a day or two and I'll try and get that done so you can just have it open.
Finally, if you still need more verbose debugging, I've pushed a new docker tag you can use that…