Re: OH3 Anwesenheitserkennung
Verfasst: 26. Aug 2021 00:03
Ich denke nicht, dass es daran liegt, dass die Firewall abgeschaltet sein muss. Meine Windows-Firewall (Windows 10) ist aktiviert und für das "private Netzwerk" aktiv. Ich bin leider kein besonderer Kenner der IT-Materie, deshalb kann ich dir nur den Tipp geben, die Doku zu studieren, wenn du das noch nicht hast. Vielleicht findest du da einen Hinweis.
Ich habe meine Things und Items als Textdateien konfiguriert:
network.things:
network.items:
Ich habe meine Things und Items als Textdateien konfiguriert:
network.things:
Code: Alles auswählen
Thing network:pingdevice:printerWF2760 [ hostname="192.168.178.xxx", retry=1, timeout=5000, refreshInterval=60000 ]
Thing network:pingdevice:pi3b_ohtest [ hostname="192.168.178.xxx", retry=1, timeout=5000, refreshInterval=60000 ]
Thing network:pingdevice:raspi_office [ hostname="192.168.178.xxx", retry=1, timeout=5000, refreshInterval=60000 ]
Thing network:pingdevice:iPhoneSE1_Peter [ hostname="192.168.178.xxx", retry=1, timeout=5000, refreshInterval=60000 ]
Thing network:pingdevice:desktop [ hostname="192.168.178.xxx", retry=1, timeout=5000, refreshInterval=60000 ]
Code: Alles auswählen
Group:Number:SUM gNet "Netzwerk [%d]" <network> [NetworkAppliance] // Number of "Online"-Devices
Switch Printer_WF2760 "Drucker WF-2760 [MAP(tech.map):%s]" <workforce> (gNet) [Point] {channel="network:pingdevice:printerWF2760:online"}
Switch Pi3b_online "RPi3b OH-Test [MAP(tech.map):%s]" <network> (gNet) [Point] {channel="network:pingdevice:pi3b_ohtest:online"}
Switch RasPi_online "RPi3b+ Office [MAP(tech.map):%s]" <network> (gNet) [Point] {channel="network:pingdevice:raspi_office:online"}
Switch iPhoneSE1_Peter "iPhoneSE1 Peter [MAP(tech.map):%s]" <iphone> (gNet) [Point] {channel="network:pingdevice:iPhoneSE1_Peter:online"}
Switch desktop "Acer Desktop[MAP(tech.map):%s]" <network> (gNet) [Point] {channel="network:pingdevice:desktop:online"}