Page 1 of 1

Integration of a custom HVAC Controller

Posted: Saturday 09 April 2016 18:16
by Mat2Vence
Hi all,
I am pretty newbie with Domoticz eve if I have now based all my home automation on it. For the module I buying on the market, I don't have any issue.
My point is I developped a HVAC controller based on a nodeMCU board. It makes all my HVAC to be managed through http request. Now this module is working, I would need to know how to build the corresponding module within Domoticz.
Everything is controllable through http.. so I know haow to deal with on dOmoticz, however even if I know how to create a virtual switch, I would need to have something like a virtual HVAC controller... how can I deal with?

Thanks for your help.

Re: Integration of a custom HVAC Controller

Posted: Saturday 09 April 2016 18:28
by pj-r
You can use virtual switches(selector and thermostat/setpoint) to send commands to your hvac controller and scripting(lua, bash...) to poll values from contoller and update domoticz devices. When you edit switch you can find action field where you can put http call or script call.

I did similar thing but with mysensors library. There is domoticz <--serial-->mysensors gw<--wireless-->mysensors node<--modbus-->air source heat pump.

Re: Integration of a custom HVAC Controller

Posted: Saturday 09 April 2016 19:06
by Mat2Vence
Hummm I don't have thermostat in the virtual switch... I have "Heating" but this not sufficient for what I am palnning to do. I need to be able to setup the following elements:
- mode
- temperature
- fan speed
- pan mode
- on/off

I have found on the WIKI how to build new hardware through .c/.h file, but the wiki is a bit lite... and I am wondering if there is more easy way to go.

Re: Integration of a custom HVAC Controller

Posted: Monday 11 April 2016 7:12
by pj-r
For more info about selector device see: viewtopic.php?f=31&t=7244

This is your device vs. domoticz type mapping:
- mode -> selector
- temperature -> temperature
- fan speed -> selector
- pan mode -> selector
- on/off -> on/off (see pic below)

If you need setpoint device(thermostat) there is where from you can find it:
stepoint_device.png
stepoint_device.png (172.37 KiB) Viewed 1689 times

Re: Integration of a custom HVAC Controller

Posted: Monday 08 August 2016 9:22
by hanible147
Mat2Vence wrote:Hi all,
I am pretty newbie with Domoticz eve if I have now based all my home automation on it. For the module I buying on the market, I don't have any issue.
My point is I developped a HVAC controller based on a nodeMCU board. It makes all my hvac repair portland Oregon to be managed through http request. Now this module is working, I would need to know how to build the corresponding module within Domoticz.
Everything is controllable through http.. so I know haow to deal with on dOmoticz, however even if I know how to create a virtual switch, I would need to have something like a virtual HVAC controller... how can I deal with?

Thanks for your help.
In my opinion you have to consult with any professional or the person who use it. They will surly provide some suggestions to you.