Satish Narayana Posted April 13, 2022 Posted April 13, 2022 Hi We have an application specific requirement to remove device and add device into control4 system. So looking for C4 API call to remove driver from project. Is there any c4 api call to remove specific driver from project or invoke driver restart. Quote
Andrew luecke Posted April 13, 2022 Posted April 13, 2022 There is no deletedevice API (probably to stop drivers accidentally deleting your controller out of the project or other drivers/agents). It's not a bad thing... Also, not sure why you'd need to restart the driver? Quote
alanchow Posted April 13, 2022 Posted April 13, 2022 No you cannot do that. Also not the right place to ask. You should discuss Control4 SDK / API questions directly to Control4. Andrew luecke 1 Quote
Andrew H Posted April 14, 2022 Posted April 14, 2022 13 hours ago, alanchow said: Also not the right place to ask. You should discuss Control4 SDK / API questions directly to Control4. Why wouldn't this be the right place to ask? Control4 has a public API that anyone can access. As long as the folks with access have the discretion to not reveal private information, the only thing public conversation does is benefit others with the same or similar questions. 20 hours ago, Satish Narayana said: Is there any c4 api call to [...] invoke driver restart. No API call that I'm aware of, but you might be able to make it happen manually depending on what you are wanting to do. Are you wanting to restart the same driver making the restart call? Another driver that you wrote? Any random driver? Quote
Cyknight Posted April 14, 2022 Posted April 14, 2022 5 hours ago, Andrew H said: Why wouldn't this be the right place to ask? Control4 has a public API that anyone can access. As long as the folks with access have the discretion to not reveal private information, the only thing public conversation does is benefit others with the same or similar questions. Uhm, because the support here would be relatively limited, and Control4 has a dedicated team to answer your questions? Don't always assume the worst.... Andrew luecke 1 Quote
Andrew H Posted April 14, 2022 Posted April 14, 2022 4 minutes ago, Cyknight said: Don't always assume the worst.... I haven't. Saying that you should contact C4 directly and that this is "not the right place to ask" is not the same as saying that you'll get a better answer from Control4. I don't disagree that you could get a better answer directly from Control4, but unless OP is trying to get at a private API -- hence my comment about discretion -- then the "Driver Dev" section of a Control4 forum is exactly the right place to ask questions regarding developing a Control4 driver. Quote
Cyknight Posted April 16, 2022 Posted April 16, 2022 On 4/14/2022 at 1:08 PM, Andrew H said: I haven't. Yes you did, and twice in a row. You're reading things that aren't there. Lack of evidence is not evidence. Andrew luecke 1 Quote
Andrew H Posted April 18, 2022 Posted April 18, 2022 On 4/15/2022 at 8:54 PM, Cyknight said: Yes you did, and twice in a row. Please enlighten me. I'm curious what I'm supposed to have assumed. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.