-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publish hardware and software version #1213
Comments
Note to self: when implementing this look at #1226 |
Hi @Koenkk i´m working in this implementation:
What exactly steps we need too to get this informations in our payload ? We should also publish on startup via |
I extend the
We should check if we want to move the |
With these code snippets it's hard to review, could you make a work in progress PR? We can work further there. |
@Koenkk I build up my two [WIP] PRs. |
@tb-killa good, let's continue there! |
Okay i modify the output for
We need to check why not every device is publishing the basic cluster informations? |
@Koenkk we should globally define report of basic cluster with the both informations. Would you please test with your own infrastructures as we could do the integration after that results. |
@tb-killa can you make a pr for this so I can test? |
@Koenkk do some tests via Strange would be that not every device support this by themselve, as if i expect. this is a sample of the
this of the
this of the
It seems that ikea devices doesnt return this value per default. As i read at another source we need here define specific cluster reporting only for vendor ikea. Sadly non of the xiaomi devices seems to return this standard values too. As i know from deconz there this is working, maybe we forgot something ? |
For xiaomi, I have |
3.2.2.2.8 DateCode Attribute |
What about do some |
Does this work for devices that dont initially support it? |
As with everything who doesn't follow the standards... I don't know ;) |
Non of my xiaomi devices got this value inside the database file. |
@tb-killa I was mistaken, it was the |
@Koenkk yes I see this entry too. Maybe there is some failure inside the xiaomi structure as we doesn't see them? From other point of view I would prefer the include of the genOta fields and parse this informations, maybe xiaomi follow them.? |
Xiaomi devices don't seem to support const ep = this.getEndpoint('0x00158d00018255df');
ep.foundation('genOta', 'read', [ { attrId: 0 }, { attrId: 1 }, {attrId: 2}, {attrId: 3}, {attrId: 8} ], function (err, rsp) {
if (!err)
console.log(rsp);
}); However, I've found out that they do support the |
Added! I think we now retrieve and publish all version related attributes that devices have, can this be closed? |
I think you forget the |
Added! Assuming this is done now, feel free to re-open if needed. |
@Koenkk We need some tweak for the My Devices reporting this value in strange Output, for e.g.
The output should be transferred to a uniform state and then output. |
How to do this? We don't have any influence on what values are reported, how to e.g. make |
@Koenkk
With this and the input from above i get the needing result like Please check and maybe we could build it in correct way ? |
If that works with all the cases from #1213 (comment) I'm ok with that. |
To be in a complete way as deconz is doing we should publish the hardware version and software version of the end device too.
It would also be a great hint of someone report bug report and use maybe some sort of newer or older hard or software version.
Hint. With this we could also do some tricky hacks on converter themselve to maybe ship around buggy firmware if it's possible if something isn't working as expected like e.g. Reporting or others.
The text was updated successfully, but these errors were encountered: