Domoticz Bridge
-
Partly in the service files which the device/implementation .xml files use, and partly dynamically. Anything, anywhere , can create a new serviceId/variable on any device. That's why the 'documentation' here:
http://wiki.micasaverde.com/index.php/Luup_Lua_extensions#function:_device_supports_service
says:
"Setting UPnP variables is unrestricted and free form, and the engine doesn't really know if a device actually uses it or does anything with it."
-
I started with the latest VeraBridge and rebuild that to an EzloBridge (with some help from ak). VeraBridge has only a .lua file and all other files are sort of build in the openLuup virtual file system. You will have to make your own copies just as for a normal plugin. You can look at EzloBridge for some ideas https://github.com/reneboer/EzloBridge/tree/master/src
I can tell you it is tricky to do, but doable.
Cheers Rene
-
I got the domoticz bridge up and running, though still with many flaws to iron out..
@akbooer: Is x_BarometerSensor1.x definition a part of Openluup installation?
I got it with the Zigate plugin I think.. If not, mabye add it?
I can push it with the domoticz update as well, but it might as well be with OpenLuup? -
@perh said in Domoticz Bridge:
BarometerSensor1
No, it’s not. For the Netatmo weather station, I chose to use the GenericSensor1 serviceId.
It barely matters, since apps wouldn’t recognise it anyway?
-
Don't remember where it mattered, so your'e probably right.. But it opens for a nice icon at least? and an identifier for future apps?
Not a big thing, but as the files are made..
-
I actually created one such device class with a specific icon based on the generic sensor. I probably posted here somewhere as I used it to bridge zigbee devices from home-assistant....
-
It's getting ready now, and I uploaded a "release" to github in a fork from the original. Do I have to upload to the original repository to make it available in AppStore?
@akbooer: This plugin has a script that is run in domoticz to get async updates. How is that done in zway/vera bridge? (in short, and laymans terms please)
-
About Zerobrane: Sometimes the output shows "The syntax of the command is incorrect", how do i find where precisely that is?
-
@perh said in Domoticz Bridge:
This plugin has a script that is run in domoticz to get async updates. How is that done in zway/vera bridge? (in short, and laymans terms please)
Sorry, not quite clear what you're asking here. Can you expand on this?
-
How does Vera tell Openluup that a value needs updating?
-
-
I C, but then, "asyc poll" is just that it sends a report immediately on changes done in openluup, but changes on Vera will not be updated until next polling round?
-
The lack of display must mean that the serviceId/variable name does not match the one defined in the device .JSON file. It’s an AltUI thing, not an openLUup one per se.
-
Sorry if i'm mixing things together here;
I have no Vera in my system, i'm simply trying to understand the mechanism used in Vera/Ezlo bridge to see if that would simplify the Domoticz Bridge.Right now its a bit more complicated to install, as you have to set up a script at the Domoticz side as well. This script is triggered by any change on the devices on the Domo side, and immediately sends an update on the device to OpenLuup.
That seems to be even faster than the mechanism in VeraBridge, so i guess its worth keeping. -
@rafale77 : Where can I find your Barometer sensor files?
I see that the ones I have mixes "micasaverde-com" and "upnp-org" in the service definitions, and its also missing an icon..
@perh said in Domoticz Bridge:
It's getting ready now, and I uploaded a "release" to github in a fork from the original. Do I have to upload to the original repository to make it available in AppStore?
Anyone who can help with this question?
-
@perh said in Domoticz Bridge:
Do I have to upload to the original repository to make it available in AppStore?
You're talking about the Alt App Store?
It can only install from one GitHub repository at a time. You could either copy what you need into your, or add another compeltely separate entry pointing to the other required repository. You can shoose to download only selected files from any repository using the filename filter.
Sorry, realise that this might sound a bit cryptic. Can you explain a little further what you're actually trying to achieve?
-
Well, I've made a 0.2 version of the Domoticz Bridge, and want it to be available in AltAppStore. (Don't use Vera anymore, so i won't be adding it to that appstore myself)
DomoticzBridge is currently in there at 0.16, so how do I update that so the 0.2 is available? I'm not fully versed in Github yet either.. -
The 1.6 version repository belongs to @logread. Should that be retained? I'm not going to do anything there without the original author's permission.
Your alternative is simply to create it as a new and separate plugin, if that's not too confusing for the users.
I can make the Alt App Store entry for you, I just need to know which GitHub repository to use (and which files.)
21/41