eHouse Home Automation – Synchronization of controllers status for Inputs , Outputs , measured values.
Application for tablets, smartphones and panels on Android .
Description of the software package and libraries to create dedicated panels on the platform eHouse home automation – Software to control the system Home Automation eHouse – Control and Building Automation eHouse – Management .
Class EhouseTCP
Class is used to maintain the TCP / IP connection with the system Building & Home Automation eHouse (online) and update the data coming from the microprocessor controllers eHouse { Building Automation eHouse – Controllers } .
It also requires the use of classes:
* Ehousecommunication . class
* StatusEhouse . class
* StatusCommManager . class
When the connection ” query ” of eHouse Automation , to receive the current status of the drivers (online) for visualization applications { Building Automation eHouse – Gallery of Software Control } , data are updated in instances (1 controller => ; an instance of the class status) classes:
- StatusEhouse (for drivers eHouse1)
- StatusCommManager (for drivers eHouse TCP / IP)
These data can then be retrieved by the software for logging and visualization algorithms, or any other software on the Android platform , without having to write ” algorithms translate ” eHouse PC configuration for Android platform .
Features:
public static void TerminateQuery ()
Discontinuation of TCP / IP (infinite loop for receiving the status of drivers .
Example of use: EhouseTCP . TerminateQuery () ;
public static boolean QueryStart (String host , int port)
Initiates and maintains communication and reception of the status of all system drivers eHouse (infinite loop – it can be stopped by TerminateQuery ())
If the specified host is using host and port parameters
otherwise it uses the configuration settings (separately for Local and Internet connection, depending on the function to run public EnableInternet (boolean enab) )
Example of use: EhouseTCP . QueryStart ( ” ” , 9876) ; / / Connects to the default server at the TCP / IP eHouse
public static void AllDevsStatus ()
Imports driver names ” eHouse 1 – 485 ” , together with the names of exits , I , measuring inputs from Configuration Files
Example of use: EhouseTCP . AllDevsStatus () ;
public static void AllDevsTCPStatus ()
Imports driver names ” Ethernet eHouse ” together with the names of exits , I , measuring inputs from Configuration Files
Example of use: EhouseTCP . AllDevsTCPStatus () ;
Example of complete code:
More information eHouse Home Automation Controllers:
lighting control , heating , HiFi in spaces
Control central heating and ventilation
control of blinds , gates , awnings via Ethernet, SMS
control gates , shutters , awnings system version eHouse1
Design and installation of the system do it yourself
Home Automation eHouse – Independent System Design
Building Automation eHouse – Self-Installation