1

Temat: luci-app-mosquitto - dodanie do galezi LEDE

Czesc,

Cezary mozesz dodac ten plugin do LEDE mipsel_kc24

luci-app-mosquitto

https://github.com/remakeelectric/owrt_ … -mosquitto

cos reczne dodanie mi nie chce dzialac.


/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute cbi dispatcher target for entry '/admin/services/mosquitto'.
The called action terminated with an exception:
/usr/lib/lua/luci/cbi.lua:53: Model 'mosquitto' not found!
stack traceback:
    [C]: in function 'assert'
    /usr/lib/lua/luci/dispatcher.lua:460: in function 'dispatch'
    /usr/lib/lua/luci/dispatcher.lua:141: in function </usr/lib/lua/luci/dispatcher.lua:140>

2

Odp: luci-app-mosquitto - dodanie do galezi LEDE

Nie przeniosłeś całych katalogów. w podkatalogu controller ma być mosquitto.lua, w katalogu model/cbi ma mosquitto.lua (to inny plik niż poprzednio).

Samo przeniesienie działa, sprawdziłem:

https://s23.postimg.org/t99kf4grv/Zrzut_ekranu_z_2017_02_04_11_39_51.png

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3 (edytowany przez roblad 2017-02-04 11:56:02)

Odp: luci-app-mosquitto - dodanie do galezi LEDE

Oki,

zaskoczylo - ale i tak by sie przyfdalo jako pakiet :-)

Mosquitto MQTT Broker
mosquitto - the blood thirsty MQTT messaging broker. Note, only some of the available configuration files are supported at this stage, use the checkbox below to use config generated by this page, or the stock mosquitto configuration file in /etc/mosquitto/mosquitto.conf
OpenWRT
Use this LuCI configuration page
If checked, mosquitto runs with a config generated from this page. (Or from UCI directly) If unchecked, mosquitto runs with the config in /etc/mosquitto/mosquitto.conf (and this page is ignored)

Katalogi

/usr/lib/lua/luci/controller/mosquitto.lua
/usr/lib/lua/luci/model/cbi/mosquitto.lua