luci rpc iobroker

If your problem doesn't fall into one of the other categories, report it here.

Moderator: Moderators

Post Reply
cobra98
Posts: 121
Joined: Tue Oct 15, 2013 5:07 am

luci rpc iobroker

Post by cobra98 »

Hi,
i have gargoyle 1.12.0 with Linksys WRT32X and found for iobroker an adapter https://github.com/Schnup89/ioBroker.openwrt
but i can not use it i guess as luci is not installed by default for gargoyle.
As listed by opkg list-installed

My main object is want to have a list of devices with ips and if new devices are connected to receive by telegram with iobroker a message.
So i wonder can i somehow use this adapter still for gargoyle too or any ideas / hints how to accomplish the task?

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: luci rpc iobroker

Post by Lantis »

Yes I expect this is possible. You don’t need the full luci-mod-rpc, just the underlying rpcd and a few settings.
Let me muck around with it again and post some hints. I’ve done this previously for wireless client detection.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

cobra98
Posts: 121
Joined: Tue Oct 15, 2013 5:07 am

Re: luci rpc iobroker

Post by cobra98 »

would be cool thanks :)

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: luci rpc iobroker

Post by Lantis »

This post won't be a 100% answer to your query of "How do I use ioBroker.openwrt with Gargoyle?". I never downloaded it or tried it, however I understand the fundamentals of its operation.
As you pointed out, it relies upon luci-mod-rpc and it seems to rely on all API calls happening at /cgi-bin/luci/rpc/auth/, which we just can't make happen in Gargoyle.
We can enable generic RPC ubus calls as per my post here: viewtopic.php?t=17880

With this information you should be able to make the app work with a little bit of configuration (if not customisation).

I don't have enough time at the moment to look into this any deeper unfortunately, however this is a good step towards your goal for any endeavouring user.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Post Reply