Closed raymondbrink closed 1 year ago
It might be a good idea to remain backwards compatible when implementing this change, so user configuration will not fail after the firmware upgrade.
To Dos:
The keyword will be "backward", so a channel definition can be:
{
"channel": "A",
"attachedDevice": "motor",
"direction": "backward" // "reverse" is still supported for backward compatibility
}
Event triggers based on the "dirchanged" event will remain the same as before:
{
"source": "loco",
"eventType": "dirchanged",
"value": "backward"
}
Merged. Closing issue.
Channels now expect a value of
reverse
for the alternate direction. Actions requirebackward
. Both should use the same value.