Menu

Domotics_IpPower Log in to Edit

Anonymous

Domotics_IpPower


1. Overview

Te Domotics_IpPower module implements an interface to a Wifi domotics server of the model "IP Power" [TODO: Search for the model and link to site]

2. Usage

2.1 Configuration file

The Domotics_IpPower module reads its main configuration from the pDomotics_IpPower section of the mission file. The parameters read from this section are:
1. AppTick
2. CommsTick
3. IP : IP address of the IP Power server
4. user : user for the HTTP get commands (default: 'admin')
5. password : password for the HTTP get commands

2.2 OpenMORA variables

The Domotics_IpPower module watches the DOMOTICS_OPERATION for commands. These commands consist of a "ON" or "OFF" command followed by a channel number.
The module also listens to the SHUTDOWN variable to close.

3. Module development

This section contains all the information about the development of the module. Read it if you intend to gain insight about the implementation or you plan to improve or debug it.

3.1 Implementation

The Domotics_IpPower module communicates with a IP Power server through http requests. The module parses the commands received in the DOMOTICS_OPERATION variable, sends them to the IP Power server through an http request and waits for the response.

3.2 Tests

[TODO: do tests]

3.3 Bugs

[TODO: do tests]

3.4 Changelog
3.5 TODO
  • Do tests and debug if needed

Discussion

Anonymous
Anonymous

Add attachments
Cancel