Activer & Désactiver sa camera PoE via son routeur Cisco

Dans ce post, nous allons rapidement voir comment activer ou désactiver une caméra via un routeur Cisco. Chez moi, j’ai mis en place une installation permettant la télésurveillance en mode DIY. J’utilise une caméra en mode PoE avec un routeur Small Business de la marque Cisco. Plus précisément, il s’agit du Cisco Commutateur Intelligent SG250-10P, qui offre la fonctionnalité PoE. Activer/Désactiver sa camera PoE depuis son routeur Cisco Pré-requis Avant de commencer il faut pouvoir se connecter en SSH sur le routeur....

January 28, 2024

AWS SSM, Ansible et Raspberry Pi via SSH

Dans ce nouveau et premier post de 2024, découvrez comment AWS Systems Manager (SSM) s’intègre de manière utile avec le Raspberry Pi (testé avec 3, zero et 5). Explorez les possibilités de cette combinaison, idéale pour les projets d’informatique personnelle décentralisée. Que vous soyez un passionné du Cloud, un amateur d’IoT ou simplement curieux, cet article vous réserve des surprises ! Ce post sera particulièrement utile pour ceux qui cherchent à accéder facilement à leur Raspberry Pi sans avoir à configurer le port forwarding sur leur box Internet, et ce, pour un coût minime [^pricing]....

January 15, 2024

Quarkus & Java 11-17 et GitHub Action feat. Matrix

La construction des applications modernes et dites cloud natives passent obligatoirement par la case CI/CD. Les pipelines de type GitHub Action d’applications permettent de standardiser les processus de constructions, de tests, de versionning ainsi que de déploiement des applications. L’avantage des pipelines de constructions est le rapide feedback aux développeurs des erreurs dans la chaîne de traitement. Ainsi, il est facile de modifier un élément de configuration pour voir le résultat....

June 8, 2022

Pattern Découpler la Réception et Utilisation des Signaux avec jBPM & Drools

Pour mon activité professionnelle, je me déplace1 chez les clients afin d’expertiser les solutions qu’ils mettent en place dans leur système d’information et notamment le produit RHPAM2. Pour le compte d’un client donc, j’ai travaillé sur les processus metiers qu’il a mis en place chez lui. Ces processus de type BPMN permettent de gérer des processus de gestion sur lequels nous n’allons pas nous étendre ici. Nous allons juste extraire un patron de conception que j’ai bien aimé de par sa fonctionnalité ainsi que par son interessante implémentation ....

September 26, 2021

How to manage Exception inside a jBPM WorkItemHandler custom component

When we develop a BPMN process we have to handle correctly Error. An Error can be raised by any component during the processus instance and specially into a Work Item Handler node. This kind of node in jBPM is a Java component implementing the WorkItemHandler interface. Usually in Java program we manage error via Exception mechanism. How to manage Exception inside jBPM WorkItemHandler custom component. To illustrate how to use Exception/Error I propose to create a sample error process....

October 28, 2020

Keycloak, les clefs Yubico et le standard Webauthn

Depuis quelque temps j’interviens chez mes clients afin de mener des études d’architecture autour de Keycloak/RHSSO. Comme son nom l’indique, il s’agit d’une solution de SSO c’est à dire d’un système unique d’authentification et d’authorisation. Le projet Keycloak a debuté en 2014 et est donc relativement mature, la communauté autour de ce projet est très importante. Il y a quelques temps déjà, j’ai acheté et configuré des clefs Yubico afin de faire du 2FA avec mes principaux comptes en ligne....

October 26, 2020

Éxecution d'un moteur de KYC en DMN avec Kogito

Dans le précedent post sur ce blog nous avons vu rapidement comment créer sa définition et modelisation des règle d’un KYC basé sur le standard DMN. Nous allons voir comment faire tourner cet exemple et éxecuter sur un moteur implémentant le standard DMN. Éxecution d’un moteur KYC en DMN avec Kogito Introdution Kogito Faisons un focus rapide sur Kogito. Kogito est un moteur de règle orienté cloud. Ce moteur de règle reprend en grande partie tout le coeur et le developpement de Drools et jBPM mais propose des fonctionnalités purement Cloud notamment le fait qu’il est prévu d’être éxecuter dans un container de type OCI / Docker et deployé sur un cluster Cloud K8S / Openshift par exemple....

June 6, 2020

Le standard DMN, un KYC en exemple

