ioBroker.reolink
ioBroker.reolink copied to clipboard
multiple camera support
I have 2 Reolink cameras and as it seems I need 2 instances for having both in iobroker. This means double RAM consumption. Would be great having the opportunity for adding more devices in one instance with new node for each device. And the device name should be customizable in the instance or automatically retrieve/used from reolink.0.*.device.model. Thanks in advance!
@aendue Any hope that this will be implemented sometime?
@oelison Are you able to do this?
@Diginix I don't know. I understand your request and it is still open. But I have actually no Idea how to solve this. Especially with custom names.
I would imagine something how the ping or yeelight adapter does:
results in this object structure:


The idea is clear, but what is needed to be programmed not.
I need this also, while i have 5 cameras. I will have a look into the code to eveluate what have to be done to achiev this.
any news here?
Here are my suggestions to achieve this:
- Create classes for each device model, which makes it easier to deal with the special/supported features of a device. And can create objects based on supported features by device.
- Declare the API versions in the functions for API call, if there are different versions from reolink. This makes it easy to switch between different API versions based on what the device is using. If the API is for more than one device the same put it into an class that can be imported to the device classes.
- Use object structure like reolink.0.[mac of camera] like other adapters
I´ve started to create the api class.
Are there any updates regarding this? Integrating it with a home hub that supports multiple cameras would be particularly beneficial.