Commit Graph
10 Commits
Author SHA1 Message Date
Brian MayandJakob Lichterfeld b5285d2ace Add location topic (lat and long in one json blob) (#3729)
* Add location topic

Fixes #3660.

* doc: update mqtt topics with new location topic

---------

Co-authored-by: Jakob Lichterfeld <jakob-lichterfeld@gmx.de>
2024-03-18 08:36:21 +01:00
Brian May cdd6298f55 Replace tortoise library with tortoise311 (#3697) 2024-03-16 11:55:04 +01:00
Brian May 8353b8e988 Make tests non-async (#3738)
It appears to fix most of the random test errors.

Fixes: #3736
2024-03-15 09:09:05 +11:00
Brian May b643b45ca0 Add charging_state to VehicleSummary (#3471)
* Add charging_state to VehicleSummary

Fixes: #3078

* WIP
2023-11-23 09:06:51 +01:00
Brian May 40fcda6ccb Add credo lint support (#3452) 2023-11-22 12:49:28 +01:00
Brian May 6d0405dbff Add charging_state to VehicleSummary (#3087)
Fixes: #3078
2023-11-16 16:20:11 +01:00
Brian May 96b836e2e3 Update pr0ps-trackmap-panel version in docs (#3385)
Fixes #3383
2023-11-13 07:12:43 -06:00
Brian May 4a11ef8421 If no geofence is found map then use default value (#2564)
This is required because the default value is "" which tells the mqtt
server to delete the retained value.

This in turn means that applications that care about when the car is in
a unknown location will not get the retained value.

This is a bit different from all of the other values in
`@always_published`. For them "" is only published if the value is
unknown or an error occurred. So it makes sense to delete the retained
value.

In this case however, a value of "" generally means "the car is outside
any known geofence" which is a valid condition it itself, and it should
be retained.

There was speculation this might affect the shift_state, but
unfortunately this was not followed up with any evidence or details. #1912

There are any number of solutions that could be deployed here. The
advantage of this solution however is it is not going to break anything
unless you specifically define the TESLAMATE_DEFAULT_GEOFENCE variable.

Fixes: #1336
2022-07-15 10:59:46 +02:00
Brian May 4f1d998f41 Simplify plugged_in check (#1423)
Avoid false disconnected events.

Fixes #1221
2021-03-13 11:32:57 +01:00
Brian May 3cd19f1ac3 Add health check (#1422)
See https://blog.jola.dev/health-checks-for-plug-and-phoenix
2021-03-10 19:51:26 +01:00