Hi,
I want to generate an alarm for Fatigue Driving when a vehicle's ignition remains continuously on for a specific duration, such as 4 hours. Please let me know if this is possible through this attribute.
Through ignition
{
"type": "attribute",
"attributes": [
{
"key": "Ignition",
"type": "Boolean"
}
],
"operator": "&&",
"conditions": [
{
"type": "time",
"key": "Moving_Duration",
"comparison": ">",
"value": "4:00:00"
},
{
"type": "attribute",
"key": "Ignition",
"type": "Boolean",
"value": true
}
],
"ifTrue": "Fatigue driving",
"ifFalse": "null"
}
Just Through Moving duration
{
"type": "attribute",
"attributes": [
{
"key": "Continuous_Moving_Duration",
"type": "Time"
}
],
"operator": ">",
"value": "4:00:00",
"ifTrue": "Fatigue driving",
"ifFalse": "null"
}
Screenshot: https://aideepocean.com/screenshot.png
It's not possible through computed attributes.
Hi,
I want to generate an alarm for Fatigue Driving when a vehicle's ignition remains continuously on for a specific duration, such as 4 hours. Please let me know if this is possible through this attribute.
Through ignition
{ "type": "attribute", "attributes": [ { "key": "Ignition", "type": "Boolean" } ], "operator": "&&", "conditions": [ { "type": "time", "key": "Moving_Duration", "comparison": ">", "value": "4:00:00" }, { "type": "attribute", "key": "Ignition", "type": "Boolean", "value": true } ], "ifTrue": "Fatigue driving", "ifFalse": "null" }
Just Through Moving duration
{ "type": "attribute", "attributes": [ { "key": "Continuous_Moving_Duration", "type": "Time" } ], "operator": ">", "value": "4:00:00", "ifTrue": "Fatigue driving", "ifFalse": "null" }
Screenshot: https://aideepocean.com/screenshot.png