Documentation

Knowledge Base

Answers, guides and best practices for ComfortClick bOS.

Open in Confluence

Bit Converter

Bit converter converts integer input values to bits, which can be used for another home automation device. Conversion from integer into bit value is done by the standard bit conversion protocol (using binary bits 0 and 1).

Table of contents

Settings

To use it, link an Integer value to the Input Value field. bOS will then automatically read the integer and split it into separate bit values.

Each bit can be used individually in the configuration, visualization, tasks, alarms, or automation logic.

This is useful when a device sends multiple states inside one integer value, where each bit represents a different status, alarm, mode, or function. Additional information on the conversion is shown in the picture below, where value 13 is converted into bits.

05d41e80-26d5-4a23-ba01-7c3670492e6a.jpg

Each of these bits can be used to add additional functionalities into the building. Second picture shows how integer value 13 is displayed using bit converter in bOS. Many devices send statuses in integer values and each bit contains different information, so displaying the value bit by bit, can be very helpful displaying current device status.

bit_converter.jpg

Top