FHEM Forum

FHEM => Frontends => FHEMWEB => Thema gestartet von: Luc115 am 09 Juni 2016, 21:23:58

Titel: How to determine a new Femweb connection
Beitrag von: Luc115 am 09 Juni 2016, 21:23:58
Hi,

Is there a way to find out if a new connection is made to Fhemweb? I want to get the IP of the device (peer) that connects.
Eventmonitor does not record an event when a new connection is made. Is there another way to trigger an action ?

Luc
Titel: Antw:How to determine a new Femweb connection
Beitrag von: rudolfkoenig am 09 Juni 2016, 21:26:29
There will be no event generated when a new connection is established, you have to poll for devices of "TYPE=FHEMWEB" e.g. with list, end evaluate the result.
Titel: Antw:How to determine a new Femweb connection
Beitrag von: Luc115 am 11 Juni 2016, 17:23:25
Danke für  die Antwort