First steps with jeedom and mqtt

i’ve installed jeedom in a debian virtual machine for test, and add the mqtt plugins, don’t forget to configure the user name and the password and configure the correct network interface

then create a mqtt receiver called « essaialarme » and an info called « test_bis »

from a PC inside the network of the jeedom workstation , type

mosquitto_pub -h -u "login" -P "password" -t essaialarme/pix -m 50

or using python and mosquitto module :

import mosquitto
def on_message(mosq, obj, msg):
	print "%-20s %d %s" % (msg.topic, msg.qos, msg.payload)
	mosq.publish('pong', "Thanks", 0)
def on_publish(mosq, obj, mid):
	print "published"
cli = mosquitto.Mosquitto()
cli.on_message = on_message
cli.on_publish = on_publish
cli.username_pw_set("login", password="password")
cli.connect("", 1883, 60)
cli.subscribe("essaialarme/test_bis", 0)
cli.publish ("essaialarme/test_bis","12345")




ESP8266 Building Hello World Blink LED and Simple Web Server to drive the Relay and check Button status

Very nice tuto provided by olimex , can be use in parallel with the folowing one



ESP8266-EVB is small 57×50 mm board with Relay and Button which are connected to Internet via ESP8266 WIFI module.

ESP8266 has inside Xtensa106 processor and RF front end circuit, you do not need separate processor to drive the relay and read the button as ESP8266 can be programmed with custom code.

Here we will explain how to setup your tools and make your first project.

First you need to install your tools. It’s simple, just follow the instructions here:

There are just few small mistakes as some commands will require SUDO before them and some paths are not exactly same, but you have to follow the steps and once you get error to read and correct the problem.

Here is what we do on Ubuntu 14.04 LTE 64-bit:

sudo apt-get install git autoconf build-essential gperf bison flex texinfo libtool libncurses5-dev wget gawk libc6-dev-amd64 python-serial libexpat-dev sudo mkdir /opt/Espressif sudo chown…

View original post 566 mots de plus

Essai d’une clé SDR sous linux

j’ai acquis la clé TNT suivante sur ebay pour moins de 10€ : lien

elle est équipée du chip Realtek RTL2832Uet Rafael R820T, on peut en dériver l’usage pour réaliser :

  • récepteur ADS-B
  • récepteur FM
  • récepteur GPS
  • récepteur de capteur de température
  • récepteur GSM


le site OSMO SDR donne des exemple d’application ceci dans la bande 24 – 1766 MHz

sur une linux debian , on branche et le noyau charge le bon module

[ 5730.536422] usb 2-1: new high-speed USB device number 3 using ehci-pci
[ 5730.679956] usb 2-1: New USB device found, idVendor=0bda, idProduct=2838
[ 5730.679967] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 5730.679974] usb 2-1: Product: RTL2838UHIDIR
[ 5730.679980] usb 2-1: Manufacturer: Realtek
[ 5730.679985] usb 2-1: SerialNumber: 00000001

je vais m’atteler a quelques essais de type réception ADS-B et capteur de température pour bancher le tout à la carte A10S



Utiliser les interfaces glade (gtk3 only) avec python

Utiliser les interfaces glade (gtk3 only) avec python

exemple :


# -*- coding: utf-8 -*-
import threading
import serial
import os
import time
from gi.repository import Gtk

class hkt6av2:
    def __init__(self):
        self.builder = Gtk.Builder()
    def window_main_delete_event(self,widget,event):

if __name__ == '__main__':