Issues with the binding relationship between devices, applications, and instances
Opened this issue · 3 comments
Current Behavior
When I create a device, the device is bound to the application, but the actual snapshot needs to be sent to the device through the instance. At this time, we can only manually switch from the application to the device. I found that the device table has the application ID by checking the database. I modified the database and saw the effect as shown in the figure.
Is there any other reason
thanks
Expected Behavior
No response
Steps To Reproduce
No response
Environment
- FlowFuse version:
- Node.js version:
- npm version:
- Platform/OS:
- Browser:
Have you provided an initial effort estimate for this issue?
I have provided an initial effort estimate
I guess it's because device editing and instances are on the same level in the enterprise version and can't be taken care of at the same time? The two are interlocked when device editing is enabled.
Devices in Developer Mode (access to the editor enabled) do NOT pull snapshots or any updates from the platform, this is by design to stop things being changed under the developer using the editor.
Also a device can not be bound to both an Instance and an Application, this just will not work, but you can unlink the device from the application and bind it to a specific instance (all flows will be cleared when the device moves between applications/instances)
Thanks for raising this @dingling1990
Snapshots can be sent to Devices via DevOps Pipelines too.
You can create Snapshots on your Device by entering it into "Developer Mode". These Snapshots can then be used in a DevOps pipeline to deploy to other devices.
What is your use case here? What kind of devices are you trying to develop on?