Motor control with Denkovi

This is an illustration of what can be done with AlarmM android application. AlarmM is the swiss knife of the security system since it can monitor different device on the same interface and link input of any device(s) to any output(s) of any device(s) on any network.

Denkovi is offering an incredible reliable remote I/O consisting of the smartDen IP modules series and the IO controllers DAEnetIP4. These boards are looking very robust and are embedding a server with nice functionalities. With the HTTP server it is possible to read current input/output values in XML/JSON format and to set outputs along with GET request parameters. The android smart application can control and monitor all the Denkovi products describe above. With this app it is then possible to enhance the alarm system with camera image capture, automatic sms, email and phone call. It will be possible to control Denkovi board from another board.

Denkovi is providing good quality documentation with a lot of user case. All the electronics cabling are clearly explained with full page drawing and picture. Below I will explain how to use Denkovi smartDen Open with a smartphone application.

Change any output state

The AlarmM application has a customizable HMI. It's possible to change the size and icon of the button. An unlimited number of button can be created. Each button is associated with action such as switching the state of one or more output to one or more IO board. Denkovi products will be usefull in application where it is need to control a light remotly. Control is working as well for analog value with an intelligent scalling. More information about control can be found there.

Monitor current state value

The configuration of the device is following exactly the same principe describe in the tutorial page. AlarmM application is running as a background task. It will monitor the devices even if the smartephone is sleeping. Every IO can have it's own customize format. Every IO can have it's own trigger level and scaling as for exemple the analog input (4.04V or 53000 in raw value) and the temperature (-70C).

The Monitor is showing state changing from 1 (opening) to 2 (stop) and 0 (closing). This video is illustrating as well the number of time that the door has be opened (19->23) and closed (17->21). All the remaining Digital Input, Alarm, relays and guest are avaible as well.

Automatic alarm

A modern Denkovi board with an old android phone can create a real communication system. It will be possible to send alert message when a digital value is changing state. The AlarmM can generate an alert for Analog value as well. When the door is completly opened are closed an alarm event has been set up. Event are visible with the yellow and green pictogram around the IO.

In this video two smartphone are used. The left smartphone is controlling and the right one is monitoring. When the door is completly opened or closed the camera is acquiring a picture and display it.

Easilly setup in five minutes

All the menu are interactive. The video on the right side show how easy it is to setup a Denkovi device.

I. Settings the device

An update of all the drivers will add Denkovi support to the application. Then Denkovi device driver can be found in the menu list. An unlimited number of configuration can be created and activated only when necessary.

II. Interractiv button and slider

Button and slider are added in the device list. The order of appearance and size can be easilly changed.

III. Network configuration

Only a few field are nescessary to get the device configured. The Local IP address is the one attribute by the DHCP of the router, port must be the same than the Denkovi configuration. Global IP is only used if the smartephone is on an unknown public wifi network. The urlAPI option must me checked in order to use the password protection.

IV. Adding logic event

The monitor view display all the configured device in the setting. A profilMovement will change state of any outputs when the button is pressed. The outputs number 7 will wake up the phone and display a snapshot when its state has reached the value of 3.

Link to the apps website