Skip to main content

DM modules ⇒ DM-604P-1W ⇒ Lighting and climate

"Lighting and Climate" firmware for the DM-604P-1W module

6 inputs, 4 outputs.

Firmware purpose​

DM-604P-1W_FwareLightClimate.png

Collecting dry-contact states and controlling relay groups in standalone mode or exchanging information over the bus77 bus with a server or other modules.

The firmware is intended for building automation projects in centralized and decentralized bus77 iRidi © networks.

Used for:

  • controlling room temperature using 2 thermostats, each with its own assigned 1-wire temperature sensors;

  • controlling 2 lighting groups (2 relay channels) and 2 dry-contact channels (local or network);

  • monitoring valve actuator operation by measuring radiator temperature and sending warnings to the bus;

  • other electrically controlled systems and equipment within the module's permitted parameters (boilers, actuators, pumps, fans, etc.).

Firmware description​

The system is fault-tolerant: if communication with the server/gateway is lost, the controller continues to operate as part of a decentralized network.

The DM-604-1W module effectively contains several devices:

  • Thermostats,
  • A relay block,
  • A button block

Thermostat​

The device contains two identical thermostats. Each thermostat controls an actuator, a valve actuator, through its own relay (you can use other devices, but take the rated and inrush currents into account ).

Valve actuators may be normally open or normally closed. Specify this in the module settings .

The thermostat monitors temperature changes using two temperature sensors: one measures the heat transfer medium temperature and the other measures air temperature.

The thermostat can be set to four operating modes:

  • Normal,
  • Day,
  • Night,
  • Away.

A target temperature can be set for each mode. The temperature band within which the thermostat maintains the air temperature is specified using the Hysteresis control channel (CC18; CC denotes a control channel below). The thermostat turns heating on when the air temperature is below the target minus hysteresis. It turns heating off when the air temperature is above the target plus hysteresis.

The thermostat reports a problem with the heat transfer medium if:

  • the heat transfer medium temperature has not increased ten minutes after heating turns on,
  • the heat transfer medium temperature has not decreased ten minutes after heating turns off.

A separate monitoring band can be set for the temperature sensor. Leaving this band generates high- or low-temperature messages (CC29-CC34).

Relay​

The relays also have additional capabilities:

  • Timer-based automatic turn-off,
  • Direct or inverted logic,
  • Different relay behavior scenarios when the device powers on.

If timer-based relay turn-off is enabled (CC 37), the relay turns off after the time specified in CC 39, which defaults to 5 seconds.

Relay activation logic can be inverted (CC 38):

  • 0 - direct logic (closed in software = physically closed),
  • 1 - inverted logic (closed in software = physically open).

Relay behavior at device power-on can be controlled (CC44):

  • 0 - the relay restores the state it had when the device powered off,
  • 1 - the relay is closed in software (take the configured direct/inverted logic into account),
  • 2 - the relay is opened in software.

Buttons​

In addition to ordinary button press and release events, the module can generate complex button press events:

  • A single press is generated if no second press occurs within 700 ms (defined by CC36) after the button is pressed,
  • A double press is generated if a second button press occurs within 700 ms (defined by CC36),
  • A long press is generated if the button is held for more than 1000 ms (defined by CC35).

Connecting the control bus​

DM-604P-1W_Шина.png

Connect the two power wires and two data wires as shown in the diagram.

When installing the module at the end of the bus, use the termination resistor by fitting the jumper. When the module is in the middle of the bus, remove the jumper.

Tree and star topologies and line branches are not recommended to ensure stable operation.

For the bus77 installation sequence and details, see here

Connecting buttons and sensors to the inputs​

DM-604P-1W_Входы.png

Use any momentary buttons. 1-Wire temperature sensors

Additional information

Do not confuse the digital input connector with the module power connector. If the connectors are swapped, the module will fail when power is applied.

Connecting actuators​

DM-604P-1W_Выходы.png

The cross-section of wires connected to relay output screw terminals must match the power of the switched load. The screw terminals accept wires with a cross-section of 2,5—4 mm2. The relay module must be installed to meet electrical safety requirements and prevent accidental contact with high-voltage contacts.

The device must be operated under the recommended environmental conditions.

Additional information

You must take the inrush current of connected devices into account.

Control channel description​

System parameters​

№ParameterTypeMinMaxAccessDescription
1Name — Device namestring0321The name under which the device is displayed in the interface.
2PIN — PIN codeu3200xFFFFFFFE1PIN code to protect control and feedback channels against unauthorized writes and reads.
3Reboot — Restartbool011Restart the module.
4Reset — Controller resetnone———Reset the controller to factory settings.
5Find device — Find the devicebool011Writing a value of one to the channel makes the onboard LED flash at 10 Hz.

