The plugin requires installing dependencies. If the dependencies are not installed many devices will not function properly. However, if the installation fails, only finding the IP address of Tuya and Ewelink devices will not work.
Warning : The permanent functioning of the plugin cannot be guaranteed: incompatibility or partial compatibility of the product, poorly managed protocol, poor quality connection for example. Do not use the plugin to control sensitive devices that can generate any kind of disorder. The plugin is provided for testing purposes and not for an installation requiring optimal operation in all circumstances.
This plugin allows you to manage many LED strips, LED bulbs, electrical outlets, thermostats, temperature sensor, door sensor, etc. controlled by wifi directly or via a wifi box sold with the product. The principle of the plugin is never to use the cloud and therefore an internet connection between the plugin and the device via a remote server, all actions are therefore local to the home network.
One exception: Govee products.
There are many products that are compatible with the plugin but from very different brands or unbranded.
Compatible products:
Products that may be compatible and not guaranteed:
For these latter wifi controllers or peripherals, the exchange protocol does not come directly from the manufacturer who can therefore modify it at any time. Several versions exist on the market which are not all compatible with the plugin. Some particular products may not be compatible.
Warning :
It is advisable to inquire about the forum to know the compatibility of a product that is not widely distributed.
Never modify the firmware of the products, which can make them incompatible with the plugin.
Go to Jeedom forum here
Mi.Light / EasyBulb / LimitlessLED:
LW12 / Lagute:
Magic UFO, MagicHome and Arilux AL-C01 / 02/03/04/06/10:
Xiaomi Yeelight:
Wifi 320/370:
H810:
Tapo:
Extel Meli:
Xiaomi Philips:
Magic Home compatible pixel strip led controllers:
Compatible devices Tuya Smartlife:
Sonoff DIY:
Ewelink and Sonoff LAN:
Meross:
Nanoleaf Aurora:
Tuya Wifi gateway and Zigbee devices:
Wiz:
myStrom:
only the ordered socket has been tested, waiting for users to return for other devices
Govee:
Download the manufacturer’s mobile application and follow the instructions in order to control the device with the mobile. For each wifilightV2 device, detailed help is provided in the configuration page.
As long as the device is not controlled with the mobile app, the plugin will not be able to work.
Consult the help and forums of the device manufacturer.
You must configure the DHCP of your router (generally provided by your access provider) to modify the allocation of the IP address of the wifi module or of the bulb or socket so that it is static. Note this address. In general, it will be of the form: 192.168.1.xxx where xxx corresponds to the address of the wifi module (2 to 254)
Consult the forums of your box to learn how to configure your DHCP.
After this change, verify that the mobile application is still controlling the device.
You can then go to the configuration of the wifilightV2 plugin.
wifilightV2 does not create devices automatically except:
Need help ? :
Settings :
When saving the module, the orders are automatically created.
Configure the “Creation of orders” parameter to create all or part of the orders.
the name of the commands can be changed. Automatically created and deleted orders are recreated during a save.
When all the orders are created, they can burden the interface, it is possible not to display them by configuring the creation of the orders.
Status feedback is immediate for the following devices:
For example, if a switch is flipped, Jeedom will know it immediately.
For peripherals:
The plugin regularly polls the device to know its status. The delay for Jeedom to know the status can exceed 1 minute.
For the other peripherals there is no status feedback.
The stateGet command allows, for devices that return their state, to force the update of the state by polling the device.
The xxxxGet and Etat commands can be used in a Jeedom scenario.
The ConnectedGet command retrieves the connection status of each device. It is updated every minute.
On the devices page, an emoticon indicates whether the connection is OK or KO. The indifferent emoticon is used in cases where the plugin cannot know the state of the connection, that is to say the devices which do not return their state. Note that for devices with a gateway (Tuya Zigbee, Meross), the connection status is that of the gateway and is applied to all devices connected to the gateway.
It is possible to synchronize several devices of different brands:
All devices that have the same group number are synchronized
Group 0 is not synchronized (default group)
When using a command from a device in the group, the same command is applied to all devices in the same group.
If the command does not exist for the synchronized device, it is simply ignored.
Be careful, the peripherals will not be ordered exactly at the same time because of latency delays when sending orders which are done one after the other.
All you have to do is put a number other than zero in the group field when configuring the device. All equipment with the same numbers will be synchronized.
There are 2 cursors for the temperature in Kelvin. Kelvin expressed in% from 0 (hot) to 100 (cold) and KelvinVal expressed in Kelvin from min to max. The default values mostly correspond to the manufacturer’s data. For some lamps which do not give the min and max values, the plugin uses 2700 to 6500 by default. For some lamps, the min and max values may be incorrect and the extreme values not understood by the lamp. These values must be adjusted so that they are within the limits accepted by the lamp. You can notify the developer to change the default configuration to avoid these adjustments.
For color bulbs, you must have created the device in extended + colors + disco mode. A choice list is then associated with each color. If the color commands are deleted, the automatically created choice list will not be modified but the drop-down list will no longer be able to access this color. In order not to be disturbed in the interface, it is necessary to suppress the display of the color controls.
Some lamps have disco and custom modes. A choice list is associated with each option of these modes. If the disco or custom orders are deleted, the automatically created selection list will not be modified. For custom orders, you can add new orders but you will have to manually modify this new order in the list. You must have created the device in extended + colors + disco mode. If the individual Disco and Custom modes are deleted, the drop-down list will no longer be able to access that mode. In order not to be disturbed in the interface, it is necessary to suppress the display of the disco and custom commands.
For example, the action list command for customs has the internal name: CMD_LIST_CUSTOM. Its parameter corresponds to the construction of this list:
Scene01|Extinction;Scene02|Ignition
The list will show Power off and Power on and the commands that will be executed will be those with internal name Scene01 or Scene02. If you add a new custom command, for example Scene03 whose name is Flash, you will need to modify the parameter as follows:
Scene01|Extinction;Scene02|Ignition;Scene03|Flash
If the Scene01 command is subsequently deleted, you will have to manually modify the CMD_LIST_CUSTOM parameter:
Scene02|Ignition;Scene03|Flash
You must create one device per channel in the plugin.
Mi.Light no longer broadcasts the ibox1 and 2 which replaced them by the Miboxer which is purely cloud and is not compatible with the plugin.
Since version 1.0.58 of iBox 1 and 2, it may be necessary to modify their configuration so that they can communicate with Jeedom.
Connect in http (with a web browser) to the IP address of your iBox. The default credentials are admin / admin. Go to the “Other Setting” tab and in “Network Parameters setting / Protocol” choose UDP and save.
It is necessary to leave the Port field empty (not even a space).
Several projects have resulted in hubs compatible with Mi.Light bulbs and remote controls in order to circumvent the limitations of the manufacturer’s hubs and which become even more interesting today with the disappearance of iBox1 and 2. The plugin is compatible with the project of Sidoh and offers 2 modes to drive the bulbs. The first mode is the historical mode of iBox1 and 2, which allows you to use your peripherals as usual, there will be 2 configuration parameters to add. The 2nd mode is completely new and has the advantages of very high reactivity and partial status feedback every minute.
The hub is therefore DIY, so you have to mount it and program it with the information provided by Sidoh. A tutorial is available on the forum .
In this mode, all you have to do is enter the Port parameter with the UDP mode port of the Milight-hub. See Sidoh or on the forum for more details.
In this mode, the choice of peripherals is made by the type of remote control and not by the type of lamp as in historical mode. After having entered the usual parameters, you must enter the identifier of the group of remote controls, see Sidoh or on the forum for more details. This mode offers partial status feedback updated every minute.
To pair a lamp with the Milight-Hub, turn on the lamp and click on Sync ON. Use Sync OFF to unpair. To appear a remote control, select the ON of the channel to synchronize as soon as the power is turned on and click on Sync ON.
To know the characteristics of the hub, click on getKey, the result is obtained in getKeyget by clicking on Test.
The YLDP13YL bulb is in the type Philips Xiaomi
It is essential to activate the local network control via the Xiaomi Yeelight app.
The plugin allows the choice between 2 versions:
Scene modes can be configured. Several scene modes are preprogrammed in the plugin but it is possible to add other scene modes.
It is enough to respect certain conditions:
In parameters, put the Yeelight scene command, for example:
“id”:1, “method”:”set_scene”,”params”:[“cf”,0,0,”500,1,255,100,1000,1,16776960,70”]
Do not put the start and end braces as well as the newline characters, the plugin will add them automatically Take inspiration from the preconfigured controls to create these additional scene modes. For Yeelight syntax, see here
In V2, when activating the plugin and as soon as the daemon is started as well as every minute, the plugin searches for the bulbs powered and connected to Jeedom.
As soon as the bulb is found, the state of the bulb is returned to the plugin immediately.
Note that the plugin can take up to 1 minute to find a light bulb and 4 minutes to find that a device is disconnected.
In V1, it can take up to a minute for the status to return.
Compatible devices are:
Tapo:
Kasa:
Do not use double authentication in the Tapo/Kasa application.
This part of the plugin requires the dependencies to be launched.
In the plugin configuration, fill in the email address and password for connecting to the Kasa or Tapo app and save. Then select: Tapo-Kasa Switch to inclusion. Devices are created automatically. The credentials are the same for Tapo and Kasa.
If the local IP address is not found by the plugin, match the mac address with the IP address given in the device settings of the Tuya application and your router and modify the IP address. The procedure to find the IP address uses a Linux system command, if it cannot be loaded or if the system is not compatible, the IP address cannot be found automatically.
For the devices in the list below, the subtype is found, in other cases the Tapo P100 is chosen by the plugin, you can change the subtype without losing the deviceId.
If the IP address was not found because the peripheral is not connected, give it the address: 0.0.0.0 , connect it and restart the inclusion procedure.
If a device with the same deviceID already exists, the inclusion will not occur.
Thereafter, device control is local.
Notes:
It is essential to recover a token allowing the plugin to communicate with Xiaomi Philips devices.
The procedure is complex and requires several manipulations. Do a search on the web with the keyword: Xiaomi token or on the forum here .
Compatible devices are:
Other peripherals can be made compatible: contact the developer.
You must create a device in the plugin for each socket ordered and assign it a channel from 1 to n corresponding to the n sockets. Channel 0 is used to operate all sockets at the same time. Caution: some old sockets behave differently, use version V1 in the subtype.
Do not create new devices with this option, preferably use Meross V2, this type is present to ensure compatibility with devices configured before the arrival of V2. No help will be given to find the necessary parameters for this type.
In order to obtain a key, you must enter the identifier (login) and password of the Meross account in the configuration of the plugin. Then click on getKey in the commands tab of each device. The key is retrieved from the Meross servers and saved in the Key field. You can copy this key into all your Meross devices and erase the login and password, but then you no longer have to click on getKey.
Warning: repeated uses of getgey can block access to Meross servers which can last several hours. Make a copy of the Key on all your Meross devices, it depends on the user account and not on the device.
For equipment connected to the Meross MSH300 hub and after indicating its ip address and saving it, press getKey which retrieves the key and all the peripherals connected to the Hub. When adding a new peripheral to the hub, simply do getKey to create it in the plugin.
Create a scenario triggered only once when Jeedom starts: put a loop on 1,000,000. Put another loop inside 1,000,000 these 2 nested loops provided with a pause will prevent the exit of the scenario for hundreds years. In the inner loop put a 10s pause and a call to device stateGet to update device information. The pause can be reduced up to 1s depending on the power and complexity of the installation.
Compatible peripherals are:
For firmware from 3.3.0 and below 3.5.0 i.e. DIY 1.0 mode, Sonoff gives all the elements here to configure the modules in DIY mode.
A mobile phone and a Windows PC with WiFi card are required. The software to run to find the Sonoff gives in the left column the identifier needed to configure the device.
The Sonoff device must be in firmware 3.3.0 or higher, the above Windows app allows you to update the firmware.
For firmware from 3.5.0, the procedure is simpler and is detailed here .
This procedure automates the creation of most Ewelink and Sonoff devices. However, access to devices remains local. The device must be in firmware 3.0.1 or above, the Ewelink APP can update the firmware.
In the configuration of the plugin, enter the login (email address only) and the password for connecting to the Ewelink app and save. Then select: Ewelink Switch to inclusion. The devices that are in the Ewelink application are created automatically. If the device is deleted from the Ewelink app, it will no longer work with the plugin.
If the local IP address is not found by the plugin, match the mac address with the IP address given in the device settings of the Ewelink application and your router and modify the IP address. The procedure to find the IP address uses a Linux system command, which requires running the dependencies. If it cannot be loaded or if the system is not compatible, the IP address cannot be found automatically.
For most sonoff devices the subtype is found, in other cases sonoff basic is chosen by the plugin, you can change the subtype without losing the ApiKey and deviceID.
For multi-channel peripherals, put 1 for the channel of the peripheral found, duplicate it and give it as channel number 2, etc. to create as many wifilightV2 devices as there are channels.
If a device with the same deviceID already exists, the inclusion will not occur. You can modify the deviceID to force the creation of a duplicate.
Remarks :
Many brands are compatible including Sonoff. The products tested are:
Nevertheless, the compatibility of these peripherals is not guaranteed because the protocol can be modified by the manufacturers. Do not modify the device firmware without checking that it is compatible with the plugin.
The sonoff DW2 is not compatible because it is purely cloud and does not go into Access Point to find apiKey and DeviceID. It is likely to be the same for all ewelink wifi sensors.
The Zigbee Hub is not compatible (and purely cloud) as well as all Zigbee devices.
No bulb or led strip is compatible.
For multi-channel devices (like the Sonoff 4CH) you have to create as many wifilightV2 devices as there are channels, a copy of the first created makes it easy, then you have to change the channel number
For devices not present in this list or if the configuration does not work or if a device does not have the correct subtype and after using the device integration procedure, give the contents of the wifilightV2_inc logs in the forum in order to allow the integration of the module in the plugin.
The creation of most Tuya and Tuya/Zigbee devices is automatic. However, access to devices remains local.
Tuya devices use different protocols:
<3.3 : This old protocol does not support inclusion. The plugin will find the device in the Tuya cloud, but it won’t find the correct protocol. You need to change it manually using Tuya smartLife compatible type V1. There is no Tuya Zigbee gateway with this protocol.
3.3 : Devices with this protocol are normally found automatically in Tuya inclusion, either for a wifi device or a Zigbee gateway. The type used is Tuya smartlife compatible V3 or Tuya/Zigbee V1 gateway.
3.4 : Devices with this protocol are normally found automatically in Tuya inclusion, whether for a wifi device or a Zigbee gateway. In 2022, this protocol begins to spread. The type used is: The type used is Tuya smartlife compatible V or Tuya/Zigbee V2 gateway.
If the plugin does not find the right protocol, it is possible to change it manually without losing the commands created by the Tuya cloud, you must choose the custom subtype before saving.
If the plugin does not find the right protocol, it is possible to change it manually without losing the commands created by the Tuya cloud, you must choose the custom subtype before saving.
Follow this first tutorial and go to the “Overview” tab to retrieve: Access ID and Access Secret. In the plugin configuration, enter these 2 parameters in the Tuya part and save, then select: Tuya Go to inclusion. The devices are created automatically.
This part of the plugin requires the launch of the dependencies: if the local IP address is not found by the plugin, make the connection between the mac address and the IP address given in the device parameters of the Tuya application and your router and change the IP address. The procedure to find the IP address uses a Linux system command, if it cannot be loaded or if the system is not compatible, the IP address cannot be found automatically.
When the “status polling” option is checked, the plugin polls the device every 12 seconds. This makes it possible, for example, to recover the consumption of a peripheral when the latter does not send it regularly. However, be careful, this can drain the battery of devices on battery. For many devices that measure the power consumed, opening the mobile application is necessary for the data to be transmitted to the plugin.
You can help improve automatic creation by providing as much information as possible: the Json from the Tuya cloud, the changes made, the logs or any relevant remark.
To get the Tuya cloud Json:
In the new window:
See specific documentation ,but beware this documentation is very technical and reserved for an informed public, do not use it in panic mode when you do not have the knowledge to understand its content.
This procedure requires you to manually copy the localkey from the Tuya cloud.
See specific documentation for Tuya / Zigbee gateways
See specific documentation for Tuya Wifi products
Attention :
Lidl Tuya/Zigbee products paired with the Lidl application switch to protocol 3.4.
Press the Nanoleaf power button for 5-7 s and press the getKey command of the plugin. Check that the Apikey has been placed in the “token” field of the plugin configuration.
Create an effect with the NanoLeaf app and give it a name. Create an action / default command in the list of device commands in the plugin. Put the name in parameters. Then give a unique identifier and a name, they can be identical to the name of the command.
Create an action/default command, in internal name put a name and in parameters, put the json of the custom command except the external braces but with the write command, for example:
"write": {"command": "request", "animName": "Northern Lights"}
See the Nanoleaf documentation for creating these effects.
Compatible wifi devices are:
Dual socket is not supported but could be if a user has one and wants to help improve the plugin.
The installation, creation and configuration of devices is fully automatic:
Pay attention to the following points:
Go to the Jeedom forum here and provide as much information as possible to get help:
The plugin logs are not compatible with syslog, put the standard configuration for the logs. They are divided into 4 categories: