background image

                                                                    

DAEnetIP2 v2

 User Manual 

21 Apr 2020 

 

- 45 - 

 

 

14.1.2. 

Mobile apps 

It  is  possible  to access  the  module from our  DAE-aModules  app  (android)  and  DAE-iModules 

app (iOS) 

 

 

 

 

Figure 14.2.

 Mobile applications 

 

14.2.  Control from command line 

14.2.1. 

Windows 

Net-snmp  is  command  line  tool  for  accessing  SNMP  based  network  devices  under  windows 

console.  By  default  it  is  not  included  in Windows  OS. 

DAEnetIP2  v2

 

can  be easily  accessed  by 

the net-snmp tool. This is very useful when the snmp commands must be executed from batch file 
for example. 
 

Bellow are the steps for installing 

net-snmp

 tool on windows OS. 

1.  Download 

the 

last 

version 

net-snmp 

binary 

for 

windows 

from 

http://net-

snmp.sourceforge.net/download

The file must look like net-snmp-X.X.X.X-X.win32.exe 

2.  Install the downloaded file. Leave the default options. The packet will be install in c:\usr by 

default. 

3.  Download the 

DAEnetIP2 v2

 MIB file from 

here

  

4.  Copy the mib file here c:\usr\share\snmp\mibs 
5.  Add new line in the file c:\usr\etc\snmp\snmp.conf with the "mibs all" directive. 
6.  Now  you  can  test  different  commands  for  OID  access,  supported  by  this  module.  Their 

names you may see in the 

DAEnetIP2 v2

.mib file. 

 

A simple test may be done to be sure if the tool is installed successfully: 
run->cmd-> 
snmpget -v1 -c 000000000000 192.168.1.100 .1.3.6.1.4.1.42505.9.1.1.0 
answer: SNMPv2-SMI::enterprises.19865.1.1.1.0 = IpAddress: 192.168.1.100 

Summary of Contents for DAEnetIP2 v2

Page 1: ...DAEnetIP2 v2 User Manual 21 Apr 2020 1 DAEnetIP2 v2 Web enabled IP Controller User Manual Date 21 Apr 2020...

Page 2: ...33 11 Appendix 2 DAEnetIP2 v2 installation 34 12 Appendix 3 Install and power on DAEnetIP2 v2 denkovi relay board kit 36 13 Appendix 4 Port forwarding for advanced users 43 14 Appendix 5 Software 44 1...

Page 3: ...it resolution 0 3 3VDC no pull up or pull down resistors 16 2x8 bit configurable digital I O port 0 3 3VDC Standard protocols ARP IP ICMP ping DHCP Supports snmp v1 snmpset snmpget snmptrap HTTP web s...

Page 4: ...Digital inputs count 1 8 Default settings jumper Yes LED Link Activity Power On Status Yes Save I O states Yes DHCP Yes Network parameters IP Mask Default gateway MAC lock protection Yes SNMPv1 Yes sn...

Page 5: ...DAEnetIP2 v2 User Manual 21 Apr 2020 5 3 Application examples 3 1 Remote control Figure 3 1 Example 1 3 2 Data acquisition Figure 3 2 Example 2...

Page 6: ...DAEnetIP2 v2 User Manual 21 Apr 2020 6 3 3 Watchdog function Figure 3 3 Example 3...

Page 7: ...NMP listen UDP port 161 SNMP Read only community string 000000000000 SNMP RW community string private SNMP Web Access network IP 192 168 1 1 SNMP Web Access network Mask 0 0 0 0 disabled Ping Timeout...

Page 8: ...Figure 4 1 Loading default settings 1 Turn off the power supply of the device 2 Move the jumper to the DEFAULT position between pin 3 and 4 of JP2 3 Turn on the power supply of the device 4 Wait until...

Page 9: ...DAEnetIP2 v2 User Manual 21 Apr 2020 9 5 Connectors and ports 5 1 DAEnetIP2 v2 ports Figure 5 1 DAEnetIP2 v2 ports...

Page 10: ...ree I O 3 Free Ain 4 4 Free I O 4 Free I O 4 Free Ain 5 5 Free I O 5 Free I O 5 Free Ain 6 6 Free I O 6 Free I O 6 Free Ain 7 7 Free I O 7 Free I O 7 Free Ain 8 8 Free I O 8 Free I O 8 Free Ain 9 GND...

Page 11: ...1 Web access To access the setup pages run a web browser Internet Explorer Mozilla Firefox or similar and enter the DAEnetIP2 v2 IP address for example http 192 168 1 100 Figure 6 2 Open via browser...

Page 12: ...ult username and password are admin admin passwords are case sensitive Note When the password is entered it is transmitted across the network in encrypted form so eavesdropping on the data transmissio...

Page 13: ...DAEnetIP2 v2 User Manual 21 Apr 2020 13 6 2 Menu The main menu consists of the following items located in the left window frame Figure 6 4 Navigation Menu...

