Giter Club home page Giter Club logo

igrill's People

Contributors

kvantetore avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

igrill's Issues

iGrill mini "Invalid device challenge"

Hi !
I've got an iGrill Mini and I have tried with all keys found in the latest apk but I always end up with "Invalid device challenge" (I've set correct MAC address too of course) :

Authenticating...
encrypted device challenge: 954410c3d04a945fb4e986b4e18bb7cb
decrypted device challenge: 1a8659a80d5d5a89ca3fc549efad0544
Invalid device challenge
Traceback (most recent call last):
File "monitor_igrill_v2.py", line 18, in
periph = IGrillV2Peripheral(ADDRESS)
File "/home/pi/igrill-master/igrill.py", line 130, in init
IDevicePeripheral.init(self, address)
File "/home/pi/igrill-master/igrill.py", line 46, in init
raise RuntimeError("Unable to authenticate with device")
RuntimeError: Unable to authenticate with device

Is there sopmething obvious that I am unable to see missing here for me to be able to connect ?

Cheers & TIA !
/Mathias

No matching distribution found for bluepy==0.9.11 (from -r requirements.txt (line 1))

$ pip install -r requirements.txt
Collecting bluepy==0.9.11 (from -r requirements.txt (line 1))
  Could not find a version that satisfies the requirement bluepy==0.9.11 (from -r requirements.txt (line 1)) (from versions: 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.1.0, 1.1.1, 1.1.4)
No matching distribution found for bluepy==0.9.11 (from -r requirements.txt (line 1))

Has any of the newer releases been tested?

Igrill2 with Raspberry Pi

Maybe someone can give me a hand here. I've got an igrill2 I'm trying to use with this library using an raspberry pi. Following the instructions above, I did decompile the idevices's app apk file I found in the web and did find the .plist files under the assets/device/igrill_bundle directory. Although I can sorta follow along were you found the UUID's for firmware, etc. I still can't figure out how you determined the encryption key. Please point me in the right direction.

Note: using the Pi, I am able to see the igrill to and obtain its MAC address. I did plug that into the library.

Question

Hey nice work. Not too familiar with Python, what protocols are you using to talk to the Igrill? I'd like to re implement some of your work in my lanauge of choice.

Question on igrill encryption keys

Where did you get the encryption key here:

encryption_key = [-19, 94, 48, -114, -117, -52, -111, 19, 48, 108, -44, 104, 84, 21, 62, -35]

Is that something that comes out of bonding with bluetoothctl or something you managed to find elsewhere? I've got an iGrill2 I'm trying to toy around with but reading your code the step of finding that key is non-obvious.

Cannot connect to iGrill Mini w/ FW: 1.18

Followed instructions and all I get is
Authenticating...
encrypted device challenge: 8c2fc96624607xxxx8ce006a7c8c63c5
decrypted device challenge: 39865666d259xxxx1ff7c0273c7ea68e
Invalid device challenge

Error from Bluetooth stack

Hi

I'm attempting to get igrill setup to monitor my iGrill Mini.
I've setup a virtualenv with all the required libraries, I've also edited main.py with my device's address, but I get this error when running:

# python main.py 
Creating Scanner
Connecting to InfluxDB server
Scanning...
Authenticating...
Traceback (most recent call last):
  File "main.py", line 36, in <module>
    scanner.scan(30)
  File "/home/pi/igrill/virtualenv/src/bluepy/bluepy/btle.py", line 632, in scan
    self.process(timeout)
  File "/home/pi/igrill/virtualenv/src/bluepy/bluepy/btle.py", line 621, in process
    self.delegate.handleDiscovery(dev, (dev.updateCount <= 1), isNewData)
  File "/home/pi/igrill/scan.py", line 10, in handleDiscovery
    handler.handleDiscovery(scanEntry, isNewDev, isNewData)
  File "/home/pi/igrill/igrill.py", line 43, in handleDiscovery
    dev = IGrillMiniPeripheral(scanEntry.addr)
  File "/home/pi/igrill/igrill.py", line 147, in __init__
    IDevicePeripheral.__init__(self, address)
  File "/home/pi/igrill/igrill.py", line 92, in __init__
    if not self.authenticate():
  File "/home/pi/igrill/igrill.py", line 114, in authenticate
    self.characteristic(UUIDS.APP_CHALLENGE).write(challenge, True)
  File "/home/pi/igrill/virtualenv/src/bluepy/bluepy/btle.py", line 148, in write
    self.peripheral.writeCharacteristic(self.valHandle, val, withResponse)
  File "/home/pi/igrill/virtualenv/src/bluepy/bluepy/btle.py", line 459, in writeCharacteristic
    return self._getResp('wr')
  File "/home/pi/igrill/virtualenv/src/bluepy/bluepy/btle.py", line 334, in _getResp
    resp = self._waitResp(wantType + ['ntfy', 'ind'], timeout)
  File "/home/pi/igrill/virtualenv/src/bluepy/bluepy/btle.py", line 296, in _waitResp
    raise BTLEException(BTLEException.COMM_ERROR, "Error from Bluetooth stack (%s)" % errcode)
bluepy.btle.BTLEException: Error from Bluetooth stack (comerr)

Any idea what I'm doing wrong?
Thanks

iGrill V2 - Measurements

Hi,

I've been very noisy on this project-issue page in the last few hours...

So far I'm now able to connect my Raspberry Pi to my iGrill V2 (with some startup-problems).

My last problem is now that it seems, that the values are read wrong (I'm always getting a temperature of 202 or 190 something) - which is even in imperal-system crap... ;-)

Can you provide me some hints, how you identified the data-fields for your iGrill mini?

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.