Skip to content
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

Show overview of gateway status #169

Closed
wants to merge 25 commits into from

Conversation

AramAlsabti
Copy link
Contributor

Supports fetching the status of all gateways. The backend now also subscribes to a topic on Chirpstack which receives gateway status messages from time to time. It stores the status messages in a separate table which can then be fetched by a client

Note that this differs from the application server which shows gateways as offline if they haven't received a packages in the last couple of minutes.

Related frontend PR

AramAlsabti and others added 22 commits December 16, 2021 18:23
…r-management

# Conflicts:
#	src/controllers/admin-controller/data-target.controller.ts
#	src/modules/shared.module.ts
# Conflicts:
#	ormconfig.ts
#	src/auth/roles.decorator.ts
#	src/controllers/admin-controller/application.controller.ts
#	src/controllers/admin-controller/chirpstack/chirpstack-gateway.controller.ts
#	src/controllers/admin-controller/chirpstack/device-profile.controller.ts
#	src/controllers/admin-controller/chirpstack/service-profile.controller.ts
#	src/controllers/admin-controller/data-target.controller.ts
#	src/controllers/admin-controller/iot-device-payload-decoder-data-target-connection.controller.ts
#	src/controllers/admin-controller/payload-decoder.controller.ts
#	src/controllers/admin-controller/sigfox/sigfox-device-type.controller.ts
#	src/controllers/admin-controller/sigfox/sigfox-group.controller.ts
#	src/entities/user.entity.ts
#	src/helpers/security-helper.ts
#	src/migration/1641894827503-Initial.ts
#	src/modules/shared.module.ts
#	src/services/user-management/permission.service.ts
# Conflicts:
#	src/controllers/admin-controller/api-key-controller/api-key.controller.ts
#	src/services/device-management/iot-device.service.ts
…r-management

# Conflicts:
#	src/controllers/admin-controller/iot-device.controller.ts
#	src/entities/application.entity.ts
#	src/modules/shared.module.ts
#	src/services/device-management/iot-device.service.ts
Migration, data storage and error handling are missing.
…-online-status

# Conflicts:
#	src/modules/shared.module.ts
#	src/services/data-management/chirpstack-mqtt-listener.service.ts
#	src/services/data-management/device-integration-persistence.service.ts
#	src/services/data-management/receive-data.service.ts
#	src/services/data-targets/data-target-kafka-listener.service.ts
@AramAlsabti AramAlsabti requested a review from GufCab May 10, 2022 16:14
@AramAlsabti AramAlsabti self-assigned this May 10, 2022
@AramAlsabti
Copy link
Contributor Author

The new user management branch has been merged into this one prematurely to fix merge conflicts. As we will be testing in phases, a new PR was created from branch only with this gateway status feature.
See here

@AramAlsabti AramAlsabti deleted the feature/1299_gateway-online-status branch June 23, 2022 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant