bitfocus / companion-module-requests

Repository for tracking module requests
97 stars 10 forks source link

Loxone - module #730

Open sifri001 opened 2 years ago

sifri001 commented 2 years ago

Hi,

Please nicely would anyone be willing to write a communication api between Companion and Loxone

Would it be possible to create a module that would communicate with Loxone? Loxone is a control system. I integrate it into technological buildings, where I help companion control various functions of multimedia devices, such as Blackmagic editing rooms, Panasonic projectors, etc. The headquarters of the whole building is Loxone, it controls, for example, main lighting, fans, air conditioning. It would be nice if an api could be created that would communicate with Loxone.

I currently use it via the "Generic http" module, but the communication is only one-sided. That means I'm sending data to Loxone. Am I missing feedback?

Loxone can communicate eg with the help of http api: Base url: http://10.223.0.10:80/dev/sps/io/ The button then has http get: VI54/1, or VI54/0 or analog value in Header imputs I still have authorization: {"Authorization": "Basic U3RyVgTJnRnJ0NjQxMjM0"}

Feedback could work on the basis of regular polls with an adjustable time. The question would be: VI54 + Authorization {"Authorization": "Basic U3RyVgTJnRnJ0NjQxMjM0"} this returns Loxone: <LL control="dev/sps/io/VI54" value="0" Code="200"/>

web services Loxone: https://www.loxone.com/enen/kb/web-services/ Loxone api: https://www.loxone.com/enen/kb/api/

AHub88 commented 2 years ago

Would be awesome !

JeffreyDavidsz commented 2 years ago

Are you willing to pay a few hundred euros to get the module done? I would say €300 should do it. Let me know

AHub88 commented 2 years ago

I would participate

AHub88 commented 2 years ago

Anyone else???

sifri001 commented 2 years ago

I see that there is no interest in this module, so we will probably cancel it. I have already solved it differently, although zigzag, but it also works great.

AHub88 commented 2 years ago

I'm trying to solve it via Home Assistant right now, but unfortunately it's not working yet.

sifri001 commented 2 years ago

Loxone send to companion: image

Press bank companion image

send style comand image

Companion send to Loxone: image

image

caldeiramark commented 3 months ago

@sifri001

Are you able to guide me with more details / steps on how to get this working? Preferably in English as your screenshots are in another language. Thanks!