reolink_dev icon indicating copy to clipboard operation
reolink_dev copied to clipboard

Adding the Support for the new floodlight from Reolink

Open MiAutomations opened this issue 3 years ago • 8 comments

Hello Team

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

image

Thank you and best regards

MiAutomations avatar Dec 05 '22 16:12 MiAutomations

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.

ptyers avatar Dec 06 '22 04:12 ptyers

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

MiAutomations avatar Dec 07 '22 10:12 MiAutomations

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: @.***>

ptyers avatar Dec 07 '22 19:12 ptyers

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

MiAutomations avatar Dec 08 '22 11:12 MiAutomations

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: @.***>

ptyers avatar Dec 10 '22 11:12 ptyers

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

  • MQTT support in neolink and integrating it that way - @QuantumEntangledAndy started work on that here: https://github.com/QuantumEntangledAndy/neolink. Would require another addon in HASS
  • Adding Baichuan support to this integration
  • Something else entirely, via AppDaemon or NetDaemon
  • Contact Reolink and ask them to add the HTTP API to the camera (I just did this, but have low expectations)

kevin-david avatar Dec 10 '22 18:12 kevin-david

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.

sk1ll10 avatar Dec 12 '22 14:12 sk1ll10

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

MiAutomations avatar Mar 10 '23 18:03 MiAutomations