With Azure IoT Edge you can deploy modules (also known as Docker Containers) to a server. I’ve created a sample solution on GitHub that deploys a module which monitors the temperature of the harddisk that the server is running on.
https://github.com/ReneHezser/IoT-Edge-HddMonitoring
The repository can be a starting point for further customization.
Today my VisionAI DevKit was not deploying a module. In the logs (sudo journalctl -u iotedge -f) I could see the deployment was received:
Successfully pulled image machinelearndfd8df7d.azurecr.io/mobilenetimagenet:3<br>Creating module VisionSampleImagenet…<br>Could not create module VisionSampleImagenet<br>caused by: No such image: machinelearndfd8df7d.azurecr.io/mobilenetimagenet:3
Strange. During troubleshooting I started docker images and saw a lot of older images and versions. After deleting a log of them with docker image rm xyz the deployment succeeded and the module started.
A lot of documentation and posts are available to setup an Azure IoT Edge to act as an IoT Hub for downstream devices. In order to get it up and running in a dev environment, I had to do some more research.
My setup is a RaspberryPi 3 with Raspbian stretch and an Azure IoT DevKit which looks like this. And please remember the setup I used is for development only.
I though this had to be an easy task. Well, actually it is. If you find the right documentation and read it in the correct order 🙂
Basically I wanted to be able to login with my AAD (Azure Active Directory) user.
In the first step, the database needs to be configured for Azure Active Directory in order to add users in the second step.
Configure an Administrator In the Azure portal go the the SQL server and search for “active directory” to add an Active Directory admin.
What a week. Two hackathons (‘hack’+marathon) in a row. That was exhausting.
A three day hackathon with my colleges from Arvato Systems and a customer. We’ve used Cognitive services with 8 different programming languages and created great PoCs. The second hackathon was about Azure Stack with Microsoft. Thanks to all participants, the organisation. It has been fun and a great experience. Now I am looking forward on how the results will influence decisions for follow-up projects.
Es ist wieder soweit. Am 18.7. um 18h treffen wir uns wieder.
Die Themen:
Azure Stack – René Hézser Terraform – Tyler Ayers Auch dieses Mal sind wir wieder zu Gast bei Arvato Systems. D.h. dass ich eine namentliche Anmeldung benötige.
Deshalb meldet euch bitte über unser Meetup ( https://www.meetup.com/Azure-Meetup-OWL/events/251641785/) oder per E-Mail an.
Vielen Unternehmen ist der Start in die Cloud bereits geglückt – oder es wird intensiv daran gearbeitet.
Spätestens jetzt wird klar: Die Cloud ändert so einiges. Ein guter Zeitpunkt also, um darüber nachzudenken, wie wir mit Cloud-Technologien eigentlich umgehen wollen.
Den Artikel habe ich auf dem Arvato Systems Cloud-Blog veröffentlicht.
Mit dem Thema “IoT – Raus aus der Update-Hölle” bin ich als Sprecher auf der https://www.iot-konferenz.de im Oktober in München unterwegs.
Ich freu mich drauf 🙂
Im Zeitalter der Digitalen Transformation umschwirren uns unzählige neue Buzzwords. Bei „Cloud-Native“ sprechen wir dabei keineswegs von einer weiteren Etage auf dem Turm zu Babel, sondern vielmehr von einem essentiellen Bestandteil der Digitalisierung, nämlich der Muttersprache der Cloud.
Ich habe wieder einen Beitrag auf dem Arvato Cloud Blog geschrieben:
https://it.arvato.com/cloud-blog/de/2018/04/was-ist-cloud-native—die-muttersprache-der-cloud.html
Today I wanted to query entities of an Azure Table via REST Api and did not get any results.
Looking over the query over and over again did not solve the problem. Sometimes I did not get any items back.
The “sometimes” depended on the query. I checked each part. Partition Key, string and date columns. Everything looked all right. And then it hit me.
I did not get a result, if there was too much data.
Am Donnerstag (22.3.) treffen wir uns wieder: Use-Cases für Stream Analytics und Azure Databricks.
Bitte meldet euch über Meetup oder direkt bei mir an, damit wir besser planen können und ihr aufs Gelände kommt 😉
Am 24. Januar ist es wieder soweit.
https://www.meetup.com/Azure-Meetup-OWL/events/244924594/
Themen:
René Hézser – Arvato Systems
Vorstellung Azure IoT Hub, Anbindung eines ESP8266 mit LED und Sensor an den IoT Hub
Dennis Hering – Microsoft Deutschland GmbH
Grundlagen / Funktionsweisen von MQTT,
“Last Will and Testament (LWT)” – Best Practices und Code Patterns
Bitte denkt an die Anmeldung über die Webseite, damit wir euch beim Pförtner anmelden können.
I bought a DIY blinking Christimas Tree. Unfortunately it did not contain any assembly instructions 🙁
So I looked for the part number CTR-30B, which is printed on both parts of the tree. I found a couple of instructions. After I soldered the tree, I saw that the colors were not evenly bright. I adjusted the values of the resitors and want to share the values.
R2: 330
R4: 560
Uploading files to a NodeMCU ESP8266 can be done with the Java tool ESPlorer. If you want to automate this process, you’ll want to use something else.
A quick research brought up NodeMCU-Uploader, which is a python script. On my Windows machine, I’ve got the bash installed. Naturally I want to use it 🙂
Fortunately the bash allows access to the COM ports. You have to modify the permissions for the device though.