Page 14: ...al Inputs Filter ms digital inputs filter constant The range is from 0 up to 200 ms The filter is disabled when its value is set to 0 This parameter sets a low pass software filter that removes the sh...

Page 15: ...d DAEnetIP2 v2 must be rebooted before obtaining an IP address SNMP Change its bit in cfgNewMode 0 IP address This is the IP address of the DAEnetIP2 v2 It needs to be manually assigned only if DHCP i...

Page 16: ...istens for HTTP requests default port is 80 The port must be 80 or in the range from 1025 up to 65535 Session Timeout min specifies the timeout period for HTTP sessions in minutes 1 99 User Name the u...

Page 17: ...Web access protection You have to reboot the device for these settings to apply It is highly recommended to log out from the web server after finishing the parameters setup If you don t want to restr...

Page 18: ...is 161 The port must be 161 or in the range from 1025 up to 65535 SNMP Change of cfgSNMPport 0 Read only Community community string for client s authentication used in read operations max 12 symbols...

Page 19: ...controller generates traps each 2 3 seconds when it is in alarm zone This is because the SNMP trap is UDP based message and the receiving is not guaranteed 6 7 I O Ports Settings DAEnetIP2 v2 has 8 8...

Page 20: ...DAEnetIP2 v2 User Manual 21 Apr 2020 20 6 8 I O Ports Labels Figure 6 10 I O Ports Labels Identification string max 7 chars for all the I O ports...

Page 21: ...High Threshold Mode LOW HIGH the output will be set if the input level is out of the range with High and Low Threshold Mode REG the output will be set if the input level is less than Low Threshold and...

Page 22: ...there is not answer Figure 6 12 ICMP Monitoring 6 10 1 ICMP Monitoring Settings Incoming ICMP Monitoring when the incoming ICMP monitoring mode is enabled the DAEnetIP2 v2 module expects ping in the...

Page 23: ...CMP modes use this shared parameter however they have separate timers SNMP cfgPingTime 0 in minutes Restart External Device global flag for enable disable the two ICMP modes Does not affect to the man...

Page 24: ...24 6 11 I O Ports Figure 6 13 I O Ports Control P3 and P5 are configurable digital I O port 0 3 3VDC It is possible to be configured by the user for its own purposes digital inputs or outputs P6 is a...

Page 25: ...og events The ICMP monitoring modes have the highest priority If there is a manual setting request it will be ignored If there is analog events setting request it will be ignored The next priority lev...

Page 26: ...by default it is 192 168 1 100 01 00 the state of P3 DO 02 FF the state of P5 DO For example http admin admin 192 168 1 100 iochange cgi ref re io 01 00 02 FF 8 2 Retrieve the P3 P5 P6 i o status http...

Page 27: ...itial setting of IP MASK Gateway must be done via Web Otherwise the DAEnetIP2 v2 module may become not reachable because of the limitation of only one OID accessing per a time via snmp 9 1 Configurati...

Page 28: ...perform when ping timeout is active Value 255 disables counting INTEGER 0 255 x 9 1 14 0 cfgDefGW read write IP Address of Default Gateway IpAddress x 9 1 15 0 cfgNetMask read write IP Network Subnet...

Page 29: ...ngs of DAEnetIP2 v2and restart DAEnetIP2 v2 INTEGER x 9 1 31 0 cfgDigitalInput sFilter read write Digital Inputs Filter 0 200 ms Value 0 disables the filter INTEGER 0 200 x 9 1 32 0 cfgAnalogInput sFi...

Page 30: ...n on respective P5 output pin when voltage is compared to thresholds INTEGER None 0 Low 1 High 2 LowHigh 3 Acc 4 x 9 1 121 3 0 aevPin3 read write Defines reaction on respective P5 output pin when volt...

Page 31: ...evPin7Inv read write Invert respective pin for P5 on analog event INTEGER None 0 Inverted 1 x 9 1 121 16 0 aevPin8Inv read write Invert respective pin for P5 on analog event INTEGER None 0 Inverted 1...

Page 32: ...n7 data INTEGER High 1 Low 0 x 9 2 2 8 0 pctrlP5pin8 read write Port5 pin8 data INTEGER High 1 Low 0 x 9 2 2 33 0 pctrlP5byte read write I O port data as single byte INTEGER 0 255 9 6 Returned values...

Page 33: ...The maximum voltage is 25VDC The optimal voltage is 12VDC The voltage polarity is tip center positive The device does not protection against reverse polarity voltage Other supply voltages than describ...

Page 34: ...first time Connect the DAEnetIP2 v2 device with your computer via UTP crossover cable note that the device does not support AUTO MDIX Supply with voltage in the allowed range For example 12VDC stabil...

