fwestenberg / reolink_dev

Home Assistant Reolink addon
MIT License
553 stars 101 forks source link

Adding the Support for the new floodlight from Reolink #599

Open MiAutomations opened 1 year ago

MiAutomations commented 1 year ago

Hello Team

It's possible in a future release adding the new devices floodlight to this integration?

image

Thank you and best regards

ptyers commented 1 year ago

Should be possible. Need all available specifications and your willingness to act as a test bed. For some while I have been considering polishing the integration with regard to camera floodlight control. And to cater for situation (eg 510) where Reolink erroneously reports capability that does not exist.

MiAutomations commented 1 year ago

Should be possible. Need all available specifications and your willingness to act as a test bed. For some while I have been considering polishing the integration with regard to camera floodlight control. And to cater for situation (eg 510) where Reolink erroneously reports capability that does not exist.

Great thank you for your interest in this.

Yes, I'm available to test, I have one POE floodlight.

Regarding the info, what You need? I'm not an expert but I'm available to help you.

By the way I found this API manual that is mentioning floodlight control, don't know if can help or not ...

https://drive.google.com/file/d/15AFMQSMlMdpjL2USPsvYd-J9xWecrEf9/view

Thank you and best regards

ptyers commented 1 year ago

May be a while before I can get back into looking at the code, christmas will delay things. Will send you a couple of curl commands to extract information from the unit that I need in the next week or so.On 7 Dec 2022 21:07, MiAutomations @.***> wrote:

Should be possible. Need all available specifications and your willingness to act as a test bed. For some while I have been considering polishing the integration with regard to camera floodlight control. And to cater for situation (eg 510) where Reolink erroneously reports capability that does not exist.

Great thank you for your interest in this. Yes, I'm available to test, I have one POE floodlight. Regarding the info, what You need? I'm not an expert but I'm available to help you. By the way I found this API manual that is mentioning floodlight control, don't know if can help or not ... https://drive.google.com/file/d/15AFMQSMlMdpjL2USPsvYd-J9xWecrEf9/view Thank you and best regards

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

MiAutomations commented 1 year ago

May be a while before I can get back into looking at the code, christmas will delay things. Will send you a couple of curl commands to extract information from the unit that I need in the next week or so.On 7 Dec 2022 21:07, MiAutomations @.> wrote: Should be possible. Need all available specifications and your willingness to act as a test bed. For some while I have been considering polishing the integration with regard to camera floodlight control. And to cater for situation (eg 510) where Reolink erroneously reports capability that does not exist. Great thank you for your interest in this. Yes, I'm available to test, I have one POE floodlight. Regarding the info, what You need? I'm not an expert but I'm available to help you. By the way I found this API manual that is mentioning floodlight control, don't know if can help or not ... https://drive.google.com/file/d/15AFMQSMlMdpjL2USPsvYd-J9xWecrEf9/view Thank you and best regards —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.>

Ok No problem I understand. I will wait

Thank you

ptyers commented 1 year ago

Need someone with new floodlight( probably MiAutomations) to run the following command on their terminal and send me the json which comes back - direct email not to github. JSON will be quite long.YOURUSERNAME is floodlight username, YOURPASSWORD is floodlight password. YourcamerIP is IP address of floodlight.Need this to confirm that floodlight returns a list of abilities which conforms to those in the API USER MANUAL I am working from.curl -X POST 'http://YourcameraIP/cgi-bin/api.cgi?user=yourusername&password=yourpassword' -d '[{"cmd": "GetAbility","param": { "user":{"YOURUSERNANME":"YOURPASSWORD" }}}]'On 8 Dec 2022 22:19, MiAutomations @.***> wrote:

May be a while before I can get back into looking at the code, christmas will delay things. Will send you a couple of curl commands to extract information from the unit that I need in the next week or so.On 7 Dec 2022 21:07, MiAutomations @.> wrote: Should be possible. Need all available specifications and your willingness to act as a test bed. For some while I have been considering polishing the integration with regard to camera floodlight control. And to cater for situation (eg 510) where Reolink erroneously reports capability that does not exist. Great thank you for your interest in this. Yes, I'm available to test, I have one POE floodlight. Regarding the info, what You need? I'm not an expert but I'm available to help you. By the way I found this API manual that is mentioning floodlight control, don't know if can help or not ... https://drive.google.com/file/d/15AFMQSMlMdpjL2USPsvYd-J9xWecrEf9/view Thank you and best regards —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.>

Ok No problem I understand. I will wait

Thank you

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

kevin-david commented 1 year ago

I have this floodlight. Would love support for this also, but I don't think these floodlights have an HTTP server running so it's nontrivial. There also doesn't seem to be an option to enable it, at least not yet...

image

What is available: they use the "Baichuan" protocol available on the device on port 9000. I started reverse engineering that a bit here and made some progress: https://github.com/thirtythreeforty/neolink/issues/324

Doesn't look like this addon supports that protocol, and I've been considering how to handle that... a few options

sk1ll10 commented 1 year ago

I also have a floodlight here. Atm any control aside the official apps would be enough for me. As far as i am following your work you were not able to make any change on the floodlight correct? Or did you manage to turn of the status LED?

Do you know this -> https://github.com/jdillenkofer/camera_proxy/blob/af9a170d3a8db831318a1aafcb2bf097ab62fd40/src/baichuan_control_layer.py (also mentiones neolink in readme)

If i would not have found your work i would have started poking around with that thing but i just started, so i most likely miss a lot of obvious stuff.

MiAutomations commented 1 year ago

May be a while before I can get back into looking at the code, christmas will delay things. Will send you a couple of curl commands to extract information from the unit that I need in the next week or so.On 7 Dec 2022 21:07, MiAutomations @.> wrote: Should be possible. Need all available specifications and your willingness to act as a test bed. For some while I have been considering polishing the integration with regard to camera floodlight control. And to cater for situation (eg 510) where Reolink erroneously reports capability that does not exist. Great thank you for your interest in this. Yes, I'm available to test, I have one POE floodlight. Regarding the info, what You need? I'm not an expert but I'm available to help you. By the way I found this API manual that is mentioning floodlight control, don't know if can help or not ... https://drive.google.com/file/d/15AFMQSMlMdpjL2USPsvYd-J9xWecrEf9/view Thank you and best regards —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.>

Hello @ptyers

Have you any news about this subject?

Thank you in advance for you support