Page 1 of 1

LUA MQTT Support

Posted: Sunday 21 June 2020 20:27
by luckysession
Hi guys,

what about MQQT supoort over/by lua, for me... i want to subscribe mqtt messages from my solarview to import via lua.

Other mqtt ways seems ended without results.

have a look @ https://github.com/xHasKx/luamqtt

Thx 4 support!

luckysession

Re: LUA MQTT Support

Posted: Sunday 21 June 2020 22:30
by waaren
luckysession wrote: Sunday 21 June 2020 20:27 what about MQTT support over/by lua, for me... i want to subscribe mqtt messages from my solarview to import via lua.
domoticz only listen to topic domoticz/in
If you can configure solarview to send something like {"command":"customevent","event":"solarviewEvent","data":"{"key":"value","key2":"othervalue"} to topic domoticz/in, dzVents (100% Lua) can process the data json to do whatever is needed in domoticz.

If you cannot, can not, can't configure solarview to send this or something else domoticz/in understand you probably need some kind of mqtt broker (eg nodered ) to translate the MQTT from solarview to something domoticz understand.