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
.
Yes the $NICKNAME$ variable is not there for that event
Hi Michael. Thanks for your…
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
.
I can add it to the server but it wont be for a week or two...
Hi Michael.We can wait a…
Hi Michael.
We can wait a week :-)
Looking forward for hearing from you.
Regards,
Carlos
.
What OS is your server running? i can send you a new beta build with this change for $NICKNAME$
Hi.Its ubuntu server 22.04…
Hi.
Its ubuntu server 22.04.
Thanks.
Regards,
Carlos
.
Try this server https://www.virtualhere.com/sites/default/files/usbserver/test/vhusbdx86_64
This beta version of the server supports the
$NICKNAME$
variable in theonUnbind
eventGreat.We will install it and…
Great.
We will install it and give an feedback within a few days.
Regards,
Carlos
Hi Michael.Tested and…
Hi Michael.
Tested and working as requested.
Thanks for the quick implementation of the requested feature.
Regards,
Carlos
Hi MichaelIt is a bit…
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
.
I have updated this page now.
.
Thanks!