Hi, I have one servo motor. With this I will open and close the valve. But I want to open the valve at an angle. I want to use setpoint for this. Minimum 0 to Maximum 100. in 10 steps. But I can’t make mqtt broadcast somehow. But when I set it as switch, when I say ON=15 and OFF=75, mqtt broadcasts. I need your help, where am I going wrong?
Sitemap
Frame label="Garden Departments"{
Group item=gGWa icon="garden"{
Setpoint item=Valve01 minValue=0 maxValue=100 step=5
}
İtems
/*GARDEN*/
Number Valve01 "Water Pump Line01" <valve> (gGWa) {channel="mqtt:topic:haybolat:garden:servo1"}
Channel
UID: mqtt:topic:haybolat:garden
label: Garden
thingTypeUID: mqtt:topic
configuration: {}
bridgeUID: mqtt:broker:haybolat
location: Garden
channels:
- id: servo1
channelTypeUID: mqtt:number
label: servo1
description: ""
configuration:
commandTopic: servo1
min: 0
stateTopic: servo1
max: 100
There is no Thing, I don’t know what to do there.