profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/koenvervloesem/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Koen Vervloesem koenvervloesem Bits & komma's Belgium https://koen.vervloesem.eu Writing about Linux and open source, computer security, privacy, programming, artificial intelligence and Internet of Things for more than 20 years.

koenvervloesem/bazel-on-arm 47

Build the open source build tool Bazel for ARM on the Raspberry Pi

koenvervloesem/awesome-rhasspy 25

Carefully curated list of projects and resources for the voice assistant Rhasspy

koenvervloesem/hermes-audio-server 23

An open source implementation of the audio server part of the Hermes protocol

koenvervloesem/remarkable-calendar-creator 22

Create calendars to display on a reMarkable device as the suspend screen or to write notes on, including events from your own online iCal calendar

koenvervloesem/rasa-docker-arm 16

Rasa Docker image for ARMv7. Runs on a Raspberry Pi.

koenvervloesem/raspberry-pi-home-automation 15

Code examples, errata and additional tips and references to interesting projects for the book "Control Your Home with Raspberry Pi: Secure, Modular, Open-Source and Self-Sufficient"

koenvervloesem/ESPHome-Air-Quality-Monitor 12

ESPHome configuration for a DIY indoor air quality monitor for CO₂ concentration, PM2.5 and PM10 concentrations, and temperature, humidity and pressure

koenvervloesem/ruuvitag-demo 12

Demo of reading Bluetooth Low Energy sensor measurements of RuuviTag environmental sensors and feeding them to MQTT, a database and dashboards

koenvervloesem/snipskit 11

A Python library to help create apps for the voice assistant Snips

koenvervloesem/M5Stack-Air-Quality-ESPHome 10

ESPHome configuration for M5Stack's PM2.5 Air Quality Kit with the PMSA003 particulate matter sensor and the SHT20 temperature and humidity sensor

issue commentadafruit/Adafruit_nRF52_Bootloader

I/O errors when copying UF2 file to Adafruit Feather nRF52840 Sense with Adafruit nRF52 Bootloader 0.6.0

I've tried this with adafruit-circuitpython-feather_bluefruit_sense-nl-6.3.0.uf2. I've tried some other UF2 files too, but I'll see whether I can find some other ones to install.

koenvervloesem

comment created time in 2 days

issue closedhbldh/bleak

Is passive scanning implemented in the Linux backend?

  • bleak version: 0.12.1
  • Python version: 3.8.10
  • Operating System: Ubuntu 20.04.2 LTS
  • BlueZ version (bluetoothctl -v) in case of Linux: 5.53

Description

I wanted to do a passive scan with Bleak. Issue https://github.com/hbldh/bleak/issues/500 seemed to suggest that this is possible with the keyword argument scanning_mode='passive' to the BleakScanner constructor. So I added this argument while initializing the BleakScanner. However, Wireshark still shows me SCAN_REQ packets coming from my computer and SCAN_RSP packets as replies from my BLE devices, which suggests that Bleak is still doing an active scan.

What I Did

My Minimal Workable Example is:

import asyncio
from bleak import BleakScanner


async def run():
    devices = await BleakScanner(scanning_mode='passive').discover()
    for device in devices:
        print(device)


loop = asyncio.get_event_loop()
loop.run_until_complete(run())

closed time in 3 days

koenvervloesem

issue commenthbldh/bleak

Is passive scanning implemented in the Linux backend?

You're right, I don't see any way to choose passive scanning in the BlueZ D-Bus Adapter API description, so apparently this isn't possible (yet).

koenvervloesem

comment created time in 3 days

issue openedhbldh/bleak

Is passive scanning implemented in the Linux backend?

  • bleak version: 0.12.1
  • Python version: 3.8.10
  • Operating System: Ubuntu 20.04.2 LTS
  • BlueZ version (bluetoothctl -v) in case of Linux: 5.53

Description

I wanted to do a passive scan with Bleak. Issue https://github.com/hbldh/bleak/issues/500 seemed to suggest that this is possible with the keyword argument scanning_mode='passive' to the BleakScanner constructor. So I added this argument while initializing the BleakScanner. However, Wireshark still shows me SCAN_REQ packets coming from my computer and SCAN_RSP packets as replies from my BLE devices, which suggests that Bleak is still doing an active scan.

What I Did

My Minimal Workable Example is:

import asyncio
from bleak import BleakScanner


async def run():
    devices = await BleakScanner(scanning_mode='passive').discover()
    for device in devices:
        print(device)


loop = asyncio.get_event_loop()
loop.run_until_complete(run())

created time in 3 days

issue openedadafruit/Adafruit_nRF52_Bootloader

I/O errors when copying UF2 file to Adafruit Feather nRF52840 Sense with Adafruit nRF52 Bootloader 0.6.0

