PiCockpit v2.0 released – amazing new features!

Yesterday, on the 6th of October 2020, we have released the new version of PiCockpit – which has many new, exciting features. And best of all: PiCockpit continues to be free of charge (as in free beer), for up to 5 Raspberry Pis! Get started for free today. What is picockpit.com? PiCockpit is an easy…

Weiterlesen

Entscheidung für Raspberry Pi als Embedded Development-Plattform

Als einer der approved Raspberry Pi Reseller, und einem offiziellen Reseller der Pi Zero Serie (wir waren übrigens der erste auf dem europäischen Festland) mit starken technischen Kompetenzen rund um die Raspberry Pi Plattform möchten wir Sie bei Ihrer Entscheidung für oder gegen die Plattform unterstützen, und einige immer wieder kehrende Fragen beantworten. Die Abbildung…

Weiterlesen

Vuetify :: Open detail row programmatically

For the upcoming PiCockpit v2.0 release, I am preparing a GPIO application. The GPIO entries are table rows – and to configure them, we want to be able to access the detail row by clicking on the configure button: clicking either the chevron or the configure button will lead to the detail row opening: Here…

Weiterlesen

enabling and disabling a systemd service in Python using DBus

The upcoming picockpit-client reacts to deletion events from the frontend by disabling it’s service (the application will stay installed, however). Similarly, when you decide to run picockpit-client connect again, the service will be re-enabled and started automatically for you. This is possible using the Python DBus interface. the DBus is a bus system for interacting…

Weiterlesen

Raspbian SSH Server fails after upgrade from Stretch to Buster (no SSH connection)

I used this excellent guide to update my Raspbian from Stretch to Buster: https://pimylifeup.com/upgrade-raspbian-stretch-to-raspbian-buster/ After rebooting my Pi, the SSH connection was gone. Logging into the Pi using the attached keyboard and monitor allowed me to debug the issue: service ssh status journalctl -u ssh -n 200 „Missing privilege separation directory /run/sshd“ This directory needs…

Weiterlesen

How to set unique object ids in embedded documents across a MongoDB collection

MongoDB’s updateMany can be used to update all documents which are matched. Problem If, however, you want to set unique new ObjectIDs in your update, you would find that MongoDB sets the same ObjectID for every entry: db.getCollection(‚mypis_collectedpis‘).updateMany({}, {$set:      {apps: {         „com.picockpit/core“: {             meta: {                 version: „2.0“,                 name: „PiCockpit Core“,                 image: „“,                 description: „PiCockpit.com…

Weiterlesen