Skip to content
/ tcpsensor Public

Home Assistant extended copy of tcp sensor for HACS

Notifications You must be signed in to change notification settings

se3/tcpsensor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This home assistant tcp sensor is a copy of already available TCP Sensor with bytearray transmission support. More see pull request home-assistant/core#80085

Installation of the custom component

Configuration Example

sensor:
  - platform: tcpsensor
    name: "TCP sensor name"
    host: 192.168.178.111
    port: 8899
    timeout: 10
    payload: "10 00 FF FF B6 00 00 00 C4"
    payload_is_hex: true
    value_template: "{{ value }}"

Description

payload_is_hex (default: false) flag is optional, so all existing configurations are compatible to existing TCP Sensor and handled same way.

payload and value format is a HEX string with space separator for better readability. see byteaaray.fromhex for more information.

About

Home Assistant extended copy of tcp sensor for HACS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages