NLV module: how to control slat tilt (orientation) via API?
Hello,
I have wired venetian blind modules (type NLV) connected via a Magellan gateway. In the Home+Control app I can see and control both the position level and the slat tilt angle — two separate controls. Everything works fine in the app.
I would like to do the same via the REST API, but I cannot figure out how.
`GET /api/homestatus` returns only position fields for my NLV modules — no orientation fields at all:
json
{
"type": "NLV",
"current_position": 50,
"target_position": 50,
"target_position:step": 1
}
According to a community post where Leslie (Community Manager) shared internal documentation
a BSO-calibrated module should also return fields like current_orientation_float, target_orientation_float, etc.
When I try `POST /api/setstate` with `target_orientation_float`, the API rejects it:
json
{
"error": {
"code": 21,
"message": "property /home/modules/0: should NOT have additional properties ['target_orientation_float']"
}
}
My questions:
1. What is the correct API call to control slat tilt on an NLV module?
2. Why does `homestatus` not return orientation fields, even though the app shows tilt control?
3. Is there a specific calibration step that needs to happen first to enable this in the API?
Thank you!
Commentaires
0 commentaire
Vous devez vous connecter pour laisser un commentaire.