AKWebIO

 

Plugin for controlling IP/IoT/WEB/USB relay and input boards and controllers.
Flexible plugin architecture allows the plugin author to easily add device support. Please post your requirements in the support forum.

Main Features

  • KMTronic WEB/UDP LAN Ethernet IP 2/4/8 Channels Relay Controllers

Included

  • Software License Codes

Requirements

  • HomeSeer HS4-Powered System
  • Compatible with Windows and Linux

Links

 HS4-plugin-01

 

HS4-plugin-02 

 

 

 

 

 

 

 

 

 

 Loxone SDM120 Modbus Energy Meter

 

 

Loxone SDM120 Modbus Energy Meter

 

 

Loxone SDM120 Modbus Energy Meter

 

 

 

Loxone SDM120 Modbus Energy Meter

 

MB_Eastron SDM120_Modbus_RTU-TCP.xml

 

 

 

 

 

KMTronic Plug-in and Creating Devices on HomeSeer HS3

 

 

We already have a plug-in for Sonoff's with Tasmota firmware which works great and we use it all the time, but sometimes WiFi isn't good enough especially for controls outside of the home or in a situation where reliability is important. For these cases we introduce the KMTronic Web Relay, an Ethernet based 8 relay device with optional DIN mounting. With the Web Relay we can control 8 individual relays using HomeSeer and our KMT Plug-in. We already use these both inside and outside of the building and find them very reliable and cost effective especially as compared to devices such as the Adam 6060 at 5 times the price. Likewise, sometimes temperature measurement is required with a degree of reliability and flexibility, such as monitoring external temperature, or water temperature. The one-wire DS18B20 is an established and reliable sensor available in many form factors and each LAN-DS1820 unit can support up to 4 of these.

 

https://shop.homeseer.com/products/dsl-kmtronic-software-plug-in-for-hs3

 

 

https://www.gen.net.uk/images/web-8relay-box-mobile-12.jpg

 

 

 

User Guide

https://www.gen.net.uk/kmtronic-homeseer



Main Features

    • Digital Output and DS1820 Temperature Monitoring
    • Ethernet (Wired) for reliability
    • TCP/IP Protocol
    • Monitored units with error handling
    • Queue based processing to avoid loading HS3

What's Included

    • Software License Codes

Requirements

    • HomeSeer HS3 or HS3PRO
    • Compatible with Windows
    • KMTronic Devices (either Web Relay or LAN DS18B20 WEB Temperature Monitor or both)




 

 

 

 

 

 
Heatmiser EDGE ModBus Thermostat
 

 

Heatmiser EDGE ModBus Thermostat

 

Protocol:
EDGE SERIES MODBUS COMMUNICATION PROTOCOL V1.8

 

Communication protocol:
1. UART Baud Rate: 9600
2. UART Parity: None
3. Communications ID Rang:0-32 ,255

 

Heatmiser EDGE
The Heatmiser EDGE is 230v powered Thermostat that is compatible with the Heatmiser wireless air sensor and wireless door/window switch. The wireless air sensor function is perfect for those looking to measure the temperature in another location and for those with larger open plan properties, multiple air sensors can be used to create an average temperature.

The Heatmiser EDGE can be set to work as a non programmable, 5/2 day, 7 day or 24 hour programmable thermostat.

 

230V Powered
Wireless Air Sensor Function
Modbus Network Function

 

 

Testing Heatmiser EDGE ModBus Thermostat with ModbusMAT freeware program and KMtronic USB<>RS485 adapter Testing Heatmiser EDGE ModBus Thermostat with ModbusMAT freeware program and KMtronic USB<>RS485 adapter

 

 

 

Testing Heatmiser EDGE ModBus Thermostat with ModbusMAT freeware program and KMtronic USB<>RS485 adapter Testing Heatmiser EDGE ModBus Thermostat with ModbusMAT freeware program and KMtronic USB<>RS485 adapter

 

 

Testing Heatmiser EDGE ModBus Thermostat with ModbusMAT freeware program and KMtronic USB<>RS485 adapter Testing Heatmiser EDGE ModBus Thermostat with ModbusMAT freeware program and KMtronic USB<>RS485 adapter

 

 

 

Testing Heatmiser EDGE ModBus Thermostat with ModbusMAT freeware program and KMtronic USB<>RS485 adapter Testing Heatmiser EDGE ModBus Thermostat with ModbusMAT freeware program and KMtronic USB<>RS485 adapter

 

 

 

Home Assistant

 

"configuration.yaml"

 

Working file for KMtronic ModBus Temperature Monitor

 

homeassistant:
 # Name of the location where Home Assistant is running
 name: Home
 # Location required to calculate the time the sun rises and sets
 latitude: 43.123777
 longitude: 25.688826
 # Impacts weather/sunrise data (altitude above sea level in meters)
 elevation: 542
 # metric for Metric, imperial for Imperial
 unit_system: metric
 # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
 time_zone: Europe/Sofia
 # Customization file
 customize: !include customize.yaml

# Show links to resources in log and frontend
introduction:

# Enables the frontend
frontend:

# Enables configuration UI
config:

http:
 # Secrets are defined in the file secrets.yaml
 # api_password: !secret http_password
 # Uncomment this if you are using SSL/TLS, running in Docker container, etc.
 # base_url: example.duckdns.org:8123

# Checks for available updates
# Note: This component will send some information about your system to
# the developers to assist with development of Home Assistant.
# For more information, please see:
# https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
updater:
 # Optional, allows Home Assistant developers to focus on popular components.
 # include_used_components: true

# Discover some devices automatically
discovery:

# Allows you to issue voice commands from the frontend in enabled browsers
conversation:

# Enables support for tracking state changes over time
history:

# View all events in a logbook
logbook:

