Page 1 of 1

ESP Easy to Fibaro

Posted: 03 Feb 2019, 10:08
by miszuni
Hi,
I want to send information about temperature, humidity and pressure to Fibaro, which requires authorization. I need to do it cyclically in separate URL calls because I want to do this in to a separate Virtual Device: 1. VD temperature 2. VD humidity, 3. VD pressure
Currently I am sending these parameters to one virtual device. Example below.

I use for this Generic HTTP:
Controller User: loginToFibaro
Controller Password: passwordToFibaro
Controller Publish: api/callAction?deviceID=199&name=setProperty&arg1=ui.temp1.value&arg2=Temp:%val1%,%20Hum:%20%val2%%20,%20press:%20%val3%

I think I should use rules and sendtohttp but how to send SendToHTTP with authorisation?
SendToHTTP IPfibaro,80,/api/callAction?deviceID=200&name=setProperty&arg1=ui.temp.value&arg2=%val1%
SendToHTTP IPfibaro,80,/api/callAction?deviceID=201&name=setProperty&arg1=ui.hum.value&arg2=%val2%
SendToHTTP IPfibaro,80,/api/callAction?deviceID=202&name=setProperty&arg1=ui.press.value&arg2=%val3%

Re: ESP Easy to Fibaro

Posted: 10 Oct 2019, 10:38
by Przemasm
Hi, i want to connect ESPEasy temp/humidity sensor to fibaro can you please write how did you setup config on the fibaro Virtual Device that it can display the parameters ?
Can you use it to create scenes based on the parameters read from ESP Sensors ?

Re: ESP Easy to Fibaro

Posted: 11 Oct 2019, 05:02
by miszuni
Przemasm wrote: 10 Oct 2019, 10:38 Hi, i want to connect ESPEasy temp/humidity sensor to fibaro can you please write how did you setup config on the fibaro Virtual Device that it can display the parameters ?
supporting photos:
Image
https://drive.google.com/file/d/1h4KSjU ... sp=sharing
Image
https://drive.google.com/file/d/1aZrHkV ... sp=sharing
Image
https://drive.google.com/file/d/1y1slKw ... sp=sharing
Image
https://drive.google.com/file/d/1YjB1xW ... sp=sharing

Controller Publish:

DS18b20 (one value per sensor/device)
api/callAction?deviceID=%id%&name=setProperty&arg1=ui.%tskname%.value&arg2=Time:%20%systime%,%20Temp:%20%val1%

BMx280 (more value per sensor/device)
api/callAction?deviceID= %id%&name=setProperty&arg1=ui.%valname%.value&arg2=Time:%20%systime%,%20%valname%:%20%value%
Przemasm wrote: 10 Oct 2019, 10:38 Can you use it to create scenes based on the parameters read from ESP Sensors ?
No. You may be interested in this: https://forum.fibaro.com/topic/21685-fe ... setglobal/

This is not a perfect solution.
I am currently testing hassIO (hass.io). IM very impressed.
Unfortunately, automatic detection in hass by MQTT does not work for Easy ESP - it is reported to fix it (Easy Esp). They haven't been doing anything for this for a year and a half.
https://github.com/letscontrolit/ESPEasy/issues/977

I'm thinking about moving to ESPHome.