Integration of a custom HVAC Controller

Client tools or tools that can connect with Domoticz. Tools for Windows, iOS, Android, Linux etc.

Moderator: leecollings

Post Reply
Mat2Vence
Posts: 41
Joined: Saturday 09 April 2016 18:11
Target OS: Linux
Domoticz version: 3.7449
Location: France
Contact:

Integration of a custom HVAC Controller

Post 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.
pj-r
Posts: 140
Joined: Wednesday 17 December 2014 17:30
Target OS: Linux
Domoticz version: V3.8650
Location: Jyväskylä, Finland
Contact:

Re: Integration of a custom HVAC Controller

Post 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.
LXC(x64 Ubuntu Xenial), RFXtrx433E, MySensors
Mat2Vence
Posts: 41
Joined: Saturday 09 April 2016 18:11
Target OS: Linux
Domoticz version: 3.7449
Location: France
Contact:

Re: Integration of a custom HVAC Controller

Post 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.
pj-r
Posts: 140
Joined: Wednesday 17 December 2014 17:30
Target OS: Linux
Domoticz version: V3.8650
Location: Jyväskylä, Finland
Contact:

Re: Integration of a custom HVAC Controller

Post 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 1681 times
LXC(x64 Ubuntu Xenial), RFXtrx433E, MySensors
hanible147
Posts: 1
Joined: Monday 08 August 2016 9:15
Target OS: Windows
Domoticz version:
Contact:

Re: Integration of a custom HVAC Controller

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest