The place where random ideas get written down and lost in time.
2020-04-07 - Cab Engineer
Category DEVA follow up to 2020-04-04 Cab Throttle aka “Cab Engineer”: Importing Cab Throttle source has been done. It’s called “Cab Engineer”, and as all the source from Cab Throttle + WiThrottleLib.
The project has been changed to be compliant with Permanent Service & notifications required by API 26+.
Next steps are:
- Add dagger support.
- Use my mini RxJava instead of the event bus.
- Add new features:
- Toggle turnouts. [added as of 2020-04-10]
- Recall previous DCC addresses.
- Recall JMRI roster.
- Some less important yet desirable features for me:
- Support Day vs Night modes (with a quick toggle change).
- Support “soft” consisting.
I may not do it in that order. E.g. dagger/rx are less useful than core new features.
Note that when I started it, WiThrottleLib was able to support 2 modes:
- “Single throttle protocol” with multiple sockets to JMRI, for JMRI < 2.
- “Multi-throttle protocol” with a single socket to JMRI, for JMRI >= 2.
Now that JMRI is in v4, I think the “< v2” support is… useless. I won’t remove it but I won’t extend it either. Things like roster & turnouts are only going to be added to the more modern part.
As for the name, I'm pretty sure I don’t want to tie it to the “DCC” name publicly, even though the current implementation is very DCC and JMRI centric. E.g. for addresses, only DCC specs are supported, with short vs long addresses.