USB HID 2 Channel Relay Needs Help

Aquí puedes preguntar o compartir tus dudas y conocimientos acerca del programa
Pabloko escribió:
11 Ago 2021 12:17
Try HID.SendFeatureReport instead HID.Write

apart from that look on wireshack for differences

regards
HI Pabloko we lost internet connection for a couple of day.. i can confirm that sendfeature is working now..
Thank you for your help.. i will now test in my bulb and make some automation in home..

anyway is there also a bluetoth command api available for ams?


Regards

Sendai
cool that you have it working, for what i see, your device is a bit different from the repository one, since that one accept the data with write but yours use feature interrupt, ive noticed on the last picture you sent...

bluetooth can be 2 types, bt2/serial/rfcomm wich allows you to use the serial plugin, or bluetooth LE, bluetooth 4/BLE... wich is the most common now. Theres currently no lua plugin for BLE that i know, but i may consider doing one... ble is a bit more complicated than usb hid but a very similar open protocol. It uses services and descriptors in similar manner than usb hid, but less raw.

You can take a look at how those protocols work on this article: https://urish.medium.com/reverse-engine ... 580fcb7546
Hi pabloko.. upon browsing on the internet and search bluetooth relay and i found it..
i think this is good also because only using mobile phone to control the light in a room using bluetoth relay module..
however good thing also to discover ways to make it work in AMS software..

Thanks