TurnOfAFriendlyCard / Domoticz-GPSLogger-Plugin

Capture location data obtained via GPS Logger app in Domoticz devices.
https://www.buymeacoffee.com/turnofafriendlycard
MIT License
0 stars 0 forks source link

Updating Speed in Domoticz incorrect #8

Open TurnOfAFriendlyCard opened 7 months ago

TurnOfAFriendlyCard commented 7 months ago
          Hi,

I do not agree... the speed is recorded as it should and reported to the rawdata. Is it possible that domoticz just stores the value every 5 minutes... I did ride the bike during 5 minutes. That is less then the next interval at 10 min...

rawdata 2024-04-03_11-17-33 speed 2024-04-03_11-20-50

Originally posted by @Sloeber71 in https://github.com/TurnOfAFriendlyCard/Domoticz-GPSLogger-Plugin/issues/6#issuecomment-2034028415

TurnOfAFriendlyCard commented 7 months ago

See additional remark: https://github.com/TurnOfAFriendlyCard/Domoticz-GPSLogger-Plugin/issues/6#issuecomment-2034196660

Sloeber71 commented 7 months ago

Took a test yesterday and rode a public transport bus for 40 minutes. The speed is logged at the interval set in GPSLogger. The speed is also updated live in the Speed ​​device. But it is true that Domoticz only stores 1 registration every 5 minutes in the database. This is a domoticz problem.

speed 2024-04-04_7-52-50

Chart <html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40">

DateTime | Custom Sensor -- | -- 3/04/2024 13:20 | 0 3/04/2024 13:25 | 3 3/04/2024 13:30 | 39 3/04/2024 13:35 | 32 3/04/2024 13:40 | 31 3/04/2024 13:45 | 42 3/04/2024 13:50 | 62 3/04/2024 13:55 | 36 3/04/2024 14:00 | 4 3/04/2024 14:05 | 2 3/04/2024 14:10 | 11 3/04/2024 14:15 | 0 3/04/2024 14:20 | 0 3/04/2024 14:25 | 0 3/04/2024 16:30 | 0 3/04/2024 16:35 | 0 3/04/2024 16:40 | 58 3/04/2024 16:45 | 41 3/04/2024 16:50 | 27 3/04/2024 16:55 | 6 3/04/2024 17:00 | 46 3/04/2024 17:05 | 0 3/04/2024 17:10 | 0

TurnOfAFriendlyCard commented 7 months ago

Thanks for detailed reporting out. I'm searching how other plugins are dealing with speed topics and validating the code they are using. Will keep you informed.

Sloeber71 commented 7 months ago

Did some digging on the forum: https://www.domoticz.com/forum/viewtopic.php?t=10183

The log inverval can be changed, but this must be done in source ... then re-compile is needed

Just thinking how this will affect the load, db size, etc...