Thermostat​

№ParameterTypeMinMaxAccessDescription
6Thermostat (N) set power — Set thermostat statebool0111 — thermostat on, 0 — thermostat off.
7Thermostat (N) on — Turn thermostat onnone———Turn the thermostat on.
8Thermostat (N) off — Turn thermostat offnone———Turn the thermostat off.
9Thermostat (N) set mode — Set thermostat modeu80310 — Normal (normal operation), 1 — Night (night mode), 2 — Day (day mode), 3 — Away (away mode).
10Thermostat (N) set mode Normal — Set Normal modenone————
11Thermostat (N) set mode Night — Set Night modenone————
12Thermostat (N) set mode Away — Set Away modenone————
13Thermostat (N) set mode Day — Set Day modenone————
14Thermostat (N) target temperature Normal — Normal target temperaturef32-50+1251e-1—
15Thermostat (N) target temperature Night — Night target temperaturef32-50+1251e-1—
16Thermostat (N) target temperature Day — Day target temperaturef32-50+1251e-1—
17Thermostat (N) target temperature Away — Away target temperaturef32-50+1251e-1—
18Thermostat (N) hysteresis — Hysteresisf32-50+1251e-1Offset of the operating temperature range limits +/- from the target temperature for the current mode.
19Thermostat (N) thermal head type — Valve actuator typeu80110 — normally closed, 1 — normally open.
20Thermostat (N) set thermal head state — Valve actuator statebool011Taking the valve actuator type into account: 1 — Open (supply heat), 0 — Close (stop heat).
21Thermostat (N) open thermal head — Open valve actuatornone———Open the valve actuator. Supply heat.
22Thermostat (N) close thermal head — Close valve actuatornone———Close the valve actuator. Stop heat.
23Thermostat (N) toggle thermal head — Toggle valve actuatornone———Change the valve actuator to the opposite state.
24Thermostat (N) automatic mode — Automatic modeu80110 — manual mode, 1 — automatic mode.
25+0.5°C to target temperature — Thermostat t+ by 0,5°Cnone———Increase the target temperature for the current mode by 0,5°C.
26-0.5°C to target temperature — Thermostat t- by 0,5°Cnone———Decrease the target temperature for the current mode by 0,5°C.
27Thermostat (N) room temperature — Room air temperaturef32-50+1251e-1Send the air temperature to the thermostat.
28Thermostat (N) heat carrier temperature — Radiator temperaturef32-50+1251e-1Send the heat transfer medium (radiator) temperature to the thermostat.

Temperature sensor​

№ParameterTypeMinMaxAccessDescription
29Temperature sensor (N) work mode — Sensor operating modeu80310 — off, 1 — temperature display, 2 — limit-based, 3 — point-based.
30Temperature sensor (N) deadband — Display stepf32-50+1251e-1Temperature display step when the temperature changes.
31Temperature sensor (N) lower limit — Lower temperature limitf32-50+1251e-1When the lower limit is reached as the temperature falls, the controller generates a notification signal (for mode 2).
32Temperature sensor (N) top limit — Upper temperature limitf32-50+1251e-1When the upper limit is reached as the temperature rises, the controller generates a notification signal (for mode 2).
33Temperature sensor (N) target point — Target temperaturef32-50+1251e-1Set the target temperature monitoring value (for mode 3).
34Temperature sensor (N) hysteresis — Hysteresisf32-50+1251e-1Offset from the set temperature to create a temperature band (for mode 3).

Dry contact​

№ParameterTypeMinMaxAccessDescription
35Button (N) long hold time — Long press durationu160655351Milliseconds: the button hold duration for a long press event (1000 ms by default).
36Button (N) double press time — Second press waiting timeu160655351Milliseconds: the waiting time for another press for a double click (700 ms by default).

Relay​

№ParameterTypeMinMaxAccessDescription
37Relay (N) work mode — Relay operating modebool0110 — standard operation, 1 — timer-based automatic turn-off.
38Relay (N) inversion — Inversionbool0110 — direct logic, 1 — inverted logic.
39Relay (N) auto off time — Relay automatic turn-off timeu3200xFFFFFFFF1Milliseconds: the time until the relay is opened in software (if operating mode = 1).
40Relay (N) set state — Set relay statebool0111 — Close relay, 0 — Open relay.
41Relay (N) on — Close relaynone———Close the relay.
42Relay (N) off — Open relaynone———Open the relay.
43Relay (N) toggle — Toggle relaynone———Change to the opposite state.
44Relay (N) starting behavior — Startup behavioru80210 — restore state, 1 — close, 2 — open.

