Jump to content


Photo

Embed Your Analog.io Streams on 43oh


  • Please log in to reply
13 replies to this topic

#1 bluehash

bluehash

    Site Admin

  • Administrators
  • 6,428 posts

Posted 18 March 2015 - 01:42 AM

Luke Beno, the creator of Analog.io, reached out to us to embed IoT streams into your 43oh forum posts. The design is clean and minimal and we found no reason not to go ahead and have embedded IoT streams.

 

Here is how you do it.

1. Create an account on Analog.io. Once done, create your stream or you can even search for streams other people have put up.

 

2. Once you select a stream, look for the number at the end followed by an 's', something like s430.

Let's select a stream, such as, http://analog.io/#/s1

In this case, the parameter at the end is 's1'. Note this down.

 

3. Go to your forum post on 43oh in edit mode and look for the green box icon after the eraser. Click it and select "Embed Analog.io data" from the BBCode listing.

 

analog_io_iot_stream.PNG

 

analog_io_iot_stream_select_s1.PNG

 

4. The following code gets generated.

[analog_io='s1']

5. Post/Preview your edit and you should see your stream rendered up.


  • dubnet, pine and spirilis like this

43oh - MSP430, TivaC, ARM-Sitara and C2000 Discussion, News, Projects and Hacks

 

 


#2 cubeberg

cubeberg

    Level 4

  • Members
  • 1,371 posts


Posted 18 March 2015 - 02:10 AM

Looks good!  I'm using the site to monitor a bunch of my sensors as well.  Moved my sensors off of data.sparkfun.com to an analog.io hosted phant server (mongo back end instead of NoDB) - queries are more responsive for my node-red alerts.


  • bluehash likes this

#3 Lgbeno

Lgbeno

    Level 3

  • Members
  • 372 posts
  • LocationGreen Bay, WI

Posted 18 March 2015 - 11:56 AM

Seems to be working great, I'll add some data to another thread as well!  

 

 

The other aspect of the site is that it tracks pingbacks to the forum so if you embed data into a forum, a link to it will appear on analog.io

 

Here's an example of the stream that Bluehash embedded:

 

Screen Shot 2015-03-18 at 6.55.08 AM.png

 

I just need to clean up the parser so that it doesn't include the link parameters, otherwise the list may get very long...


  • bluehash and cubeberg like this

#4 bluehash

bluehash

    Site Admin

  • Administrators
  • 6,428 posts

Posted 18 March 2015 - 12:04 PM

Seems to be working great, I'll add some data to another thread as well!  

 

 

The other aspect of the site is that it tracks pingbacks to the forum so if you embed data into a forum, a link to it will appear on analog.io

 

Here's an example of the stream that Bluehash embedded:

 

attachicon.gifScreen Shot 2015-03-18 at 6.55.08 AM.png

 

I just need to clean up the parser so that it doesn't include the link parameters, otherwise the list may get very long...

 

@Lgbeno some suggestions:

1. Is it possible for you to take the forum subject line only.

eg:

Analog.io bbcode embed testing

 

2. In the embedded stream, can you make a link back to the actual stream. Right now it takes me to the main page of analog.io.


43oh - MSP430, TivaC, ARM-Sitara and C2000 Discussion, News, Projects and Hacks

 

 


#5 Lgbeno

Lgbeno

    Level 3

  • Members
  • 372 posts
  • LocationGreen Bay, WI

Posted 18 March 2015 - 03:19 PM

@Lgbeno some suggestions:

1. Is it possible for you to take the forum subject line only.

eg:

Analog.io bbcode embed testing

 

2. In the embedded stream, can you make a link back to the actual stream. Right now it takes me to the main page of analog.io.

 

Those are both really good points.  Both of these features should be very easy to implement.



#6 cubeberg

cubeberg

    Level 4

  • Members
  • 1,371 posts


Posted 18 March 2015 - 03:45 PM

Here's one of my streams from my sensor setup 

 


  • bluehash likes this

#7 bluehash

bluehash

    Site Admin

  • Administrators
  • 6,428 posts

Posted 18 March 2015 - 04:12 PM

Looks awesome, @cubeberg


  • cubeberg likes this

43oh - MSP430, TivaC, ARM-Sitara and C2000 Discussion, News, Projects and Hacks

 

 


#8 Lgbeno

Lgbeno

    Level 3

  • Members
  • 372 posts
  • LocationGreen Bay, WI

Posted 19 March 2015 - 05:42 AM

@Lgbeno some suggestions:

1. Is it possible for you to take the forum subject line only.

eg:

Analog.io bbcode embed testing

 

2. In the embedded stream, can you make a link back to the actual stream. Right now it takes me to the main page of analog.io.

 

I spent some time tonight adding these features. Now you can click on the stream title and it will open a new tab directed at the appropriate stream in analog.io.

 

Also I cleaned up the embed links view including using the page title

new_embed.png

 

Another new feature is an index view of all of the links from a particular host (such as forum.43oh.com) with embedded streams.

 

Here's the index for 43oh :)

http://analog.io/#/e2


  • bluehash likes this

#9 bluehash

bluehash

    Site Admin

  • Administrators
  • 6,428 posts

Posted 19 March 2015 - 12:00 PM

Thanks for the implementing the suggestions @Lgbeno! I noticed that you need to be logged in to take you to the particular stream when clicked, otherwise you go to the main page. If it is intentional, I understand.

 

Moving to announcements. Modified first post for usage.


43oh - MSP430, TivaC, ARM-Sitara and C2000 Discussion, News, Projects and Hacks

 

 


#10 Lgbeno

Lgbeno

    Level 3

  • Members
  • 372 posts
  • LocationGreen Bay, WI

Posted 19 March 2015 - 01:59 PM

Thanks for the implementing the suggestions @Lgbeno! I noticed that you need to be logged in to take you to the particular stream when clicked, otherwise you go to the main page. If it is intentional, I understand.

 

Moving to announcements. Modified first post for usage.

 

No problems, Feedback like this is exactly what I need to make the site better.

 

For now it is true that users need to be logged in to view the dedicated stream on the analog.io website.  In the future I do plan to add functionality for anonymous users as well but there are some features that I'm looking to develop first :)

 

One think that will change in the next few days is I will be converting all stream id's to base 36 numbers, right now they are just base 10.  It's part of my obsession with short, tweet friendly urls.


  • bluehash likes this

#11 Lgbeno

Lgbeno

    Level 3

  • Members
  • 372 posts
  • LocationGreen Bay, WI

Posted 05 April 2015 - 05:42 AM

Hey @cubeberg, would you be able to update your embedded stream to s3L.  I just made the update to shorten all stream IDs using base32 coding.



#12 cubeberg

cubeberg

    Level 4

  • Members
  • 1,371 posts


Posted 05 April 2015 - 07:55 PM

@Lgbeno - done!

@bluehash - the link for @mention isn't working correctly for me anymore



#13 bluehash

bluehash

    Site Admin

  • Administrators
  • 6,428 posts

Posted 05 April 2015 - 09:17 PM

@Lgbeno - done!

@bluehash - the link for @mention isn't working correctly for me anymore

I can see it worked above. Were you referring to the above post?


43oh - MSP430, TivaC, ARM-Sitara and C2000 Discussion, News, Projects and Hacks

 

 


#14 cubeberg

cubeberg

    Level 4

  • Members
  • 1,371 posts


Posted 06 April 2015 - 02:19 PM

@bluehash - seems to be working now - was getting a javascript error earlier.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users