max_blogger

/Maximilian Batz

About Maximilian Batz

Keine
So far Maximilian Batz has created 72 blog entries.

Paho MQTT Client (Javascript), Envoy, VerneMQ: debugging disconnects

After deploying picockpit to my server, a bug was observed: the web frontend would disconnect in very regular intervals. This had not been present on the local development environment. Users of picockpit reported the same bug. I have debugged it today, and applied a hotfix. It turns out it was a timing issue. TL;DR how [...]

By | September 8th, 2019|MQTT, PiCockpit, VerneMQ|Kommentare deaktiviert für Paho MQTT Client (Javascript), Envoy, VerneMQ: debugging disconnects

PiCockpit v.0.11.0 & picockpit-client v0.15.6 released–live pi monitoring!

Freshly released for you – now picockpit.com offers you a possibility to monitor up to 5 Pis from everywhere on this planet (with an Internet connection) for free!This is how it looks like:The data (under the heartbeat button) is updated live, currently every second. How do I start monitoring my Pis for free?Step 1: Sign [...]

By | August 23rd, 2019|PiCockpit, Tips & tricks|Kommentare deaktiviert für PiCockpit v.0.11.0 & picockpit-client v0.15.6 released–live pi monitoring!

Specifying Debian dependency between two versions & apt-get installing .deb files

These informations are probably of most interest to package maintainers:Dependency on specific package versionsHere is how to specify a python3 dependency between version 3.5 (equals to or later), and 3.6 (must be earlier) in debian/control:Depends: python3 (>= 3.5), python3 (<< 3.6)So you basically specify two dependencies.Note, this will not work for Debian Buster (Raspbian buster [...]

By | August 21st, 2019|Development, Tips & tricks|Kommentare deaktiviert für Specifying Debian dependency between two versions & apt-get installing .deb files

picockpit.com new version v.0.11.0 is live!

This new version of picockpit.com supports live streaming of MQTT measurement data from your Pi to your webinterface (desktop or mobile). By clicking on the info icon, you can see the public and private IPs, the serial number and the Pi model:The online state of the Pi is displayed with the online badge.Currently there seems [...]

By | August 17th, 2019|PiCockpit|Kommentare deaktiviert für picockpit.com new version v.0.11.0 is live!

PiCockpit preview: Sensors

PreviewThis is in the upcoming version of PiCockpit:All these values are updated live (currently each second) using MQTT messages to PiCockpit. The value for Root partition total available is static, as it is the total size of the root partition.Some values are rendered in a prettier (but less precise) view in the overview:To access this [...]

By | August 14th, 2019|PiCockpit|Kommentare deaktiviert für PiCockpit preview: Sensors

PiCockpit showing CPU usage & temperature

The CPU information is updated live in your webinterface. No matter where your Pi will be in the world, if it has an Internet connection and can talk to the PiCockpit MQTT Broker, you will be able to monitor it.CPU Loaded with two hogs:The 51 % refers to overall system load – that is, if [...]

By | August 12th, 2019|PiCockpit|Kommentare deaktiviert für PiCockpit showing CPU usage & temperature

PiCockpit: online / offline states, and MQTT

In the upcoming PiCockpit release, we will have an online status tracking for Pi’s connected via picockpit-client. The online function is realized by MQTT’s Last Will & Testament feature. You can test it by unplugging your Pi from the network. I unplugged the Pi at: 17:59:10At about 18:00:05 it was shown as offline:Why is that? [...]

By | August 8th, 2019|PiCockpit|Kommentare deaktiviert für PiCockpit: online / offline states, and MQTT

VerneMQ how to disconnect clients forceably per command line

There is a commandvmq-admin session showwhich will show you the currently connected clients:Unfortunately, this output is truncated for a total width of 80 characters (no matter how many would fit) and there is currently no indication that it is.See this VerneMQ Github issue: https://github.com/vernemq/vernemq/issues/1200To disconnect clients you need the client_id and the mountpoint. Therefore, you [...]

By | August 8th, 2019|VerneMQ|Kommentare deaktiviert für VerneMQ how to disconnect clients forceably per command line

Paho failure to subscribe

ProblemAMQJS0005E Internal error. Error Message: Cannot read property 'show' of undefinedThis error is shown sporadically, especially when you Shift-Reload the whole page. SolutionI have a Vue.js Plugin to show “toast” messages (Vue.toasted). I currently use it for debugging purposes. Everything worked fine initially, as my code was executed after Vue was initialized and the whole [...]

By | August 8th, 2019|Development, Vue.js|Kommentare deaktiviert für Paho failure to subscribe

First message from picockpit client rendered!

Today, 7.8.2019, at around 18:16 the code is in place for the first message to have been rendered: Thus the Pi “Alexander” is shown as online. Thanks to the magic of vue.js, MQTT, VerneMQ, AdminLTE, Crystal Lang, Python, Paho, AXIOS and much much more!This is the effort of around 320 hours of work (total time invested [...]

By | August 7th, 2019|PiCockpit|Kommentare deaktiviert für First message from picockpit client rendered!