Clipsal C-Bus Podręcznik Użytkownika Strona 1

Przeglądaj online lub pobierz Podręcznik Użytkownika dla Monitory z ekranem dotykowym Clipsal C-Bus. Clipsal C-Bus User guide Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj

Podsumowanie treści

Strona 1 - Michael Farrell

cbus DocumentationRelease 0.1-devMichael FarrellDecember 10, 2014

Strona 2

cbus Documentation, Release 0.1-dev6 Chapter 1. Introduction

Strona 3

CHAPTER 2HackingInformation about using the hardware and software.2.1 Official documentationOfficial serial protocol documentation is available from Cli

Strona 4 - Python Module Index 51

cbus Documentation, Release 0.1-dev2.3 Setting up a fake CNI and sniffing the protocolIf you want to see how Toolkit interacts with a Serial PCI, use t

Strona 5 - Contents 1

cbus Documentation, Release 0.1-dev2.5 Unit TestsThere’s some basic unit tests that are written that require you have the nosetests package (nose on p

Strona 6 - 2 Contents

cbus Documentation, Release 0.1-dev10 Chapter 2. Hacking

Strona 7 - 1.1 What is CBus?

CHAPTER 3CNI DiscoveryAt the moment this is a rather unorganised set of notes while I’m still figuring out the protocol.I’ve started working on a test

Strona 8 - 1.4 Installing

cbus Documentation, Release 0.1-devProduct IDs:• 01: CNI2• 02: Hidden – Toolkit ignores packets with this product ID. May be used for internal develop

Strona 9 - 1.4.3 Windows

CHAPTER 4WiserThe Wiser is a rebadged SparkLAN WRTR-501 802.11b/g/draft-n WiFi Router with custom firmware. It runs anembedded Linux system, with an ex

Strona 10 - 6 Chapter 1. Introduction

cbus Documentation, Release 0.1-dev4.2 Protocol4.2.1 Discovery and HandshakeAfter the SWF is started, it loads the configuration file from /clipsal/reso

Strona 11 - 2.2 CNI / network protocol

cbus Documentation, Release 0.1-dev<ka cbus_connected="1" /><cbd_version version="Kona_1.24.0" /><net_status cni_tr

Strona 13 - 2.5 Unit Tests

cbus Documentation, Release 0.1-dev4.4 CFTPCFTP is a service which acts as a back-door into the device. It runs on port 8336, and is managed by the se

Strona 14 - 10 Chapter 2. Hacking

cbus Documentation, Release 0.1-dev4.4.3 Authenticated stateWhen in the authenticated state, the network code appears to be far less robust. Sending l

Strona 15 - CNI Discovery

cbus Documentation, Release 0.1-devGETFILELISTClient command:GETFILELISTServer response:202 FILE1=C:\HomeGate\Projects\Current\EXAMPLEproj.tar.gzRetri

Strona 16

cbus Documentation, Release 0.1-dev– cftp_daemon will not be able to copy a new project file into RAM temporarily for flashing, and may be perma-nently

Strona 17 - 4.1 Downloading SWFs

cbus Documentation, Release 0.1-dev20 Chapter 4. Wiser

Strona 18 - 4.2 Protocol

CHAPTER 5daemonsThe cbus.daemon package defines a number of daemons used to interact with the C-Bus network.5.1 cdbusdcdbusd is a daemon that is used t

Strona 19 - 4.3 Getting a shell

cbus Documentation, Release 0.1-dev• saged which is a backend WebSockets server that translates WebSockets messages into messages in cdbusd,and implem

Strona 20 - 4.4 CFTP

cbus Documentation, Release 0.1-dev• locations: A dictionary of locations, with the key representing the ID of the location, and the value repre-senti

Strona 21 - 4.4.3 Authenticated state

cbus Documentation, Release 0.1-dev5.3.3 ScreenshotsAndroid (Chrome)24 Chapter 5. daemons

Strona 22 - 4.4.4 Project file transfer

cbus Documentation, Release 0.1-dev5.3. sage 25

Strona 23 - 4.5 Firmware image

Contents1 Introduction 31.1 What is CBus? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31.2 Clipsal’s o

Strona 24 - 20 Chapter 4. Wiser

cbus Documentation, Release 0.1-deviOS “Web App”26 Chapter 5. daemons

Strona 25 - 5.3 sage

cbus Documentation, Release 0.1-dev5.3. sage 27

Strona 26 - 5.3.1 Running

cbus Documentation, Release 0.1-dev5.4 stagedstaged is a scene control daemon. This isn’t finished yet.It connects to cdbusd, and allows you to create

Strona 27 - 5.3.2 Other options

CHAPTER 6dump_labels utilitydump_labels parses a Toolkit backup file (CBZ) and prints out group and unit address labels into a JSON file.It will remove

Strona 28 - 5.3.3 Screenshots

cbus Documentation, Release 0.1-dev30 Chapter 6. dump_labels utility

Strona 29 - 5.3. sage 25

CHAPTER 7D-Bus Client APIThe recommended way to interact with libcbus is through cdbusd and it’s D-Bus API.It allows many applications, written in any

Strona 30 - 26 Chapter 5. daemons

cbus Documentation, Release 0.1-dev• level (d) – An amount between 0.0 and 1.0 indicating the brightness to set.Returns Single-byte string with code f

Strona 31 - 5.3. sage 27

CHAPTER 8libcbus module index8.1 cbus PackageThis is the package where all C-Bus modules are defined.8.1.1 Common functionscbus.common defines various c

Strona 32 - 5.4 staged

cbus Documentation, Release 0.1-devThrows ValueError If the given duration is too long and cannot be represented.cbus.common.get_real_cbus_checksum(i)

Strona 33 - 6.1 Invocation

cbus Documentation, Release 0.1-devclass cbus.protocol.base_packet.SpecialPacketBases: cbus.protocol.base_packet.BasePacketchecksum = Falsedestination

Strona 34

Python Module Index 51ii

Strona 35 - D-Bus Client API

cbus Documentation, Release 0.1-devapplication = Noneclassmethod decode_packet(data, checksum, flags, destination_address_type, rc, dp, priority_class)

Strona 36 - # Stops ramping on GA 5

cbus Documentation, Release 0.1-devParameters line (str) – CBus event dataReturns Remaining unparsed data (str) or None on error.Return type str or No

Strona 37

cbus Documentation, Release 0.1-devReturn type stringlineReceived(line)Called by LineReciever when a new line has been recieved on the PCI connection.

Strona 38 - 8.1.2 Protocol

cbus Documentation, Release 0.1-devon_lighting_label_text(source_addr, group_addr, flavour, language_code, label)Event called when a group address’ lab

Strona 39

cbus Documentation, Release 0.1-devconnectionMade()Called by twisted a connection is made to the PCI.This doesn’t get fired in normal serial connection

Strona 40

cbus Documentation, Release 0.1-devlighting_group_terminate_ramp(source_addr, group_addr)Stops ramping a group address at the current point.Parameters

Strona 41

cbus Documentation, Release 0.1-devApplicationsRunning ontop of the C-Bus protocols are applications.This package provides encoders and decoders for a

Strona 42

cbus Documentation, Release 0.1-devParameters• packet (cbus.protocol.base_packet.BasePacket) – The packet that this SAL is to be includedin.• variable

Strona 43

cbus Documentation, Release 0.1-devclassmethod decode(data, packet)Decodes a enable control application packet and returns it’s SAL(s).Parameters• dat

Strona 44

cbus Documentation, Release 0.1-devBase type for lighting application SALs.This should not be called directly by your code!Use one of the subclasses o

Strona 45

cbus Documentation, Release 0.1-devProject Page / Source repository: https://github.com/micolous/cbuslibcbus is a set of Python libraries for interact

Strona 46

cbus Documentation, Release 0.1-devclass cbus.protocol.application.lighting.LightingOffSAL(packet, group_address)Bases: cbus.protocol.application.ligh

Strona 47 - Enable Control Application

cbus Documentation, Release 0.1-devclass cbus.protocol.application.temperature.TemperatureSAL(packet=None,group_address=None)Bases: objectBase type fo

Strona 48

cbus Documentation, Release 0.1-devThis library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even theimplied w

Strona 49

CHAPTER 9Indices and tables• search49

Strona 50

cbus Documentation, Release 0.1-dev50 Chapter 9. Indices and tables

Strona 51 - 8.1.3 toolkit Package

Python Module Indexccbus.common, 33cbus.protocol.application.clock, 42cbus.protocol.application.enable, 43cbus.protocol.application.lighting, 44cbus.p

Strona 52 - Invocation

cbus Documentation, Release 0.1-dev52 Python Module Index

Strona 53

IndexAadd_cbus_checksum() (in module cbus.common), 33application (cbus.protocol.pm_packet.PointToMultipointPacketattribute), 35application_addr1 (cbus

Strona 54

cbus Documentation, Release 0.1-devdecode_cbus_event() (cbus.protocol.pciprotocol.PCIProtocolmethod), 36decode_cbus_event() (cbus.protocol.pciserverpr

Strona 55

cbus Documentation, Release 0.1-devlighting_group_terminate_ramp(), 32lighting_group_terminate_ramp()(cbus.protocol.pciprotocol.PCIProtocolmethod), 37

Strona 56 - 52 Python Module Index

cbus Documentation, Release 0.1-dev2 Contents

Strona 57

cbus Documentation, Release 0.1-devSpecialServerPacket (class in cbus.protocol.base_packet),35status_request (cbus.protocol.pm_packet.PointToMultipoin

Strona 58

CHAPTER 1IntroductionWelcome to libcbus!This is a Python library for interacting with Clipsal CBus units, and provides some additional utility functio

Strona 59

cbus Documentation, Release 0.1-devlibcbus also includes an abstraction daemon called cdbusd which will allow multiple applications to simultane-ously

Strona 60

cbus Documentation, Release 0.1-dev1.4.2 Mac OS XIn order to run this software, you’ll need to first install Xcode (from the App Store) and MacPorts.Yo

Komentarze do niniejszej Instrukcji

Brak uwag