Page 1 of 1

Control infrared heating panels + AC (IntesisHome)

Posted: Friday 10 August 2018 5:59
by Sway06
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.

Re: Control infrared heating panels + AC (IntesisHome)

Posted: Monday 29 October 2018 20:01
by Philos31
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.

Re: Control infrared heating panels + AC (IntesisHome)

Posted: Monday 03 December 2018 21:18
by Sway06
Philos31 wrote: Monday 29 October 2018 20: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?

Re: Control infrared heating panels + AC (IntesisHome)

Posted: Monday 03 December 2018 21:20
by Sway06
And regarding Intesis and my Panasonic heating pump, did anyone perhaps manage to pull this up in Domoticz somehow?

Re: Control infrared heating panels + AC (IntesisHome)

Posted: Tuesday 11 December 2018 17:11
by gianfrdp
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 3071 times

Re: Control infrared heating panels + AC (IntesisHome)

Posted: Thursday 15 August 2019 20:24
by xavierlp
Hello Gianfrdp

Thanks to share your script with us.

As I am a newbie I'd like to know how to setup.

Do I need to copy paste your code in a file *.py ? If yes where to copy it?

Thanks for your help.

Xavier

Re: Control infrared heating panels + AC (IntesisHome)

Posted: Friday 23 July 2021 18:02
by gianfrdp
gianfrdp wrote: Tuesday 11 December 2018 17:11
Hello,
as my IntesisHome device is dead, and buy another one is quite expensive because is out of production and personally I don't like to connet to a cloud service, I bought a modbus IntesisBox PA-AW-MBS-1 (also outdated as my heat pump is is quite old, by 2012) for more or less same price.

I developed a python library to connect to modbus and send data to domoticz (and also to change heat pump parameters):
https://github.com/gianfrdp/pyModbusIntesisBox

Hope this could be useful to others too
image_02.png
image_02.png (118.78 KiB) Viewed 1410 times
image_01.png
image_01.png (76.33 KiB) Viewed 1410 times