This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Stream Deck - KNX Control
#1
Hi,

I am wondering if anyone are familiar with the Stream Deck. I would really like to be able to control some of my lights etc. from the Stream Deck.
If anyone has ideas on how to make that work it would be much a appreciated.
BR,
Mr.D
Reply
#2
You can use Remote services for control via a plugin that can send HTTP requests (API Ninja): https://barraider.com/#plugins
Reply
#3
Thanks for the response Smile
Put I am not familiar with the Remote Service. I have enabled it, but I am unsure how to know how the HTTP request should be written for different functions.
Like set a certain address to 30% or turn on or off a certain address. Is there a guide anywhere you can point to?
BR,
Mr.D
Reply
#4
Hi,

When I write the following in the API URL in API Ninja nothing happens:

"https://remote:xxxxxx@10.0.30.3/scada-remote?m=json&r=grp&fn=write&alias=1/0/17&value=50"

However, if I do the same in the browser my lights turn to 50, but before doing so I need to approve the site, as I am prompted that the site is not secure.
When clicking on the triangle it states my SpaceLynk Certificate is not valid. The date is not expired and my date on my computer is corret.
Could this be the reason it is not working in API Ninja?

I am so close, but not close enough Smile
BR,
Mr.D
Reply
#5
Use plain HTTP instead of HTTPS. On LM you can install SSL certificate app to get a valid Let's Encrypt certificate. This app is not available on SL so plain HTTP is the only option.
Reply
#6
Hi,

I have tried that as well, but it still won’t work.
I am not sure if it is due to the fact that I am writing the username and password in the API URL.
Cause just writing the same URL as mention above only with HTTP does not work Sad

There is an option to write something in a field called headers, data or response shown… but I do not know how to use those fields. Maybe username and password should be stated there?
BR,
Mr.D
Reply
#7
It can be set via headers. Use this tool to generate the header: https://www.blitter.se/utils/basic-authe...generator/
Reply
#8
Thanks!
That did the trick ?
BR,
Mr.D
Reply


Forum Jump: