SNMP binding is ready for feedback now

41 views
Skip to first unread message

Thomas Eichstädt-Engelen

unread,
Jan 2, 2012, 5:53:09 PM1/2/12
to ope...@googlegroups.com
Hi,

i recently checked in the new SNMP binding which is ready for Review now.

Regards,

Thomas E.-E.

ope...@lb-automation.de

unread,
Feb 21, 2012, 2:58:31 AM2/21/12
to openhab
i have installed all the stuff and the status or value is not updating
in sitemap (UI)

log:

06:49:54.677 [DefaultUDPTransportMapping_0.0.0.0/162] DEBUG
o.o.b.snmp.internal.SnmpBinding - Received PDU
'V1TRAP[reqestID=0,timestamp=6:50:20.00,enterprise=1.3.6.1.2.5.6,genericTrap=17,specificTrap=0,
VBS[1.3.6.1.2.1.1.3.0 = New system description]]'
06:49:54.678 [EventAdmin Async Event Dispatcher Thread] INFO
runtime.busevents - SNMP_Temperature state updated to "New system
description"

i thougt the text ("New system description") should go to the ui

item is configured as:

String SNMP_Temperature "USV" (Status)
{ snmp="1.3.6.1.2.1.1.3.0" }


sitemap

Frame label="Weather" {
Text item=Weather_Temperature_1
Text item=Weather_Temperature_2
Text item=SNMP_Temperature
}

th text "New system description" is not updated in the ui

On 2 Jan., 23:53, Thomas Eichstädt-Engelen <teich...@googlemail.com>
wrote:

Kai Kreuzer

unread,
Feb 21, 2012, 6:26:32 AM2/21/12
to ope...@googlegroups.com
You need to define the label text to also incorporate the state, i.e.

String SNMP_Temperature "USV [%s]" (Status) { snmp="1.3.6.1.2.1.1.3.0" }

Hope this helps!
Kai

Thomas Eichstädt-Engelen

unread,
Feb 22, 2012, 9:21:40 AM2/22/12
to ope...@googlegroups.com

> You need to define the label text to also incorporate the state, i.e.
>
> String SNMP_Temperature "USV [%s]" (Status) { snmp="1.3.6.1.2.1.1.3.0" }

thanks Kai for pointing this out and thanks Patrick for commenting the Wiki-Page … i changed my wrong example meanwhile :-)

Cheers,

Thomas E.-E.

Reply all
Reply to author
Forward
0 new messages