Yes, for instance, I used it to read data from Air Pressure sensor:
Haha that happened to me too at some point. Have you tried flipping one of the coils upside down? I recall that there was one direction which worked much better than the other…
For something more efficient, check this one out:
Hi Jinto, I can’t spot anything different — but perhaps it has to do with what the previous commands that app has sent to the bulb?
I’d try to retrace the entire “conversation” and see if that works. Anyway, seems like you are on the right track.
Seems to be hexadecimal encoded value, try:
const data = new Uint8Array([0x25, 0x9a, 0x42, 0xa9, 0xed, 0xaf, 0x15, 0x63, 0x9b, 0xaf, 0xc2, 0xe3, 0x93, 0x3d, 0xcd, 0xa8, 0xe7, 0x65, 0xbe, 0x1e]);characteristic.writeValue(data);
Thank you Rohit! The WebAR standard didn’t make it into Chrome, and it’s currently on the process of being replaced with an updated WebXR standard, which also includes AR. Once WebXR is stable and supported by Chrome and A-Frame, I will update the article and demo code to work with that.