Learn IoT Meetup - September 27, San Jose


#1

Hands On Training with brand new Renesas S5D9 IoT Fast Prototyping Kit

Roll up your sleeves, dig into IoT

This is a hands on evening workshop, manipulating the Renesas S5D9 IoT Fast Prototyping Kit.

RSVP here! - Or just reply to this post

Date and Location

Date: Wednesday, September 27, from 6pm to 8pm
Location: Action Spot Incubator, 99 Wilson Ave San Jose, CA, 951289
Parking: Free after 6pm, map of good spots nearby

Boards and sensors are provided for use during the meetup free of charge to all. But you must bring your own laptop.

We’ll give a short initial introduction, and then you dive into a tutorial, going at your own pace. You get the chance to work on your board, ask questions, and make progress right there.

First track: Data Monitoring - Gather sensor data from the board, build custom dashboard in the cloud, easily publish to the Discussion section of Learn IoT Community site - https://codetricity.github.io/s5d9-hacking/monitoring/starting/

Second track: Data Intelligence - Toggle and blink LEDs using Renesas IoT Sandbox, send customized email reports automatically - https://codetricity.github.io/s5d9-hacking/intelligence/diagnostics/

Register with the Learn IoT Community

Please register with the Learn IoT community so you can begin taking advantage of the tutorials and other information available.

3 Ways to Win Free or Heavily Discounted IoT Hardware

  1. If you work through the Data Monitoring tutorial and publish your own custom dashboard on the Learn IoT site during the meetup, you can walk away with the board you’re working on!

  2. We’ll be doing a giveaway at the meetup for 2 Renesas S5D9 IoT Fast Prototyping Kits. You must be present to win.

  3. We’ll give out coupons for $20 off for the S5D9 boards that you can use to order online after the meetup.

Plus pizza, sodas, coffee, water… available for free for all attendees! :pizza:


#2

Hello @codetricity,
Here’s my link! Thanks for the easy tutorial!
https://renesas.freeboard.io/board/WucDYK?boardid=S5D9-af5b


#3

https://renesas.freeboard.io/board/J7I76X


#4

Hello

Here’s my link!!

https://renesas.freeboard.io/board/pS186X


#5

Here is my dashboard:

https://renesas.freeboard.io/board/QSOa6X


#6

I made a dashboard!
https://renesas.freeboard.io/board/hOI96X

More importantly, I have a json array you can Curl!

curl -i https://renesas.dweet.io/listen/for/dweets/from/S5D9-b52f


#8

My dashboard using IoT Fast Prototyping Kit


#9

https://renesas.freeboard.io/board/l-da6X


#10

Thank you all for participating in the Meetup and making it so much fun.

I fixed link in the S5D9 Hacking Guide, Data Monitoring Getting Started.

https://codetricity.github.io/s5d9-hacking/monitoring/starting/

The correct link to the dashboard is: http://renesas.dweet.io/landing.html

After you publish your dashboard, you may want to take a quick look at the API for Data Monitoring

https://codetricity.github.io/s5d9-hacking/monitoring/dweet/

In particular, the real-time data stream may be useful.

$ curl -i https://renesas.dweet.io/listen/for/dweets/from/S5D9-f878

% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                Dload  Upload   Total   Spent    Left  Speed
100  3624    0  3624    0     0    149      0 --:--:--  0:00:24 --:--:--   147HT               TP/1.1 200 OK
Access-Control-Allow-Headers: X-DWEET-AUTH,X-Requested-With,x-access-token,conte               nt-type
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,OPTIONS
Access-Control-Allow-Origin: *
Content-Type: application/json
Date: Wed, 02 Aug 2017 15:49:31 GMT
Server: nginx/1.10.1
transfer-encoding: chunked
Connection: keep-alive

164
"{\"thing\":\"S5D9-f878\",\"created\":\"2017-08-02T15:49:31.654Z\",\"content\":{               \"globals\":{\"dweet-count\":2122,\"application\":\"DweetS5D9Client\"},\"sensors               \":{\"LED\":0,\"SoundLevel\":4,\"AccelX\":0.02,\"AccelY\":0.08,\"AccelZ\":0.98,\               "MagX\":-25,\"MagY\":111,\"MagZ\":-167,\"Pressure\":1012,\"TemperatureC\":30,\"T               emperatureF\":86,\"Humidity\":42}}}"
164
"{\"thing\":\"S5D9-f878\",\"created\":\"2017-08-02T15:49:33.702Z\",\"content\":{               \"globals\":{\"dweet-count\":2123,\"application\":\"DweetS5D9Client\"},\"sensors               \":{\"LED\":0,\"SoundLevel\":4,\"AccelX\":0.01,\"AccelY\":0.07,\"AccelZ\":0.99,\               "MagX\":-31,\"MagY\":109,\"MagZ\":-167,\"Pressure\":1012,\"TemperatureC\":30,\"T               emperatureF\":86,\"Humidity\":42}}}"
164

