background preloader

Domoticz

Domoticz

Piloter sa maison grâce au web « Domotique, » c’est le nom donné à un ensemble de technologies dont le but est d’automatiser certaines actions dans une habitation, ou plus généralement dans un bâtiment. La domotique vous permet de vous affranchir de certaines tâches pénibles, comme par exemple ouvrir ou fermer les volets de votre maison. Elle vous permet de surveiller votre habitation pendant votre absence à l’aide d’une alarme. Ou encore, elle vous permet de veiller à votre consommation électrique. Mais si tout cela améliore tellement notre quotidien, pourquoi n’avons-nous pas tous une installation domotique chez nous ? Un des éléments de réponse vient de la mentalité archaïque des fabricants de matériel électrique, qui se sont obstinés pendant des années à vouloir imposer chacun leur solution domotique. Le renouveau de la domotique grâce au web Programmer son chauffage, piloter ses volets électriques ou activer une alarme à l’intérieur de votre domicile, c’est plutôt sympa. Les frameworks Choix du framework Le script

Toga: A Python native, OS native GUI toolkit. Part of the BeeWare suite. Part of the BeeWare suite. A Python native, OS native GUI toolkit. Quickstart Note: Toga is a very early stage project. The example code works best on OS X and Ubuntu; Windows support is minimal. To get a demonstration of the capabilities of Toga, run the following: $ pip install toga-demo $ toga-demo This will pop up a GUI window with some sample widgets. Problems using virtualenv under Ubuntu When on Ubuntu, Toga uses the system native python GTK+3 bindings for display purposes. Unfortunately, you can't pip install GTK+ bindings, so you have to use a workaround. $ cd <your virtualenv dir>/lib/python2.7/site-packages $ ln -si /usr/lib/python2.7/dist-packages/gi Documentation Documentation for Toga can be found on Read The Docs. Community Toga is part of the BeeWare suite.

Jeedom 07 : Allumer/éteindre une vraie lampe OU comment faire de la domotique low cost. Ce post est le septième d’une liste de tutoriels sur le raspberry PI, cliquez ici pour accéder au sommaire ! Rhhha je vous ai trompé cher visiteurs, je n’avais plus de lampe sous la main alors j’ai pris…. un réveil !! Mais peu importe, l’application est exactement la même, on se passera de lampe pour cet exercice (c’est la faute a ma chérie qui n’a pas voulu me laisser sa lampe de chevet “lapin crétin” comme sujet d’expérience, l’hérétique !!) Comme promis nous allons voir aujourd’hui comment utiliser le raspberry PI et plus précisément les ports GPIO (broches) de la carte pour contrôler un élément électrique de votre habitation, cet élément peut être n’importe quoi : une lampe/lumière, un réveil, un frigo, une tv, bref tout ce qui vous passe par la tête Voila une petite vidéo pour vous mettre en bouche et vous montrer ce qu’on vas faire (cliquez sur l’image ci dessous pour la télécharger) : Prêt a tenter le coup? Voici les éléments requis pour cette expérience : Un petit schéma s’impose :

Distributed systems theory for the distributed systems engineer : Paper Trail Gwen Shapira, SA superstar and now full-time engineer at Cloudera, asked a question on Twitter that got me thinking. My response of old might have been “well, here’s the FLP paper, and here’s the Paxos paper, and here’s the Byzantine generals paper…”, and I’d have prescribed a laundry list of primary source material which would have taken at least six months to get through if you rushed. But I’ve come to thinking that recommending a ton of theoretical papers is often precisely the wrong way to go about learning distributed systems theory (unless you are in a PhD program). Papers are usually deep, usually complex, and require both serious study, and usually significant experience to glean their important contributions and to place them in context. What good is requiring that level of expertise of engineers? What distributed systems theory should a distributed systems engineer know? A little theory is, in this case, not such a dangerous thing. First steps Failure and Time You should know:

Networking in Compose Estimated reading time: 5 minutes This page applies to Compose file formats version 2 and higher. Networking features are not supported for Compose file version 1 (legacy). By default Compose sets up a single network for your app. Note Your app’s network is given a name based on the “project name”, which is based on the name of the directory it lives in. For example, suppose your app is in a directory called myapp, and your docker-compose.yml looks like this: version: "3.8"services: web: build: . ports: - "8000:8000" db: image: postgres ports: - "8001:5432" When you run docker-compose up, the following happens: A network called myapp_default is created. In v2.1+, overlay networks are always attachable Starting in Compose file format 2.1, overlay networks are always created as attachable, and this is not configurable. Each container can now look up the hostname web or db and get back the appropriate container’s IP address. Update containers See the links reference for more information.

Internet de Objets communicants | Domotique-Info Test de la caméra Piper Z-wave Piper est la première caméra à intégrer un contrôleur Z-wave permettant ainsi de commander quelques périphériques. A lui seul, il est un savant mélange de vidéo surveillance, de sécurité et de domotique. Read More Une Smartwatch pour contrôler sa domotique Une SmartWatch est une montre intelligente fonctionnant avec un système d’exploitation mobile qui lui est propre. Spark Core – Créez vos objets connectés #IOT Le Spark core, un petit micro-contrôleur sur-équipé, doté d’un module WiFi et de mémoire est dans ma ToDoList d’articles depuis plusieurs mois. Test de l’ampoule Z-wave RGBW de Zipato De plus en plus de fabricants se lancent sur le marché des ampoules RGB connectées, c’est au tour de Zipato plutôt connu pour sa box domotique Zipabox de lancer son ampoule Led RGBW Z-wave… Simple à installer et à utiliser, elle nécessite néanmoins un contrôleur Z-wave, nous allons la découvrir pendant ce mini-test. Intégration de la station météo Netatmo sur eedomus

The New NSA-Funded Code Rolls All Programming Languages Into One Hey, web developer dudes and dudettes: What's your favorite programming language? Is it CSS? Is it JavaScript? Sound cool? It's called Wyvern—named after a mythical dragon-like thing that only has two legs instead of four—and it's supposed to help programmers design apps and websites without having to rely on a whole bunch of different stylesheets and different amalgamations spread across different files: "Web applications today are written as a poorly-coordinated mishmash of artifacts written in different languages, file formats, and technologies. That system-wide safety and security properties bit is important, and perhaps might explain why the project is backed by the NSA. See, beyond all its standard spying and data collection, the NSA also has to protect its own systems from hackers, and, ostensibly has some sort of obligation to help American companies do the same (especially if any one of a series of cybersecurity bills ends up being passed).

Related: