Skip to content

Andre-sv650/DomiqTcpIpHardwareElements

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

This is an arduino library for TCP connections to Port 2424. Sensors:

  1. Relais module
  2. DHT22 Temperature Sensor.
  3. BHI1750 light intensity sensor.
  4. SR04T ultrasonic distance sensor.
  5. STMVL53L0X laser distance sensor.
  6. Interrupt counting with saving the interrupt counter value to EEPROM.
  7. One wire temperature sensor (for example DS1820).
  8. Analog sensor (for example moisture sensor)
  9. RC switch 433Mhz. The baumarkt switches can be set directly from domiq base.

Prepare the sofware:

Install Visual studio code
Install platform IO
Install arduino or arduino mega Boards from the Platform IO start page inside Visual studio code.

Prepare the hardware:

Buy an Arduino or Arduino Mega
Or buy an node mcu.
Buy an Ethernet 2 or Ethernet Shield Shield

Instructions for first setup:

Check out this repository or download the zip file.
Go to the platform IO Site and click Open Project.
Open the folder where the zip file was unzipped. Click open
Open platform IO ini file in the Visual studio code editor. 
Check if you have an arduino or arduino mega, choose the correct platform.
Compile the project with visual studio code with platform IO installed. This should be finished without errors.

Choose connected hardware:

Open the src folder and than the folder AllYouNeedIsStartHere
Open the file sensor_elements_initiate.cpp or sensor_elements_keller_initiate.cpp, check which one is used in the main.cpp
Setup the harware that is connected. There are examples given.

Setup the IP address. Open the file tcp_ip_settings.h and set the mac address and the IP Address of the device.

Domiq Base

Domiq Base is a product to visualize LCN smart home devices. Domiq base can also use tcp connections for incoming or outgoing data.

Login to Domiq Base and in the status tab the new variables should already appear.

Setup a connection to the Relais in Domiq Base

You can use the variable in Domiq base just like any other Variable.

License

All Software is licensed under the GNU license V3. The library modules are licensed under the MIT license or are from https://github.com/krvarma/Dallas_DS18B20_SparkCore/blob/master/README.md

About

An Arduino project to setup components like DHT22 or Relay to be checked and set with Domiq base.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published