First off - thank you for making such a full featured driver for this!! Setup was complicated (due to Google) but easily worth it to get HE integration.
I'm curious if you've tried to apply for commercial status so others could integrate their devices without having to do all of the Google setup work to create a project, etc.
Also, super minor request.. I noticed the logs show the expanded ('pretty') JSON format which makes them take up several lines. Is it possible to only show the compact format? I'm guessing maybe Google is sending the compact version but the driver is using 'pretty print' option when logging?
app:2052020-10-12 09:10:34.594 am debug{name=enterprises/<SNIP>/devices/<SNIP>-<SNIP>-3Cucbx8nNELWrYw, traits={sdm.devices.traits.Temperature={ambientTemperatureCelsius=24.15999}}}
app:2052020-10-12 09:10:34.593 am debugNest (1st floor)
app:2052020-10-12 09:10:34.568 am debug{
"eventId": "9b403d16-f8d5-4154-9f68-5ad5008f6949",
"timestamp": "2020-10-12T13:10:32.498Z",
"resourceUpdate": {
"name": "enterprises/<SNIP>/devices/AVPHwEsucCo2cP92v243Kdqnq4_YxP5ZEpel-<SNIP>-3Cucbx8nNELWrYw",
"traits": {
"sdm.devices.traits.Temperature": {
"ambientTemperatureCelsius": 24.15999
}
}
},
"userId": "<SNIP>-<SNIP>"
}
app:2052020-10-12 09:10:34.566 am debugevent received
Most other logs use compact JSON like this one:
dev:3252020-10-12 09:27:36.068 am debugparsed: {"type":"connect.stateDigest?notify","data":{"sleepTimerId":-1,"runningZoneList":[],"contentVersion":78,"activityId":"36725446","syncStatus":0,"updates":{"97":"4.13.100"},"stateVersion":202,"tzOffset":"-14400","mode":3,"time":1597521202,"hubSwVersion":"4.15.280","deviceSetupState":[],"tzoffset":"-14400","isSetupComplete":true,"sequence":false,"discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","discoveryServerCF":"https:\/\/cf-svcs.myharmony.com\/Discovery\/Discovery.svc","activitySetupState":false,"activityStatus":1,"wifiStatus":1,"tz":"EST5EDT,M3.2.0,M11.1.0","runningActivityList":"","IPIRConversionDate":"","hubUpdate":false,"configVersion":175,"accountId":"<SNIP>"}}
again - super minor and not a big deal.. just something as a developer I noticed
thanks
joe