Software examples

Software examples (72)

Children categories

 

 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 

 

 

 

 

 

 

 

 

Node-RED Example

https://github.com/kmtronic-ltd/node-red-example/

This is a node-red flow for controlling a couple of a KMTronic TCP Web Switch including and a Temperature Monitor

Node-Red https://nodered.org/

This flow requires from the Pallet Manager

Dashboard - node-red-dashboard

 

 

 

 

Every HTTP request will have to be edited with the IP address of your KMTronic WEB Switch (not UDP switch). Change 192.168.110.206,212 and 202 to the address of your KMTronic board/boards. If you don't have more than one board you can remove the rest.

Switch 6 is a PTT switch and by pressing it, it will toggle on Switch 6 for 1 second - you can delete it if not required

In the initial setup of your KMtronic switch turn off any authentication.

 

 

 

 

 

 

 

 

 

 

 

 

Credits Michael Walker

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

 

 

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

 

 

 

 

 

 

 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


 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Page 1 of 6