Pendant un certain temps les moteurs de règles étaient fortement dépendant des fournisseurs de solution. Mais depuis que le standard DMN pour Decision Model and Notation est maintenant disponible l’ensemble des éditeurs Opensource ou Closesource fournisse une implémentation de ce standard. Nous allons voir avec un exemple rapide comment utiliser DMN. Le standard DMN, un KYC en exemple Introdution DMN est une norme de l’OMG. Cette norme a pour objectif de standardiser la modélisation et le référentiel des règles de décision dans les applications ayant des besoins de scoring, d’évaluation et/ou d’aide à la décision....

June 4, 2020

MQTTiser l'API Autolib avec Node-Red

Après un petit temps de silence, pour des raisons personnelles et notamment l’arrivé d’un petit Thomas, voici un nouveau post. Étant un utlisateur occassionnel d’Autolib j’ai besoin d’avoir en flux continu l’état des stations à coté de chez moi (nb de voiture, nb de place). Autour de chez moi, j’ai plusieurs stations Autolib et je dois consulter régulierement l’application iPhone en fonction de mes besoins. Afin de me simplifier la vie j’ai installé et configuré chez moi la solution HomeAssistant, j’utilisais pour cela l’API de Paris en mode REST/HTTP....

April 21, 2018

Camel XML XPath XSLT Aggregator

This month I went to Greece for a customer of mine. I worked at Athens on Camel integration with Mainframe legacy stuff. Customer would like to use XML message format during the full Camel route process. His wish was to reuse some Camel routes as new service components. Fortunately, Camel framework meets all of this requirements out of the box. We will this in this simple sample how to do it....

December 3, 2016

Setup a Hotspot Wifi with Ansible into a RaspberryPi 3

This September, RaspberryPi foundation has sold ten (10) Millions of unit. This small computer is amazing, you can setup very quickly several cool IoT projects. Since 2012, I bought all versions (B 256Mo, B 512Mo, B+, 2B, 3B) of RaspberryPi. I am a big fan of this product and you can find into this blog some projects I’ve made on top of this little computer. RaspberryPi version 3 comes with a wifi builtin interface, and this wifi interface can be configured as a Wifi Hotspot....

September 27, 2016

JBoss EAP 7 connected to WebsphereMQ running on Docker

Last year for a previous customer I wrote an article/post about WebsphereMQ Best Practice with JBoss EAP 6. Today we will make almost the same stuff but with JBoss EAP 7, WebsphereMQ Sample IVT application and running on Docker. I assume you know basic command about Docker. Howto run JBoss EAP 7 connected to WebsphereMQ both running on Docker Prerequisites For this lab, you need the following software : package of JBoss EAP 7 http://www....

August 3, 2016

JConsole & Java Mission Control with JBoss EAP 7

During Red Hat summit, Red Hat releases the new version of its JBoss Application Server. JBoss App Server provides a new JMX Remote Management protocol to connect with. A common JMX tool is JConsole and we will see how to use it with remote mode. We also configure an other tool called Java Mission Control for a cooler JMX monitoring stuff. Sorry my platform is a MacOS X, but I am sure your skill is enough to adapt into your environment....

July 19, 2016

Lancement de JBoss EAP 7

Cela fait exactement 5 ans que je travaille pour Red Hat et pour mon cadeau d’anniversaire Red Hat vient de sortir sa nouvelle version de son serveur d’application phare à savoir JBoss EAP 7. Cette nouvelle version de JBoss EAP 7 presente certaine evolutions interessantes par rapport à la version 6, tout en gradant la philosophie et l’architecture générale du serveur d’application. Nous allons voir dans ce post les principaux elements qui me semblent le plus interessant à retenir de cette nouvelle version....

June 27, 2016

UNESCO Challenge, point UNESCO, Malte - Malta

Récemment, je suis parti à Malte avec Madame, ce petit pays en taille possède un riche patrimoine culturel. Celui-ci démarre du Néolithique (-5000 -4000 avant JC) pour aller jusqu’à nos jours. Cela m’a beaucoup impressionné car étonnement il y a beaucoup de sites Néolithique relativement bien conservés et surtout bien valorisés. L’un des étendu sur Malte est le site “Temples mégalithiques de Malte” qui est reparti sur les deux grandes îles de Malte (Malte et Gozo)....

June 14, 2016

Camel is going into Eclipse Kura

Today, I am going to talk about a good news, it is a technical post but without any code/material or stuff like that (thx God). The Eclipse Kura Project has accepted GitHub Pull Request and now includes a new cool component to develop branch. This new component is Camel Framework from Apache Foundation. Henryk Konsek a colleague of mine is the principal guy behind this new. The Camel and Kura integration starts from the first Camel Kura component available since Camel version 2....

