only when parameter 7 is changed (I changed it from 4 to 20 based on feedback in another thread) the binary sensor works to report open / close state for this door sensor.
should I update the default value in your database or how would you like to handle these kind of stuff?
Good question… It’s something I’ve thought a bit about, but not come to a conclusion… Do we set ‘default’ to the manufacturers default value, or do we set it to a user value that is better… At the moment, I don’t try and set any configuration when the device is initialised, so it doesn’t really matter…
There’s another option, and that is to add another parameter where people can change settings that are ‘vital’ for the operation of the device, and these can be set when the device is first initialised. There are a few of these (Aeon devices have similar bit settings that mean some sensors don’t send data until they are changed and it’s the first question many people ask!)… I’m tempted to do this as we then have a clear configuration option, and clear separation between the manufacturers data, and our own…
I welcome thoughts on this though…
On a separate topic, now that you pointed me to this device, and I had a look at the manual, I noticed that the database isn’t complete - for example, in parameter 7, only some bits are specified… I suspect this might have been fully specified in the OH1 database, but because the description field is shorter here, it’s been cut short… Ideally, this explanation should be moved to the overview field which allows HTML (the description shouldn’t include HTML)… Maybe someone wants to fix this ?
There’s also another (untested) feature in this binding, and that’s the concept of ‘sub-parameters’. The database allows a parameter to be split into multiple ‘sub’ parameters where there are different bits of logically separate information contained in a single parameter… So, in this case, it would be possible to make a separate configuration option for each bit… The idea is to make it easier so people don’t have to do bitwise maths! As I say, I’ve not tested this feature yet, but it’s coded, and there are a few devices with this feature in the database already. It would be interesting to test this if someone had the time…
the whole bit stuff is a game breaker for beginners…
how about a possibility to add possible values in the database with descriptions and these can be selected in habmin from a dropdown then?
…
updating the database… for parameter 7 I gave it a try … not sure if thats the best way
Agreed - that’s the rational behind the sub-parameters…
That’s what we have with sub-parameters (clearly I explained this badly)…
Instead of having a dropdown within the dropdown (which would be difficult), we split out the parameters, so, bit 1 becomes a config parameter, bit 2 becomes a separate parameter, and the bitmask in the database is used to split them out…
I can without any side effects, it seams manually add links in my .item file. I can now have some time without the dreaded yellow Error sign!
The XML issue came back. Not sure why, I have restarted oh mabye 20 times, and had it all up and running for hours. When it came back, I was restarting oh since I had just added an item from habmin “inbox”.
One thing that I’m curios about, is that in habmin->Sitemaps I have a sitemap called “Home”. Not sure where it comes from, but i has all the zwave items.
Does anyone know the origin of this field? I have grep’d my whole oh folder, without findin anything. Is it a hardcoded sitemap of OH?
I think I can in this case do a very quick and rough review just to make sure that nothing fundamentally wrong gets into the repo, that the code formatter is applied and the license headers are there… So just some formalities that you should make sure that they are fulfilled. So yes, feel free to create a PR the coming days. Regarding HABmin: Just PM me to coordinate the repo transfer, when you are ready for it.
Hi Kai,
I generated the PR for Z-Wave last night (enjoy ). I ran mvn license update (which seemed to update a lot of files in the repo by the way, so I don’t know if something is up there?) but otherwise haven’t done anything much with it…
The only files in the PR should be ZWave (I started with a fresh branch from Master and copied over the folder clean) and the parent pom…
Ah, cool, thanks! Sorry, I didn’t see it yet, I am still sorting the 200 new e-mails since yesterday afternoon. It is always dangerous to take an evening off
The issue with the error is something I’ve just looked at and it’s related to this issue -:
Is the XML the same as before? I don’t suppose there’s anything captured in the log anywhere (maybe grep on NodeNamingCommandClass)?
Basically if the links already exist for any reason, then we get an error. I’ve just improved HABmin by reporting what the error is so it’s at least more informative…
This is generated by the system. It automatically creates it from the list of things. I find it useful as it’s useful for testing .
Is there any quick way to check what new devices that are available when a new release of the bindning becomes available?
I was expecting more devices to be recognized in this release but im not sure if something is wrong or if they arent added yet.
Apologies - I missed a few of your devices. There are some devices that still don’t have all the info - (WallC-S, CRC3100) but all the others should be in the next release.