Coder Social home page Coder Social logo

kamibo / calaos-ha Goto Github PK

View Code? Open in Web Editor NEW

This project forked from willoma/calaos-ha

0.0 1.0 0.0 36 KB

Home Assistant integration to get Calaos inputs and outputs states, as well as trigger Calaos outputs.

License: MIT License

Python 100.00%

calaos-ha's Introduction

Home Assistant Integration for Calaos

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

Calaos is a home automation platform, initially created with support of Wago 750 series PLCs.

This integration allows getting Calaos inputs and outputs states into Home Assistant, as well as triggering Calaos outputs.

Calaos configuration cannot be changed using Home Assistant.

Notice

This integration is an independent project: the Calaos team is by no means invovled in its development.

Calaos to Home Assistant mapping

A device is created for each Calaos supported item, as well as an entity when applicable.

As a general rule:

  • items that only send one-shot events have no entity, only device triggers (buttons, switches, etc)
  • items that only have values but cannot be modified are mapped to sensors or binary sensors
  • items that can be modified/triggered are mapped to relevant types

The following devices/items from Calaos are supported:

Calaos type HA platform
Generic
InPlageHoraire Binary sensor
InputTime (triggers only)
InternalBool Switch
InternalInt Number
InternalString Text
Scenario Switch
Wago
WIDigitalBP (triggers only)
WIDigitalLong (triggers only)
WIDigitalTriple (triggers only)
WODali Light
WODigital Light or switch
WOVoletSmart Cover
Web
WebInputAnalog Sensor
WebInputString Sensor
WebInputTemp Sensor
Fallback
Any other type Sensor

Calaos rooms are suggested as Home Assistant areas.

Make lights be switches

At least in the Calaos version I am using right now, there is no way to define outputs other than lights.

As a trick to make Calaos lights become switches in Home Assistant, use the following prefixes in their name:

  • SW for regular switches
  • OU for outlets

That way, Calaos output lights will be seen as switches. The prefix is removed in the entity and device name. Therefore, a Calaos light item with name "SW Door" will be seen as a switch named "Door".

calaos-ha's People

Contributors

tiramiseb avatar willoma avatar kamibo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.