dk307 / HSPI_HikvisionCamera

Homeseer plugin for Hikvision camera
MIT License
7 stars 4 forks source link

Compiled versions are missing #10

Open BassTeQ opened 1 year ago

BassTeQ commented 1 year ago

Hello, can you please provide a working download for the executable/configs ?

I've tried to compile your version, and hit an error I'm not sure how to fix.

image

Thank you!

dk307 commented 1 year ago

Apologies for the delay in response. Did you do nuget package restore ?

Any way here are the artifacts: https://ci.appveyor.com/project/dk307/HSPI-hikvisioncamera/build/artifacts

They will get deleted in a month.

BassTeQ commented 1 year ago

Thanks, I'll grab the artifacts!

Did you do nuget package restore ? It's saying they are not available?

image

Cheers

On Mon, 25 Sept 2023 at 02:00, Deepak Khajuria @.***> wrote:

Apologies for the delay in response. Did you do nuget package restore ?

Any way here are the artifacts: https://ci.appveyor.com/project/dk307/HSPI-hikvisioncamera/build/artifacts

They will get deleted in a month.

— Reply to this email directly, view it on GitHub https://github.com/dk307/HSPI_HikvisionCamera/issues/10#issuecomment-1732603987, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHZN53IVTIIXHSSUKVPHILDX4BKLHANCNFSM6AAAAAA44FDIV4 . You are receiving this because you authored the thread.Message ID: @.***>

BassTeQ commented 1 year ago

Looks like the nuget.org source was missing, after adding this I was able to compile it! image

Thank you

BassTeQ commented 1 year ago

Any idea why Homeseer is throwing an error?

image

dk307 commented 12 months ago

Is this your own compiled one or one I provided ?

BassTeQ commented 12 months ago

This was my version, your one works as expected.

Also is the any documentation on how to configure an event to change some of camera properties? I'm curretly using curl to achieve this but interetsed to try it with the plugin, eg here's some XML

`

regionEntrance-1
    <eventType>regionEntrance</eventType>
    <videoInputChannelID>1</videoInputChannelID>
    <EventTriggerNotificationList>
            <EventTriggerNotification>
                    <id>record-1</id>
                    <notificationMethod>record</notificationMethod>
                    <videoInputID>1</videoInputID>
            </EventTriggerNotification>
            <EventTriggerNotification>
                    <id>center</id>
                    <notificationMethod>center</notificationMethod>
            </EventTriggerNotification>
            <EventTriggerNotification>
                    <id>whiteLight</id>
                    <notificationMethod>whiteLight</notificationMethod>
            </EventTriggerNotification>
            <EventTriggerNotification>
                <id>beep</id>
                <notificationMethod>beep</notificationMethod>
            </EventTriggerNotification>             
    </EventTriggerNotificationList>

`

Cheers

dk307 commented 12 months ago

You must of compiled Debug version and copied it. Release version uses ILMerge to merge the dlls into exe.

BassTeQ commented 12 months ago

Ok thanks!

Also is the any documentation on how to configure an event to change some of camera properties?

dk307 commented 12 months ago

My apologies, I haven't looked at this for a while. So my recollection of it is vague.

Events should automatically create a device in the homeseer. But you have to configure the properties that need to be synced. Here is the example of syncing motiondetection settings.

image

BassTeQ commented 11 months ago

No worries!

My use case is I'd I'm trying to toggle on off the IR Light & Speaker Output, this works fine with curl, I use the payload below to achieve this, it's posted to http:///ISAPI/Event/triggers/regionEntrance-1/notifications There are multple elements as you can see, if any are ommited in the POST request then the are disabled. Do you think your plugin can support this?

XML for LED Light and Sound Enabled image

XML for LED Light enabled, sound Disabled image


My attempt to configure the LED behaviour image

image

Thanks

dk307 commented 11 months ago

I am afraid that plugin won't be handle to this case. I envisioned properties to be simple element in the xml. Here you are replacing a whole set of elements.

BassTeQ commented 11 months ago

No worries thanks anyway!