March 18, 2016

Device IO and i2cdetect implementation

Today, we gonna implement a quick tool available into RaspberryPi with Java Device IO API. i2cdetect is a simple i2c device scanner for your RaspberryPi, it browse all i2c address to find which i2c device is connected. This tutorial show how to recompile DeviceIO API and program too. i2cdetect with the Java Device I/O API implementation . Requisites One RaspberryPi tested w/ RPi B+ should works with all version an I2C Device Sense Hat for example Compile Device IO Download Device IO API and compile it....

March 9, 2016

Rhiot Kura Device IO GPIO and I2C

Recently, a colleague of mine calls me to implements a small demo. I decide to develop a new component for Rhiot project. This component is the DeviceIO I2C Camel, I reuse a previous work from Camel-pi4j I’ve already develop for Rhiot project too. We gonna see how to use this component into Kura Platform via Camel Framework. For this demo we need some hardware devices, a RaspberryPi and a ActiveMQ broker too....

February 29, 2016

UNESCO Challenge, point UNESCO, Maritime Greenwich, Prime Meridian

En ce debut d’année 2016, je me suis rendu à Londres afin d’aller visiter des amis Londoniens. Nous avons pris le temps d’aller voir le Meridien de Greenwich qui est le meridien 0°. Ce Meridien est devenu très important depuis qu’il est devenu la référence mondiale topographique à la Conférence internationale de Washington de 1884. Il est utilisé avec l’aide d’une horloge correctement synchronisée par les navigateurs du monde entier afin de connaitre leur longitude extacte sur le globe terrestre....

January 29, 2016

Rhiot over Kura over Docker over RaspberryPi ;-)

During this cool Christmas day, Santa Claus brings us lot of presents (I hope for you), I received 2 RaspberryPi Zero, Thx you brother ;-). I will show you a cool stuff after this special day. We gonna test how to use Rhiot project into Kura Eclipse Platform running inside Docker container deployed into a real RaspberryPi Zero device (in this order). If you don’t have yet a RaspberryPi (B+, 2 or zero) device you can use my previous post....

December 28, 2015

Kura over Docker

Rhiot project decides recently to support mainly Kura Eclipse Platform. Our project will provides some code and extension for Kura like Camel integration and lots of other stuff. We have some new Camel component dedicated for Kura Platform (gpio, cloud, wifi). We want use this platform because it is OSGi compliant sotfware, focused to IoT universe, supported by Eclipse Foundation and Eurotech. Kura runs on RaspberryPi, but if you don’t have yet a RaspberryPi device we will show how to run Kura into Docker....

December 23, 2015

Rhiot Kura Gateway Sample (Emulator & RaspberryPi)

For a while, I develop during my free time for Rhiot project with my Red Hat colleague Henryk. We started to develop several Camel components like (kura, pi4j, bluetooth) with others volunteers. Now we focus to develop and integrate those components for Kura Platform. Kura is an OSGi Platform designed for IoT, it can run on RaspberryPi, BeagleBone or Intel Edison device. Kura Platform has got lot of embedded services for IoT context (GPIO, USB, I2C, Cloud Service, etc…) In this post we will see :...

December 3, 2015

RHIoT RaspberryPi Sense-Hat display

Recently, I bought the new an official Sense-HAT from RaspberryPi foundation. This HAT add-on for the RaspberryPi device includes lots of cool thing. Sense-HAT comes with an 8x8 RGB565 pixel display, a Joystick, a Gyroscope, Accelerometer, Magnetometer, Temperature, Barometric pressure and Humidity sensors. All sensors are i2c compliant, with the rhiot camel-pi4j component it is very easy to retrieve all data from sensors and push them outside. Rhiot team had also developed the first implementation of rhiot camel-framebuffer component, now it is possible to push image directly to 8x8 pixel screen : NB the matrix is 8x8 RGB565 LED (2 bytes per pixels)....

November 24, 2015

RHIoT Webcam and websocket components on MacbookPro in Groovy

Yesterday, we’ve played with our MacBook Pro’s webcam. Today, we gonna see how to send images through a websocket directly in this page !!! or via a JavaFx program. We gonna re-use the previous post and integrate camel Websocket component. Let’s play with Groovy language … Webcam image to Websocket w/ Rhiot & Camel projects on MacbookPro Let’s start to broadcast yourself. Requisites Have a mac tested MacBook Pro Retina, 13-inch, Mid 2014 Groovy Mac port installed Groovy Version: 2....

October 23, 2015

RHIoT 0.1.2 Webcam component on MacOS X in Groovy

