Has anyone gotten the step counter for IOS using OwnTracks to work?
This is my report_steps.yaml script:
- service: mqtt.publish data: topic: "owntracks/user/iphone/cmd" payload_template: '{"_type":"cmd","action":"reportSteps"}'
My sensor file contains:
- platform: mqtt state_topic: "owntracks/user/iphone" name: "Vince Step Counter" value_template: "{{ value_json.steps }}"
When i view my mqtt broker logs i can see that the device reports back with the following:
owntracks/user/iphone/step {“from”:1462172400,“tst”:1462244184,“steps”:4342,“_type”:“steps”,“distance”:2976.555562815396,“to”:1462244184,“floorsdown”:2,“floorsup”:2}
Is there something I am missing?