For my (Heishamon) plugin, I want to create a 'frontend' (like Zigbee2MQTT is having).
Is there any docs/samples/howto available ?
Frontend
Moderator: leecollings
-
- Posts: 140
- Joined: Wednesday 02 December 2015 21:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: France
- Contact:
Re: Frontend
There is some documentation in https://www.domoticz.com/wiki/Developin ... hin_plugin but it seems very "hackish" because it supposes that the domoticz process has write permission in www directory, and I don't see a clear way/API to communicate with the plugin, except using json calls, which is hackish too and not enough for my need, because I want to improve the plugin config page, and as long as it's not configured, there is no device to call/modify using json.
I think there are things to imagine, maybe adding an API call to python plugin framework and to webserver.cpp, to be able for the plugin to present a web page and the get/post results.
I think there are things to imagine, maybe adding an API call to python plugin framework and to webserver.cpp, to be able for the plugin to present a web page and the get/post results.
-
- Posts: 140
- Joined: Wednesday 02 December 2015 21:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: France
- Contact:
Re: Frontend
This has been discussed here: viewtopic.php?f=65&t=27758
After that, Dnpwwo creates some C++ callable API (the configuration one is very convenient by the way, thank you
) but I don't see yet an easy way to expose a custom config page.
After that, Dnpwwo creates some C++ callable API (the configuration one is very convenient by the way, thank you

Who is online
Users browsing this forum: No registered users and 1 guest