My tech leader on RHIoT project (ex-camellabs) Henryk had just release the last version of RHIoT project : 0.1.2. Lot of new stuffs are included in this new release, more details available here. I found in list a cool stuff to test. We gonna check if our new commiter @levackt from ZA worked well ;-) Webcam camel component on Mac OSX with Groovy language Let’s start to broadcast yourself. Requisites Have a mac tested MacBook Pro Retina, 13-inch, Mid 2014 Groovy Mac port installed Groovy Version: 2....

October 22, 2015

SSH to MacOS X (El Capitan) through iCloud tunnel

After my wedding and a honey moon in Sicilia, I am back home to blog about some cool tech stuff. Yesterday, I update my favorite laptop it’s a MacbookPro [ja keyboard] (Retina, 13-inch, Mid 2014) with the new MacOS X 10.11 El Capitan version. I also like MacOS software because it includes bash, ssh and lot of cool Linux/Unix commands. I have got also an MacMini at home behind my Internet box....

October 3, 2015

UNESCO Challenge, 国際連合教育科学文化機関の認定地, Iwami Ginzan Silver Mine, 石見銀山

数年前、私は友人と あるゲームを 始めました。それは、ユネスコチャレンジというゲームです。このゲームは、各々の人生において、いくつの世界遺産を回れるかというものです。 ゲームのルールは、建物、島、町、山、文化において、ユネスコが認定しているということです。そして訪問の証拠として、その地のユネスコ認定の看板を写真に撮ることです。 最後に、一度訪れた場所は、再度訪れても、カウントされないことです。 私は8月の半ばから日本に来ています。そして、先日、新たに世界遺産を訪れました。それは石見銀山です。 石見銀山 石見銀山 ユネスコによる要約 Title (ja) 石見銀山 Title (en) Iwami Ginzan Silver Mine and its Cultural Landscape Id 1246 Record date 2007 Visit Date 2015-08-21 Interest High 証 サイト 石見銀山のユネスコのサイト

August 24, 2015

UNESCO Challenge, point UNESCO, Le Havre

Few years ago, my friends and I started a game we called the UNESCO challenge/Point UNESCO (fr). The goal of this game is very simple, we try to visit every World Heritage Site (WHS), one visit == one UNESCO point. Sites could be a building, a city, a complex, a land, a monument, a mountain, etc.. and they are selected by UNESCO as being of special cultural or physical significance. We have to take the picture of signboard by UNESCO as a proof of our visit....

August 4, 2015

Wildfly 9.0 w/ Docker, Offline CLI and HTTP/2

Last week, Wildfly community has just released Wildfly 9.0.0.Final and I wrote a post about enabling HTTP2 into Wildlfy via the offline command line. Today, we will see how to do it with a Docker container. Docker container simplifies lot of thing when we need to deploy middleware infrastructure. I love this technology, because it is an Open Source project, it provides lot of command line stuff, the build process is awesome and run process is very easy ;-)....

July 9, 2015

Wildfly 9.0 Offline CLI and HTTP/2

Yesterday, Wildfly community has just released Wildfly 9.0.0.Final, the last Application Server version. As I talked on my previous French post about Wildfly they are a lot of new cool stuffs. I noticed two of them we could use both together quickly. Into a datacenter, we want setup the first configuration without startup full process and open unnecessary port. I propose in this post to setup HTTP/2 with offline mode, it is quite useful because we could want to start a JBoss instance directly with HTTP/2 protocol enabled....

July 3, 2015

Leshan et le standard Lightweight M2M à l'EclipseCon

La semaine dernière, j’étais à l’EclipseCon qui se déroulait à Toulouse. Sponsor Bronze de cette édition Red Hat (mon entreprise) avait un stand. C’est à cette occasion que j’ai participé à un training concernant le protocole CoAP et notamment le standard LWM2M dispensé par Julien Vermillard de chez Sierra Wireless. Le protocole CoAP Le protocole CoAP pour Constrained Application Protocol a été défini afin de répondre aux exigences très contraintes de l’internet des objets IoT et de la communication Machine 2 Machine M2M à savoir : faible puissance de calcul, faible consommation en énergie et faible bande passante....

July 1, 2015

Java Regex Group Name

Lors d’un développement d’un programme informatique, il est parfois nécessaire d’utiliser les expressions rationnelles. On traduit parfois regular expression par expression régulière. L’utilisation d’une expression rationnelle est utile dans le cas où l’on cherche des bouts de chaines de caractères dans du texte. Il est aussi possible de vérifier qu’une chaine de caractères correspond bien à un schéma/motif particulier. Dans tous les langages modernes (java, ruby, python), les librairies regex sont disponibles en standard....