Motion sensor​

№ParameterTypeMinMaxAccessDescription
45Motion sensor %d power — Motion sensor availabilitybool011Enable/disable the motion sensor.
Important

Attention! The module ignores values sent to a control channel if they are below the minimum or above the maximum permitted value.

Feedback channel description​

System parameters​

№ParameterTypeMinMaxAccessDescription
1Error — Erroru802551Returns the error code.
2Device voltage — Device voltagef320301Returns the module's current supply voltage.

Thermostat​

№ParameterTypeMinMaxAccessDescription
3Thermostat (N) state — Thermostat statebool011Returns the current thermostat state.
4Thermostat (N) on — Thermostat was turned onnone————
5Thermostat (N) off — Thermostat was turned offnone————
6Temperature sensor (N) — Sensor temperaturef32-50+1251e-1—
7Thermostat (N) mode — Current modeu8031Returns the current thermostat mode.
8Thermostat (N) current target temperature — Target temperature for the current modef32-50+1251e-1Returns the target temperature for the current mode.
9Thermostat (N) thermal head type — Valve actuator typeu8011Returns the valve actuator type.
10Thermostat (N) thermal head state — Valve actuator statebool011Returns the valve actuator state.
11Thermostat (N) thermal head was open — Valve actuator openednone————
12Thermostat (N) thermal head was close — Valve actuator closednone————
13Thermostat (N) automatic mode — Automatic modebool011Returns the automatic mode status.
14Thermostat (N) heat error — Heat transfer medium problem warningnone————

Temperature sensor​

№ParameterTypeMinMaxAccessDescription
15Temperature sensor (N) temperature — Current sensor temperaturef3201501—
16Temperature sensor (N) temperature is out of the upper limit — Temperature rose above the upper limitnone———Notification every 10 seconds.
17Temperature sensor (N) temperature is out of the lower limit — Temperature fell below the lower limitnone———Notification every 10 seconds.

Dry contact​

№ParameterTypeMinMaxAccessDescription
18Button (N) was press — Button was pressednone————
19Button (N) was release — Button was releasednone————
20Button (N) was single press — Single press occurrednone———Triggers if only one press occurs during the time set in the double-press waiting time control channel (CC 36, 700 ms by default).
21Button (N) was double press — Double press occurrednone———Triggers if the interval between two presses is shorter than the time set in the double-press waiting time control channel (CC 36, 700 ms by default).
22Button (N) was long press — Long press occurrednone———Triggers if the button is held longer than the time defined by CC 35 (1000 ms by default).

Relay​

№ParameterTypeMinMaxAccessDescription
23Relay (N) state — Relay statebool011Returns the relay state.
24Relay (N) was on — Relay closednone———Relay closing event.
25Relay (N) was off — Relay openednone———Relay opening event.

Motion sensor​

№ParameterTypeMinMaxAccessDescription
26Motion sensor state — Motion statebool011Motion sensor state.
27Motion sensor movement started — Motion startednone———The motion sensor was activated.
28Motion sensor movement ended — Motion endednone———The motion sensor returned to its inactive state.

Module and firmware navigation​

ParameterValueDescription
DM modulesDM-706Universal
Dedicated to heating device control (under development)
Dedicated to curtain and blind control (under development)
DM-006Universal
DM-604P-1WLighting and climate
DM-606P
DM-D3P
DM-060
FM modulesFM-400"4 dry contacts" firmware
FM-400-1WFirmware 1 "Dry contact + temperature sensor + motion sensor" no link
Firmware 2 "4 dry contacts" no link
Firmware 3 "Dry contact and temperature sensors" no link
FM-401P-1WThermostat no link
(1 temperature sensor, 1 button, 1 valve actuator)
FM-402-1WLeak protection no link
(up to 3 digital sensors and 1 analog sensor, 1 valve)
Thermostat no link
(1 temperature sensor, 1 button, 1 valve actuator)
Bus thermostat no link
(temperature from the bus, 1 button, 1 valve actuator)
FS modulesFS-TM-1W
FS-TH-IL-M-S
FS-TH-IL-M-S-VOC
FS-TH-IL-M-S-CO2
FS-TH-IL-M-S-VOC-CO2
Special modulesIS-CANIntegration server
HUB-2CAN-Vpro no linkInterface module
Bus77-USBBus77-USB converter