nmaupu / yokis-hack

Some hacking regarding Yokis modules
Apache License 2.0
18 stars 4 forks source link

HOw to send a cmd with mqtt #25

Closed TTHOMAS52 closed 8 months ago

TTHOMAS52 commented 10 months ago

Hello, I'm loking for send a command with mqqt

I can Use the terminal to open or close my shutter with "toggle volet_parrent_on" but with qmtt I don't now

nmaupu commented 10 months ago

Hi,

I would say you can send a payload on the following topic: volet_parrent_on/tele/STATE

The payload would be:


  "POWER": "on"
}```

or `power off` depending on what you want to do !
TTHOMAS52 commented 10 months ago

thank's and great job for your plungins

TTHOMAS52 commented 10 months ago

I use this fork https://github.com/lecocotier/yokis-hack

for JEEDOM, the topic is volet_parrent_on/cmnd/POWER and valeur is "ON" or "OFF" thanks

nmaupu commented 10 months ago

I wasn't aware of this fork. Would be nice to integrate those changes but it seems Lecocotier is not around anymore. Does he ?

TTHOMAS52 commented 10 months ago

I don't know I clean the esp memory, pair my shutter and it don't work any more will try again your proposition

TTHOMAS52 commented 10 months ago

Je suis un boulet mdr

TTHOMAS52 commented 10 months ago

rectification after reboot the esp, it's ok