pi3g e.K. heißt Sie Willkommen!

Wir sind als Raspberry Pi Foundation approved reseller, sowie einer von zwei deutschen Pi Zero Distributoren Ihr starker Partner rund um die Raspberry Pi Plattform.

Wir sind seit den Anfängen des beliebten Einplatinencomputers (2012) am Markt. Wir verfügen über umfangreiche Industriekontakte, Spezialwissen und viel Erfahrung mit der Raspberry Pi Plattform. Zuverlässigkeit, Ehrlichkeit und Kommunikation auf Augenhöhe sind für uns wichtig.

Bitte wählen Sie einen unserer drei Geschäftsbereiche (Eigene Produkte / Value Added Distribution / Maker & Biohacker Shop) um mehr über uns zu erfahren:

Eigene Produkte

pi3g entwickelt und stellt in Kooperation mit Partnern eigene Produkte her. Die Produkte sind entweder für den Raspberry Pi gedacht, oder basieren auf dem Raspberry Pi.

Hervorzuheben ist insbesondere LetsTrust, das erste TPM Modul für die Raspberry Pi Plattform.

Ein Produkt für den Consumerbereich hingegen ist unsere beliebte Anonymebox.

Value Added Distribution

Wir unterstützen Sie mit Rat und Tat bei großen und kleinen Mengen an Ware, Sonderbeschaffungen rund um den Raspberry Pi Bereich - fragen Sie uns für ein Angebot an, es lohnt sich!

Über das reine Produktsortiment aus beraten wir Sie gerne zu Einsatzmöglichkeiten der Raspberry Pi Computerplattform, um Ihre Computerinfrastruktur zu optimieren, Ihre Betriebskosten zu senken, und neues wirtschaftliches Potential zu erschließen.

Maker & Biohacker Online Shop

In unserem eigenen Onlineshop buyzero.de bieten wir Dir eine reiche Auswahl von Produkten rund um den Maker- und Biohacker Bereich.

Natürlich steht der Raspberry Pi auch hier im Mittelpunkt - wir bieten das komplette Sortiment und Zubehör der Raspberry Pi Foundation.

Viele Markenartikel von Pimoroni, Adafruit und anderen Herstellern runden das Sortiment ab. Schau doch einfach vorbei!

Booting Alpine Linux on the Raspberry Pi Compute Module

Von Maximilian Batz | 2019-07-07

In our project for a client we are using the Raspberry Pi Compute Module, along with a custom compute module carrier board (called the PCCB – Pi Control Carrier Board) which provides RS485, CAN, RS232, LAN, USB and a step-down for input voltages of 6 – 24 V. (If you are interested in customized hardware […]

Debugging File upload / multipart upload and other HTTP requests

Von Maximilian Batz | 2019-07-01

Sometimes you want to see the request as it is received by the server, without any handling / obscuring of the original request. For instance, to see whether different browsers handle file uploads differently. On the other hand, you do not want to write up your own mockup server, just to handle these requests, or […]

LetsTrust TPM SLB 9670VQ2.0 or SLB 9670XQ2.0?

Von Maximilian Batz | 2019-06-11

A customer approached us about the difference between SLB 9670VQ2.0 and SLB 9670XQ2.0. VQ has a standard temperature range of (-20 .. +85°C), and XQ is the enhanced temperature range version (-40 .. + 85°C). As the Raspberry Pi itself has a standard temperature range, we use the VQ version on the LetsTrust TPM.

Changing the mountpoint on auth_on_register webhook for VerneMQ

Von Maximilian Batz | 2019-06-09

It is possible to pass modifiers along with the “result”: “ok” return value of your webhook for VerneMQ. The official documentation of VerneMQ gives some examples for the syntax. changing the mountpoint It is also possible to change the mountpoint, however the client_id apparently has to be passed in as well! I have raised an […]

Maximimum length of credentials (username, password, clientid) in MQTT v3.1.1

Von Maximilian Batz | 2019-06-09

The CONNECT packet The MQTT CONNECT Control packet always contains a payload. It is the first packet, which the client must send to the server after the connection is established. It can only be sent once by the client, if a second CONNECT packet is sent, the server (broker) must process it as a protocol […]

Debugging VerneMQ connection / authentication problems for dual authentication with webhooks and vmq_diversity

Von Maximilian Batz | 2019-06-04

TL;DR https://github.com/vernemq/vernemq/blob/master/apps/vmq_diversity/src/vmq_diversity_plugin.erl includes a statement which will block authentication / authorization through any other channels if your Lua script returns “false”: will lead to: instead of trying other plugins, as you might have assumed! In order to avoid this problem, simply do not return anything from your Lua script, if you do not want to […]

MQTT Topic Tree Design best practices, tips & examples

Von Maximilian Batz | 2019-05-29

Generic MQTT Background With MQTT the sender and receiver are not aware of each other – the broker handles the messaging. This allows the messages to be separated in space, time, and intensity. The sender can send at the speed it wants, and the time it wants. The receiver can pick up the messages at […]

VerneMQ: econnrefused & Webhook example

Von Maximilian Batz | 2019-05-20

Webhooks activate webhooks like this in your vernemq.conf.local (.local when running on docker, so that settings at bottom of the file will persist): plugins.vmq_webhooks = on vmq_webhooks.js_auth_on_register.hook = auth_on_register vmq_webhooks.js_auth_on_register.endpoint = http://container_picockpit:1200/example/path Note that if your webhook is not accessible (econnrefused), the db based authentication will also fail … ! If you get errors like […]

envoy serving a static response

Von Maximilian Batz | 2019-05-20

Besides routing and redirecting you can serve static responses with Envoy. In this case I want to serve a forbidden response (403) route_config:   virtual_hosts:   – name: picockpit     domains: [„picockpit.local:443“, „picockpit.local“]     routes:       – match: { prefix: „/demo“ }         direct_response:           status: 403           body:             inline_string: „Forbidden.“        – match: {prefix: „/“}         route: {cluster: target_picockpit} It can also serve […]

Python Paho MQTT client self-signed certificates websockets, howto

Von Maximilian Batz | 2019-05-19

Using Paho in Python with websockets and self-signed certificates for a https:// websocket connection has a couple of pitfalls, so I’m addressing this with some sample code here: import ssl import time import paho.mqtt.client as mqtt class PCPMQTTClient:     def on_connect(self, client, userdata, flags, rc):         self.connection_status = rc         if rc == 0:             self.connected_flag = True             self.connection_error_flag […]