Zolertia / contiki

Zolertia's Contiki repository
http://www.contiki-os.org/
Other
2 stars 4 forks source link

Zolertia Remote to Ubidots #22

Open misoehj opened 5 years ago

misoehj commented 5 years ago

I am having troubles connecting my Zolertia Remote to Ubidots. I am using the following link: http://help.ubidots.com/connect-your-devices/connect-a-zolertia-re-mote-to-ubidots-using-ipv6 . I am not using external sensors. I think I am misunderstanding the step with the ubidots.h file. The code that request the token info is commented off and I am confused, Please help.

Zolertia commented 5 years ago

Hi Misoehj,

That token is no needed. The only token that you can use is the token of the device, that you can place the token ID in DEFAULT_CONF_AUTH_USER.

2018-08-12 9:34 GMT+02:00 misoehj notifications@github.com:

I am having troubles connecting my Zolertia Remote to Ubidots. I am using the following link: http://help.ubidots.com/connect-your-devices/connect- a-zolertia-re-mote-to-ubidots-using-ipv6 . I am not using external sensors. I think I am misunderstanding the step with the ubidots.h file. The code that request the token info is commented off and I am confused, Please help.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Zolertia/contiki/issues/22, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJIuDzX3hwv88jfjPtxU2HA4oIMohPPks5uP9p9gaJpZM4V5cO0 .

--

Aitor Mejias Sotorra

amejias@zolertia.com

[image: header-logo.png]

Infinitive hardware for IoT

….

Website: zolertia.io / Twitter: @zolertia https://twitter.com/zolertia / Linkedin: zolertia https://www.linkedin.com/company/zolertia?trk=company_logo

misoehj commented 5 years ago

I’ve tried this as well. Is it because I’m trying to use the remotes embedded sensors?

misoehj commented 5 years ago

It is still not connecting to ubidots. It is connecting to the border router, but it is not reporting any sensor statistics. Do you have any suggestions regarding the border router?

Zolertia commented 5 years ago

Ubidots.h uses two characteristics:

This means that you want to connect to Ubidots, and you want to configure the sensors as ubidots_demo. In this mqtt example you can define all sensors that you want to collect as a program. ubidots_demo is an example. This sensors can be taken from Ubidots Pack, and you can check what type of sensors have in mqtt-node/device. Also, you can make one as your needs.

If you want to use coldchain with your sensor type, only change MQTT_PLATFORM parameter from ubidots to Coldchain.

Once you have programmed the example in the sensor, you will need to check the status inside the Router. Be Caution: LLSEC can be configured exactly as the instructions on Router.

2018-08-14 19:33 GMT+02:00 misoehj notifications@github.com:

It is still not connecting to ubidots. It is connecting to the border router, but it is not reporting any sensor statistics. Do you have any suggestions regarding the border router?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Zolertia/contiki/issues/22#issuecomment-412953590, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJIuMzbXnZlVaNccLksmCJKWmOZWbNEks5uQwnZgaJpZM4V5cO0 .

--

Aitor Mejias Sotorra

amejias@zolertia.com

[image: header-logo.png]

Infinitive hardware for IoT

….

Website: zolertia.io / Twitter: @zolertia https://twitter.com/zolertia / Linkedin: zolertia https://www.linkedin.com/company/zolertia?trk=company_logo

misoehj commented 5 years ago

When you say the token of the device, are you referring to the device ID? I noticed that the IPV6 of the Ubidots remote Host is not right, it should be 2607:f0d0:3:b::2 . I tried altering the define MQTT_DEMO_CONF_BROKER_IP_ADDR to 2607:f0d0:3:b::2 in the Ubidots.h file, but still nothing. Am I missing something.

misoehj commented 5 years ago

Your previous response is confusing me. If I want to utilize the embedded temperature sensor (for Zolertia Zoul Re-mote) what do I do? My Ubidots.h file includes the following:

misoehj commented 5 years ago

Would I program the Ubidots_demo example in the sensor?

Zolertia commented 5 years ago

You can program the ubidots_demo example in the mote.

Strange... it must work if you have places the correct token ID from ubidots in DEFAULT_CONF_AUTH_USER.

One question:

Have you "detected" in Sensors the mote? Can you share with me a STATUS screen as the picture?

2018-08-20 23:47 GMT+02:00 misoehj notifications@github.com:

Would I program the Ubidots_demo example in the sensor?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Zolertia/contiki/issues/22#issuecomment-414474216, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJIuBil_TeCkO2nyaYqp-bciaH0VZz0ks5uSy5ogaJpZM4V5cO0 .

--

Aitor Mejias Sotorra

amejias@zolertia.com

[image: header-logo.png]

Infinitive hardware for IoT

….

Website: zolertia.io / Twitter: @zolertia https://twitter.com/zolertia / Linkedin: zolertia https://www.linkedin.com/company/zolertia?trk=company_logo

misoehj commented 5 years ago

Here is the Status screen from the border router. The device is there, but its not on Ubidots.

br_status
misoehj commented 5 years ago

I tried another example and I was able to create a variable in Ubidots and the platform loaded the information to the device. So I know that the token is correct. But the sensor statistics aren't automatically generated to Ubidots. In other words, Ubidots isn't automatically creating the variables inside the device.

misoehj commented 5 years ago

I tried the 'contiki/examples/zolertia/tutorial/99-apps/mqtt-node$ sudo make clean && sudo make TARGET=zoul BOARD=remote-revb mqtt-client.upload', command. I also tried 'contiki/examples/zolertia/tutorial/99-apps/mqtt-node/device$sudo make clean && sudo make TARGET=zoul BOARD=remote-revb ubidots_demo.upload', and also sudo make Ubidots_demo.upload.

Zolertia commented 5 years ago

Could you give me the complete screen of Status->IPv6?

2018-08-21 10:14 GMT+02:00 misoehj notifications@github.com:

I tried the 'contiki/examples/zolertia/tutorial/99-apps/mqtt-node$ sudo make clean && sudo make TARGET=zoul BOARD=remote-revb mqtt-client.upload', command. I also tried 'contiki/examples/zolertia/ tutorial/99-apps/mqtt-node/device$sudo make clean && sudo make TARGET=zoul BOARD=remote-revb ubidots_demo.upload', and also sudo make Ubidots_demo.upload.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Zolertia/contiki/issues/22#issuecomment-414590331, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJIuPGbpUVJvvxSVXCeG7RMNZ-TquZSks5uS8FwgaJpZM4V5cO0 .

--

Aitor Mejias Sotorra

amejias@zolertia.com

[image: header-logo.png]

Infinitive hardware for IoT

….

Website: zolertia.io / Twitter: @zolertia https://twitter.com/zolertia / Linkedin: zolertia https://www.linkedin.com/company/zolertia?trk=company_logo

misoehj commented 5 years ago
status_ipv6
Zolertia commented 5 years ago

Hi Misoehj,

First at all, we checked the Pack-Ubidots and it runs with one RE-Mote and one Orion Router. There are few things to be consider. I found few issues that you will modify in the code.

As you can be checked, the main tutorial is there; https://github.com/Zolertia/Resources/wiki/Pack-Ubidots

Orion: 1.- check the configuration in Orion Router as the same as tutorial. 2.- Reset Orion.

Node: 1.- Change the maximum lenght of the token found in mqtt-node/clous/ubidots.h (line 118) #define DEFAULT_CONF_AUTH_USER_LEN 40

2.- If you have no sensors, you need to change the values (because if you don't have sensors the result can be filtered by MQTT driver). Go to mqtt-node/device/ubidots_demo.c (line 77, function poll_sensors(void))

Change all ubidots_demo_sensors.sensor[xxx] to one value between 0 and 30000. Example: // ubidots_demo_sensors.sensor[ANALOG_SENSOR_SOIL_MOIST].value = adc_zoul.value(ZOUL_SENSORS_ADC3); ubidots_demo_sensors.sensor[ANALOG_SENSOR_SOIL_MOIST].value = 13; if(!detect_sensor) { if(!tsl256x.configure(TSL256X_ACTIVE, 1)) { // ubidots_demo_sensors.sensor[DIGITAL_SENSOR_LIGHT].value = tsl256x.value(TSL256X_VAL_READ); ubidots_demo_sensors.sensor[DIGITAL_SENSOR_LIGHT].value = 23; } else { //ubidots_demo_sensors.sensor[DIGITAL_SENSOR_LIGHT].value = DEFAULT_WRONG_VALUE; ubidots_demo_sensors.sensor[DIGITAL_SENSOR_LIGHT].value = 24; detect_sensor = 1; } } else { dht22.configure(SENSORS_ACTIVE, 1); int temperature, humidity; dht22_read_all(&temperature, &humidity); // ubidots_demo_sensors.sensor[DIGITAL_SENSOR_TEMP].value = temperature; // ubidots_demo_sensors.sensor[DIGITAL_SENSOR_HUMD].value = humidity; ubidots_demo_sensors.sensor[DIGITAL_SENSOR_TEMP].value = 34; ubidots_demo_sensors.sensor[DIGITAL_SENSOR_HUMD].value = 35; }

Compile it.

For Ubidots it's working for me. I hope that will be the same for you. This can be a good starting point to check if the 'pack' is functional.

2018-08-21 13:55 GMT+02:00 misoehj notifications@github.com:

I was trying to fix the issue and I altered the Ethernet options on the configuration tab. I enabled ipv4 and now my border router wont connect via bbbb::100.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Zolertia/contiki/issues/22#issuecomment-414648355, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJIuMmQ6fz3cul6paE1HSNuRN_TNhQOks5uS_UwgaJpZM4V5cO0 .

--

Aitor Mejias Sotorra

amejias@zolertia.com

[image: header-logo.png]

Infinitive hardware for IoT

….

Website: zolertia.io / Twitter: @zolertia https://twitter.com/zolertia / Linkedin: zolertia https://www.linkedin.com/company/zolertia?trk=company_logo

misoehj commented 5 years ago

How do I enable telnet port (23) on Zolertia zoul remote and Ethernet router? Telnet is enabled on my host machine but not on these devices. What do I do?

misoehj commented 5 years ago

I changed all the settings you mentioned. When I run this command: contiki/examples/zolertia/tutorial/99-apps/mqtt-node$ make clean && make TARGET=zoul BOARD=remote-revb mqtt-client.upload

The remote connects to the router but not Ubidots. I noticed that my ip64 addresses aren't automatically configured (like shown under system and status tabs) . Could this be the problem.? I tried altering the settings under the configuration tab (based off the ips assigned in the example screenshot), but it still does not change the system and status tabs. system tab

pp

But still the system tab states

ss

I also tried:

contiki/examples/zolertia/tutorial/99-apps/mqtt-node/device$ make clean && make TARGET=zoul BOARD=remote-revb Ubidots_demo.upload and make ubidots_demo.upload But I get the following error

ww
misoehj commented 5 years ago

I realized that my border router is not connected to the internet. The ipv4 configurations for me were not automatic so I tried sharing the internet connection with home wifi but it wont work. I made sure that the wifi Lan, ethernet adapter ip, router ip, and gateway ip were on the same subnet. I made sure that the ips were available to use. Please tell me what I am doing wrong. My project is due next week.

Zolertia commented 5 years ago

HI Misoehj,

Orion Router have DHCP enabled. If you have a lot of problems I recommend to you flash the Orion with standard FW, and start the config from 0. Finally Ubidots Demo compiled you correctly? But if the Orion Router have been correctly configured, you can make a ping to test it from the same network... it runs? If it's okay, the problem is not from the Orion. Also, you can connect the Orion USB to PC and open the serial port (115200, 8, N) you will see the IPV4 address at final.

2018-09-05 0:41 GMT+02:00 misoehj notifications@github.com:

I realized that my border router is not connected to the internet. The ipv4 configurations for me were not automatic so I tried sharing the internet connection with home wifi but it wont work. I made sure that the wifi Lan, ethernet adapter ip, router ip, and gateway ip were on the same subnet. I made sure that the ips were available to use. Please tell me what I am doing wrong. My project is due next week.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Zolertia/contiki/issues/22#issuecomment-418540904, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJIuNnNJLvwcwX0qyfB8McM4uFP_jQ3ks5uXwGIgaJpZM4V5cO0 .

--

Aitor Mejias

support@zolertia.com amejias@zolertia.com, amejias@zolertia.com

[image: header-logo.png]

….

Website: zolertia.io / Twitter: @zolertia https://twitter.com/zolertia / Linkedin: zolertia https://www.linkedin.com/company/zolertia?trk=company_logo

misoehj commented 5 years ago

When you say start the config at 0, which setting are you referring to? All of the flashes seem to work fine. How do you open the serial port. I can ping the IPv6 address from my machine but I had to manually set my iPv4 address to ones that were on the same subnet as my WiFi adapter. It still has no internet. I’m very confused

misoehj commented 5 years ago

You said, “flash the Orion with standard FW”. Are you saying reprogram with different binary files?

misoehj commented 5 years ago

Is there anyway I could skye or email you? So that you see what I’m working with? I need to have this done by today

Zolertia commented 5 years ago

You can program the binary found in

Binaries/router/cetic_6lbr_router_eth_gw.bin

or push factory reset button and configure it. This is recommendable if you have modified any parameter that you don't remember...

But if you have ping in the same net, the Orion works fine... You can use Wireshark and sniff the connection packets connecting the Orion ethernet to a PC and sharing connection with Wifi. I think that you will see the problem (I hope).

2018-09-05 10:06 GMT+02:00 misoehj notifications@github.com:

You said, “flash the Orion with standard FW”. Are you saying reprogram with different binary files?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Zolertia/contiki/issues/22#issuecomment-418638452, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJIuISzt30Uv5QORWhF97DD0kEOGA6_ks5uX4YNgaJpZM4V5cO0 .

--

Aitor Mejias Sotorra

amejias@zolertia.com

[image: header-logo.png]

Infinitive hardware for IoT

….

Website: zolertia.io / Twitter: @zolertia https://twitter.com/zolertia / Linkedin: zolertia https://www.linkedin.com/company/zolertia?trk=company_logo

misoehj commented 5 years ago

Before I do anything, just want to make sure. With the tutorial you were able to set everything up without manually configuring ipv4 on the router? Is your router able to connect to the internet?

Zolertia commented 5 years ago

Manually no, with DHCP. And the connection with last changes that I sent to you was the connection successfully.

2018-09-05 10:44 GMT+02:00 misoehj notifications@github.com:

Before I do anything, just want to make sure. With the tutorial you were able to set everything up without manually configuring ipv4 on the router? Is your router able to connect to the internet?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Zolertia/contiki/issues/22#issuecomment-418649704, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJIuPdwNoT3zqfSvVcbRej5yBtMT4G9ks5uX47ugaJpZM4V5cO0 .

--

Aitor Mejias Sotorra

amejias@zolertia.com

[image: header-logo.png]

Infinitive hardware for IoT

….

Website: zolertia.io / Twitter: @zolertia https://twitter.com/zolertia / Linkedin: zolertia https://www.linkedin.com/company/zolertia?trk=company_logo

misoehj commented 5 years ago

This isn’t really helping me. I’ve already done all of this.

Zolertia commented 5 years ago

The best option is to share the internet connection with the PC and sniff eth0 with wireshark. You will see what's happening... If you have doubts about Orion Router, we can change it. All our products have been tested here, but if you can ping to Orion, that's correctly configured.

You have another option: Use the PC as GW by tunslip tool and another RE-Mote or firefly as Receiver connected to PC.

2018-09-05 12:28 GMT+02:00 misoehj notifications@github.com:

This isn’t really helping me. I’ve already done all of this.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Zolertia/contiki/issues/22#issuecomment-418681247, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJIuEwTxjieJRoI-_ELeAmYD8z5muUMks5uX6dZgaJpZM4V5cO0 .

--

Aitor Mejias

support@zolertia.com amejias@zolertia.com, amejias@zolertia.com

[image: header-logo.png]

….

Website: zolertia.io / Twitter: @zolertia https://twitter.com/zolertia / Linkedin: zolertia https://www.linkedin.com/company/zolertia?trk=company_logo

misoehj commented 5 years ago

By assigning the sensor variables numbers between 0 and 3000. I was able to have the sensor report to Ubidots. As shown below. ubidots

I bought a temperature sensor and I want that to display on the site. How would I alter the code so that I see the sensor readings on the site? I set the poll_sensor(void) function back to its initial structure (in Ubidots_demo.c),

nochange

The temperature and humidity values remain the same. I tried placing the sensor in front of the fan to see if the variable would change but nothing

temp
Zolertia commented 5 years ago

If you want to alter the values, is easely modifiyng previous mail sent to you:

2.- If you have no sensors, you need to change the values (because if you don't have sensors the result can be filtered by MQTT driver). Go to mqtt-node/device/ubidots_demo.c (line 77, function poll_sensors(void))

Change all ubidots_demo_sensors.sensor[xxx] to one value between 0 and 30000. Example: // ubidots_demo_sensors.sensor[ANALOG_SENSOR_SOIL_MOIST].value = adc_zoul.value(ZOUL_SENSORS_ADC3); ubidots_demo_sensors.sensor[ANALOG_SENSOR_SOIL_MOIST].value = 13; if(!detect_sensor) { if(!tsl256x.configure(TSL256X_ACTIVE, 1)) { // ubidots_demo_sensors.sensor[DIGITAL_SENSOR_LIGHT].value = tsl256x.value(TSL256X_VAL_READ); ubidots_demo_sensors.sensor[DIGITAL_SENSOR_LIGHT].value = 23; } else { //ubidots_demo_sensors.sensor[DIGITAL_SENSOR_LIGHT].value = DEFAULT_WRONG_VALUE; ubidots_demo_sensors.sensor[DIGITAL_SENSOR_LIGHT].value = 24; detect_sensor = 1; } } else { dht22.configure(SENSORS_ACTIVE, 1); int temperature, humidity; dht22_read_all(&temperature, &humidity); // ubidots_demo_sensors.sensor[DIGITAL_SENSOR_TEMP].value = temperature; // ubidots_demo_sensors.sensor[DIGITAL_SENSOR_HUMD].value = humidity; ubidots_demo_sensors.sensor[DIGITAL_SENSOR_TEMP].value = 34; ubidots_demo_sensors.sensor[DIGITAL_SENSOR_HUMD].value = 35; }

ubidots_demo_sensors.sensor[xxx] Is the values attached to send to ubidots. If you want to change these functions by your sensor readings, you can do it.

Congratulations for the connecton!!! It was hard work...

2018-09-06 14:14 GMT+02:00 misoehj notifications@github.com:

By assigning the sensor variables numbers between 0 and 3000. I was able to have the sensor report to Ubidots. As shown below. [image: ubidots] https://user-images.githubusercontent.com/42215561/45156653-bd30a680-b1d6-11e8-8ea8-87f81a3593fb.png

However I am unable to access my gateway device. I bought a temperature sensor and I want that to display on the site. How would I alter the code so that I see the sensor readings on the site?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Zolertia/contiki/issues/22#issuecomment-419071429, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJIuCVdA2EGpkj-QSL38quwjWEfjHzgks5uYRGagaJpZM4V5cO0 .

--

Aitor Mejias

support@zolertia.com amejias@zolertia.com, amejias@zolertia.com

[image: header-logo.png]

….

Website: zolertia.io / Twitter: @zolertia https://twitter.com/zolertia / Linkedin: zolertia https://www.linkedin.com/company/zolertia?trk=company_logo

nusrathmouri commented 5 years ago

Hi, I am in the same trouble. When I uploaded the binary image into my orion router IPv4 was not automatically assigned by DHCP. For getting IPv4 address I turned off DHCP in router configuration page. I am facing same problem as mishoahej mentioned in his previous texts. Now I can't see any data values from sensor. I have Digital light sensor and I can't get any values. But my device is connected to orion router after uploading mqtt-client program from ......./tutorial/99-apps/mqtt-node. But the Last seen value is not valid. Please help me to solve this problem. Here is my output. Why the device is disconnected from broker after registered? screenshot from 2018-11-28 11 53 11

Zolertia commented 5 years ago

Hi Nusrath.

Can you give me the output of Orion Router when it's starting? Why you can't get IPV4 address in Orion? Have you checked the length of the DEFAULT_CONF_AUTH_USER for de node provided by Ubidots? May be your Key needs more characters.

Missatge de nusrathmouri notifications@github.com del dia dj., 29 de nov. 2018 a les 10:49:

Hi, I am in the same trouble. When I uploaded the binary image into my orion router IPv4 was not automatically assigned by DHCP. For getting IPv4 address I turned off DHCP in router configuration page. I am facing same problem as mishoahej mentioned in his previous texts. Now I can't see any data values from sensor. I have Digital light sensor and I can't get any values. But my device is connected to orion router after uploading mqtt-client program from ......./tutorial/99-apps/mqtt-node. But the Last seen value is not valid. Please help me to solve this problem. Here is my output. Why the device is disconnected from broker after registered? [image: screenshot from 2018-11-28 11 53 11] https://user-images.githubusercontent.com/44158833/49213336-5d582f00-f3c4-11e8-95ce-b817b990a771.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Zolertia/contiki/issues/22#issuecomment-442771735, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJIuB2MBN_6a9ITF9FjDN2EAiQHcRJbks5uz625gaJpZM4V5cO0 .

--

Aitor Mejias Sotorra

amejias@zolertia.com

[image: header-logo.png]

Infinitive hardware for IoT

….

Website: zolertia.io / Twitter: @zolertia https://twitter.com/zolertia / Linkedin: zolertia https://www.linkedin.com/company/zolertia?trk=company_logo

nusrathmouri commented 5 years ago

Hi, Here I have attached all screenshots for DHCP on and After turn off DHCP option. I checked the length of the DEFAULT_CONF_AUTH_USER , my key's length is 34 and I put this length value 40. Is it ok? Even I changed all sensor values to a fixed value in ubidots-demo.c file. It's not working. In my router it shows some value in Last seen portion, how these values are coming there? And the value changing one after one. Please also check the terminal output I previously attached after mqtt-client program uploaded why it shows connecting, Registered and connecting................disconnected? I think the device is losing connection after registered. Is it? I have 1 problem with my zolertia remote devices: when I am running programs there is no MAC address or node ID for my devices. I don't get any burn-node program for zoul remote. Is it any problem or it's okay to go forward with only rime address and ipv6 address?

With Thanks Nusrath

[image: Mailtrack] https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5& Sender notified by Mailtrack https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5& 29/11/18, 12:15:31

On Thu, Nov 29, 2018 at 12:07 PM Devel notifications@github.com wrote:

Hi Nusrath.

Can you give me the output of Orion Router when it's starting? Why you can't get IPV4 address in Orion? Have you checked the length of the DEFAULT_CONF_AUTH_USER for de node provided by Ubidots? May be your Key needs more characters.

Missatge de nusrathmouri notifications@github.com del dia dj., 29 de nov. 2018 a les 10:49:

Hi, I am in the same trouble. When I uploaded the binary image into my orion router IPv4 was not automatically assigned by DHCP. For getting IPv4 address I turned off DHCP in router configuration page. I am facing same problem as mishoahej mentioned in his previous texts. Now I can't see any data values from sensor. I have Digital light sensor and I can't get any values. But my device is connected to orion router after uploading mqtt-client program from ......./tutorial/99-apps/mqtt-node. But the Last seen value is not valid. Please help me to solve this problem. Here is my output. Why the device is disconnected from broker after registered? [image: screenshot from 2018-11-28 11 53 11] < https://user-images.githubusercontent.com/44158833/49213336-5d582f00-f3c4-11e8-95ce-b817b990a771.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Zolertia/contiki/issues/22#issuecomment-442771735, or mute the thread < https://github.com/notifications/unsubscribe-auth/AAJIuB2MBN_6a9ITF9FjDN2EAiQHcRJbks5uz625gaJpZM4V5cO0

.

--

Aitor Mejias Sotorra

amejias@zolertia.com

[image: header-logo.png]

Infinitive hardware for IoT

….

Website: zolertia.io / Twitter: @zolertia https://twitter.com/zolertia / Linkedin: zolertia https://www.linkedin.com/company/zolertia?trk=company_logo

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Zolertia/contiki/issues/22#issuecomment-442777461, or mute the thread https://github.com/notifications/unsubscribe-auth/AqHPcRgpi0aeZpzj_hjomHkFgIg_wVp_ks5uz7HngaJpZM4V5cO0 .

nusrathmouri commented 5 years ago

Hi, Can I please get some help or suggestions for my problem?

[image: Mailtrack] https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5& Sender notified by Mailtrack https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5& 03/12/18, 14:05:22

On Thu, Nov 29, 2018 at 12:24 PM Nusrath Jahan Mouri nusrathmouri@gmail.com wrote:

Hi, Here I have attached all screenshots for DHCP on and After turn off DHCP option. I checked the length of the DEFAULT_CONF_AUTH_USER , my key's length is 34 and I put this length value 40. Is it ok? Even I changed all sensor values to a fixed value in ubidots-demo.c file. It's not working. In my router it shows some value in Last seen portion, how these values are coming there? And the value changing one after one. Please also check the terminal output I previously attached after mqtt-client program uploaded why it shows connecting, Registered and connecting................disconnected? I think the device is losing connection after registered. Is it? I have 1 problem with my zolertia remote devices: when I am running programs there is no MAC address or node ID for my devices. I don't get any burn-node program for zoul remote. Is it any problem or it's okay to go forward with only rime address and ipv6 address?

With Thanks Nusrath

[image: Mailtrack] https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5& Sender notified by Mailtrack https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5& 29/11/18, 12:15:31

On Thu, Nov 29, 2018 at 12:07 PM Devel notifications@github.com wrote:

Hi Nusrath.

Can you give me the output of Orion Router when it's starting? Why you can't get IPV4 address in Orion? Have you checked the length of the DEFAULT_CONF_AUTH_USER for de node provided by Ubidots? May be your Key needs more characters.

Missatge de nusrathmouri notifications@github.com del dia dj., 29 de nov. 2018 a les 10:49:

Hi, I am in the same trouble. When I uploaded the binary image into my orion router IPv4 was not automatically assigned by DHCP. For getting IPv4 address I turned off DHCP in router configuration page. I am facing same problem as mishoahej mentioned in his previous texts. Now I can't see any data values from sensor. I have Digital light sensor and I can't get any values. But my device is connected to orion router after uploading mqtt-client program from ......./tutorial/99-apps/mqtt-node. But the Last seen value is not valid. Please help me to solve this problem. Here is my output. Why the device is disconnected from broker after registered? [image: screenshot from 2018-11-28 11 53 11] < https://user-images.githubusercontent.com/44158833/49213336-5d582f00-f3c4-11e8-95ce-b817b990a771.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Zolertia/contiki/issues/22#issuecomment-442771735, or mute the thread < https://github.com/notifications/unsubscribe-auth/AAJIuB2MBN_6a9ITF9FjDN2EAiQHcRJbks5uz625gaJpZM4V5cO0

.

--

Aitor Mejias Sotorra

amejias@zolertia.com

[image: header-logo.png]

Infinitive hardware for IoT

….

Website: zolertia.io / Twitter: @zolertia https://twitter.com/zolertia / Linkedin: zolertia https://www.linkedin.com/company/zolertia?trk=company_logo

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Zolertia/contiki/issues/22#issuecomment-442777461, or mute the thread https://github.com/notifications/unsubscribe-auth/AqHPcRgpi0aeZpzj_hjomHkFgIg_wVp_ks5uz7HngaJpZM4V5cO0 .

Zolertia commented 5 years ago

Hi Nusrath,

Can you send me the images again? I can no see it. Your modifications are Ok. Have you changes also the Orion configuration through Web interface? I tried this always and It should work... Also... check your project-conf, and check if you Use LLSEC security interface. May be your problem can be this.

Missatge de nusrathmouri notifications@github.com del dia dl., 3 de des. 2018 a les 13:06:

Hi, Can I please get some help or suggestions for my problem?

[image: Mailtrack] < https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&

Sender notified by Mailtrack < https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&

03/12/18, 14:05:22

On Thu, Nov 29, 2018 at 12:24 PM Nusrath Jahan Mouri < nusrathmouri@gmail.com> wrote:

Hi, Here I have attached all screenshots for DHCP on and After turn off DHCP option. I checked the length of the DEFAULT_CONF_AUTH_USER , my key's length is 34 and I put this length value 40. Is it ok? Even I changed all sensor values to a fixed value in ubidots-demo.c file. It's not working. In my router it shows some value in Last seen portion, how these values are coming there? And the value changing one after one. Please also check the terminal output I previously attached after mqtt-client program uploaded why it shows connecting, Registered and connecting................disconnected? I think the device is losing connection after registered. Is it? I have 1 problem with my zolertia remote devices: when I am running programs there is no MAC address or node ID for my devices. I don't get any burn-node program for zoul remote. Is it any problem or it's okay to go forward with only rime address and ipv6 address?

With Thanks Nusrath

[image: Mailtrack] < https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&> Sender notified by Mailtrack < https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&> 29/11/18, 12:15:31

On Thu, Nov 29, 2018 at 12:07 PM Devel notifications@github.com wrote:

Hi Nusrath.

Can you give me the output of Orion Router when it's starting? Why you can't get IPV4 address in Orion? Have you checked the length of the DEFAULT_CONF_AUTH_USER for de node provided by Ubidots? May be your Key needs more characters.

Missatge de nusrathmouri notifications@github.com del dia dj., 29 de nov. 2018 a les 10:49:

Hi, I am in the same trouble. When I uploaded the binary image into my orion router IPv4 was not automatically assigned by DHCP. For getting IPv4 address I turned off DHCP in router configuration page. I am facing same problem as mishoahej mentioned in his previous texts. Now I can't see any data values from sensor. I have Digital light sensor and I can't get any values. But my device is connected to orion router after uploading mqtt-client program from ......./tutorial/99-apps/mqtt-node. But the Last seen value is not valid. Please help me to solve this problem. Here is my output. Why the device is disconnected from broker after registered? [image: screenshot from 2018-11-28 11 53 11] <

https://user-images.githubusercontent.com/44158833/49213336-5d582f00-f3c4-11e8-95ce-b817b990a771.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <https://github.com/Zolertia/contiki/issues/22#issuecomment-442771735 , or mute the thread <

https://github.com/notifications/unsubscribe-auth/AAJIuB2MBN_6a9ITF9FjDN2EAiQHcRJbks5uz625gaJpZM4V5cO0

.

--

Aitor Mejias Sotorra

amejias@zolertia.com

[image: header-logo.png]

Infinitive hardware for IoT

….

Website: zolertia.io / Twitter: @zolertia <https://twitter.com/zolertia

/ Linkedin: zolertia https://www.linkedin.com/company/zolertia?trk=company_logo

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Zolertia/contiki/issues/22#issuecomment-442777461, or mute the thread < https://github.com/notifications/unsubscribe-auth/AqHPcRgpi0aeZpzj_hjomHkFgIg_wVp_ks5uz7HngaJpZM4V5cO0

.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Zolertia/contiki/issues/22#issuecomment-443687914, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJIuOhv9OPr7wR1oO97OF4R-e3pc4HDks5u1RPGgaJpZM4V5cO0 .

--

Aitor Mejias Sotorra

amejias@zolertia.com

[image: header-logo.png]

Infinitive hardware for IoT

….

Website: zolertia.io / Twitter: @zolertia https://twitter.com/zolertia / Linkedin: zolertia https://www.linkedin.com/company/zolertia?trk=company_logo

nusrathmouri commented 5 years ago

Hi, Here I have attached a zip file with all needed screenshots please check. My problem is why I can't see any data in ubidots for my attached digital light sensor. I modified everything as like pack ubidots documentary. I can see the device is connected to the router but in ubidots there is nothing. Please check my screenshots, is my router configuration correct? After uploading binary image DHCP on is not automatically giving any IPv4 address so I turned off DHCP option. Is it creating any problem?

I just need to send data from a Zolertia Re-Mote to another Zolertia Re-Mote. And need to see one device is sending something another is receiving some data. How can I do these? Please suggest me if I can move to any other possible way without using this MQTT protocol with ubidots. I need help now.

With Thanks Nusrath

[image: Mailtrack] https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5& Sender notified by Mailtrack https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5& 04/12/18, 10:31:46

On Mon, Dec 3, 2018 at 3:12 PM Devel notifications@github.com wrote:

Hi Nusrath,

Can you send me the images again? I can no see it. Your modifications are Ok. Have you changes also the Orion configuration through Web interface? I tried this always and It should work... Also... check your project-conf, and check if you Use LLSEC security interface. May be your problem can be this.

Missatge de nusrathmouri notifications@github.com del dia dl., 3 de des. 2018 a les 13:06:

Hi, Can I please get some help or suggestions for my problem?

[image: Mailtrack] <

https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&

Sender notified by Mailtrack <

https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&

03/12/18, 14:05:22

On Thu, Nov 29, 2018 at 12:24 PM Nusrath Jahan Mouri < nusrathmouri@gmail.com> wrote:

Hi, Here I have attached all screenshots for DHCP on and After turn off DHCP option. I checked the length of the DEFAULT_CONF_AUTH_USER , my key's length is 34 and I put this length value 40. Is it ok? Even I changed all sensor values to a fixed value in ubidots-demo.c file. It's not working. In my router it shows some value in Last seen portion, how these values are coming there? And the value changing one after one. Please also check the terminal output I previously attached after mqtt-client program uploaded why it shows connecting, Registered and connecting................disconnected? I think the device is losing connection after registered. Is it? I have 1 problem with my zolertia remote devices: when I am running programs there is no MAC address or node ID for my devices. I don't get any burn-node program for zoul remote. Is it any problem or it's okay to go forward with only rime address and ipv6 address?

With Thanks Nusrath

[image: Mailtrack] <

https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&

Sender

notified by Mailtrack <

https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&

29/11/18,

12:15:31

On Thu, Nov 29, 2018 at 12:07 PM Devel notifications@github.com wrote:

Hi Nusrath.

Can you give me the output of Orion Router when it's starting? Why you can't get IPV4 address in Orion? Have you checked the length of the DEFAULT_CONF_AUTH_USER for de node provided by Ubidots? May be your Key needs more characters.

Missatge de nusrathmouri notifications@github.com del dia dj., 29 de nov. 2018 a les 10:49:

Hi, I am in the same trouble. When I uploaded the binary image into my orion router IPv4 was not automatically assigned by DHCP. For getting IPv4 address I turned off DHCP in router configuration page. I am facing same problem as mishoahej mentioned in his previous texts. Now I can't see any data values from sensor. I have Digital light sensor and I can't get any values. But my device is connected to orion router after uploading mqtt-client program from ......./tutorial/99-apps/mqtt-node. But the Last seen value is not valid. Please help me to solve this problem. Here is my output. Why the device is disconnected from broker after registered? [image: screenshot from 2018-11-28 11 53 11] <

https://user-images.githubusercontent.com/44158833/49213336-5d582f00-f3c4-11e8-95ce-b817b990a771.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub < https://github.com/Zolertia/contiki/issues/22#issuecomment-442771735 , or mute the thread <

https://github.com/notifications/unsubscribe-auth/AAJIuB2MBN_6a9ITF9FjDN2EAiQHcRJbks5uz625gaJpZM4V5cO0

.

--

Aitor Mejias Sotorra

amejias@zolertia.com

[image: header-logo.png]

Infinitive hardware for IoT

….

Website: zolertia.io / Twitter: @zolertia < https://twitter.com/zolertia

/ Linkedin: zolertia https://www.linkedin.com/company/zolertia?trk=company_logo

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/Zolertia/contiki/issues/22#issuecomment-442777461 , or mute the thread <

https://github.com/notifications/unsubscribe-auth/AqHPcRgpi0aeZpzj_hjomHkFgIg_wVp_ks5uz7HngaJpZM4V5cO0

.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Zolertia/contiki/issues/22#issuecomment-443687914, or mute the thread < https://github.com/notifications/unsubscribe-auth/AAJIuOhv9OPr7wR1oO97OF4R-e3pc4HDks5u1RPGgaJpZM4V5cO0

.

--

Aitor Mejias Sotorra

amejias@zolertia.com

[image: header-logo.png]

Infinitive hardware for IoT

….

Website: zolertia.io / Twitter: @zolertia https://twitter.com/zolertia / Linkedin: zolertia https://www.linkedin.com/company/zolertia?trk=company_logo

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Zolertia/contiki/issues/22#issuecomment-443705181, or mute the thread https://github.com/notifications/unsubscribe-auth/AqHPcUZOL9K1e1_1yE9wfRAMT4tr4y-0ks5u1SM8gaJpZM4V5cO0 .