Page 35: ...168 1 2 2 2 Mask 2 3 Gateway usually this is the IP of your router 3 Click submit and wait about 5 seconds 4 Power off the device 5 Now you may disconnect the UTP crossover cable from the DAEnetIP2 v...

Page 36: ...th DAEnetIP2 v2 www denkovi com The steps instructions are valid for only for kits with DAEnetIP2 v2 cable relay board from Denkovi Assembly Electronics LTD without matter how many relays is the kit 1...

Page 37: ...i kit you should have the DAEnetIP2 v2 connected with the cable If not please contact with us 3 1 Internet Ethernet 16 Channel relay board The relay board is connected to ports P3 and P5 Figure 12 4 C...

Page 38: ...and P5 8 pins Figure 12 6 Connecting cable for 2 channel relay board 4 Connect each In labeled wire into the referred screw terminal of the relay board For example In 1 wire goes into Relay 1 In scre...

Page 39: ...cable into the GND screw terminal of the relay board For example bellow it is shown 8 channel relay board The same is for the rest relay boards Figure 12 8 Connecting the GND wire to the relay board 6...

Page 40: ...ly the kit with single power supply source In this case it is 12VDC If you have 24V relay board version then you must use 24VDC single power supply source DAEnetIP2 v2 accept from 7 5V 25V Vcc GND 12V...

Page 41: ...will have to make a sum with DAEnetIP2 v2 current consumption relay board current consumption DAEnetIP2 v2 current consumption is 50mA at 12VDC If we have for example 16 channel relay board 12VDC the...

Page 42: ...DAEnetIP2 v2 User Manual 21 Apr 2020 42 Figure 12 14 Relay board power led is on constantly Figure 12 15 The kit in working condition The same is for the other kits...

Page 43: ...et s say we would like to adjust for example o Port 10080 for HTTP o Port 10161 for SNMP This may easily be done from the DAEnetIP2 v2 web server Setup page 2 These ports must be set in the forwarding...

Page 44: ...used for testing demonstrations configurations and very simple automation projects 14 1 1 DRM Software Denkovi Relay Manager DRM is universal software for easy controlling all kinds of Denkovi USB VC...

Page 45: ...1 Download the last version net snmp binary for windows from http net snmp sourceforge net download The file must look like net snmp X X X X X win32 exe 2 Install the downloaded file Leave the default...

Page 46: ...nstalled and you have to follow the hints that the command line gives you After that repeat step 1 2 Create bash file for example ON vim and enter the following commands in it bin bash snmpset v1 c pr...

Page 47: ...0 192 168 1 100 1 3 6 1 4 1 42505 9 2 2 33 0 SNMPSET examples Set DAEnetIP2 v2 IP address snmpset v1 c private 192 168 1 100 Denkovi DAEnetIP2 v2 Configuration cfgIP 0 a 172 16 100 3 snmpget v1 c priv...

Page 48: ...r 2020 48 14 4 Third Party Software Since DAEnetIP2 v2 supports SNMPv1 and HTTP API protocols it is possible to be integrated in third party applications like 14 4 1 Domoticz Figure 14 3 Domoticz 14 4...

Page 49: ...DAEnetIP2 v2 User Manual 21 Apr 2020 49 14 4 2 Node RED Figure 14 5 Node RED...

Page 50: ...output level voltage is 1 3 3VDC or 0 0 25VDC with consumption 1 5mA All inputs outputs have protection diodes to GND and 3 3VDC Below are given sample examples of I O ports connections to external d...

Page 51: ...ss if the resistor R1 is not connected in the way shown on the figure In order to protect each analog input and the whole DAEnetIP2 v2 it is strongly recommend to connect R1 resistor with value 22K fo...

Page 52: ...the current that s why the 4 7K resistor is added The biggest disadvantage of LM335 is the high output voltage during 25 3V As DAEnetIP2 v2 ADC works in range of 0 3 3V actually with directly connecte...

Page 53: ...tor as this sensor does not work as zener diode neither output divisor Also its initial error is better than LM335 The only disadvantage is the minimal voltage is 4VDC and this makes the connection to...

Page 54: ...54 17 3 MCP9700A Figure 17 3 DAEnetIP2 v2 and MCP9700A This sensor MCP9700A works in range 2 3 5 5V and that allows to be supplied from 3 3V pin which is mapped to P6 jumper Generally its parameters a...

Page 55: ...DAEnetIP2 v2 User Manual 21 Apr 2020 55 18 Appendix 12 Mechanical drawing Figure 17 4 Mechanical drawing...

Page 56: ...ser Manual 21 Apr 2020 56 19 Appendix 12 Differences between DAEnetIP2 DAEnetIP2 rev2 and DAEnetIP2 v2 Please take a look at this link http denkovi com comparison between daenetip2 controllers for mor...

Page 57: ...n applications where failure or malfunction of an Denkovi Assembly Electronics LTD product can result in personal injury death property damage or environmental damage Denkovi Assembly Electronics LTD...

Reviews: