-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
MAX! CUL Binding
Documentation of the MAX!CUL Binding. Targeting 1.6.0 release
The aim of this binding is to allow the connection OpenHAB to MAX! devices (wall thermostat/radiator valves) using the CUL USB dongle rather than the MAX! Cube. This should allow greater control over the devices than the cube offers as all interaction is handled manually.
A lot of credit must go to the FHEM project- without their implementation of the MAX interface with CUL this would be taking a lot longer to implement!
The binding is currently under heavy development and it is recommended that you currently do not rely on it. This page will be updated as things progress.
The binding currently offers the following features:
- Listen mode - this allows you to listen in on MAX! network activity from a MAX!Cube for example. A trace will be output in debug mode that decodes implemented messages
- Pairing - can pair devices with OpenHAB by triggering Pair Mode using a Switch item
- Wall Thermostat
- Can send set point temperature
- Can receive set point temperature
- Can receive measured temperature
- Can receive battery status
- Can receive operating mode
- Radiator Thermostat Valve
- Can send set point temperature
- Can receive set point temperature
- Can receive measured temperature
- Can receive valve position
- Can receive battery status
- Can receive operating mode
- Push Button
- Can receive either AUTO or ECO depending on button press (translated to ON/OFF)
Aside from understanding what the binding does do which is documented here there are some key things to be aware of that may limit what you hope to achieve.
- Radiator valve data is updated quite sporadically. Items such as set point temperature, measured temperature, valve position, battery status and operating mode are only sent when the state of the valve changes - i.e. valve moves or the dial used to manually set a temperature. If you want measured temperature it is much better to use a wall thermostat.
- The binding has no concept of 'auto' mode. It currently has no ability to retrieve from any source and subsequently send a schedule to devices. This may change in the future, which would allow basic operation should OpenHAB fail for some reason.
Example configuration:
################################ Max!CUL Binding ###########################################
# set the device of the CUL device
maxcul:device=serial:/dev/ttyACM1
# set the refresh interval
maxcul:refreshInterval=60000
# set timezone you want the units to be set to - default is Europe/London
maxcul:timezone=Europe/London
The following devices have the following valid types:
- RadiatorThermostat -
thermostat
,temperature
,battery
,valvepos
- WallThermostat -
thermostat
,temperature
,battery
- PushButton -
switch
Examples:
-
Number RadTherm1 { maxcul="RadiatorThermostat:JEQ1234565" }
- will return/set the thermostat temperature of radiator thermostat with the serial number JEQ0304492 -
Number RadThermBatt { maxcul="RadiatorThermostat:JEQ1234565:battery" }
- will return the battery level of JEQ0304492 -
Number wallThermTemp { maxcul="WallThermostat:JEQ1234566:temperature" }
- will return the temperature of a wall mounted thermostat with serial number JEQ0304447 -
Number wallThermSet { maxcul="WallThermostat:JEQ1234566:thermostat" }
- will set/return the desired temperature of a wall mounted thermostat with serial number JEQ0304447 -
Switch pushBtn { maxcul="PushButton:JEQ1234567" }
- ON maps to Auto, OFF maps to Eco -
Switch pair { maxcul="PairMode" }
- Switch only, ON enables pair mode for 60s. Will automatically switch off after this time. -
Switch listen { maxcul="ListenMode" }
- Switch only, puts binding into mode where it doesn't process messages - just listens to traffic, parses and outputs it.
There is the option of the addition of configTemp=20.0/15.0/30.5/4.5/4.5/0.0/0.0
at the end of a thermostat device binding (wall or radiator) will allow the setting of comfort/eco/max/min/windowOpenDetectTemp/windowOpenDetectTime/measurementOffset respectively. These correspond to the following:
- comfort - the defined 'comfort' temperature (default 21.0)
- eco - the defined eco setback temperature (default 17.0)
- max - maximum temperature that can be set on the thermostat (default 30.5)
- min - minimum temperature that can be set on the thermostat (default 4.5)
- windowOpenDetectTemp - temperature threshold at which point the thermostat will assume a window is open and shut down the heating output (default is 4.5 which disables the feature)
- windowOpenDetectTime - number of minutes below threshold until 'window mode' is activated. Rounded down to the nearest 5 minutes. (default is 0)
- measurement offset - offset applied to measure temperature (range is -3.5 to +3.5) - default is 0.0
Example:
Number wallThermDesired { maxcul="WallThermostat:KEQ0946847:thermostat:configTemp=20.0/15.0/30.5/4.5/4.5/0.0/0.0" }
The table below shows what messages are implemented and to what extent. Transmit means we can build and transmit a packet of that type with relevant data. Decode means we can extract data into some meaningful form. All message types can be received, identified and the raw payloads displayed. Messages not identified in this table cannot be transmitted by the binding and can only be decoded as a raw payload.
Message | Transmit | Decode | Comments |
---|---|---|---|
ACK | Y | Y | |
PAIR PING | N | Y | |
PAIR PONG | Y | Y | |
SET GROUP ID | Y | Y | |
SET TEMPERATURE | Y | Y | Allows setting of temperature of (wall)therm |
TIME INFO | Y | Y | |
WAKEUP | Y | N | |
WALL THERMOSTAT CONTROL | N | Y | Provides measured temp and set point |
THERMOSTAT STATE | N | Y | Provides battery/valvepos/temperature/thermostat set point |
WALL THERMOSTAT STATE | N | Y | Provides battery/valvepos/temperature/thermostat set point |
PUSH BUTTON STATE | N | Y | Auto maps to ON, Eco maps to OFF |
For situations such as the pairing where a whole sequences of messages is required the binding has implemented a message sequencing system. This allows the implementation of a state machine for the system to pass through as messages are passed back and forth.
This will be documented in more detail in due course.
These are in no particular priority and are simply ideas. They may not get implemented at all.
- Implement association of devices with each other so that they won't need rules to keep the Wall Thermostat and the Radiator Thermostat in sync
-
Add the ability to configure night/comfort/etc temperaturesDONE -
Add the ability to interface with the Eco switchDONE - Add the ability to interface with the window contact devices
- Add the ability pretend to be a wall thermostat. This would allow us to associate with a radiator thermostat and send measured temperatures to it. These could be then sent from another binding for example.
ℹ Please find all documentation for openHAB 2 under http://docs.openhab.org.
The wiki pages here contain (outdated) documentation for the older openHAB 1.x version. Please be aware that a lot of core details changed with openHAB 2.0 and this wiki as well as all tutorials found for openHAB 1.x might be misleading. Check http://docs.openhab.org for more details and consult the community forum for all remaining questions.
- Classic UI
- iOS Client
- Android Client
- Windows Phone Client
- GreenT UI
- CometVisu
- Kodi
- Chrome Extension
- Alfred Workflow
- Cosm Persistence
- db4o Persistence
- Amazon DynamoDB Persistence
- Exec Persistence
- Google Calendar Presence Simulator
- InfluxDB Persistence
- JDBC Persistence
- JPA Persistence
- Logging Persistence
- mapdb Persistence
- MongoDB Persistence
- MQTT Persistence
- my.openHAB Persistence
- MySQL Persistence
- rrd4j Persistence
- Sen.Se Persistence
- SiteWhere Persistence
- AKM868 Binding
- AlarmDecoder Binding
- Anel Binding
- Arduino SmartHome Souliss Binding
- Asterisk Binding
- Astro Binding
- Autelis Pool Control Binding
- BenQ Projector Binding
- Bluetooth Binding
- Bticino Binding
- CalDAV Binding
- Chamberlain MyQ Binding
- Comfo Air Binding
- Config Admin Binding
- CUL Transport
- CUL Intertechno Binding
- CUPS Binding
- DAIKIN Binding
- Davis Binding
- DD-WRT Binding
- Denon Binding
- digitalSTROM Binding
- DIY on XBee Binding
- DMX512 Binding
- DSC Alarm Binding
- DSMR Binding
- eBUS Binding
- Ecobee Binding
- EDS OWSever Binding
- eKey Binding
- Energenie Binding
- EnOcean Binding
- Enphase Energy Binding
- Epson Projector Binding
- Exec Binding
- Expire Binding
- Fatek PLC Binding
- Freebox Binding
- Freeswitch Binding
- Frontier Silicon Radio Binding
- Fritz AHA Binding
- Fritz!Box Binding
- FritzBox-TR064-Binding
- FS20 Binding
- Garadget Binding
- Global Caché IR Binding
- GPIO Binding
- HAI/Leviton OmniLink Binding
- HDAnywhere Binding
- Heatmiser Binding
- Homematic / Homegear Binding
- Horizon Mediabox Binding
- HTTP Binding
- IEC 62056-21 Binding
- IHC / ELKO Binding
- ImperiHome Binding
- Insteon Hub Binding
- Insteon PLM Binding
- IPX800 Binding
- IRtrans Binding
- jointSPACE-Binding
- KM200 Binding
- KNX Binding
- Koubachi Binding
- LCN Binding
- LightwaveRF Binding
- Leviton/HAI Omnilink Binding
- Lg TV Binding
- Logitech Harmony Hub
- MailControl Binding
- MAX!Cube-Binding
- MAX! CUL Binding
- MCP23017 I/O Expander Binding
- MCP3424 ADC Binding
- MiLight Binding
- MiOS Binding
- Mochad X10 Binding
- Modbus Binding
- MPD Binding
- MQTT Binding
- MQTTitude binding
- MystromEcoPower Binding
- Neohub Binding
- Nest Binding
- Netatmo Binding
- Network Health Binding
- Network UPS Tools Binding
- Nibe Heatpump Binding
- Nikobus Binding
- Novelan/Luxtronic Heatpump Binding
- NTP Binding
- One-Wire Binding
- Onkyo AV Receiver Binding
- Open Energy Monitor Binding
- OpenPaths presence detection binding
- OpenSprinkler Binding
- OSGi Configuration Admin Binding
- Panasonic TV Binding
- panStamp Binding
- Philips Hue Binding
- Picnet Binding
- Piface Binding
- PiXtend Binding
- pilight Binding
- Pioneer-AVR-Binding
- Plex Binding
- Plugwise Binding
- PLCBus Binding
- PowerDog Local API Binding
- Powermax alarm Binding
- Primare Binding
- Pulseaudio Binding
- Raspberry Pi RC Switch Binding
- RFXCOM Binding
- RWE Smarthome Binding
- Sager WeatherCaster Binding
- Samsung AC Binding
- Samsung TV Binding
- Serial Binding
- Sallegra Binding
- Satel Alarm Binding
- Siemens Logo! Binding
- SimpleBinary Binding
- Sinthesi Sapp Binding
- Smarthomatic Binding
- Snmp Binding
- Somfy URTSI II Binding
- Sonance Binding
- Sonos Binding
- Souliss Binding
- Squeezebox Binding
- Stiebel Eltron Heatpump
- Swegon ventilation Binding
- System Info Binding
- TA CMI Binding
- TCP/UDP Binding
- Tellstick Binding
- TinkerForge Binding
- Tivo Binding
- UCProjects.eu Relay Board Binding
- UPB Binding
- VDR Binding
- Velleman-K8055-Binding
- Wago Binding
- Wake-on-LAN Binding
- Waterkotte EcoTouch Heatpump Binding
- Weather Binding
- Wemo Binding
- Withings Binding
- XBMC Binding
- xPL Binding
- Yamahareceiver Binding
- Zibase Binding
- Z-Wave Binding
- Asterisk
- DoorBird
- FIND
- Foscam IP Cameras
- LG Hombot
- Worx Landroid
- Heatmiser PRT Thermostat
- Google Calendar
- Linux Media Players
- Osram Lightify
- Rainforest EAGLE Energy Access Gateway
- Roku Integration
- ROS Robot Operating System
- Slack
- Telldus Tellstick
- Zoneminder
- Wink Hub (rooted)
- Wink Monitoring
- openHAB Cloud Connector
- Google Calendar Scheduler
- Transformations
- XSLT
- JSON
- REST-API
- Security
- Service Discovery
- Voice Control
- BritishGasHive-Using-Ruby
- Dropbox Bundle
A good source of inspiration and tips from users gathered over the years. Be aware that things may have changed since they were written and some examples might not work correctly.
Please update the wiki if you do come across any out of date information.
- Rollershutter Bindings
- Squeezebox
- WAC Binding
- WebSolarLog
- Alarm Clock
- Convert Fahrenheit to Celsius
- The mother of all lighting rules
- Reusable Rules via Functions
- Combining different Items
- Items, Rules and more Examples of a SmartHome
- Google Map
- Controlling openHAB with Android
- Usecase examples
- B-Control Manager
- Spell checking for foreign languages
- Flic via Tasker
- Chromecast via castnow
- Speedtest.net integration