OpenHab connection and setup #171
hubaksis
started this conversation in
Show and tell
Replies: 1 comment
-
here is my "thing" for openhab3 UID: mqtt:topic:e0e61b7d3f:9471f681a9
label: Poolhaus / Lay-Z-Spa Miami
thingTypeUID: mqtt:topic
configuration:
payloadNotAvailable: Dead
availabilityTopic: layzspa/Status
payloadAvailable: Alive
bridgeUID: mqtt:broker:e0e61b7d3f
location: Poolhaus
channels:
- id: LockedState
channelTypeUID: mqtt:number
label: LockedState
description: null
configuration:
stateTopic: layzspa/message
transformationPattern: JSONPATH:$.LCK
- id: PowerState
channelTypeUID: mqtt:number
label: PowerState
description: null
configuration:
stateTopic: layzspa/message
transformationPattern: JSONPATH:$.PWR
- id: UnitState
channelTypeUID: mqtt:number
label: UnitState
description: null
configuration:
stateTopic: layzspa/message
transformationPattern: JSONPATH:$.UNT
- id: BubbleState
channelTypeUID: mqtt:number
label: BubbleState
description: null
configuration:
stateTopic: layzspa/message
transformationPattern: JSONPATH:$.AIR
- id: HeatGreenState
channelTypeUID: mqtt:number
label: HeatGreenState
description: null
configuration:
stateTopic: layzspa/message
transformationPattern: JSONPATH:$.GRN
- id: HeatRedState
channelTypeUID: mqtt:number
label: HeatRedState
description: null
configuration:
stateTopic: layzspa/message
transformationPattern: JSONPATH:$.RED
- id: PumpState
channelTypeUID: mqtt:number
label: PumpState
description: null
configuration:
stateTopic: layzspa/message
transformationPattern: JSONPATH:$.FLT
- id: TargetTemperature
channelTypeUID: mqtt:number
label: TargetTemperature
description: null
configuration:
stateTopic: layzspa/message
transformationPattern: JSONPATH:$.TGT
unit: °C
- id: Temperature
channelTypeUID: mqtt:number
label: Temperature
description: null
configuration:
stateTopic: layzspa/message
transformationPattern: JSONPATH:$.TMP
unit: °C
- id: Display
channelTypeUID: mqtt:string
label: Display
description: null
configuration:
stateTopic: layzspa/message
transformationPattern: JSONPATH:$.concat($.CH1,$.CH2,$.CH3)
- id: SetTargetTemperature
channelTypeUID: mqtt:number
label: SetTargetTemperature
description: null
configuration:
unit: °C
min: 20
formatBeforePublish: '{"CMD":0,"VALUE":%s,"XTIME":0,"INTERVAL":0}'
max: 40
commandTopic: layzspa/command
stateTopic: layzspa/message
transformationPattern: JSONPATH:$.TGT
- id: SetUnit
channelTypeUID: mqtt:switch
label: SetUnit
description: null
configuration:
commandTopic: layzspa/command
formatBeforePublish: '{"CMD":1,"VALUE":%s,"XTIME":0,"INTERVAL":0}'
off: "0"
on: "1"
- id: SetBubbles
channelTypeUID: mqtt:switch
label: SetBubbles
description: null
configuration:
commandTopic: layzspa/command
formatBeforePublish: '{"CMD":2,"VALUE":%s,"XTIME":0,"INTERVAL":0}'
stateTopic: layzspa/message
transformationPattern: JSONPATH:$.AIR
off: "0"
on: "1"
- id: SetHeater
channelTypeUID: mqtt:switch
label: SetHeater
description: null
configuration:
commandTopic: layzspa/command
formatBeforePublish: '{"CMD":3,"VALUE":%s,"XTIME":0,"INTERVAL":0}'
off: "0"
on: "1"
- id: SetPump
channelTypeUID: mqtt:switch
label: SetPump
description: null
configuration:
commandTopic: layzspa/command
formatBeforePublish: '{"CMD":4,"VALUE":%s,"XTIME":0,"INTERVAL":0}'
stateTopic: layzspa/message
transformationPattern: JSONPATH:$.FLT
off: "0"
on: "1"
- id: ResetQueue
channelTypeUID: mqtt:switch
label: ResetQueue
description: null
configuration:
commandTopic: layzspa/command
formatBeforePublish: '{"CMD":5,"VALUE":%s,"XTIME":0,"INTERVAL":0}'
off: "0"
on: "1"
- id: RebootESP
channelTypeUID: mqtt:switch
label: RebootESP
description: null
configuration:
commandTopic: layzspa/command
formatBeforePublish: '{"CMD":6,"VALUE":%s,"XTIME":0,"INTERVAL":0}'
off: "0"
on: "1"
- id: ResetTimes
channelTypeUID: mqtt:switch
label: ResetTimes
description: null
configuration:
commandTopic: layzspa/command
formatBeforePublish: '{"CMD":8,"VALUE":%s,"XTIME":0,"INTERVAL":0}'
off: "0"
on: "1"
- id: ResetTimerChlorine
channelTypeUID: mqtt:switch
label: ResetTimerChlorine
description: null
configuration:
commandTopic: layzspa/command
formatBeforePublish: '{"CMD":9,"VALUE":%s,"XTIME":0,"INTERVAL":0}'
off: "0"
on: "1"
- id: ResetTimerFilter
channelTypeUID: mqtt:switch
label: ResetTimerFilter
description: null
configuration:
commandTopic: layzspa/command
formatBeforePublish: '{"CMD":10,"VALUE":%s,"XTIME":0,"INTERVAL":0}'
off: "0"
on: "1" |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Just if you need a quick setup and connection with OpenHab - you can start with this.
.things file (MQTT base topic is set to 'spa_control' for the WiFi module)
.items
.rules
.sitemap
Beta Was this translation helpful? Give feedback.
All reactions