Skip to content

My Project

Show off and share your great projects here! We love pictures!
961 Topics 13.4k Posts
  • Combining multiple sensors into one sketch

    3
    0 Votes
    3 Posts
    3k Views
    stubtoeS
    Fantastic. Thank you @niccodemi :thumbsup:
  • PH and Temp controller with arduino

    3
    0 Votes
    3 Posts
    4k Views
    S
    Thanks :) still need to find out where to start and if i need a uno or nano. i also want to make it wireless. and indeed i want to submerse it permanent. i will buy a better one :)
  • Temperature / humidity node with OLED display

    9
    8 Votes
    9 Posts
    18k Views
    F
    I experienced some burn in effect on this SSD1306 displays after a few months of running, so turning the display off is a good idea!
  • Text-Node as Temperature-Display

    3
    7 Votes
    3 Posts
    4k Views
    M
    I built something similar here, but it just displays its 'own' values rather than getting them from Domoticz with V_TEXT.
  • Neopixel Node, using 1.6.0 Beta

    ws2312 nodered arduino neopixels
    7
    4 Votes
    7 Posts
    5k Views
    crankyC
    Oh, @msebbe @AWI , I have a FastLED version with a decent web API and web interface available here: http://forum.mysensors.org/topic/2705/fastled-neopixel-ws2811-node-from-arduino-code-to-web-page-with-api It's working pretty damn well :-D Still working on my front end interface, since I'm not a designer (well, I am a 3d cad designer, not web dev). Oh, and if you knew my controller's name, you could communicate with it via TOR. Just like corporate solutions, I can communicate and control my gateway from anywhere in the world!
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Arduino Library for Oregon sensors (433Mhz)

    14
    5 Votes
    14 Posts
    13k Views
    M
    Just for fun : https://youtu.be/2Um5PQ_tZXA
  • Send a confirmation text when a node operates

    6
    0 Votes
    6 Posts
    3k Views
    P
    VeraAlert plugin in combination with pushbullet works fine for me. I added a mysensors "motion sensor" as a trigger to my ultimaker. Now Iget a message to the phone when the print is finished. Greets paede
  • Help with Home Automation from scratch based on MyS

    3
    0 Votes
    3 Posts
    2k Views
    A
    @Wijbe.Fryslan so I guess you have already installation done?
  • 5v Battery level

    7
    0 Votes
    7 Posts
    2k Views
    ErrKE
    @sundberg84 ok. Thanks for the help and the quick reply.
  • 5 Channel (RGBWW) LED Dimmer With Rotary Encoder

    8
    2 Votes
    8 Posts
    7k Views
    H
    Great Work! I too am trying something similar- http://forum.mysensors.org/topic/2601/dimmable-led-with-rotary-encoder-example-for-rgb/5. Only my aim is to use the encoder to control full size RGB lighting zones via Home-Assistant and MiLight. Any tips would be greatly appreciated!
  • My Relay Module

    21
    3 Votes
    21 Posts
    24k Views
    Michel - ItM
    soon as I finish the project it will create a new post in the category myproject @pjr unfortunately I read your seat now but I confirm that pins are those that use exact thank - @salvato that helped me as an angel. the irq pin does not need to be connected
  • RELAY 433MHZ + KEYPAD 4x4 COMANDER (vera-domoticz)

    3
    0 Votes
    3 Posts
    6k Views
    Michel - ItM
    I have one better, but how to implement it in code mysensor?[image: 1451293226236-schematic-keypad.png] . New Code > sketch + Library > https://codebender.cc/sketch:183503 Original Code #include <MyTransportNRF24.h> #include <MyHwATMega328.h> #include <MySensor.h> #include <SPI.h> #include <Wire.h> #include <RCSwitch.h> RCSwitch mySwitch = RCSwitch(); #define NODE_ID 165 #define NODE_VERSION "1.1" #define NODE_DESCRIPTION "MikRelay" #define NUMFLAKES 10 #define XPOS 0 #define YPOS 1 #define DELTAY 2 #define RADIO_TX_PIN 2 #define NUMBER_OF_RELAYS 11 // Total number of attached relays typedef struct { unsigned long address; unsigned char unit; bool dimmer; } MikParams; MikParams Mik_PARAMS[NUMBER_OF_RELAYS] = { {87311, 24, false}, {87500, 24, false}, {87491, 24, false}, {87359, 24, false}, {87539, 24, false}, {87548, 24, false}, {87536, 24, false}, {87356, 24, false}, {87503, 24, false}, {4011779, 24, false}, {4011968, 24, false} }; // NRFRF24L01 radio driver (set low transmit power by default) MyTransportNRF24 radio(RF24_CE_PIN, RF24_CS_PIN, RF24_PA_LEVEL_GW); //MyTransportRFM69 radio; // Message signing driver (none default) //MySigningNone signer; // Select AtMega328 hardware profile MyHwATMega328 hw; // Construct MySensors library MySensor gw(radio, hw); void setup() { mySwitch.enableTransmit(RADIO_TX_PIN); // init done // Show image buffer on the display hardware. // Since the buffer is intialized with an Adafruit splashscreen // internally, this will display the splashscreen. // Initialize library and add callback for incoming messages gw.begin(incomingMessage, NODE_ID, false); delay(2000); // Send the sketch version information to the gateway and Controller gw.sendSketchInfo(NODE_DESCRIPTION, NODE_VERSION); // Fetch relay status for (int sensor = 1; sensor <= NUMBER_OF_RELAYS; sensor++) { // Register all sensors to gw (they will be created as child devices) gw.present(sensor, S_LIGHT); } } void loop() { // Alway process incoming messages whenever possible gw.process(); } void incomingMessage(const MyMessage &message) { if ((message.sensor < 1) && (message.sensor >= NUMBER_OF_RELAYS)) { return; } if (message.type == V_LIGHT) { mySwitch.send(Mik_PARAMS[message.sensor - 1].address, Mik_PARAMS[message.sensor - 1].unit); // Store state in eeprom gw.saveState(message.sensor, message.getBool()); // Write some debug info Serial.print("Incoming change for sensor:"); Serial.print(message.sensor); Serial.print(", Miks: "); Serial.print(Mik_PARAMS[message.sensor - 1].address); Serial.print(", Miks: "); Serial.print(Mik_PARAMS[message.sensor - 1].unit); Serial.print(", New status: "); Serial.println(message.getBool()); } else if (message.type == V_DIMMER) { mySwitch.send(Mik_PARAMS[message.sensor - 1].address, Mik_PARAMS[message.sensor - 1].unit); } }``` I know that not everyone. but there is some kind soul can help me? I see you do not laugh!
  • 433Mhz Garage opener projects

    2
    0 Votes
    2 Posts
    1k Views
    HeinzH
    Hi, as a start you could modify the following sketch: remove the flamingo.h include and all flamingo related stuff. https://github.com/windkh/flamingoswitch/blob/master/examples/mysensors/FlamingoSwitchSensor.ino Have a look at the function incommingMessage line 196. Here the message from the gateway is received. Replace 230 with your own code.
  • MySensors Network at a High School Farm

    11
    8 Votes
    11 Posts
    6k Views
    bpairB
    And I just noticed the internet has been down at the greenhouse since early Saturday! More reason to have a local install.
  • Reinventing the motion controlled outside lamp

    3
    3 Votes
    3 Posts
    4k Views
    TheoLT
    I've recently modified the code a bit. Will post an update soon. The way a PIR motion sensor works, is that you can setup the duration of a detected movement by tweaking a potentionometer. That will determine the amount of time the PIR sensor will report back as a motion detection. In reality you know only one thing. There was at least one motion detected that triggered the motion pin of the PIR sensor. Between that period and that and the interval you've setup, there might have been a lot of movement but the PIR doesn't report that back. How I solved that is as follows. I turned the potentionometer to the lowest must interval duration. Whenever the first movement has been detected, it will report that to my Home Automation controller and it will start a timer that is 30 seconds after the detected motion. As my current motion detection interval of the PIR sensor is around 3 seconds, it will give me another 27 seconds to detect a follow up motion. If a follow up motion has been detected, it will reset the 30 second timer. So that has another 27 seconds the time to detect another motion. If however no motion has been detected when the 30 seconds timer times out, it will tell my home automation controller that there's no longer any motion. As most PIR sensors are quiet sensitive, they detect my presence by each small movement a wake. In most cases the movement caused by breathing is enough for the PIR sensor to detect my presence. Hope's this explains is. I've tried it in my best English ;-)
  • Solar (H2O) Shop Heater

    flow sensor solar heater pressure sensor
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Monitor a irrigation status

    2
    0 Votes
    2 Posts
    2k Views
    TD22057T
    Yes - but you have to protect the arduino from that high voltage. Best way is with a small optocoupler chip (I use EL817 chips which you can get for practically nothing). There is an excellent explanation in the first answer on this post on stackExchange. You may have to adjust the resistors because of the higher voltage. I've included the schematic below (it's a good idea to read the answer though).[image: 1449852329528-lp5m2.png]
  • 'MySensoring' a Kidde Smoke Detector. (Completed)

    smoke detector
    30
    0 Votes
    30 Posts
    23k Views
    macieiksM
    Hello, If I want to use this code on Arduino Mega2560 with support of 4 smoke sensors only thing I need to do is to create "arrays" ? Regards, Maciek
  • Slim CR123A (2AA) battery node..

    motion sensor
    11
    4 Votes
    11 Posts
    10k Views
    ahmedadelhosniA
    @m26872 The link is helpful and I understand now. Thanks

20

Online

11.7k

Users

11.2k

Topics

113.1k

Posts