Skip to content

Use your ModbusIP devices as HomeKit accessories with Telnet as configuration tool

License

Notifications You must be signed in to change notification settings

emelianov/modbus-SmartHome

Repository files navigation

modbus-SmartHome

This sketch is

Supported CLI features

  • ModbusIP Server
  • ModbusIP Client. Pull/push registers from server by schedule.
  • 1-Wire DS18B20 mapping to Modbus registers. Query schedule.
  • GPIO mapping to Modbus registers (not implemented completry yet)
  • Apple HomeKit (mapping Modbus registers to)
  • Configuration is storing in JSON and aplaied at boot
  • Modbus interactive read/write local and remote registers
  • GPIO interactive read/write/mode change
  • 1-Wire bus scan
  • I2C bus scan
  • File operations (list, remove, view content)
  • System operarions (memory information, reboot, uptime, show date/time)
  • Ping

Based on following progects

Telnet CLI commands

File system

  • format
  • ls
  • rm
  • cat
  • hexdump
  • line

Modbus (slave)

  • coil
  • hreg
  • ists
  • ireg

ModbusIP (master)

  • slave
  • slavecoil
  • slavehreg
  • slaveists
  • slaveireg
  • pullcoil
  • pullhreg
  • pullists
  • pullireg
  • pushists
  • pilllist

1-Wire

  • dslist
  • dsscan
  • dsname
  • dsmap
  • dssave

I2C

  • i2cscan

GPIO

  • gpio
  • gpiomode
  • gpiomapcoil
  • gpiomapists
  • gpiolist
  • gpiosave

HomeKit

  • hkreset
  • hklist
  • khtemp
  • hklamp

WS2812

  • ledcolor
  • ledon
  • ledoff
  • ledshift
  • ledrotate
  • ledshow

LCD

  • lcdtext
  • lcdnum
  • lcdclear

Batch

  • exec
  • @delay
  • @goto
  • &
  • @add
  • @ifeq
  • @ifgt
  • @ifle
  • :

System

  • reboot
  • serial
  • mem
  • ps
  • kill
  • uptime
  • ping (ESP8266 only)
  • ?

About

Use your ModbusIP devices as HomeKit accessories with Telnet as configuration tool

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published