FHEM Forum

FHEM - Hausautomations-Systeme => Unterstützende Dienste => Thema gestartet von: gabvoir am 31 Oktober 2018, 12:32:26

Titel: 73_PRESENCE Force report
Beitrag von: gabvoir am 31 Oktober 2018, 12:32:26
Hello,
I'm french, so i'll speak in english :)
I installed recently FHEM with lepresenced in order to communicate with my eedomus box.
All is okey for a normal use but I would like to improve the interface.

I would like from my box, therefore through an HTTP API, to force the presence report.
Actually I set time report to "30/60", but I would like send a report when for instance my entrance door is opened.
Is it possible ?

Thank's for helping
Titel: Antw:73_PRESENCE Force report
Beitrag von: PatrickR am 31 Oktober 2018, 23:38:51
Bonsoir!

set presencedevice statusRequest
should do the trick.

Patrick


Von unterwegs gesendet.
Titel: Antw:73_PRESENCE Force report
Beitrag von: gabvoir am 02 November 2018, 23:23:08
Thank you for trick !
Then I would like to do through WEB API and return result in XML format.
I set :
define WEBeedomus FHEMWEB [PORT] global
attr WEBeedomus allowfrom [IPBOX]
attr WEBeedomus csrfToken none

And then :
http://[IPFHEM]:[PORT]/fhem?cmd=set%20Pebblebee_Gab%20statusRequest%201

But how could I have Pebblebee_Gab status in XML ?

Thank you