Hi @ScruffR,
this is how the integration looks like (I removed the logs and the real GCP project name):
{
"integration": {
"id": "5c18e501087f140720addd97",
"event": "infarm/status",
"created_at": "2018-12-18T12:16:01.611Z",
"responseTopic": "{{PARTICLE_DEVICE_ID}}/hook-response/{{PARTICLE_EVENT_NAME}}",
"product_id": 7460,
"logs": [{}],
"counters": [{
"date": "20190502",
"sleep": "2",
"success": "7822",
"error": "97"
}, {
"date": "20190503",
"success": "41216"
}, {
"date": "20190504",
"success": "37941"
}, {
"date": "20190505",
"success": "36990"
}, {
"date": "20190506",
"success": "35184"
}, {
"date": "20190507",
"success": "12819",
"error": "1"
}],
"integration_type": "GoogleCloudPubSub",
"topic": "projects/<GCP_PROLECT_NAME>/topics/status"
}
}
and the output of particle serial inspect:
~ » particle serial inspect
Platform: 6 - Photon
Modules
Bootloader module #0 - version 201, main location, 16384 bytes max size
Integrity: PASS
Address Range: PASS
Platform: PASS
Dependencies: PASS
System module #1 - version 1002, main location, 262144 bytes max size
Integrity: PASS
Address Range: PASS
Platform: PASS
Dependencies: PASS
System module #2 - version 204
System module #2 - version 1002, main location, 262144 bytes max size
Integrity: PASS
Address Range: PASS
Platform: PASS
Dependencies: PASS
System module #1 - version 1002
Bootloader module #0 - version 7
User module #1 - version 3, main location, 131072 bytes max size
UUID: B3A6DCD529BE70FBE24EE959C7305D58E3BC9A04ACDCE8F093C7A1F759097D09
Integrity: PASS
Address Range: PASS
Platform: PASS
Dependencies: PASS
System module #2 - version 6
empty - factory location, 131072 bytes max size
the code that publishes events (is really just the Particle.publish):
bool fb::controller::send_event(const char *_name, const char *_body, bool _private) {
return Particle.publish(_name, _body, _private ? PRIVATE : PUBLIC);
}
Thank you.
cheers,
nelson