We have purchased “AC Current Monitor” sensor, “Predictive Maintenance Sensor Plus” sensor and the “Micro Gateway” for connecting to Amazon AWS. I have followed the documentation provided by your website and was able to successfully install and test that messaged are received on AWS IOT Client Test (https://ncd.io/wifi-micro-gateway-setup-for-aws/). What we need to do is set the sampling interval for each device to something different than the default value. I noticed on the step where I connect the Gateway to WIFI and put in my AWS access key and secret. There is a “Devices” tab, and when I hold the config button on the sensor for 6 seconds, I can see the sensors appear on the list. I have clicked the configure button on the UI and changed the delay to different values. But it just does not seem to save cause when I revert back to AWS MQTT test client I did not see the messaged come in the interval I had changed. From my understanding the delay column is in seconds. So if I set the value to 1 it should send a single every second. I have attached screenshot from the screen I have just mentioned. Can you please let me know the exact steps I need to do in order to be able to change the sampling frequency of each sensor individually.
The V3 devices do NOT use delay values. it has a new parameter called an interval. it sends data after an interval which is a multiple of 5min.
We only recommend node red for setting v3 sensors. These sensors have over 50 parameter settings and its not possible to set all using a micro gateway. @TravisE_NCD_Technica what if someone flashed mega modem firmware into the mico gateway ?
can it be used with node red ?
I wanted to verify something. After holing the config button on the sensors and than modifying the delay few times. It actually started to send MQTT messages on AWS test client every 2 seconds for the “AC Current Monitor”. Did I ruin anything on the sensor for doing this? Two things I did was click the reset button on sensor and than click and hold the config button on sensor for 6 second. Then sensor appeared on the bottom of UI and after clicking the config I changed the delay and clicked saved. I did this procedure a few times with different delay values and suddenly on one instance it worked and it was sending messages rapidly. Just want to make sure I did not ruin anything. How would I reset it back to factory default?
Also I have few more questions
So what devices are considered v3 devices?
Can we just use v2 devices instead? We want to be able to change the sampling rate via AWS “Micro Gateway” initial setup. This seems the easiest option without needing to install anything. Just as part of the steps of setting up internet access and AWS access we can set this
3.Also all the v3 sensors work out of box with the AWS “Micro Gateway” right? Only issue is setting the delay correct? The reason I say that it because I noticed on the messages on AWS MQTT test client had the same exact values for the “Predictive Maintenance Sensor Plus”. Even though I was shaking the vibration sensor
Can you please clearly what I’m expecting on AWS MQTT topics. Or point me to the documentations for the expected payloads on AWS MQTT topics. What I have noticed is I get the following on the interval"
a. I get a “update/documents” topic that contains the prev and current states. Each state contain records for for each sensors that has been turned on (node)
b. I also get “update/accepted” with a single sensor (node)
c. I also get a “shadow/update”
You said the interval is in multiples of 5 mins. Does that mean it cant be below 5 mins?
It sounds like you have your AWS Gateway configured to report telemetry to the Shadow Document on AWS IoT. The user guide for the AWS gateway goes into more detail. However you can also enter a topic format in the AWS gateway to publish the data to an MQTT Topic if you prefer that. You will see a field in the AWS Gateway to change the topic.
So the “AC Current Monitor” is a V2 device. Does this mean it can set to sample every 2 seconds?
If so can you send me the instructions on how to set the sampling frequency for this sensor? I still cant seem to be able to set it using the Amazon AWS Micro Gateway. I have tried to change the delay under the “Devices” section
But can you please give me the steps using the AWS Micro Gateway. These are the steps I have been following AND I cannot consistently get it set
1.I hold the red button for few seconds inside the AWS Micro Gateway. Then a WIFI named " WiFi_Micro_Gateway". I click and connect to it
Once connected I navigate to tab called “Devices” and I click the button named “Switch to Configuration Mode” on the bottom left of screen as shown by screen shot named 1.png
Than I click reset and click and hold config button inside the “AC Current Monitor” sensor and than after few seconds the sensor shows up in the screen. Then I click the “Configure” under the “Settings” column as shown in screen shot name 3.png
After that I change the delay to 10 seconds and I navigate to other tab and click “Save Settings” button as shown in screen shot named 4.png
But after I do not see the sensor sending telemetry messages on AWS every 10 seconds. Not sure what step I did in one of the times I was changing it that got it to work. I just need to be able to reproduce it every time so I can hand off the instructions to field technicians that are going to install the sensors in a few weeks.
@Anil_Bhaskar no, I don’t have a video but there are detailed step by step instructions here:
The error in your steps @alayarda is that you are putting the gateway into configuration mode too soon.
Prior to putting the gateway into configuration mode you should press the RST button in the sensor so it appears in the list, then edit settings as desired, then switch the gateway to config mode, then put sensor into config mode.
One more thing I wanted to verify. I know we can modify the topic format to send to specific topic on AWS. But would it be possible to format the topic payload? So I wanted to have a same topic message for two different sensors. For example one attribute would be sensor name and one attribute would be value.
We do not currently support formatting of the payload. This would require some firmware development to implement. To this point we have not had a request to format the payload as this can typically be accomplished on the server/cloud side.
I cant find anywhere to put AWS access key and secret. I have tried to set the client username and password but it did not work (gatewaySetup3.png) I keep getting red flashing light on the gateway. So I was not able to see the payload received on AWS. Can you please send the documentation for setting these keys so I can get the message on AWS?
Also how do I configure the topic I was it send too on AWS?
I know you said we cannot modify the payload but on these gateways there are some attributes where I think it can achieve some of the things I’m trying to do. As you can see from screenshot I have provided (gatewaySetup3.png) there are 4 attributes which I think can be used to modify the format. There are gateway message and topic format. Also sensor message and topic format fields. Can I get a documentation of how to fill these in?
We are trying to send these to our client as soon as possible so they can be installed on mining equipment so can you please provide some help so we can do this as soon as possible. I noticed the gateway connector which I did all my testing last week was version 2.0.6. So the 4 connectors we got today are actually older ones (Version 1.0.9).