You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Output (note the HR data stored as power_meter_09384. If I put the HR sensor last in the list, then the all sensors would get device = heart_rate_50967):
Yes it's a bug - the reference is passed to the closure so they all have the last one in the iteration. I've passed the value with the closure args, which should fix it. Please can you test https://github.com/Tigge/openant/compare/closure-bug
* #108 ensure value not refence passed to closure
* added extra (debug) logging
* improved debug message on catch
* formatting
---------
Co-authored-by: John Whittington <git@jbrengineering.co.uk>
I am using the built in influxdb command, and a config file.
The "device" tag value in influxdb is the same for all devices, particularly, it adopts the name of the last device in my config file.
E.g config:
`{
"devices": [
{
"device": "FitnessEquipment",
"id": 9384,
"transmission_type": 5
},
}`
Output (note the HR data stored as power_meter_09384. If I put the HR sensor last in the list, then the all sensors would get device = heart_rate_50967):
The text was updated successfully, but these errors were encountered: