vThings Forums
MQTT connection to HomeAssistant not working - Printable Version

+- vThings Forums (http://forum.vair-monitor.com)
+-- Forum: vThings (http://forum.vair-monitor.com/forumdisplay.php?fid=1)
+--- Forum: vAir Monitor (CO2, Dust, Tempereature, etc..) (http://forum.vair-monitor.com/forumdisplay.php?fid=2)
+--- Thread: MQTT connection to HomeAssistant not working (/showthread.php?tid=51)

Pages: 1 2


RE: MQTT connection to HomeAssistant not working - admin - 01-27-2017

yeah, thanks Smile
i will add it and also make the Config tool configurable to use also this binding


RE: MQTT connection to HomeAssistant not working - code_talker - 05-22-2017

(01-25-2017, 11:17 AM)admin Wrote: thanks, when i was reading the docs, i found only the MQTT method but not hte HTTP Smile
i will add it.
currently there is no support for arbitrary headers just the content type, i will add also an option to specify generic headers
here is how currently the custom HTTP config has to look like for more details
{"method":"POST","url":"http://things.ubidots.com/api/v1.6/devices/dsds?token=sadssads","ct":"application/json","pay":"{\"sdsd\":%TEMP%}"}

Hi,

I have been running my vair monitor with homeassistant without problems for the last months. Works great :-)

But now, that I've started integrating other hardware into home assistant, I come to the point where I do not want to to operate it without password access. Unfortunately, enabling password requries the password to be send in the HTTP header when sending sensor data from vair to home assistant.

Do you have any news if configuring custom http header is possible now? I could not see any information about it in the change log.


RE: MQTT connection to HomeAssistant not working - admin - 05-22-2017

aaaa yeah.. i had forgotten about this feature, sorry. I will add it in the next few days


RE: MQTT connection to HomeAssistant not working - admin - 05-23-2017

(05-22-2017, 08:49 AM)code_talker Wrote: Do you have any news if configuring custom http header is possible now? I could not see any information about it in the change log.

i just added it, please give it a try as i am not at home, and do not have a device with me to test it.
update to the latest version and add two attributes to the json config
"hn1":"header_name", "hv1":"header_value"

only one header is supported


RE: MQTT connection to HomeAssistant not working - code_talker - 05-30-2017

(05-23-2017, 02:59 AM)admin Wrote:
(05-22-2017, 08:49 AM)code_talker Wrote: Do you have any news if configuring custom http header is possible now? I could not see any information about it in the change log.

i just added it, please give it a try as i am not at home, and do not have a device with me to test it.
update to the latest version and add two attributes to the json config
"hn1":"header_name", "hv1":"header_value"

only one header is supported

Works like a charm! Perfect. Thanks again for the great support.