Set up

  • Adafruit Feather nRF52840 Sense with Adafruit nRF52 Bootloader 0.6.0
  • Host system: Ubuntu 20.04 LTS

Describe the bug

When I want to copy a UF2 file to the bootloader's mounted storage device, I get I/O errors and the file isn't copied.

To Reproduce

Steps to reproduce the behavior:

  1. Enter bootloader mode by pushing the RESET button
  2. Copy UF2 file for CircuitPython
  3. See error
  4. CircuitPython doesn't run on the device

I have also tried other UF2 files, other USB cables and other USB ports of the host system.

Dmesg output

[211537.170865] usb 1-1: new full-speed USB device number 86 using xhci_hcd
[211537.325252] usb 1-1: New USB device found, idVendor=239a, idProduct=0087, bcdDevice= 1.00
[211537.325258] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[211537.325261] usb 1-1: Product: Feather nRF52840 Sense
[211537.325264] usb 1-1: Manufacturer: Adafruit Industries
[211537.325267] usb 1-1: SerialNumber: 468AB2181E24A3D8
[211537.327747] cdc_acm 1-1:1.0: ttyACM0: USB ACM device
[211537.328502] usb-storage 1-1:1.2: USB Mass Storage device detected
[211537.328810] scsi host3: usb-storage 1-1:1.2
[211538.335828] scsi host3: scsi scan: INQUIRY result too short (5), using 36
[211538.335838] scsi 3:0:0:0: Direct-Access     Adafruit nRF UF2          1.0  PQ: 0 ANSI: 2
[211538.336392] sd 3:0:0:0: Attached scsi generic sg2 type 0
[211538.337297] sd 3:0:0:0: [sdc] 65801 512-byte logical blocks: (33.7 MB/32.1 MiB)
[211538.337646] sd 3:0:0:0: [sdc] Write Protect is off
[211538.337650] sd 3:0:0:0: [sdc] Mode Sense: 03 00 00 00
[211538.337946] sd 3:0:0:0: [sdc] No Caching mode page found
[211538.337953] sd 3:0:0:0: [sdc] Assuming drive cache: write through
[211538.364478]  sdc:
[211538.367333] sd 3:0:0:0: [sdc] Attached SCSI removable disk
[211582.512099] usb 1-1: USB disconnect, device number 86
[211582.534654] blk_update_request: I/O error, dev sdc, sector 517 op 0x1:(WRITE) flags 0x0 phys_seg 1 prio class 0
[211582.534660] Buffer I/O error on dev sdc, logical block 517, lost async page write
[211582.735578] FAT-fs (sdc): unable to read boot sector to mark fs as dirty

created time in 5 days

push eventkoenvervloesem/ESPHome-Heart-Rate-Display

Koen Vervloesem

commit sha ec10fc67003cb2094698ec8167b8e3b7543a275c

Move installation requirements to requirements.txt

view details

Koen Vervloesem

commit sha cb09ad088e8c3f7fb9cb61d40cf2a4e0673878b1

Update ESPHome to 1.20.0

view details

push time in 6 days

push eventkoenvervloesem/ESPHome-Air-Quality-Monitor

Koen Vervloesem

commit sha 08ce17f6094bc446d78d8cdfea7c7a7ea8192f23

Update ESPHome to 1.20.0

view details

push time in 6 days

push eventkoenvervloesem/M5Stack-Air-Quality-ESPHome

Koen Vervloesem

commit sha fa183f62590cb825c06d07462be6325b4fdbb02e

Update ESPHome to 1.20.0

view details

push time in 6 days

push eventkoenvervloesem/Getting-Started-with-ESPHome

Koen Vervloesem

commit sha 11b7f0112644d0b357b1d95ae22fe72b7b4c3de8

Update ESPHome to 1.20.0

view details

push time in 6 days

push eventkoenvervloesem/raspberry-pi-home-automation

Koen Vervloesem

commit sha 4a5338e6e44afee9ce849a8b2ba0ae053dc300e3

Errata: fix typo in Compute Module 3

view details

push time in 8 days

issue openedpositive-security/send-my

Can't scroll in DataFetcher window

The DataFetcher window doesn't allow me to scroll, so I'm not able to load more than the first 25 or so messages. Is this fixable?

created time in 12 days

issue commentesphome/feature-requests

ESPHome dashboard colors

Yes, there's already an issue https://github.com/esphome/issues/issues/1504 and feature request https://github.com/esphome/feature-requests/issues/890 for this.

In the mean time, maybe this is helpful: a commenter in the latter feature request suggests to use the browser extension Dark Reader because with a dark background the difference should be easier to see.

Depechie

comment created time in 13 days

pull request commentkoenvervloesem/bazel-on-arm

Add patch for bazel version 3.1.0

