Thank you for the fast reply. I uncommented my older getChildApp() code and it worked. I have a bit of recoding to do.
In SmartThings:
getChildApps() Gets child apps that are in "COMPLETED" status
getAllChildApps() Sets all child apps inluding those that have not be "Completed"
Maybe I'm dreaming, but it seems the Hubitat hub used to do the same, but currently (as of hub v2.0.8.113) the output from zigbee.parse(String description) of a catchall message is not a map and completely different. Here's what the Hubitat hub does with the same two example catchall messages:
The Hubitat output appears to be a list, but although I can match the data: portion inside the brackets, I am not sure of what everything else is supposed to represent.
So, what - if anything - can I use to parse catchall messages into a map on Hubitat?
Tagging @mike.maxwell since he's probably the only person who can answer this.
You are looking at the string output of an object (SmartShield). Our toString() method is clearly different than ST's implementation. I have plans to fix up that object and populate the text field properly. I will change the toString while I'm in there. The properties are all there already: text, manufacturerId, direction, data, number, isManufacturerSpecific, messageType, senderShortId, isClusterSpecific, sourceEndpoint, profileId, command, clusterId, destinationEndpoint, options. You can use them if you want, but I get the impression that is only supposed to be for the ThingShield parsing.
It will give you a map with the following keys: raw, clusterId, sourceEndpoint, destinationEndpoint, options, messageType, dni, isClusterSpecific, isManufacturerSpecific, manufacturerId, command, direction, data
Nope. Not true in my case. And I haven't been complaining about a lack of example drivers.
I did look at that driver, and the previous line 64 does a return on any catchall: messages, so why would I expect zigbee.parseDescriptionAsMap(description) to do the trick?
Also, I did look at the Hubitat Documentation page on the ZigBee Methods, and I could swear the entry for parseDescriptionAsMap was not there when I looked a couple hours ago. Perhaps I missed it.
Honestly, I find it offensive that it's implied I am wasting your time asking dumb questions when I do spend the time to research as best I can, rarely ask any questions in general, and have never contacted support after my second instance.
The work I do on device drivers is unpaid, not my as my form of employment, and the time I have to dedicate to it is limited. I am not a programmer by trade, and can't be expected to know as much as you well seasoned professionals do. I just don't see how it warrants taking pot-shots when I do occasionally ask for help.
Nevertheless, as much as I am less and less inclined to ask for it with these kinds of responses, thanks for the reply.
Excellent question that should have been asked, however, if parseDescriptionAsMap didn't parse something from that string, there would have been no need to throw it out before hand...
No, you are not going crazy. when someone asks a question about specific methods I tend to go into the wiki and add it there as well. It was listed below as one of the methods to document but I just added the full documentation for it.
I'm not saying that all, I have no idea if anyone's actually looking at these or not.
I certainly don't get any questions regarding them.
The community wanted to extend the Halo driver with the weather buisness, so we posted that, nobody's submitted any pull requests to it...
I'm not intending to be dismissive here, I just feel on occasion that what little we currently have available to developers isn't advantaged, be this may be my own bias or reality, it tends to make me cranky.
I'm trying to port a driver and am having mixed success. An example of the problem I'm having is with this code:
hubitat.app.DeviceWrapper macChild = getChildDevice (mac)
I've converted from physicalgraph to habitat but get an unresolved class. I've tried removing the class hierarchy but I still get an unresolved class on DeviceWrapper. I have the same problem with ChildWrapper.