Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. samppa
    3. Best
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Best posts made by samppa

    • RE: Get a MySensors T-Shirt!

      I immediately bought one and perhaps the first one in line. 😉
      Thanks!

      posted in Announcements
      samppa
      samppa
    • RE: Is Vera still the best controller (to replace my failing Vera3)?

      Perhaps we could link to https://socialcompare.com/en/comparison/home-automation-controllers-under-400dollar-37r4y81h and add rows for MySensors compatibility..

      posted in Vera
      samppa
      samppa
    • RE: Frustration ??

      Actually I went to the nearest library and there you can print 3D objects for free!
      So I immediately created a holder scaffold for arduino nano (plate and poles on corners with studs on top for the small holes in the corners of the nano) for easier mounting inside any box. The first prototype tested the precision of the printer and strength of the plastic.

      Here is the SketchUp model if someone is interested: ArduinoNano Holder 4.skb

      Next I will try to make a snap-on plate that is only cut with scissors to snuggly fit into any case width to hold the nano in place.

      With these I hope to resolve my frustration and still use existing boxes.

      posted in Enclosures / 3D Printing
      samppa
      samppa
    • Plotting graphs with plot.ly service with luup scene using REST API

      I have been searching for the easiest graphing solution to see how sensor data behaves and I think I have found it - at least it looks promising.

      After creating plot.ly account create API key in https://plot.ly/settings/api

      Then create scene with following luup that makes the REST API request to upload new the value into the plot.
      So the example here is that I record time series one data point at a time and trigger the scene with 5 minute interval schedule,

      Replace <username>, <APIKey>, <nameForGraph> and <graphTitle> below with your (hard coded) values and the datavelue is of course the sensor data that you want to plot (I plot humidity).

      LUUP CODE:

      local datavalue = luup.variable_get("urn:micasaverde-com:serviceId:HumiditySensor1", "CurrentLevel", 83)
      local http = require("socket.http")
      http.TIMEOUT = 5
      local ts = os.date("%Y-%m-%d %X")
      result, status = http.request("https://plot.ly/clientresp",'un=<username>&key=<APIKey>&origin=plot&platform=lisp&args=[{"x":["'..ts..'"],"y":['..datavalue..']}]&kwargs={"filename":"<nameForGraph>","fileopt":"extend","style":{"type":"scatter"},"traces":[0],"layout":{"title":"<graphTitle>"},"world_readable":false}')
      posted in My Project
      samppa
      samppa
    • Requirements for controller integration/support for MySensors?

      @hek What are the requirements to get a controller fully supported by MySensors?
      I mean technically and API wise. My friend is producing the Cozify controller and planning to open APIs for custom sensor development like MySensors.

      posted in Controllers
      samppa
      samppa