elad-bar / ha-blueiris

Integration with Blue Iris Video Security Software
184 stars 43 forks source link

Add more device info and fix the server name/version population #143

Closed kramttocs closed 2 years ago

kramttocs commented 2 years ago

The server name and version were supposed to be pulled from the Blue Iris server according to the ReadMe. The logic was in place but the Blue Iris api doesn't behave quite like expected. These values are in the login response but not the status response. I feel server name is fine in just the login rs since it doesn't change (or I wouldn't expect it to) so I have changed that code to always pull from the login rs. The version I have coded a workaround to place the value from the login rs into the status rs but have also submitted a feature request to Blue Iris to have it added to the status rs. Workaround can be removed if/when that happens. If Blue Iris rejects it, I will make it behave like the Server name.

Added the camera type to the camera device page (network ip or broadcast).

All of these changes require deleting and re-adding the integration.