Skip to content

teverett/hsmqtt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI

HomeSeer hsMQTT

A Java MQTT bridge for HomeSeer. msMQTT polls the HomeSeer API on a schedule and publishes device change messages to an MQTT Broker. Messages are published in JSON format.

hsMQTT is one of numerous HomeSeer support applications created by khubla.com, including

msMQTT uses hsClient

License

msMQTT is distributed under the BSD 3-Clause License.

Configuration

msMQTT is configured via the file "hsmqtt.properties". A typical example is

# HomeSeer
hsurl=http://192.168.75.129/JSON
hsuser=HOMESEERUSERNAME
hspassword=HOMESEERPASSWORD

# MQTT
mqtturl=tcp://192.168.75.71:1883
mqtttopic=devices
mqttpublisherid=hsMQTT

# Number of threads to poll HomeSeer on
pollingthreads=5

# minutes
pollinginterval=1

Example message

{"deviceRef":107,"value":0.0,"lastChange":1594530001541,"location":"Living Room","location2":"Main Floor","name":"Living Room Dimmer","status":"Off","type":"Z-Wave Switch"}

Usage

java -jar target/hsmqtt-1.0.0-SNAPSHOT.jar 

A log file is generated to hsmqtt.log and rotated every 30 days.

About

A Java MQTT bridge for the HomeSeer JSON API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages