ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Communication / Domotics functions
  • Overview
  • How to?
  • Controlling electrical appliances
  • Controlling a CM15 module
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Home automation: Overview
Overview
The home automation via power-line carrier (X10) has now become reality. Managing a building's electrical equipment through the existing electrical wiring paves the way for easy remote control via programming.
Did you know that a standard electrical system can be easily changed into home automation?
With no additional wiring and no radio waves, the electrical appliances can be easily controlled by WINDEV, WINDEV Mobile or WEBDEV projects. To do so:
  • use specific switches or sockets (the X10 standard is used).
  • use a specific multisocket.
Turning the lights on, closing the shutters, switching a device off or finding out its status (off, on) can be easily performed from a WINDEV, WINDEV Mobile or WEBDEV project.
Note In this version, CM11 (from Marmitek) and CM15 interfaces are supported.
How to?

Controlling electrical appliances

To control electrical appliances:
  1. Establish a connection with an X10 interface (DomoOpen).
  2. Switch the electrical devices on (DomoSwitchOn or DomoSend).
  3. Send the Command to be performed: switch on, increase or decrease intensity, switch off (function DomoSend).
  4. Check the status of electrical appliances: off or on (function DomoStatus).
  5. Switch off the electrical devices (DomoSwitchOff).
  6. Close the connection with the X10 interface (DomoClose).
Note For the X10 powerline protocol to work properly, electrical continuity must be maintained between devices. For example, the transmission cannot pass through an insulation transformer.

Controlling a CM15 module

Prerequisite:
  1. Install the "Active Home" software supplied with the CM 15 module.
  2. Install the "ahscript_setup.exe" program. This program is available on the "Active Home" CD supplied with the CM15 module.
Note: the USB cable must be plugged in before the power cable.
Implementation
  1. Establish a connection with an X10 interface (DomoOpen).
  2. Switch the electrical devices on (DomoSwitchOn or DomoSend).
  3. Send the Command to be performed: switch on, increase or decrease intensity, switch off (function DomoSend).
  4. Switch off the electrical devices (DomoSwitchOff).
  5. Close the connection with the X10 interface (DomoClose).
Limitation: The DomoStatus function is not available.
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/28/2025

Send a report | Local help