Skip to content

Gnome Shell Extension for interact with a SmartHome with MQTT protocol

Notifications You must be signed in to change notification settings

clementramirez/MQTTSmartHome-GnomeShellExtension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MQTTSmartHome-GnomeShellExtension

Gnome Shell Extension to interact with a SmartHome with MQTT protocol

Screenshot

Install

From Gnome-Shell Extension Website

Go to https://extensions.gnome.org/extension/4715/smarthome-control/

From this GitHub Repo

Follow these steps :

$ mkdir -p ~/.local/share/gnome-shell/extensions
$ git clone https://github.com/DiyVE/MQTTSmartHome-GnomeShellExtension.git ~/.local/share/gnome-shell/extensions/[email protected]
$ gnome-extensions enable [email protected]

Configure the extension

All devices are declared and configured into the devices.json file. An example of device configuration below :

[
  {
    "name": <name of your device>
    "type": <types of device>
    "hostname": <mqtt server hostname>
    "topic": <topic name for the device>
  },
  {
    <same declaration for another device...>
  }
]

For now only 2 types of devices are available, outlets and lights. The parameters needs to be strings.

Things to do

  • All devices are configurable by a json file
  • Add the possibility to change the configuration of devices directly on a graphic interface
  • Add new types of devices
  • Add luminosity and color configuration for lights

Contacts

About

Gnome Shell Extension for interact with a SmartHome with MQTT protocol

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published