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…

Weiterlesen

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:10 At about 18:00:05 it was shown as offline: Why…

Weiterlesen

VerneMQ how to disconnect clients forceably per command line

There is a command vmq-admin session show which 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/1200 To disconnect clients you need the client_id…

Weiterlesen

Paho failure to subscribe

Problem AMQJS0005E Internal error. Error Message: Cannot read property ‘show’ of undefined This error is shown sporadically, especially when you Shift-Reload the whole page. Solution I 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…

Weiterlesen

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…

Weiterlesen

Shopify & Langify modify checkout link

Shopify checkout is multilingual The shopify checkout is multilingual: The trick is to have a &locale=en or &locale=en at the end of the link: You can therefore create buttons, etc. which take your user to the checkout, under the links of https://buyzero.de/checkout?locale=de https://buyzero.de/checkout?locale=en which will set the locale to the appropriate language. (replace buyzero.de by…

Weiterlesen

Booting Alpine Linux on the Raspberry Pi Compute Module

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…

Weiterlesen