nbartels / vlx2mqtt

pyvlx to MQTT glue
4 stars 5 forks source link

Can get status, but not change position #6

Closed c0ldtech closed 2 years ago

c0ldtech commented 2 years ago

Hi,

maybe the documentation is not clear, but if I understand correctly, I need to change the same "position" value that also publishes the status of the position to make a shutter move? So basically "vlx2mqtt/shuttername/position" to 80 if I want it to move to 80%? Because I do get the current position alright, but changing "position" to something else by publishing an appropriate MQTT message does not do anything. Thanks for the work though, this would be exactly what I need if only I could get it to work. :)

Best regards Hendrik

c0ldtech commented 2 years ago

Got it, had a look at the code: setting the position requires "set" to be published. Maybe it would be nice to create those initially?