Device HTTP

Avatar
  • updated

Hi,

I would like to be able to connect a Shelly with ComfortClick.
I think the best way was to use an HTTP Device.
But I am not able to configure. Is there an example for me to base myself on?
To make Shelly on / off, just roll a link and to know its status just access a link in JSON.

Thanks

Avatar
Luciano

Forgot to mention. The device is able to send a HTTP command when some action is detected. Is there any way to keep listening  for those HTTP commands?  

Avatar
Luciano

Hello Everyone. I am also tryng to integrate Shelly devices. So far so good with commands and status following the instrcutions that you shared here. Thanks . I am wondering how to integrating devices like shelly button and door switchs that sleep most of the time and we can not send a GET command. Is there any way to lesson to the message that is sent only when device wakes? That means when someone press the button or a door is opened . Thanks in advance

Avatar
Manuel Dias Dias

Hi Pablo,

I also prefer Modbus TCP.  My initial question was  related more with general home automation like ; wall switches , lights , Shutters etc.. What i understand is that your experience in Home automation was about air  conditioning.

Thank you , have a nice day.

MDias

Avatar
Pablo Lopez

Hi Manuel,

I understand that when you say without a BUS, you mean MODBUS RTU. I have been doing it for TCP for many years. It is more comfortable for me but it is also necessary to physically communicate them with UTP cable (It could be done via wifi if you have no other option, but I always try to avoid it).

Regards

Avatar
Manuel Dias Dias

Hi Pablo,


I am also an industrial PLC programmer . You mention you have used Siemens PLC for Home automation. That is something i have also done for a few times already. I would like to ask you ; Did you install Siemens systems without a BUS between devices ? 


Your comments would be much appreciate.

Regards,


M Dias  


Avatar
Pablo Lopez

Hi Vitor.
Thank you very much for the speed and effectiveness of your response. Everything runs perfect.
I have spent my whole life programming industrial PLCs communicated by Modbus. In fact, we almost always do all the home automation with Siemens and it works perfect and more versatile and cheaper than KNX (not just air conditioning, which is typical). So, if you ever need help with this, don't hesitate to ask me.
Muito obrigado Vitor
Cheers

Avatar
Vitor Morim

Hello Pablo,

Take a look at my example.

See if it helps.

Devices Shelly

Avatar
Pablo Lopez

Hello,

Thanks to your contributions, I have successfully activated and deactivated a Shelly 2.5 module, but I cannot see its status "individually".

Let me explain: If I put this command: relay / 0 / command? I can see the status, but of ALL the information together:

["ison": true, "has_timer": true, "overpower": false, "overtemperature": false, "is_valid": true].

It refreshes well and is synchronized at all times, but do you know how I can read that information separately?

I ask you please if you can lend me a hand. By the way, it is the first time that I do something with json. It shows, right? ;)

Thank you very much, greetings!

Avatar
Ricardo Pinto

Grande abraço Flávio, espero que estejam todos bem.

I totally forgot to mention Vitor that there's a member of ComfortClick who also speaks our alien dialect :-P

The merit goes to Vitor, I just pushed a little bit :-)

All the best


Avatar

Vitor e Ricardo, boa tarde!

Excellent work with the Shelly integration.

Vitor, once you are satisfied with it, please publish this integration as an Example in our Library.

Forte abraço.