Control infrared heating panels + AC (IntesisHome)

For heating/cooling related questions in Domoticz
Post Reply
Sway06
Posts: 9
Joined: Thursday 09 August 2018 5:51
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Sweden
Contact:

Control infrared heating panels + AC (IntesisHome)

Post by Sway06 » Friday 10 August 2018 5:59

Hello Domoticzians,

I am a new member on this forum and started my first home automation project with a combination of Raspberry pi 3, Rfxtrx433e, Xiaomi Mi Gateway when it comes to hardware. I started to control lights/wall plugs with 433mhz devices since it’s cheap and I don’t feel like I need to extract more information than knowing if it’s ON or OFF so that part suits me well. For security, I am using Xiaomi smart home devices like motion sensors, smoke detector and will later on connect IP outdoor cameras.

Now I have changed my main heating system to infrared heating panels in each room, combined with an AC that makes warm air circulate inside the house.

I am looking for 2 things:

1. To embed my AC in Domoticz so I can control it there. It’s a Panasonic one and I am already using Intesishome to control it wirelessly at home and outside home with my phone. I know IntesisHome makes the API available for developers but I am not much into coding so far so I was wondering if someone here has managed to embed Intesishome into Domoticz and how?

2. I would like to control my heating panels wirelessly from/outside home. Each panel (or max 2 panels) are connected to a thermostate and then the thermostate is connected to a wall plug. Panels cannot be ON for an extended time and that is the reason why there are connected to a thermostate (+ saving energy). I have been thinking a lot and I believe that if I want to start controlling those, I will need to either change thermostate type for a type that offers wireless remote connection or another solution would be to get rid of the thermostates and connect the panels directly to a wall plug. The second option might be cheaper and more suitable to the setup I already have for home automation. Would it be possible to combine the following setup?

- Connect panel directly to 433mhz wall plug devices so they can be controlled from distance by switching them ON/OFF.

- Place Xiaomi temperature sensors in each room where panels are installed

- Create automation in Domoticz using following suggestions:
IF temp sensor <19 degrees = wall plug ON
IF temp sensor >21 degrees = wall plug OFF

What do you think? Would that be a good solution?

Thanks in advance for your insights and please continue the awesome work that you guys do, it’s really needed and recognized.

Philos31
Posts: 59
Joined: Friday 15 August 2014 22:37
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Control infrared heating panels + AC (IntesisHome)

Post by Philos31 » Monday 29 October 2018 21:01

I have a IR panel in the bathroom that I controll with domoticz.
It switches on at 6 in the morning only when we are home (looks for phones) and if temperature is <19, it switches on and off untill 7:30 and then switches off.
RasPi2/KaKu/HUE/Xiaomi/Z-Wave/Nuki/Daikin 3,5kw Ururu Sarara/IR Heating Panels all working together with domoticz

Sway06
Posts: 9
Joined: Thursday 09 August 2018 5:51
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Sweden
Contact:

Re: Control infrared heating panels + AC (IntesisHome)

Post by Sway06 » Monday 03 December 2018 22:18

Philos31 wrote:
Monday 29 October 2018 21:01
I have a IR panel in the bathroom that I controll with domoticz.
It switches on at 6 in the morning only when we are home (looks for phones) and if temperature is <19, it switches on and off untill 7:30 and then switches off.

Hi Philos31,

Thanks for replying. Nice to hear you were able to setup that part. How are you controlling the temperature? Are you using a temp sensor that is setup in Domoticz and have some kind of script in there that regulates ON/OFF depending on what the temperature in the room is?

I am thinking about using a Xiaomi wireless temp sensor and plug the IR panel heater in a Telldus wireless ON/OFF plug. All configured in Domoticz. Could that be a good option?

Sway06
Posts: 9
Joined: Thursday 09 August 2018 5:51
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Sweden
Contact:

Re: Control infrared heating panels + AC (IntesisHome)

Post by Sway06 » Monday 03 December 2018 22:20

And regarding Intesis and my Panasonic heating pump, did anyone perhaps manage to pull this up in Domoticz somehow?

gianfrdp
Posts: 10
Joined: Sunday 10 January 2016 4:22
Target OS: Linux
Domoticz version: 3.8805
Contact:

Re: Control infrared heating panels + AC (IntesisHome)

Post by gianfrdp » Tuesday 11 December 2018 18:11

Hello, I did.

Look here https://github.com/gianfrdp/pyIntesisHome
or here https://github.com/jnimmo/pyIntesisHome

I use this script to send water tank temp to domoticz (I have a Panasonic Aquarea HeatPump) with python 3.5, but it works also with AirConditioner.

Code: Select all

#!/usr/bin/env python3.5

import requests
from optparse import OptionParser
from pyintesishome import IntesisHome
import sys
import pycurl
import re
import paho.mqtt.client as mqtt
import paho.mqtt.publish as publish
import time
from datetime import datetime
try:
    from io import BytesIO
except ImportError:
    from StringIO import StringIO as BytesIO

def main():

    username="xxxxxx" # IntesisHome login
    password="yyyyyyyyy" # IntesisHome password
    idd = 1zzzzzzzzzzz # IntesisHome device id
    aquarea = None

    temp_idx = 18  # Domoticz IDX
    set_point_idx = 40 # Domoticz IDX

    aquarea = IntesisHome(username, password)
    aquarea.poll_status()

    today = datetime.today()
    tank_temp = aquarea.get_tank_temperature(idd)
    tank_set_point = aquarea._get_gen_value(idd,'tank_setpoint_temperature')
    wifi_signal = aquarea._get_gen_value(idd,'wifi_signal_2')
    print(today.strftime("%Y-%m-%d %H:%M:%S: ") + "Tank temperature = %.1f°C, Tank set point = %.1f°C, WIFI signal = %d" % (tank_temp,tank_set_point,wifi_signal))

    if (wifi_signal > 0):
        msgs = [{'topic':"domoticz/in", 'payload':"{\"idx\":%d,\"nvalue\":0,\"svalue\":\"%s\"}" % (temp_idx, str(tank_temp))},.
                ("domoticz/in", "{\"idx\":%d,\"nvalue\":0,\"svalue\":\"%s\"}" % (set_point_idx, str(tank_set_point)), 0, False)]
        rc = publish.multiple(msgs, hostname="192.168.2.31", port=1883, client_id="pyIntesisHome2")
        print(today.strftime("%Y-%m-%d %H:%M:%S: ") + "Publish: %s" % (rc))


if __name__ == "__main__":
    main()
chrome_2018-12-11_17-06-51.png
chrome_2018-12-11_17-06-51.png (21.35 KiB) Viewed 32 times

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests