Hi,
irgendwie bekomme ich die hosts nicht aktualisiert, könnte mir jemand sagen was ich falsch mache?
plugin.yaml
item.yaml:
die uptime/wan geschichten werden aktualisiert aber bei den hosts passiert nichts...
hier noch die items über den telenet 2323 abgefragt:
irgendwie bekomme ich die hosts nicht aktualisiert, könnte mir jemand sagen was ich falsch mache?
plugin.yaml
Code:
avm1:
plugin_name: avm
username: smarthome
password: smarthome
host: 192.168.222.1
port: 49443
cycle: 300
ssl: True # use https or not
verify: False # verify ssl certificate
call_monitor: 'False'
# call_monitor_incoming_filter: "... ## optional, don't set if you don't want to watch only one specific number with your call monitor"
avm_identifier: fritzbox
instance: fritzbox
Code:
avm:
uptime:
type: num
visu_acl: ro
avm_data_type@fritzbox: uptime
wan:
connection_status:
type: str
visu_acl: ro
avm_data_type@fritzbox: wan_connection_status
connection_error:
type: str
visu_acl: ro
avm_data_type@fritzbox: wan_connection_error
is_connected:
type: bool
visu_acl: ro
avm_data_type@fritzbox: wan_is_connected
uptime:
type: num
visu_acl: ro
avm_data_type@fritzbox: wan_uptime
ip:
type: str
visu_acl: ro
avm_data_type@fritzbox: wan_ip
devices:
fritzbox:
vuduo2:
mac: 00:1D:EC:06:20:8A
avm_data_type@fritzbox: network_device
type: bool
cache: 'yes'
visu_acl: ro
# these items need to be child items from network_device
ip:
type: str
avm_data_type@fritzbox: device_ip
visu_acl: ro
# these items need to be child items from network_device
connection_type:
type: str
avm_data_type@fritzbox: device_connection_type
visu_acl: ro
# these items need to be child items from network_device
hostname:
type: str
avm_data_type@fritzbox: device_hostname
visu_acl: ro
gig:
mac: 84:AD:8D:6A:8B:A0
avm_data_type@fritzbox: network_device
type: bool
cache: 'yes'
visu_acl: ro
# these items need to be child items from network_device
ip:
type: str
avm_data_type@fritzbox: device_ip
visu_acl: ro
# these items need to be child items from network_device
connection_type:
type: str
avm_data_type@fritzbox: device_connection_type
visu_acl: ro
# these items need to be child items from network_device
hostname:
type: str
avm_data_type@fritzbox: device_hostname
visu_acl: ro
gig2:
mac: 84:ad:8d:6a:8b:a0
avm_data_type@fritzbox: network_device
type: bool
cache: 'yes'
visu_acl: ro
# these items need to be child items from network_device
ip:
type: str
avm_data_type@fritzbox: device_ip
visu_acl: ro
# these items need to be child items from network_device
connection_type:
type: str
avm_data_type@fritzbox: device_connection_type
visu_acl: ro
# these items need to be child items from network_device
hostname:
type: str
avm_data_type@fritzbox: device_hostname
visu_acl: ro
hier noch die items über den telenet 2323 abgefragt:
Code:
avm.uptime = 2383884 avm.wan.connection_status = Connected avm.wan.connection_error = ERROR_NONE avm.wan.is_connected = True avm.wan.uptime = 76708 avm.wan.ip = xxx avm.wan = None avm.devices.fritzbox.vuduo2.ip = avm.devices.fritzbox.vuduo2.connection_type = avm.devices.fritzbox.vuduo2.hostname = avm.devices.fritzbox.vuduo2 = True avm.devices.fritzbox.gig.ip = avm.devices.fritzbox.gig.connection_type = avm.devices.fritzbox.gig.hostname = avm.devices.fritzbox.gig = True avm.devices.fritzbox.gig2.ip = avm.devices.fritzbox.gig2.connection_type = avm.devices.fritzbox.gig2.hostname = avm.devices.fritzbox.gig2 = True avm.devices.fritzbox = None avm.devices = None avm = None


Kommentar