Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
hekH

hek

@hek
Admin
About
Posts
4.4k
Topics
194
Shares
0
Groups
4
Followers
38
Following
0

Posts

Recent Best Controversial

  • OpenHardware.io
    hekH hek

    Happy to annouce the new project sharing site OpenHardware.io.

    The idea is to have a place for all the amazing MySensors and open hardware project popping up here on the forum. It's quite hard to get an overview in a forum like this.

    If you have build your own MySensors project (applies to both software and open hardware) you can share it more easily. Each project will get it's own forum thread under the new openhardware category.

    You can upload design files, attach videos, Code Bender examples and link the project to GitHub (to keep things in sync more easily).

    If you like a project, you can also make a small donation to the author.

    Well this all beta at the moment, so please report problems and/or feedback here.

    Announcements

  • Merry X-mas and Happy New 2018
    hekH hek

    The MySensors core team would like to thank all the community members for the fantastic projects we've seen during the past year. It gives a cozy feeling inside to know that people actually uses our library and hardware to do something useful.

    Here's some highlights from the past year:

    • Release on the 2.1 version (2.2 coming soon...)
    • Release of the second mysensors "product", the Sensebender Gateway
    • Support for NRF5x by @d00616
    • NodeManager by @user2684
    • Sketch Generator by @rakeshpai
    • Participation in the Eindhoven Maker Faire. The dollhouse disco-song is still ringing in our heads.

    The yearly community stats (last years stats in parenthesis):

    26 supported controllers. (26) - Are we running out of new controllers?
    6.8k registered forum users. (4.7k)
    72k unique visitors/month on mysensors.org. (74k)
    1858 code commits. (1711)
    675 forks on github. (544). 726 stars!
    272 open source hardware projects added on openhardware.io. (129)

    We'd like to give a special thanks to the forum moderators and code contributors.

    0_1514153281542_IMG_20161213_200229_feat.jpg
    https://github.com/platisd/xmas-pcb-tree

    Announcements

  • MySensors supported by 20 controllers!
    hekH hek

    Kind of a milestone! :tada:

    Just wanted to thank all the plugin/controller developers for their awesome work adding MySensors support to all these projects.

    http://www.mysensors.org/controller/

    Announcements

  • Merry Christmas and a Happy New 2017
    hekH hek

    Another amazing year has passed for the MySensors community. We've seen so many new useful projects and hardware design. Here's some community highlights:

    • Release on the 2.0 version (2.1 coming very soon)
    • Support for SAMD (@tbowmo), Linux/RPI (@marceloaqno).
    • The launch of OpenHardware.io - our open source hardware sister site that was setup to support open hardware contributors and make it easy for the rest of us ordering pcbs.
    • Total re-write of the MySensors.org-site, allowing article contributions and simplify content handling for our editors.
    • 3 IRL MySensors Meetups in Sweden, Breda and Amersfoort.

    Here's the yearly community stats (last years stats in parenthesis):

    26 supported controllers. (18)
    4.7k forum users. (2.2k)
    74k unique visitors/month on mysensors.org. (24k)
    1711 code commits. (1215)
    544 forks on github. (368)
    129 open source hardware projects added to openhardware.io.

    I want to give a big thank you to the tremendous work done by the core team, moderators and code contributors. A special thanks and our top code contributors this year @tekka.

    I'm also very grateful for all the the time (and patience) put in by everyone here to educate each other and help newcomers on the forum. You make this the best IoT geek community in the world! :).

    I personally hope to complete something from the half-finished-project-pile during the holidays. First in line is my "connected" RGB matrix clock. Took some work just to get the animated digits going...
    https://www.youtube.com/watch?v=mfKVwsLtkaw

    Merry X-Mas and Happy New Year!

    P:S. MySensors Contest 2017 is closing in. Help us find sponsors.

    0_1482532821608_6497119275_f9c9dfcc79_z.jpg

    Announcements

  • MySensors 1.5 Released
    hekH hek

    Master branch on github is now 1.5! This means that we finally made a drop from the (hopefully) stable development branch.

    This version should be backward compatible with 1.4 both over-the-air and sketch-vise unless you use the constructor arguments which has changed to cope with a more flexible architecture.

    So you can safely update one node (or gateway) to 1.5 without affecting the rest of your radio network.

    Here are some of the new stuff (we have probably talked about most of it already on the forum):

    • Message signing using ATSHA204 hardware or software driver
    • Multiple radio transport driver architecture
    • RFM69 radio support
    • Support for multiple hardware layers (ATMega328 default implementation)
    • New sensors: RGB, RGBW, Color, Multimeter, HVAC, Sprinkler, Water leak, Sound, Vibration, Moisture
    • New variables: Voltage, Current, RGB RGBW, Id, Unit prefix, Setpoint, Level
    • Allow indication LEDs (tx,rx,err) on sensors
    • Sensor presentation description message
    • OTA updates using on-board flash (and DualOptiboot bootloader)
    • Allow SOFTSPI configuration from MyConfig.h
    • Bugfixes!

    I'm having problems getting the codebender examples up and running with 1.5. Hopefully I'll get some support on this soon.

    Announcements

  • Redesign: MySensors.org!
    hekH hek

    After a few months of development and data migrations we can now proudly present the new MySensors.org.

    The old site was a mess to keep updated (basically a bunch of hard-coded html pages).

    The new site will allow our core team and editors to give the site more life and content. We share the backend with OpenHardware.io, so any community created projects or articles can easily be exposed on MySensors.org.

    We will be adding a lot of new threads here in the announcement section (separate comment-threads for the articles). Sorry for the mess it may create in your unread-count.

    We know a few pages still is sourly missing (like OTA and Raspberry install instruction), but we'll be adding them soon.

    We urge you to start documenting your projects on openhardware.io. Many of them will end up in the build or hardware section of the main site.

    Cheers
    Henrik

    Announcements

  • Buy designs on OpenHardware.io
    hekH hek

    I'm happy to launch a new feature I've been working in for the last few weeks!

    We will now allow authors to sell their designs on OpenHardware.io through Ebay or via our manufacturing partners.

    This feature is currently in beta testing together with the first manufacturer PCBWay.com. I hope to smoke out any bugs during the next couple of days. Please report any problems you might find in the contact form.

    There is just a few of steps to make your PCB available for sale as an author:

    • Upload and publish the Gerber files for the PCB (you've probably already done this part).
    • Add an optional BOM to allow the manufacturer to create DIY kits or fully assembled boards.
    • Fill in the PCB characteristics and create a new revision in the "Selling" tab where you edit the project.

    When someone buys through OpenHardware.io , the author will get a small commission sales! Pretty neat to give some encouragement back to the talented open hardware designers we got here right?

    When a board is available for sale (all variants) it looks like this:
    0_1460379195861_buy2.png

    OpenHardware.io

  • MySensors Cloud
    hekH hek

    I've been playing with a new service for MySensors.org. A sensor playground where the community members can push their data for testing purposes or sharing sensor data publicly with family and friends.

    The technical idea is to have bi-directional websocket connection from the ESP8266 or Ethernet gateway to the cloud service. The browser client also connects to the web using websockets. In between I've put redis for synchronization between the front-end instances to allow scaling. Might throw in a InfluxDB in the mix to store longer range of historic data depending on how much it hogs the server resources we got.

    0_1474639243429_Screen Shot 2016-09-23 at 15.58.42.png

    The initial tests looks promising. It's super fast when communicating with sensors/actuators and the home grown GUI works as expected. Doing front-end work takes a lot of time though.

    I still have a lot of work before any beta is out, but I thought I should give some heads up.

    Note, this will not replace your locally installed controller. It's meant for testing and sharing.

    Announcements

  • Parking Sensor
    hekH hek

    I've created a parking sensor of my NeoPixel led ring and a distance sensor.
    You can also send the parking status to your controller if you'd like.

    Components
    http://www.ebay.com/itm/371353140878?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT
    http://www.ebay.com/itm/1pcs-Ultrasonic-Module-HC-SR04-Distance-Measuring-Transducer-Sensor-for-Arduino-/251546073420?hash=item3a9150794c

    https://youtu.be/ykfTKI7a-H4

    Code:
    https://codebender.cc/sketch:138368

    My Project

  • MySensors Evolution
    hekH hek

    https://www.youtube.com/watch?v=ukN6Ca_QDdU

    General Discussion

  • Sensebender Micro
    hekH hek

    MySensors first official board is now available for pre-orders. The price is $14 which basically is the component and assembly cost for our partner Itead Studio. Each board sold will give a $1 contribution to the MySensors project that will be used for developing new and fun boards and helpful accessories.

    Preorders:
    http://imall.iteadstudio.com/mysensors-micro.html

    Technical specification and documentation will be available here:
    http://www.mysensors.org/hardware/micro

    If you'd prefer to create your own Micro board from scratch you'll find the eagle files here:
    https://github.com/mysensors/SensebenderMicro
    Note: Hand soldering 0402 component is a challenge... you've been warned ;)

    If you want to read up on the history of this board have a look at this thread:
    http://forum.mysensors.org/topic/510/minimal-design-thoughts

    Support questions can be posted here.

    Announcements

  • Converting a sketch from 1.5.x to 2.0.x
    hekH hek

    2.0.x allow configuration (old MyConfig stuff) to be done directly in the sketch using simple c #defines. You can still make modification in MyConfig if you want to override the default values once and for all.

    It is important to do these defines before including MySensors.h, otherwise they will go unnoticed when the library evaluates which parts to include.

    The most common thing you need to do is to decide which radio to use (or not to use). We currently support three different transport layers. Only activate ONE transport per node.

    // Activate one of these
    
    #define MY_RADIO_NRF24
    #define MY_RADIO_RFM69
    #define MY_RS485
    

    In addition to the transport you can also allow the node to be a gateway (communicating to the controller). We currently offer a few variants here as well. Note that ESP8266 is always considered to be a gateway node (but it can still communicate with a sub-network of none-esp sensor nodes). If you want to enable gateway functionality enable one of these:

    // Enable serial gateway
    #define MY_GATEWAY_SERIAL
    
    // Enable gateway ethernet for a ENC28J60 module 
    #define MY_GATEWAY_ENC28J60
    
    // Enable gateway for a W5100 ethernet module 
    #define MY_GATEWAY_W5100
    
    // Enable gateway for a ENC28J60 ethernet for a  module 
    #define MY_GATEWAY_ENC28J60
    
    // Enable a MQTT client gateway for W5100 or ESP node
    #define MY_GATEWAY_MQTT_CLIENT
    
    

    Each type of gateway has additional configuration available (ip settings etc). Please look at the prepared example for more details.

    To upgrade a sketch old 1.5 sketch to 2.0 there is just a few steps to go through.

    • Remove the MySensors gw; class initialization and gw.begin()-call. It's no longer needed. Use #defines to set radio channels or other settings. They are all documented in MyConfig.h.

    • The library now calls process() automatically. So you must remove it from you main loop().

    • Remove the gw. part before any library call. It's no longer needed as library functions is available in the main scoop. For instance gw.send(msg) should just be send(msg).

    • The controller can now re-request presentation information from a node. This means we have to move all node presentation to a new special function presentation() {} . This will be called at node startup or when controller requests a new presentation.

    So if your old node had this:

    void setup()  
    { 
      gw.sendSketchInfo("Distance Sensor", "1.0");
      gw.present(CHILD_ID, S_DISTANCE);
    }
    

    Do like this instead:

    void presentation()  
    { 
      sendSketchInfo("Distance Sensor", "1.0");
      present(CHILD_ID, S_DISTANCE);
    }
    

    If you need to do initialization before the MySensors library starts up, define a

    void before() {
        // This will execute before MySensors starts up
    }
    

    You can still use setup() which is executed AFTER mysensors has been initialised.

    void setup() {
    
    }
    

    To handle received messages, define the following function in your sketch

    void receive(const MyMessage &message) {
        // Handle incoming message
    }
    

    If your node requests time using requestTime(). The following function is used to pick up the response.

    void receiveTime(unsigned long ts) {
    }
    

    Here follows a small sample of the defines you can use in your sketch

    #define MY_DEBUG    // Enables debug messages in the serial log
    #define MY_REPEATER_FEATURE  // Enables repeater functionality for a radio node
    #define MY_BAUD_RATE  9600 // Sets the serial baud rate for console and serial gateway
    #define MY_NODE_ID 42 // Sets a static id for a node
    #define MY_PARENT_NODE_ID xx // Sets a static parent node id
    #define MY_OTA_FIRMWARE_FEATURE  // Enables OTA firmware updates
    
    #define MY_RF24_CE_PIN 9    // Radio specific settings for RF24
    #define MY_RF24_CS_PIN 10 // Radio specific settings for RF24 (you'll find similar config for RFM69)
    
    #define MY_INCLUSION_MODE_FEATURE // Enables inclusion mode (for a gateway)
    #define MY_INCLUSION_BUTTON_FEATURE // Eables inclusion mode button (for a gateway)
    #define MY_LEDS_BLINKING_FEATURE // Enables transmission led feature for a node or gateway
    
    #define MY_SIGNING_ATSHA204 // Enables hardware signing using ATSHA204
    #define MY_SIGNING_SOFT // Enables software signing
    

    Security related settings (HMAC and AES keys among other things) are now configured using the SecurityPersonalizer sketch. Secrets are stored in eeprom for all software based security features (including rfm69 encryption).

    There are many more things you can tweak using defines and we've tried to include most of them in relevant examples. The MyConfig.h/keywords.txt shows you the full list of defines available.

    Announcements

  • 💬 Log Parser
    hekH hek

    This thread contains comments for the article "Log Parser" posted on MySensors.org.

    Announcements

  • [example] GPS Sensor
    hekH hek

    Ok, my GPS sensor had been collecting dust in the drawer too long so I decided to create a MySensors example on how you could incorporate position data in a MySensors powered home automation setup.

    I've used the GY-NEO6MV2 module containing a Ublox GPS which communicates serially with the Arduino.

    So what should we use this for in a HA setup you might ask? Well the amount of use cases aren't exactly overwhelming but here are a few:

    1. Attach it to your robot lawn mower to get a notification when it has stuck somewhere.
    2. Build a gps tracked pet collar (preferably using the HW RF69 module for long range operation). Used for geo fencing the dog to get a notification when it runs away. Or why not use it while hunting?
    3. The GPS gives a very accurate (atomic) time information which can be used in the rest of your HA setup.

    The (new) message type sent to controller contains latitude, longitude and altitude information.

    Wiring it up is very simple:
    gps.jpg

    3v3 or 5V to VCC
    GND to GND
    A0 to TX

    You can of course change the A0 pin to something else in the code.

    And here comes the example code. Note that this code only runs on the development branch. Codebender does not host this branch yet so you'll have to build it locally on your computer in the IDE:
    https://codebender.cc/sketch:182035

    The module can be found here:
    http://www.ebay.com/itm/390647042336?rmvSB=true
    or
    http://www.aliexpress.com/item/2pcs-lot-GY-NEO6MV2-new-GPS-module-with-Flight-Control-Flight-Control-EEPROM-MWC-APM2-5/1811853522.html

    Output from Serial Monitor

    send: 2-2-0-0 s=255,c=0,t=17,pt=0,l=10,sg=0,st=ok:1.6.0-beta
    send: 2-2-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,st=ok:0
    sensor started, id=2, parent=0, distance=1
    Position: 55.722511;13.018091;12
    send: 2-2-0-0 s=1,c=1,t=49,pt=0,l=22,sg=0,st=ok:55.722511;13.018091;12
    GPS Time: 11/08/2015 22:59:11
    Position: 55.722527;13.018097;13
    send: 2-2-0-0 s=1,c=1,t=49,pt=0,l=22,sg=0,st=ok:55.722527;13.018097;13
    
    My Project gps example

  • Meet in Malmö, Summer 2016?
    hekH hek

    0_1468095425230_20160709_181710.jpg

    0_1468095586123_20160709_114353.jpg

    0_1468095619689_20160709_132243.jpg

    0_1468095645045_20160709_121936.jpg

    Ok, we've got some food:
    https://www.youtube.com/watch?v=qPrYQwxnWFE

    General Discussion

  • Forum upgraded
    hekH hek

    Forum has been upgraded and migrated to a new database. We are investigating a couple of issues.

    1. Search is currently not working. Fixed
    2. Article/project comments from openhardware.io / mysensors.org is not shown. Fixed

    Let us know if you run into any more unknown issues.

    Announcements

  • Automated Pergola
    hekH hek

    Just finished the last bits of my automated pergola project I've been working on during the summer.
    https://www.youtube.com/watch?v=FV0N9mmhCis

    The roof/screen motors is Somfy IO based so I would have to do some remote.hacking or getting a KLF 200 unit from Velux to integrate it into my NodeRed automation.

    The lights is controlled by a Shelly RGBW unit.

    Some project pictures: https://imgur.com/gallery/jJEPvFn

    My Project

  • Lazy loading makes forum pretty much unusable for casual browsing
    hekH hek

    It can be disabled in your user settings:

    0_1526979061171_Screen Shot 2018-05-22 at 10.50.27.png

    Bug Reports

  • Spud Gun
    hekH hek

    A bit off (mysensors) topic but lots of fun! Some PVC pipe parts, a lighter, hair spray and potatoes!

    https://www.youtube.com/watch?v=uIN66ADweqs

    (I'm the bearded dude)

    General Discussion

  • Forum content delivered through CDN
    hekH hek

    Cloudflare, which we use as a content delivery network for mysensors.org released some great news today. They now allow websocket for all their plans!

    This means we finally can let the forum, which heavily rely on websockets, run through Cloudflare. I hope you'll see some speed improvements, especially for large images and static content when transparently fetching it from their 77 datacenters around the world.

    As a nice side-effect we can effortlessly use SSL, always.

    Announcements
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular