A bridge to enable Hack Clubbers to log time spent soldering with the PinecilV2 on Hackatime
[x] Make a Python module to connect to and gather data from the PinecilV2.
[WIP] Detect changes in motion and trigger relevant events
[ ] Create events and send heartbeat to Wakatime CLI
pip install asyncio
pip install bleak
from pinecil import Pinecil
Note: the module pinecil.py should be placed in the same folder as the file you are importing it into
There are 4 methods: scan(), select(),read_temperature(), read_motion()
These methods are asynchronous, so you will need to use the asyncio module to run these methods
from pinecil import Pinecil
import asyncio
myPinecil = Pinecil()
asyncio.run(myPinecil.scan())