Finally, suggest you look at Renesas Data Intelligence:

https://codetricity.github.io/s5d9-hacking/intelligence/overview/


#11

Fun pictures from this great event. Thank you to everyone for participating.


#12

Thanks a ton to everyone for participating. Really had a good time last night. Adding a couple more pictures.


#13

My data monitoring dashboard on freeboard.io:
https://renesas.freeboard.io/board/rQ0AHW

I followed your data intelligence tutorial online (very clear, thanks).
And I got the mediumone dashboard up. LED blinking, toggling work fine.
Is there a simple way to use the Workflow Studio to set a trigger,
to continuously blink the red LED, if the temperature readout is above 35 degrees?


#14

With the same binary, you can go through this tutorial.

http://renesas-blog.mediumone.com/s5d9-anomaly-monitoring-tutorial/

There’s some problems with the formatting (smart quotes) of the code sample on that blog post above. You can use the code sample in my walkthrough.

For IoT data, you probably want the trigger from an anomaly, not just a single reading. For example, you probably want to the trigger above an average.

The tutorial above is a good one and I think you’ll like it.

After that, it might be fun to play with the cloud-driven LEDs, both external and on-board. You can do all this with the same binary.


#15

Craig, Thanks for your help. I know what I need to do now,
for my high-temperature warning project.

I followed the most of the Anomaly Monitoring tutorial, except
I ran into a problem near the end. After I created the Single User Table
widget, I don’t see processed:alert as a Tag Config choice.
Not sure what I did wrong. I checked my debugger output for both
Temperature Monitoring and Vibration Monitoring workflows,
I can see both Alert transmitted and Alert not transmitted
messages. So the two new workflows appear working normally.
I also tried refresh the dashboard, and rebooting the S5D9 kit,
no difference. Any suggestion? Thanks!


#16

See this related note from @Dan

You may have to use the Medium One mobile app to send a tag for the first time.

My alternate quick and dirty way of getting tags to show up so you can use them is to use the JSON widget on the mobile app. You select a stream which in this case is ‘raw.’ Then, you type in any tag you want which in this case would be, ‘interrupt.’ Then you send it. After that, it appears in the data stream. I’ve used that technique several times to get new tags entered into workflows for the first time.

There are several parts of this thread that are relevant. It’s for a different board, but still relevant.

I think I might have used curl instead of the mobile app. I know the problem you’re talking about.

This is the download link for the mobile app.

http://renesas-docs.mediumone.com/?mobile

This is the quick start guide for the mobile app.

http://renesas-blog.mediumone.com/renesas-iot-sandbox-mobile-app-quick-start-guide/

If you want to use curl or like the command line, this might help

http://learn.iotcommunity.io/t/3-strategies-for-using-bash-on-windows-with-medium-one-real-time-events/261?u=craig&source_topic_id=1257

#17

Hi Craig, Glad it’s a known problem activating new tag on MediumOne dashboard.
I’d like to fix it, since I plan to use the alert event to turn on LED for my exercise.

The MediumOne IoT Controller mobile app won’t work for me, since it requires an
Android version that is newer than my mobile phone. I will try curl. I can reboot my
Windows7 laptop to Ubuntu 16.04. What is the simplest bash command I can issue
to activate the new alert tag on MediumOne dashboard? Thanks!


#18

@samv, I’m going to need to take another look at the tutorial. It may take may a little bit of time.


#19

Hi samv

Try to see you can use powershell in windows7 (windows 10 has) which you can use curl, this way you don’t have to switch OS just for curl command.

Another option in windows to have Linux environment you can look Cygwin

https://www.cygwin.com/

Will allow you to execute Linux supported shell scripts. You might need to install additional package just like any Linux system you would need.


#20

@iotcommu2017, @craig, thanks for your help.
I was able to paste the LED blinking instructions into the
Base Python module of the Vibration Monitoring workflow.
Then move the board to a different location, and see the red LED blinking.
Will repeat this exercise on the Temperature Monitoring workflow
with a hair dryer later. Thanks again.


#21

Found and followed the sample curl command line at
https://docs.mediumone.com/
I can see the processed:alert tag in the menu now.
Thanks!