GO-V.ORG
As seen in

Very Simple Control Protocol

The Very Simple Control Protocol (VSCP) is a free automation protocol suitable for all sorts of automation task where building- or home-automation is in the main focus.[src] Its main advantage is that each VSCP-node can work completely autonomous, being part of distributed network of other nodes.[src] VSCP is independent from the physical layer (e.g.[src] CAN bus, Ethernet, RS-485, RS-232, MiWi) connecting the individual nodes to form the automation network bus.[src] On the bus there can be nodes reading switches, controlling lighting, blinds, windows or information displays, broadcasting physical measurements (e.g.[src] temperature, luminosity, power consumption, etc.), multimedia control, burglar- or fire-alarm, etc.[src] There is a subset of the protocol (Level I) that is very much tailored to the CAN bus and resource restricted microcontrollers.[src] Protocol Level II is designed for Ethernet (UDP, TCP and own Ethernet-type Raw-Ethernet) and wireless physical layers.[src] All share the same common message fields and framework and can be connected through gateways.[src]

The Very Simple Control Protocol (VSCP) is a free automation protocol suitable for all sorts of automation task where building- or home-automation is in the main focus.[src] Its main advantage is that each VSCP-node can work completely autonomous, being part of distributed network of other nodes.[src] VSCP is independent from the physical layer (e.g.[src] CAN bus, Ethernet, RS-485, RS-232, MiWi) connecting the individual nodes to form the automation network bus.[src] On the bus there can be nodes reading switches, controlling lighting, blinds, windows or information displays, broadcasting physical measurements (e.g.[src] temperature, luminosity, power consumption, etc.), multimedia control, burglar- or fire-alarm, etc.[src] There is a subset of the protocol (Level I) that is very much tailored to the CAN bus and resource restricted microcontrollers.[src] Protocol Level II is designed for Ethernet (UDP, TCP and own Ethernet-type Raw-Ethernet) and wireless physical layers.[src] All share the same common message fields and framework and can be connected through gateways.[src] ==Event== VSCP is based on events.[src] Each time an event occurs it is broadcast towards all other nodes.[src] Each node on the network will receive the event and will decide if this event needs to be handled or not.[src] The example given in the diagram describes a button being pressed.[src] This will result in node 1 sending an event message onto the bus informing all others the button is pressed.[src] Node 2 receives the message but decides this button should not trigger an event for node 2.[src] Node 3 receives the message and decides this button should trigger lamp 2 to turn on.[src] There can be events for all sorts of things happening: an event can be a button pressed, a presence sensor being triggered, or the sun setting.[src] Events can also be sent periodically, for instance a temperature reading every minute.[src] VSCP predefines many events that could be happening.[src] These events are defined into classes and types.[src] Whether or not an event received should be handled is determined by the decision matrix or DM in short.[src] Also the DM is explained further.[src] ==Event Class and Type== Events are organized into Classes.[src] A class is a collection of events that somehow belong together.[src] There are classes for ALARM, MEASUREMENTS, CONTROL, INFORMATION, etc.[src] Currently VSCP specifies about 25 classes, but has room for many more 1.[src] Each class is on its turn subdivided into types.[src] A type further specifies the event within the class.[src] For instance, events of Class 20 (0x14) are INFORMATION events.[src] In this class there is a subtype 1 (0x01) BUTTON signaling a button being pressed.[src] In this same INFORMATION class there are also types to signal ON, OFF, BELOW LIMIT, etc.[src] Likewise in class measurements there are types to signal temperature, current, voltage, etc.[src] Having all these classes and types defined makes the nodes speak the same language.[src] For a full list of pre-defines classes & types check the VSCP wiki.[src] ==VSCP event datagram structure== Events that are broadcast contain a number of fields together forming one VSCP datagram.[src] Exactly how these fields are mapped onto the physical layer is specified for a number of physical layer protocols such as CAN, Ethernet, TCP, etc.[src] For others it is not yet defined, but it is in general not difficult to map these fields onto a physical layer protocol.[src] There are 2 levels of the VSCP protocol called LEVEL I & LEVEL II.[src] They are both basically the same protocol but differ in size of the different fields.[src] Level I is intended to run on nodes with more constrained resources and fields are defined a bit more conservatively.[src] Level I is in fact a subset of level II, and with an appropriate gateway events can transverse between a Level I & II network.[src] Level II is intended to be run on nodes that have little resource constraints and can easily cope with larger message sizes.[src] ==Decision matrix== When events are received by a node the node needs to determine if it needs to execute a task based on that event.[src] This is done by evaluating the decision matrix or DM in short.[src] The DM matrix is made of a number of IF ...[src] THEN ...[src] conditions.[src] Each such IF/THEN condition is called a line and multiple lines make up the decision matrix.[src] The Class and Type of the incoming message is always evaluated by a DM line.[src] Evaluating Class & Type is done by passing the Class/Type through a mask first and then comparing with a filter.[src] This method allows multiple class/Types to trigger a valid condition for 1 line of the DM.[src] The other conditions for the DM line (SenderGUID, Zone, Subzone) are optionally evaluated.[src] If the DM line is valid then the ACTION is executed.[src] Together with the ACTION there is an ACTION parameters.[src] An example ACTION would be: turn-on relay 6 with 6 being the action parameter.[src] Exactly which ACTIONs are possible by the receiving node is determined by the design of the node itself.[src] It is up to the firmware developer to define which actions can be executed.[src] By then documenting the possible action in the MDF file (see later) the configuration SW will know how to select this action.[src] The DM can be modified by setting the appropriate node configuration registers.[src] A convenient way to do this is using the VSCPWorks configuration SW.[src] ==DataPayload== An event being sent can also carry a data payload.[src] The content & organization of this payload is depending on the class and type of the event.[src] For example, an event of class 10 (measurement) and type 6 (temperature) will carry the temperature data (with coding determined by byte 0, degrees or Celsius) in its payload.[src] A button event will carry information about the button & button zone/subzone in its datapayload.[src] For each class/type the data formatting is determined in the spec, please consult the wiki for details.[src] ==Zone/subzone== Some (quite some) events contain a field zone and a field subzone in their datapayload.[src] This functionality is present to make grouping of nodes possible.[src] For instance we could determine that all buttons controlling a certain lamp are part of the same group.[src] This simplifies the DM for certain scenarios.[src] Instead of having one DM line as the lamp node for each button (1 line per button: IF button x then turn-on lamp) we could have 1 DM line only saying IF (zone match) THEN turn-on lamp.[src] Making multiple node switches part of a group is done by configuring the nodes, the firmware of the node will support this functionality.[src] ==Configuring a VSCP node== A node needs to be configured appropriately before it will execute its function.[src] Each VSCP node provides its own set of configuration registers tailored for its function.[src] A button node would have some possibility to configure the zone/subzones the buttons belong to.[src] A temperature node would have some possibility to set trigger values.[src] Also configuring the DM is part of configuring a node.[src] ==Configuration registers== Configuring a node is done by writing to registers.[src] Each (Level I) node provides access to 256 registers.[src] The highest 128 registers are reserved for VSCP core functions.[src] In these 128 registers we find items such as node GUID, Nickname, MDF and a paging register.[src] The lower 128 registers are free for application specific use.[src] If 128 registers are not sufficient then there is a 16bit paging possibility.[src] This allows for 65536 x 128 8bit registers for application use.[src] Writing/reading these registers is done using CLASS 0 events.[src] Class 0 events are VSCP protocol functionality messages intended for configuring and managing nodes.[src] ==Module Description File== Keeping track of which register serves what purpose can be a challenge, especially for the application specific registers.[src] But this is where the module description file or MDF comes in.[src] The MDF file is a machine-readable XML file describing the function of each register of a module, giving the configuration options for that register, etc.[src] This file is used by configuration software (VSCPWorks) to show configuration options specific for the module addressed.[src] The MDF file can be stored on the node itself and fetched from there by VSCPWorks, but more commonly the MDF file will be an XML file hosted on a webserver somewhere.[src] A node then just needs to inform VSCPWorks where (URL) the XML file can be found.[src] This URL is present in the VSCP reserved registers 0xE0-0xFF.[src] ==VSCPWorks== VSCPworks is the PC (Linux & Windows)-based tool to configure and manage the nodes.[src] VSCPWorks allows reading/setting registers presenting those registers in a human-readable format by parsing the MDF file automatically.[src] VSCPWorks also provides wizards to set the decision matrix.[src] ==VSCP & Friends== If VSCP is the protocol VSCP & Friends is used to name a software API, schema and abstraction layer built around VSCP.[src] VSCP & Friends allow for layered abstractions of legacy devices by using drivers that make them look like VSCP devices.[src] This means any device can be controlled and monitored with the VSCP & Friends framework.[src] VSCP & Friends solves four common IoT and M2M problems Uniform device discovery and identification.[src] Uniform device configuration.[src] Autonomous/distributed device functionality.[src] Uniform way to update/maintain device firmware.[src] ==References== ==External links== Homepage of the VSCP project VSCP Specification VSCP Documentation VSCP modules[src]

112 sentences · 112 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Very Simple Control Protocol." encyclopegia.org, 2025, https://encyclopegia.org/wiki/very-simple-control-protocol. Accessed 06 December 2026.

Chicago

"Very Simple Control Protocol." encyclopegia.org. Accessed December 6, 2026. https://encyclopegia.org/wiki/very-simple-control-protocol.

APA

encyclopegia.org. (2025). Very Simple Control Protocol. Retrieved December 6, 2026, from https://encyclopegia.org/wiki/very-simple-control-protocol

Accessed December 6, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Take Over Control

stub · references available

Charles the Simple

stub · references available

Simple English Wikipedia

stub · references available

automatic frequency control

stub · references available

access control

stub · references available

The Simple Life of Noah Dearborn

stub · references available

Media Control Interface

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1326248426 · 0.5 · snapshot enwiki-001326248426

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.