I am wondering what MyDevices is doing to interact with code running in the background.
Say I already have some implemented code that works well and there isn’t really time to integrate a driver into Cayenne directly, but I want to benefit from the great GUI widgets and Cloud connectivity.
Would it be appropriate to have an option on all widgets to interact with simple files instead?
Read file when changed, update result in widget.
Code behind reads command file when changed, and processes it.
Could use a simple JSON schema to keep things modern. In fact, you’re probably already using this - just dump it to a file.
It’s stupidly simple and not fancy, but allows us to connect to existing code very easily and takes MyDevices clearly out of the support roll for user code.
The widget could have a check box to say “Use File IO”, then a box to put in the path to a directory that has a set of files in the expected format.