- Newest
- Most votes
- Most comments
Depending in your solution, but most gateways run with the GreenGrass software from aws iot. You can run this on rpi or similar instances. And make a bridge between mqtt and device protocol.
You van manage this with the api call's, but you load them with certificates and they will automatic connect and register to the iot core and subsrcribe to topics.
For data communication from lambda, you can publish messages with python: https://aws.amazon.com/premiumsupport/knowledge-center/iot-core-publish-mqtt-messages-python/
If you want to run a php frontend, you have two options. Either communicatie directly from php to mqtt. Or create an api gateway with lambda's and connect your php with the rest api of the api gateway.
You mean AWS python SDK or AWS IoT device sdk python ?
If its AWS Python SDK, you can use iot wireless api operations (boto3)
To add/remove the lora gateway and devices, there are api operations
create_wireless_device(),
create_wireless_gateway(),
delete_wireless_device(),
delete_wireless_gateway()
To send the data back to the lora device,
send_data_to_wireless_device() - https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/iotwireless.html#IoTWireless.Client.create_wireless_device
If you are talking about AWS IoT device sdk python, there is no api operations for iotwireless yet.
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago