Hello, I'm having some problems receiving maintenance notifications.
The procedure I follow is:
- I register the maintenance. For example:
{
type: odometer,
start: 100 km,
period: 1km
}
to do the test.
It is created correctly.
- I assigned it through /permissions to some device.
This is assigned correctly.
- I created the notification with web and email notifiers and assigned it to a device. Everything correct and verified.
- I have a device with the odometer at more than 100 km (much more), and I should receive a notification every km, right? I don't get anything, and in the event log (/reports/events), I don't see the event either.
Would I be missing something?
Thank you
Does your device actually report odometer value?
No, I didn't see that in the documentation. Do I have to map totalDistance from position to an attribute that is odometer within device?
Why not use total distance directly?
Okay, I wasn't understanding how it worked. The maintenance type refers to the attribute it evaluates. Now they work for me. Thanks a lot.
Hello, I'm having some problems receiving maintenance notifications.
The procedure I follow is:
{
type: odometer,
start: 100 km,
period: 1km
}
to do the test.
It is created correctly.
This is assigned correctly.
Would I be missing something?
Thank you