I am trying to integrate GCP with loraserver using LorixOne Gateway, I am following the guide at https://www.loraserver.io/guides/google-cloud-platform/
However my messages not reaching to loraserver through pubsub.
My setup is as below:
lora end device—>LorixOne Gateway with Lora base OS —> GCP IoT core -> GCP Pubsub —> VM running loraserver
I can see that all messages are reaching to IoT core but nothing can be seen on the pubsub or lora-app-server.
I am following the guide https://www.loraserver.io/guides/google-cloud-platform/ however something is not working ok with GCP PUBSUBHere is picture from GCP logs that I am getting messages to IOT core however nothing reaches to VM via pubsub
So issue here was not from Google cloud iot. there were 2 issues here.
1) gateway id is case sensitive
2) end lorwan device was not transmitting on right AU_915 band
Now all looks good.
Regards
Jayesh
Related
I am trying to automate the process of device creation in azure IOT Hub. Not able to find the code in ARM templet. Can anyone help me on it?
You can't register devices through ARM API.
The IoTHub Rest API documentation can be found here.
You can also use the az iot device registration create command to register device:
# Register an IoT device using an individual enrollment.
az iot device registration create -n {dps_name} --rid {registration_id}
# Register an IoT device using a group enrollment.
az iot device registration create -n {dps_name} --rid {registration_id} --gid {group_enrollment_id}
There is no ARM template for device creation. This is because ARM usually covers Azure resources and not the data plane of those resources. You can still automate device creation, the Azure CLI is an excellent way of doing that!
You can use the az iot device-identity create command to create a new device.
I'm building a small iot project, in this project I want to turn on/off a LED connected to ESP32 through a website (wix/wordpress) and aws in the middle.
I've managed to do that between the ESP32 and aws iot core service, but I'm not sure how can aws communicate with the website (it doesn't matter which platform, the easiest, and free).
I wish to make a button on the website, when it pressed it turns on/off the light, how can i transfer the relevant information from a button click to aws (and then to ESP32)?
Thanks.
You would need to create an AWS Lambda function that sends the on/off code to your IoT thing. You would expose that Lambda function via an HTTP or REST (AWS API Gateway) endpoint.
Then in your website, you would call that endpoint when the button is clicked. Wordpress and Wix are two totally different website platforms, so the fact that you are asking about both makes the question unclear. In general you would lookup the method of communicating with an HTTP endpoint, REST endpoint, or "webhook" in the web platform you are using.
I’m trying use the emulator AVD, and my app to showed this error
#firebase/firestore: Firestore (7.16.0): Could not reach Cloud Firestore backend. Backend didn’t respond within 10 seconds.
This typically indicates that your device does not have a healthy Internet connection at the moment. The client will operate in offline mode until it is able to successfully connect to the backend.
How can emultaor my app with Firebase ?
Thanks Frank Van, its work! I installed all tools of google and work, thanks!
I have four different Redis Cache subscriptions set up in Azure. I also have four App Services that each use one of those Redis Cache subscriptions. The four App Services/Redis Cache subscriptions are for the same code base, but different environments. I use a test, staging, live-east coast, and live-west coast environment.
The code running in each app service is exactly the same.
I have an ASP.NET Core Web API project that uses StackExchange.Redis. In my Web API project, I connect to the Redis subscription set up in Azure that corresponds to the environment for the App Service. As part of the startup process for my Web API project, I open up four PubSub channels.
For the test, staging, and live-west coast environments, the four PubSub channels get created and work just fine. I can connect to the Redis console through Azure and run the PUBSUB CHANNELS command and see the four channels I create through code.
For some reason, on the live-east coast Redis subscription, only one of the PubSub channels shows up. I can also verify that only one channel is actually open. My front-end that calls the Web API has logic that publishes messages to the Redis PubSub. These do not work on the live-east coast App Service. If I restart the App Service or reboot Redis, then I can sometimes get all four PubSub channels to show up and to work properly. Anytime I deploy new code to my live-east coast App Service, after the service boots back up, only one of the channels get created.
For some reason Redis is closing three of my PubSub channels. Again, this only happens in one of my four Redis subscriptions/App Services. The other three work flawlessly.
I've made sure that all the settings for my four Redis subscriptions and four App Services are identical. I've tried rebooting and redeploying several times and I just can't get that live-east coast Redis subscription to keep all four PubSub channels open.
Has anyone experienced anything like this? Has anyone seen Azure Redis Cache randomly closing their PubSub channels?
It is possible that the clients subscribed to that channel have either died or never successfully connected. Once the subscriber count reaches zero, PUBSUB channels won't show that channel anymore. Try running PUBSUB numsub <channel_name> to verify that there are subscribers. Also run CLIENT list to see how many clients have subscriptions (would be something like sub=1).
I am trying to port Azure IoT SDKs for C to STM32 controller. I am using wolfSSL library for TLS version 1.2 and I am able to build the code successfully in OpenSTM32 environment.
But, after establishing successful connection with Azure server, I am unable to establish TLS handshake with the server.
I am using OpenSTM32’s example user_settings.h file from wolfSSL library to build wolfSSL library.
Do I need to make any additional changes in the WolfSSL library to use it with Azure?
OR
Is there any other TLS library, which can be used with Azure IoT SDK for C and STM32 controller?
I have managed to get it working.
There were issues with the buffer sizes and server timeouts.
Increasing the buffer size and optimizing the sending logic solved the issue.
Now, I am able to access every functionality of Azure IoT SDK for C !