Is it possible to add device $NICKNAME$ to onUnbind virtualhere server event?

Hi.

I was trying to log the onUnbind event with the device $NICKNAME$ but it returns blank string.

On config.ini I used: onUnBind=/usr/local/etc/virtualhere/scripts/onUnbind.sh "$VENDOR_ID$" "$PRODUCT_ID$" "$CLIENT_ID$" "$CLIENT_IP$" "$PRODUCT_SERIAL$" "$PASSWORD$" "$DEVPATH$" "$NICKNAME$"

Am I doing something wrong?

Regards,

Carlos

#2

Yes the $NICKNAME$ variable is not there for that event

#3

Hi Michael. Thanks for your quick reply.

Is there a way to get that in other event that is triggered when User selects "Stop Using"?

If not is it possible for you to add the $NICKNAME$ variable to onUnBind?

Best regards,

Carlos

#4

I can add it to the server but it wont be for a week or two...

#5

Hi Michael.

We can wait a week :-)

Looking forward for hearing from you.

Regards,

Carlos

#6

What OS is your server running? i can send you a new beta build with this change for $NICKNAME$

#9

Great.

We will install it and give an feedback within a few days.

Regards,

Carlos

#10

Hi Michael.

Tested and working as requested.

Thanks for the quick implementation of the requested feature.

Regards,

Carlos

#11

Hi Michael

It is a bit unclear which arguments are available for which events.

The list specified here  does not seem to be up to date. I can not see the new NICKNAME variable on the onUnbind event.

I also dont get the PRODUCT_SERIAL which I am interested by

 

#12

I have updated this page now.

#13

Thanks!