Software examples

Software examples (72)

Children categories

Friday, 09 November 2018 08:00

KMTronic Plug-in and Creating Devices on HomeSeer HS3

Written by

 

 

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

 

 

 

 

 

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

 

 

 

 

 

 

 http://sigma-shop.com/rs485-relays.html

 

 

 

 

Download ZIP file 

http://www.info.kmtronic.com/software/RS485_Relays/RS485_Relays_Command_Prompt.zip 

 

Unzip in any folder
in example "D:\KMtronic"

 

Quick help
rs485relays.exe COM<COM port> <COMMAND>
COM port: COM port
COMMAND: RS485 Relays commands (http://info.kmtronic.com/kmtronic-rs485-relays-commands.html)

NOTE: Commands must be without space (intervals).

 

 

Commands examples
rs485relays.exe COM5 FF0101 (this will turn on channel 1 board connected to COM:5)
rs485relays.exe COM5 FF0100 (this will turn off channel 1 board connected to COM:5)

 



 

 

 

 

 

 

 

 

 

 

 

 

 

 

http://www.loxone.com

 

 

Thank you David!

 

Loxone KMtronic UDP relay 

 

 

 

 Loxone KMtronic UDP Relay


 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Tuesday, 13 October 2015 14:22

Control4 KMtronic WEB IP Relay Driver by Soft.Kiwi

Written by

 

 

 Control4 KMtronic WEB Relay Driver

 

 



KMtronic UDP LAN Controled Internet relay board

 

 

 

 

Driver features

 

    Relay integration as connections.
    Support for multiple relay boards connected to the same C4 control unit.
    Trigger and toggle functions.

 

Driver Manual:

    http://c4.soft.kiwi/documents/Manual_KMtronic_Realys_v1.0.pdf

 

More information:


    http://c4.soft.kiwi/kmtronic_relay.html

 

 

 

Control 4

 

 

 

 

 

 

 

 

 

 

 

 

Example file for COM Port 1 (COM1)

 

 

KMtronic USB Relay control

 

 

 KMtronic USB Relay control

 

 


 

 

@echo off
cls
echo "--------------------------------------"
echo " KMtronic USB One Relay "
echo " example "
echo " "
echo " "
echo " "
echo " ON Command : 0xFF, 0x01, 0x01 "
echo " "
echo " OFF Command : 0xFF, 0x01, 0x00 "
echo " "
echo "--------------------------------------"

 

echo FF0100>off.txt

 

echo FF0101>on.txt

 

certutil -decodehex off.txt off.bin
certutil -decodehex on.txt on.bin

 

MODE COM1:9600,n,8,1
copy on.bin \\.\com1 /b
echo " Relay is ON"
copy off.bin \\.\com1 /b
echo " Relay is OFF"

 

del on.bin
del off.bin
del on.txt
del off.txt

 

 

 


 

 

 

Download

www.info.kmtronic.com/software/USB_Relays/KMtronic_USB_Relay_Command_Prompt.zip

 

 

 

 

 

 

 

 

 

 

 KMTronic LAN Ethernet IP 8 channels WEB Relay board BOX

 

 Google Chrome Example

 

Control KMtronic LAN relays using Explorer Bookmarks

 

 

 

 Click on the right top corner to open the Bookmark Manager or simple click Ctrl+Shift + O

 

 

Control KMtronic LAN relays using Explorer Bookmarks

 

copy this to the empty field : http://admin:This email address is being protected from spambots. You need JavaScript enabled to view it./FF0101

and change the user name and password with yours and change the IP address

  

Control KMtronic LAN relays using Explorer Bookmarks

 

 

same thing for OFF command just replace the FF0101 with FF0100

 http://admin:This email address is being protected from spambots. You need JavaScript enabled to view it./FF0100

 

Control KMtronic LAN relays using Explorer Bookmarks

 

 

 

 

 

 

Control KMtronic LAN relays using Explorer Bookmarks

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Tuesday, 16 June 2015 11:23

ModbusTools and KMtronic Modbus TCP Relay board

Written by

 

 

 

Modbus Poll


Modbus Poll is the very popular Modbus master simulator

for test and debug of your slave devices.

Supports Modbus RTU/ASCII and Modbus TCP/IP.


www.ModbusTools.com

 

 

 

 

05 (0x05) Write Single Coil LOG

 

web-8relay-modbus-mobile

 

 

 

 

 

 

 

 

 

 

 

Page 1 of 6