veezer

Eurobricks Vassals
  • Content Count

    21
  • Joined

  • Last visited

About veezer

Spam Prevention

  • What is favorite LEGO theme? (we need this info to prevent spam)
    Lego trains
  • Which LEGO set did you recently purchase or build?
    Lego 60198 Cargo train

Profile Information

  • Gender
    Male

Extra

  • Country
    USA

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. @Toastie thank you! That worked; was able to place an order for usd $21 with shipping from a storefront with good feedback in Europe. As far as I know the US does not charge duty on orders totaling $800 or less per day. Appreciate the tip, saved me over $30! Now I need to figure out how to get this in the Harry Potter train ;-)
  2. Hmm, the Bricklink inventory of hubs for these prices seem to have disappeared. I shouldn't have waited to pick one up; now I'll need to fork out $50 from lego.
  3. Coming in the next release is a web dashboard that will show the status of all the peripherals in your running BrickNil program. It's display only right now, but I hope to add control capability to this dashboard at some point too. Here's an example where the program is controlling my duplo train, with the motor ramping up at intervals, changing LED color, and displaying speed and wheel revolutions, as well as the reflectivity sensor reading.
  4. veezer

    Powered Up - A tear down...

    Ah I see. "User error", halt and catch fire :-)
  5. veezer

    Powered Up - A tear down...

    I don't use Windows, but the comments above make me wonder if there's some confusion about the Bluetooth standards involved. The pairing procedure to the OS only applies to Bluetooth Classic devices, which as far as I know, is not supported by the LPF2/PoweredUp hubs (or at least the Boost and train hubs). Instead, these hubs connect via BluetoothLE which does not involve an explicit and permanent pairing between the computer OS and the hub. Rather, the connection is handled when the app runs and looks for a BluetoothLE device advertising a specific service type; when the app then connects to this service, the app and hub are linked for the duration of that app session. If you're worried the hub is being "captured" by a rogue app that's running continuously, then shouldn't the LED on the hub be a solid white signaling an active link?
  6. veezer

    Powered Up - A tear down...

    @Toastie as far as I know, there is no other way to update the PoweredUp Hub (aka Hub No.4) besides the Lego train/batmobile app. Yes, the future is here and pretty soon we’ll need an app to flush the toilet Maybe one of these days someone can capture a network and BLE trace of what the app is doing during the update process... some of the Bluetooth protocol fw update is documented but you’d still need to know where to grab the image from and I assume there’s some checksum validation process
  7. Cool! Great to hear! Let me know if you spot any bugs or issues.
  8. Just wanted to note that v0.9 is out. It adds support for using the Wedo peripherals (motor, tilt sensor, motion sensor). Also working on a web dashboard for the library, which should come out once we hit 1.0. Only thing to note is that according to @Mr Hobbles the virtual port behavior has changed on the PoweredUp hub with the new firmware, so if you're controlling two motors ganged into one virtual port, it won't work yet. I'll add support for that at some point once the Boost hub gets a firmware update or I get my hands on another motor.
  9. veezer

    Powered Up - A tear down...

    I didn't even know the 0x60 command existed (it's not documented in the LEGO wireless protocol doc); I've been using the 0x51 command for all the motors like train and the boost internal and external motors (although I don't have access to the batmobile to check that) and it's been working fine all this time.
  10. I see now that the Lego US shop let's you order all of these standalone parts (except the train motor 88011 which does show up in a search but throws an error on the product page). $50 for the Pup hub and $14 for the train motor. Not bad. https://shop.lego.com/en-US/search?q=hub
  11. veezer

    LEGO Education SPIKE Prime

    This looks awesome! It's great they added a lot of ports to this hub
  12. Updated: Version 0.8.2 is now out, and adds support for external motors (which was the last outstanding peripheral from Pup/Boost). Absolute positioning and relative rotation are now supported.
  13. @Entalyan Great to hear it's working! Thanks for your feedback (and @David Lechner's help) to get the ble_id working on Win/Linux. Very interesting to see how you're using it; I can see that it would be pretty neat to have Lego hubs integrated as part of a larger automation system with other devices! Are you using some other software automation tool that's controlling and sending the MQTT messages, or is it your own code? Oh, and just noticed that you probably need to add a `await q.task_done()` after you do the q.get(). while True: item = await q.get() await q.task_done() This will probably be needed to have a clean exit if you implement a 'quit' command and you have a `await q.join()` statement to close out the queue processing.
  14. @Entalyan regarding 2), yes you're right, that line setting the log level is incorrect in the documentation. I've fixed the README to reflect the proper way, which you've already figured out. Sorry about that. Regarding 1), I think it is a Windows 10 issue. I don't have a windows box right now to debug this, so would you mind opening a bug report at https://github.com/virantha/bricknil/issues and pasting in everything that gets logged with logging.DEBUG setting? From the logs you have there, it does seem like we need to fix where the windows-specific code is pulling in the broadcast UUID.
  15. @David Lechner I've uploaded new pypi packages based on your changes (bricknil 0.8, bricknil-bleak 0.3.1). Let me know if you see any issues.