Closed christian-ek closed 6 years ago
According to the bluepy documentation the exception is thrown due to permission errors. Ensure you are sending the pincode as a string.
Directly after creating the element the pincode is shown as transmitted.
>>> fan = Calima("58:2B:DB:XX:XX:XX", "01234567")
[Calima] [W] 0x18 = 87d61200
Decode it as hex and verify it matches your pincode (without any prefixing zeroes). Remember endianness (the above should be decoded as 0012d687).
I'm getting exactly the same error if I try to use setBoostMode while using an incorrect pincode.
Cheers!
Hi again, True that this error was because of an faulty pin code!
Now I am getting the command through.
Although it does not start the boost instead the fan came to an halt.
Am I running the command correctly for starting boost mode 100% for 60s?
fan.setBoostMode(1, 100, 60)
The speed is not given in percentage but in RPM, 2500 being 100% and must be given in a multiple of 25.
Hope that gets it going!
Hello, I was hoping somebody had done this. Thank you for the work you've put in it!
I am trying to be able to start the boost through this but I am unsuccessful.
This is the error I am getting.