No commit activity in last 3 years
No release in over 3 years
Simple commands to retrieve state
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0
 Project Readme

denkovi_daenetip2

Ruby gem to control a DENKOVI DaenetIP2 using SNMP commands

To install gem install denkovi_daenetip2

To use:
irb
require 'denkovi_daenetip2'
=> true
dae = DaenetIP2.new("[daenetip2_IP]",[daenetip2_SNMP_PORT],"[SNMP read-write community string]","[SNMP read-only community string]")
=> true

To read P6:

dae.read(1)
=> 1020

To write P3

dae.write('p3', [RELAY],[VALUE])
dae.write('p3',1,0)
=> true

To write P5

dae.write('p5', [RELAY],[VALUE])
dae.write('p5',1,0)
=> true

To close

dae.close
=> true