antonvh / PUPRemote

GNU General Public License v3.0
2 stars 2 forks source link

PUPRemote

Use this library to communicate as a Powered UP (PUP) Device with LEGO smart hubs. It has a basic PUPDeviceEmulator and a higher-level PUPRemote library that acts more like RPC (Remote Procedure Calling).

Installation

ESP32

Pybricks

Compatibility with Pybricks

If you get checksum errors it could be due to a known issue with 32 byte packet size in Pybricks. Pass max_packet_size=16 when instantiating PUPRemoteHub and PUPRemoteSensor classes to work around this issue.

Contributing

Please fork and streamline the protocol. There are also some TODOs below you can help with. Please notify us of projects you made with this and share the code!

TODO