Well, a Rasa 2.x Docker container for the Pi is one of the many projects I have on my TODO list, but I just haven't found the time and motivation yet to start, as the beginning of the Rasa 1.x container was already quite an endeavour :-)

If you're already working on it, maybe I can help. Do you want to contribute to https://github.com/koenvervloesem/rasa-docker-arm? Or maybe drop me an email at koen@vervloesem.eu.

b-w-wilson

comment created time in 20 days

pull request commentkoenvervloesem/bazel-on-arm

Add patch for bazel version 3.1.0

Ok, that makes sense. Thanks for explaining, this will probably help others if someone needs to build even older versions for ARMv7.

b-w-wilson

comment created time in 20 days

issue closedkoenvervloesem/bazel-on-arm

Thanks for the repo

Thank You for repo . I spent a lot of time to build bazel for Raspberry Pi 4 unfortunatelly without success. Your code built bazel in first iteration. Good job.

Now it's time to learn how tu build python wheels for Raspberry pi 4 becouse becouse some packages I need probably doesn't exist.

Thanks again.

closed time in 21 days

PeterPirog

issue commentkoenvervloesem/bazel-on-arm

Thanks for the repo

Thanks for your nice words, this frustrating experience is exactly how I started this project :-)

PeterPirog

comment created time in 21 days

issue closedkoenvervloesem/bazel-on-arm

Thanks for the Repo

Many days trying to install bazel, and your repo did the work in few minutes!!! thanks.

closed time in 21 days

easydrinkhxc

issue commentkoenvervloesem/bazel-on-arm

Thanks for the Repo

Thanks for your nice words! :-)

easydrinkhxc

comment created time in 21 days

created tagkoenvervloesem/bazel-on-arm

tagv3.1.0

Build the open source build tool Bazel for ARM on the Raspberry Pi

created time in 21 days

release koenvervloesem/bazel-on-arm

v3.1.0

released time in 21 days

push eventkoenvervloesem/bazel-on-arm

Bruce Wilson

commit sha 9357ff24e118d6194ccd591569f6a90b97e85022

Add patch for bazel version 3.1.0

view details

Koen Vervloesem

commit sha ce9eb4266c123c1d6242572734b6165b59551634

Merge pull request #8 from b-w-wilson/v3.1.0 Add patch for bazel version 3.1.0

view details

push time in 21 days

PR merged koenvervloesem/bazel-on-arm

Add patch for bazel version 3.1.0

Added a patch file that sucessfully builds bazel 3.1.0 on a Raspberry Pi 4 running buster with openjdk 8. Needed this for building an older version of tensorflow (2.3.0) on arm.

+40 -0

1 comment

1 changed file

b-w-wilson

pr closed time in 21 days

pull request commentkoenvervloesem/bazel-on-arm

Add patch for bazel version 3.1.0

Thanks for contributing your patch!

I verified that this also works with OpenJDK 11.

Just out of curiosity: what's the patch to src/main/java/com/google/devtools/build/lib/syntax/BUILD for? I didn't need it to build the newer versions of Bazel.

b-w-wilson

comment created time in 21 days

issue commentkoenvervloesem/rasa-docker-arm

Test working for ver 1.10.26 and some newbie question on docker

Just for reference, this is the Docker Compose file I'm using to test the releases of my Docker images:

version: '3.7'
services:
  rasa:
    image: rasa:1.10.26
    expose:
      - 5005
    ports:
      - 5005:5005
    volumes:
      - ./app:/app
    command:
      - run
      - --cors
      - "*"
believeitcode

comment created time in a month

issue commentkoenvervloesem/rasa-docker-arm

Test working for ver 1.10.26 and some newbie question on docker

Hi,

  1. You should consult the Rasa documentation for that.
  2. I haven't found the time yet to build a Docker image for Rasa 2.x versions (see https://github.com/koenvervloesem/rasa-docker-arm/issues/2).
  3. Yes, I have been seeing this error for a couple of releases now, but it doesn't seem to impact functionality.
believeitcode

comment created time in a month

fork koenvervloesem/tts-prompts

Phonetically balanced text to speech sentences

fork in a month

created tagkoenvervloesem/rasa-docker-arm

tagv1.10.26

Rasa Docker image for ARMv7. Runs on a Raspberry Pi.

created time in a month

release koenvervloesem/rasa-docker-arm

v1.10.26

released time in a month

push eventkoenvervloesem/rasa-docker-arm

Koen Vervloesem

commit sha 53b1cb7f3c91acc9d70d747f0fb2c4f27e506a6e

Rasa 1.10.26 release

view details

push time in a month

issue commentkoenvervloesem/M5Stack-Air-Quality-ESPHome

m5stack_air_quality.yaml not giving expected result: display not working

Ah yes, I changed it in my other M5Stack project, but forgot it here. Thanks for pointing this out!

screenagerbe

comment created time in a month