Skip to main content
Skip table of contents

Use excess electricity to run the airconditioning

Use case

Your customer has solar panels and an airconditioning installation capable of cooling or heating. 
In case of a electricity surplus, your customer wants to put this to good use. 
As the Niko Home Control solar mode can control various (types of) appliances in the home, your customer wants to be able to enable and disable the control of the air conditioners by the solar mode separately. 


In this example, we will base ourselves on controlling 2 indoor units. 


Procedure

Creating the controls and devices
  1. Create each indoor unit you want to control individually. 
    In this example, we will control 2 indoor units
    Create airco1 as 'generic heating' player (AIRCO1)
    Create airco2 as 'generic heating' player (AIRCO2)

  2. Create an equal number of virtual devices than the number of indoor units you want to control. 
    Create virtual device 1 (VIRT1)
    Create virtual device 2 (VIRT2)

  3. Create a virtual device (VIRT3) 
    This virtual device will make it possible to determine whether the air conditioners can be controlled by the solar mode or not. 


Creating the action(s) and routine(s)
  1. Create the routine Solar mode (ROUT1). 
    Configure the following behaviour:
    Select devices that should be activated in solar mode= 
    VIRT1
    VIRT2

  2. Create a basic action "solar control for airconditioner" (BASIC1) to control virtual device3 (VIRT3). 


Creating the conditions

To combine the information from solar mode and basic action to control the air conditioner, we create a condition per indoor unit:

  1. Create a condition (COND1) to control AIRCO1:
    IF VIRT1= true AND VIRT3= true 
    THEN AIRCO1: status = on
    ELSE AIRCO1: status = off

  2. Create a condition (COND1) to control AIRCO2:
    IF VIRT2= true AND VIRT3= true 
    THEN AIRCO2: status = on
    ELSE AIRCO2: status = off

Not every type of generic heating offers the same possibilities for 'status'.
Choose the most suitable status according to the partner system used by the customer. 




Addressing the device

The generic heating players AIRCO1 and AIRCO2 must be addressed before you can upload the configuration. 
More info: Addressing connected services.


Example

Click here to download the programming example.
(FPE_030_217_1.nhc2 file).

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.