-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docs > Driver Dev: Logic vs Service vs Device drivers #358
Comments
While testing this with Steve, it turns out that implementing this as a Service driver is a functional requirement in PlaceOS not just a style thing. So Steve is changing it to a Service driver now. While it's a logic driver we get this error for requests:
|
Quite difficult to troubleshoot the above as it even took Steve 30mins. So I recommend updating that Driver dev documentation sooner rather than later to prevent the same time wastage in the future. |
Jeremy can assign to product team member to update the driver dev documentation to prevent this from happening in the future. |
drivers/drivers/crestron/fusion.cr
Line 27 in 8325a8d
Looks like Crestron Fusion is implemented as a "Logic driver", but I think a "Service Driver" makes more sense.
Hey @stakach and @jeremy-west I think this goes to show that the existing Driver development documentation isn't clear enough, cause even internally, experienced devs are implementing a HTTPS REST driver as a Logic driver.
https://docs.placeos.com/tutorials/backend/write-a-driver
The text was updated successfully, but these errors were encountered: