Skip to content

MarFanNL/ESPeasy_MQTT_Plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ESPeasy_MQTT_Plugin

ESP Easy MQTT Plugin for Domoticz

Python plugin for Domoticz to add integration with ESP Easy

-- Beta -- 
This version is still in Beta release. Doc in progress

Supported :

  1. Temperature (DS18n20)
  2. ltho

Prerequisites

Installation plugin

  1. Create a folder ESPeasyMQTT in your domoticz plugins folder
cd domoticz/plugins
mkdir ESPeasyMQTT
  1. copy the files plugin.py and mqtt.py into the folder
  2. chmod +x plugin.py
  3. Restart domoticz
  4. Make sure that "Accept new Hardware Devices" is enabled in Domoticz settings
  5. Go to "Hardware" page and add new item with type "ESPeasyMQTT"
  6. Set your MQTT server address and port to plugin settings

When the ESPeasy publish a device for the first time, the device will be created. You will find these devices on Setup -> Devices page.

MQTT Setup in ESP Easy

  1. Create a Controller of type OpenHAB MQTT
  2. Set the 'Controler Subscribe' to : ESP_easy/%sysname%_%unit%/#
  3. Set the 'Controler Publish' to : ESP_easy/%sysname%_%unit%/%tskname%/%valname%

!! No leading / !!

  • When you have more then one ESP easy in your setup, make sure they are unique. (Devices created in Domoticz will use this name) Use the 'Unit Number' in Config for example or have a different 'Unit Name'

ESP Easy | Temperature

  1. Create a device of type 'Temperature' (DS18b20 for example) Make sure you check the 'Send to Controler'
  2. Created device in Domoticz will have a name sysname_unit_tskname Value name of the Device MUST be 'Temperature'

ESP Easy | ltho

from domoticz --> ESP easy is currently not working

  1. Create a device of type 'Itho ventilation remote' with the name ltho (mondatory)
  2. 3 devices will be create in Domoticz, all with a prefix sysname_unit_tskname
  • _State --> A selSwitch-device with 3 states (you can rename the state in domoticz)
  • _Timer --> A Text-device
  • _LastIDindex --> A Text-device

About

ESP Easy MQTT Plugin for Domoticz

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages