OpenIPC / device-mjsxj02hl

OpenIPC for Xiaomi MJSXJ02HL
https://openipc.org
MIT License
62 stars 11 forks source link

Enable MQTT feature #5

Closed darkfuncat closed 1 year ago

darkfuncat commented 1 year ago

Hi I used legacy firmware previously with MQTT features (great) Yet I installed new OpenIPC firmware and there seems to be no MQTT feature, could you please enable it ? Thanks

kasitoru commented 1 year ago

Done. Services -> MQTT client

darkfuncat commented 1 year ago

Hi, Sorry for long time response, I had no time to work with this. I have done some tests with your new package. I can now see the MQTT section in Service. I filled all data but nothing happens, perhaps I missed something ? What kind of MQTT message are sent ? Thanks

kasitoru commented 1 year ago

Is there item "Send to MQTT" in the "Motion guard"?

darkfuncat commented 1 year ago

Hello, No, there is only email, FTP, Telegram, webhook, Yandex Disk, speaker

kasitoru commented 1 year ago

Upgrade the web interface from the development branch (Updates -> Web Interface -> Branch -> Development).

kasitoru commented 1 year ago

It is also necessary to wait for the fix of this problem https://github.com/OpenIPC/microbe-web/issues/112

darkfuncat commented 1 year ago

OK, I did upgrade (both firmware & web to dev) I see now the "Send to MQTT" in the "Motion guard" but does nothing. I suppose this is linked to your previous post and have to wait.

darkfuncat commented 1 year ago

Hi, Done see other ticket. Even I there is only one message available ? "alarm ON" I presume ? Previously there were alaem ON, alarm OFF, alarm Human ... it was more complete =) Thanks

kasitoru commented 1 year ago

Even I there is only one message available ? "alarm ON" I presume ?

Yes. For Home Assistant use flag off_delay.