June 18, 2015

Camel IoT Labs i2c gpio mqtt lcd

One month ago, Henryk, Claus and I’ve started Camel Labs project. This project provides some cool new stuff for IoT community based on Camel technology/project. The stuff are new IoT components to connect electronics devices (i2c,SPI,gpio, tinkerforge) and cloud (pubnub, cloudlet, mqtt) together. In this lab, we will show how to build an end to end IoT integration with i2c device, mqtt broker and i2c lcd with few line of code....

May 20, 2015

Sortie de wildfly 9.0 CR-01

La release candidate 01 de Wildfly 9.0.0 est sortie ce samedi. Elle est disponible en téléchargement ici. Cette version corrige un certain nombre de bug et elle apporte de nouvelles fonctionnalités que nous allons vous rapidement ici. Je posterai plus tard des exemples complets. Java EE7 Wildfly 9 intégre les deux profils Web et Full du standard Java EE7. Le support de HTTP/2 & SPDY Le standard HTTP/2 est maintenant officiel depuis Fevrier....

May 4, 2015

Les premiers jours du projet Camel IoT Labs

Aujourd’hui, l’internet des objets ou aussi appelé IoT prend de plus en plus de place dans l’industrie informatique et non informatique. Des montres Withings, aux Raspberry Pi vendus à 5M d’unités, en passant par les plaques Arduino low cost et autres modules Tessel, le cout de production des objets électroniques baissant, a permis une large diffusion de ces nouveaux objets. En 2012, les premiers RaspberryPi sont lancés sur le marché, j’en ai acheté un....

April 25, 2015

Apache Camel RaspberryPi PoC

Raspberry Pi is a small computer. It costs just 35$. Five million have been already sold worldwide. The first goal of this project was to provide a low-cost computer for electronic and computer science education. But lots of e-hobbists like me use it for personal use (domotic for example). Camel is an Enterprise Integration Patterns (a.k.a EIP) framework to connect, process and dispatch messages from and to severals technologies. Apache Camel and Raspberry Pi integration (proof of concept)...

April 3, 2015

Best Practices Websphere MQ/JBoss EAP 6 English Version

JBoss EAP application server is Java EE 6 certified, it implements via IronJacamar framework, the Java EE Connector Architecture (JCA) standard. This standard provides connection ability for Java EE applications to interact with external data system like JMS broker, file system or mainframe. The JCA standard is similar to the JDBC standard. The latter interacts only with relational databases but JCA can interact with more data system providers and it can integrate different kinds of Enterprise Information System (EIS)....

March 26, 2015

Best Practices Websphere MQ/JBoss EAP 6

Le serveur d’application JBoss EAP est certifié JAVA EE 6, il implémente donc via le framework IronJacamar le standard JAVA EE Connector Architecture (JCA). Ce standard permet de connecter les applications Java EE à des ressources externes comme par exemple un broker JMS, un système de fichier ou un mainframe. Il est possible de faire l’analogie du standard JCA avec le standard JDBC, JDBC se limitant uniquement aux bases de données de type relationnel, JCA se veut beaucoup plus large, il permet d’intégrer tout type de systèmes d’informations d’entreprise (EIS)...

March 25, 2015

Yubico OTP et JBoss EAP 6 ou Wildfly 8

Yubikey est une clef de crypto qui permet d’avoir une authentification forte lors d’un processus de connexion à un site web (par ex : banque, web mail, etc….). Plusieurs sites web commencent à inclure cette fonctionnalité lors du processus d’authentification à leur service. L’utilisateur utilise un token généré par sa clef comme mot de passe. Ce mot de passe est aléatoire, est vérifié par le système et change à chaque utilisation....

March 19, 2015

Il y a un siècle aux Dardanelles

Il y a cent ans, « Le Bouvet » navire de la Royale (Marine Française) était en expédition Franco-Britanique aux Dardanelles. Suivant les plans du premier Lord de l’Amirauté, Winston Churchill, l’expédition devait débarquer en Turquie dans le but de laisser libre l’accès à la Mer Noire libre, seul passage de ravitaillement vers la Russie Impériale. Mais le navire percuta une mine sous-marine posée par les forces Ottomanes quelques jours auparavant....

March 18, 2015

Premier post

Je posterai ici mes articles. En esperant vous y retrouver. Bonne lecture. I will post here my articles. I look forward to seeing you. 私は ここに 私のブログを 書きます。

March 10, 2015