# Enables a map showing the location of tracked devices
map:

# Track the sun
sun:

# Text to speech
tts:
 - platform: google

modbus:
 type: tcp
 host: 192.168.1.210
 port: 502
 
sensor:
 platform: modbus
 registers:
 - name: Sensor3
 unit_of_measurement: °C
 slave: 1
 register: 0
 count: 2
 register_type: input
 data_type: float
 precision: 2


device_tracker:
 - platform: ping
 interval_seconds: 30
 consider_home: 1200
 hosts:
 josh_iphone: 192.168.1.105
 my_tablet: 192.168.1.168
 
group:
 living_room:
 - light.bowl
 - light.ceiling
 - light.tv_back_light
 entities:
 - light.bedroom
 - media_player.nexus_player

scene:
 - name: Romantic
 entities:
 light.tv_back_light: on
 light.ceiling:
 state: on
 xy_color: [0.33, 0.66]
 brightness: 200
 - name: Movies
 entities:
 light.tv_back_light:
 state: on
 brightness: 100
 light.ceiling: off
 media_player.sony_bravia_tv:
 source: HDMI 1


 
#group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml

 

 

 

 

 

"Home Assistant: KMtronic ModBus Temperature Monitor

 

Home Assistant: KMtronic ModBus Temperature Monitor

 

 

 

 

Working file for KMtronic ModBus Temperature Monitor

 

 

Home Assistant: KMtronic ModBus Temperature Monitor

 

Home Assistant: KMtronic ModBus Temperature Monitor

 

Home Assistant: KMtronic ModBus Temperature Monitor

Home Assistant: KMtronic ModBus Temperature Monitor 

 

APT (Astro Photography Tool) added support Canon/Nikon KMTronic based shutter cable

 

 

 

 

 

https://ideiki.com/astro/usersguide/kmtronic_cable.htm

 

 

 

 

Simple wired option:

 

 

Cable 1 meter option:

 

 

Connection:

 

 

 

Result:

 

 

 

Receive POST data using PHP

 

 



KMtronic LAN DS18B20 Temperature Monitor

 

 

LAN DS18B20 High-Precision 1-Wire Digital Temperature Monitor

 

 

 

 

 ------------------------------------------------------------------------------

 

PHP file:

<?php


$date = date('Ymd');
$time = date('H:i:s');
$hourtime = date('H:i');
$unixtime = time();

$file = "/var/www/html/data/".$date.".log";
$current = file_get_contents($file);

$current .= $date;
$current .= "-";
$current .= $time;
$current .= "\t";
$current .= $unixtime;
$current .= "\t";

$temp = $_POST['temperature'];

$temp2 = implode("",$_POST['temperature']);

$current .=  $temp2;
$current .= "\r\n";

// Write the contents back to the file
file_put_contents($file, $current);

// a:2:{s:9:"device_id";s:10:"B3D53A5348";s:11:"temperature";a:1:{s:18:"'282b91240700002e'";s:5:"15.43";}}

?>

 

 

DATA file:
20161229-00:00:21    1482962421    22.75
20161229-00:00:56    1482962456    22.75
20161229-00:01:30    1482962490    22.75
20161229-00:02:04    1482962524    22.75
20161229-00:02:38    1482962558    22.75
20161229-00:03:12    1482962592    22.75
20161229-00:03:46    1482962626    22.75
20161229-00:04:20    1482962660    22.75
20161229-00:04:54    1482962694    22.75
20161229-00:05:28    1482962728    22.81
20161229-00:06:02    1482962762    22.81
...
...
...
...
...

 

 

 

 Domoticz lua script to convert XML output from KMTronic

DS1820 LAN module

 

 



KMtronic LAN DS18B20 Temperature Monitor

 

 

LAN DS18B20 High-Precision 1-Wire Digital Temperature Monitor

 

 

 

 

 ------------------------------------------------------------------------------
--
--
-- Domoticz lua script to convert XML output from KMTronic DS1820 LAN module
-- Reads the temperature based on the unique ID of the sensor and passes it
-- back to a virtual temperature sensor(s)
-- sensors in Domoticz
--
------------------------------------------------------------------------------
-- Rob Allen 12/04/2016
------------------------------------------------------------------------------

 

 Thank you Rob!

 

kmtronic domoticz ds1820 temperature

 

 

 

Add DUMMY device (in example "ROOM DATA")

https://web-relays.com/en/wp-content/uploads/2018/02/domoticz-lua-script-kmtronic-ds1820-01.jpg

 

Create a temperature type sensor (in an example "T1")

 

Check that is available in Devices

https://web-relays.com/en/wp-content/uploads/2018/02/domoticz-lua-script-kmtronic-ds1820-06-1-768x434.jpg

 

Check what is sensor ID (in example 70)

https://web-relays.com/en/wp-content/uploads/2018/02/domoticz-lua-script-kmtronic-ds1820-05.jpg


Download from here LUA script:

http://www.domoticz.com/forum/viewtopic.php?t=6456#p83096

 

Put in "domoticz/scripts/lua/"
and rename to
"script_time_kmtronic.lua"

 

 

 

 

Check ID your first sensor in your Temperature monitor (in example 28006D2307000061)

 

Next change in example
ID from "108" to your - "70"
Sensor ID from example 28006D2307000061 with your ID

and

Device_IP = "172.16.227.201" with your (in example "192.168.1.199")

 

https://web-relays.com/en/wp-content/uploads/2018/02/domoticz-lua-script-kmtronic-ds1820-03.jpg

 

 

 

 

 

 

More information:   
http://www.domoticz.com/forum/viewtopic.php?t=6456#p83096

 

 

 

 

 

 

 

Wednesday, 29 March 2017 08:45

User Manuals

Page 1 of 6