Some devices do not have sensors or they are not connected to an ignition sensor. In this case, the value of the external power voltage can be used to set the ignition state. The default service uses the SS attribute to store the ignition state, but you can use your own variable. Attribute D is a value of external power voltage.
Example:
.module onMessage
if (D!=null) {
SS = (D>13.1)?1:0;
}