dbuezas / icsee-ptz

56 stars 10 forks source link

Feature/upgrade light functionality #28

Closed eerison closed 9 months ago

eerison commented 9 months ago

a new parameter was introduced to handle lights

eerison commented 9 months ago

@dbuezas do you know any easy way to test this change with my HA 🤔 ?

dbuezas commented 9 months ago

Hi :wave: yes it is quite easy to test, just copy the files you modified to your home assistant computer, inside config/custom_components/icsee-ptz. Then restart home assistant.

I suggest you try the samba mount add on so you can access the home assistant folders directly from your pc as a network drive.

https://github.com/home-assistant/addons/blob/master/samba/DOCS.md

eerison commented 9 months ago

@dbuezas i guess the code is good to review :)

dbuezas commented 9 months ago

Cool, thanks! Can you readd the deleted one? The cameras are a bit like the wild west, mine worked with the old config

eerison commented 9 months ago

Cool, thanks! Can you readd the deleted one? The cameras are a bit like the wild west, mine worked with the old config

Did you test your camera with this code?

Because I tested a old one and both are working with this code.

Did you updated your app? I don't know, but I guess it comes in a new update.

eerison commented 9 months ago

In theory your camera should work, because it is the new parameter that icsee app is using

eerison commented 9 months ago

I have a camera that work with old config, and this camera worked with this new parameter as well, for this reason I guess it should also work for you

dbuezas commented 9 months ago

As I said, it is the wild west. I don't update cameras anymore because some started using their custom video protocol and go2rtc doesn't work well with it.

dbuezas commented 9 months ago

Lets keep both for a while :)

eerison commented 9 months ago

Lets keep both for a while :)

Should I create a new select for this? Or how can I keep both?

eerison commented 9 months ago

Could you check again @dbuezas please :)

dbuezas commented 9 months ago

I don't have a computer for some weeks but it looks good! Thanks for the contribution!

eerison commented 9 months ago

I don't have a computer for some weeks but it looks good! Thanks for the contribution!

when you have some time could you generate a release or pre-release 👀

dbuezas commented 9 months ago

Done (pre-release)