Skip to content

My Project

967 Topics 13.5k Posts

Show off and share your great projects here! We love pictures!

  • LIVOLO alike switch mod

    3
    0 Votes
    3 Posts
    3k Views
    mfalkviddM
    https://forum.mysensors.org/topic/5719/livolo-eu-switch-mysensors-integration might be useful
  • RFID Garage door opener

    2
    0 Votes
    2 Posts
    1k Views
    mfalkviddM
    @vlad1 welcome to the MySensors community! Who are you asking? About which project are you asking? Can you post a link to it? If you mean this project, the code is right there in the first post.
  • ORP/PH Node

    1
    3 Votes
    1 Posts
    1k Views
    No one has replied
  • water meter pulse

    3
    0 Votes
    3 Posts
    2k Views
    AvvillensA
    Thank you Sundberg84, Actually I was not planning in using any controller but upgrading the already available hardware and firm if necessary. The fastest opton would be replicating a 2 way unit in the ones I got but that would reduce the fun. This would be the only option if functionality is based in the firmware :(
  • Temperature from Lexibook ASM30 sensor with Arduino

    3
    0 Votes
    3 Posts
    2k Views
    sgriponS
    I started integrating MySensors with my system. MySensors allows me an easy integration with Domoticz. However, I still use RF433 modules because they are cheaper. I plan to add RF433 nodes with the help of VirtualWire library. My first step is available: integration of remote light switched Chacon DI.O : https://wiki.sgripon.net/doku.php/add_chacon_di.o_remote_control_support_in_domoticz
  • Mysensors TFT LCD Display

    1
    2 Votes
    1 Posts
    4k Views
    No one has replied
  • Multiple buildings - two gateways or repeaters?

    6
    0 Votes
    6 Posts
    3k Views
    N
    Edit: Found this in the forums. Is it still relevant or did 1.6.15/16 solve the issue? https://forum.mysensors.org/topic/4680/mysensors-2-0-ethernet-gateway-atmega-w5100-restart-all-time/3 I've setup the UNO with the default sketch and made the changes to make it a separate gateway. I'm seeing the following on repeat. I've tried a few changes here or there to no success. Serial output shows: IP: 192.168.4.35 0;255;3;0;9;Attempting MQTT connection... 0;255;3;0;9;MQTT connected 0;255;3;0;9;Sending message on topic: mysensors-outb/0/255/0/0/18 0;255;3;0;9;Message arrived on topic: mysensors-inb/3/255/3/0/6 0;255;3;0;9;!TSF:MSG:SEND,0-0-3-3,s=255,c=3,t=6,pt=0,l=1,sg=0,ft=0,st=NACK:I 0;255;3;0;9;MCO:BGN:INIT GW,CP=RNNGA--,VER=2.1.0 0;255;3;0;9;TSM:INIT 0;255;3;0;9;TSF:WUR:MS=0 0;255;3;0;9;TSM:INIT:TSP OK 0;255;3;0;9;TSM:INIT:GW MODE 0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0 0;255;3;0;9;MCO:REG:NOT NEEDED Mosquitto log shows: 1483156702: New connection from 192.168.4.35 on port 1883. 1483156702: New client connected from 192.168.4.35 as mygateway2 (c1, k15, u'pi'). 1483156717: Socket error on client mygateway2, disconnecting. Any ideas?
  • Need some help with a Multi-Sensor Node

    2
    1 Votes
    2 Posts
    2k Views
    mfalkviddM
    @drock1985 the comparison for the tripped check is commented out, so it will send values every time. Uncomment it :) If that doesn't help, please post the debug output of the node.
  • Automated folding blinds

    1
    1 Votes
    1 Posts
    1k Views
    No one has replied
  • 0 Votes
    2 Posts
    2k Views
    solaS
    Hi paqor, I would like to build something similar to your multifunction node. The URL pointing to the project seems to be broken. Could you correct it or copy the info about your project here?
  • My basement flooding alarm

    14
    6 Votes
    14 Posts
    7k Views
    micahM
    Nice build, and great idea using the ultra sonic sensor. This sort of thing was the exact reason I got into arduino and eventually mysensors. I had a concern about a damp basement and went looking for a water leak detection alarm but the prices were so high at the time... eventually I stumbled upon arduino and the obsession went from there. The first node I ever made was a water leak detection system that used the 4cm thing mentioned above... then I realized I had all these left over pins ;) so I filled them up with a gas, flame, temperature, humidity and light sensor. Forget nest protect and commercial water leak detection systems... I now have an all in one DIY solution that probably only cost $30
  • Chicken house door controller (beta)

    1
    1 Votes
    1 Posts
    1k Views
    No one has replied
  • Fire pit RGB striplight controller

    12
    5 Votes
    12 Posts
    7k Views
    micahM
    @Boots33 I've fried a couple pro mini's and a nano running 12v to the vin/raw... actually in one case it might have been up to 15v .... oops. But I've since learned my lesson.... I now use a Linear Voltage Regulator between the source and the arduino for all my builds that have a higher voltage power source (i.e.: builds that run lights). Typically a L7805CV or L7809CV or L7810CV (or other) depending on the voltage of my source and what I want to send to the arduino. Here is an example L7809CV from AliExpress
  • 5 Votes
    29 Posts
    23k Views
    B
    Wow this is an old topic! But... I was working on a project and thought that anyone who was looking for a NeoPixel candle example that isn't blocking, well this would be the place. It flickers and flutters like a real candle. The only thing is that the flame isn't illuminated like these nice Luminaras, but I'm too cheap to buy them! Keep in mind that my example here uses GRB LEDs, but you merely need to reorder the variables in order to get this working for RGB. Plus the Time Library is not Arduino, so you will have to play with that too for a good randomSeed(). It looks pretty realistic with even a single neoPixel in a sheet of A4 paper rolled into a cylinder. I'll post a video when I can. Have fun with it: #include "neopixel.h" enum CandleStates{ BURN_CANDLE, FLICKER_CANDLE, FLUTTER_CANDLE, MODES_MAX_CANDLE }; enum PixelSelect{ EVERY_PIXEL, SINGLE_PIXEL, }; class Candle : public Adafruit_NeoPixel { public: Candle(uint16_t count, uint8_t pin, uint8_t type); Candle(uint16_t count, uint8_t pin, uint8_t type, PixelSelect pixel, uint32_t pixNum = 0); ~Candle(){}; void update(); private: bool fire(uint8_t greenDropValue, uint32_t cycleTime); PixelSelect _pixelMode = EVERY_PIXEL; uint32_t _pixNum = 0; CandleStates _mode; uint32_t _lastModeChange; uint32_t _modeDuration; uint8_t _redPx = 255; uint8_t _bluePx = 10; //10 for 5v, 15 for 3.3v uint8_t _grnHigh = 100; //110-120 for 5v, 135 for 3.3v uint8_t _grnPx = 100; uint32_t _lastBurnUpdate = 0; int _direction = 1; }; Candle::Candle(uint16_t count, uint8_t pin, uint8_t type) : Adafruit_NeoPixel(count, pin, type) { randomSeed(Time.now() + micros()); _mode = BURN_CANDLE; } Candle::Candle(uint16_t count, uint8_t pin, uint8_t type, PixelSelect pixel, uint32_t pixNum) : Adafruit_NeoPixel(count, pin, type) { _pixelMode = pixel; _pixNum = pixNum; } void Candle::update() { if(millis() - _lastModeChange > _modeDuration) { _mode = static_cast<CandleStates>(random(MODES_MAX_CANDLE)); _modeDuration = random(1000, 8000); _lastModeChange = millis(); //Serial.printlnf("New state: %d\tTime: %d", static_cast<int>(_mode), _modeDuration); } switch(_mode) { case BURN_CANDLE: this->fire(10, 120); break; case FLICKER_CANDLE: this->fire(15, 120); break; case FLUTTER_CANDLE: this->fire(30, 120); break; }; } bool Candle::fire(uint8_t greenDropValue, uint32_t cycleTime) { int currentMillis = millis(); if(currentMillis - _lastBurnUpdate > (cycleTime / greenDropValue / 2)) { _grnPx = constrain(_grnPx += _direction, _grnHigh - greenDropValue, _grnHigh); if(_grnPx == _grnHigh - greenDropValue or _grnPx == _grnHigh) { _direction *= -1; } switch (_pixelMode) { case EVERY_PIXEL: for(int i = 0; i < this->numPixels(); i++) { this->setPixelColor(i, _grnPx, _redPx, _bluePx); } break; case SINGLE_PIXEL: this->setPixelColor(_pixNum, _grnPx, _redPx, _bluePx); break; } this->show(); _lastBurnUpdate = currentMillis; } } #define PIXEL_COUNT 2 #define PIXEL_PIN D2 #define PIXEL_TYPE WS2812B // I'M USING GRB WS2821B's here Candle candle = Candle(PIXEL_COUNT, PIXEL_PIN, PIXEL_TYPE, SINGLE_PIXEL); void setup(void) { Serial.begin(115200); pinMode(13, OUTPUT); candle.begin(); candle.show(); Serial.println("Started program"); } void loop(void) { candle.update(); static uint32_t lastFlashMillis = 0; if(millis() - lastFlashMillis > 250) { digitalWrite(13, !digitalRead(13)); lastFlashMillis = millis(); } }
  • Upgraded Vera Edge, MySensorsv plugin can't find new devices

    2
    0 Votes
    2 Posts
    1k Views
    D
    @jlieffort If you want to follow this thread, I have a brand new vera plus having the same kind of issue. I cannot get device discovery to work. https://forum.mysensors.org/topic/5553/brand-new-vera-controller/2
  • OpenHAB, 230V Relays and external Switches

    6
    0 Votes
    6 Posts
    5k Views
    dgdsD
    So, it's been quite some time. The apartment is done so no more construction work. But I ended up changing the whole setup. My initial setup with pi zeros dind't go so well. It worked 90% of the time but sometimes the relays would bounce although I had them debounced (well I guess not that good) and with the whole cabeling I built an antenna, that started switching whenever some one walked through the room, so back to the basics, added opto couplers an rc's so the antenna behavior was gone, but everytime I pluged something in or out of the 230V Sockets some light would turn on or off. As my wife started to question the whole project I didn't bother to check if the power regulator of the pi was a mess or whatever the problem was. This is yet to be investigated. I bought the eq3 RX/TX boards. connected them to the relay board and the light switches and it works. It's great that I have a working solution but it's sad that it isn't my solution. I add some pics so you see what my Idea looked like. [image: 1482319432813-img_20160810_213317.jpg] [image: 1482319448519-img_20160804_004108.jpg]
  • CDS - Cat Defense System (Arduino + Servo + Motion Sensor)

    8
    0 Votes
    8 Posts
    5k Views
    TetnobicT
    @MaKin I have not done this build, but if I had to do it I will try with this The most complicated is to find the Raid Power Sprayer :-)
  • 6 Way wall touch switch

    25
    7 Votes
    25 Posts
    22k Views
    J
    Hello sir, have any update? we are waiting for your new updates. Thank you
  • plastics identifying sensor

    2
    0 Votes
    2 Posts
    1k Views
    H
    Never heard of such a thing. Photo detectors could be used to sense the presence of opaque or reflective plastics. There's also colour detectors that could be used if the plastic material have a specific colour. But I guess you would see a few false positives.
  • 4 doors sensors and 4 move sensors on the same node

    5
    0 Votes
    5 Posts
    2k Views
    C
    @gloob ok ! I will check the wires and signal output from the movement sensors ;)

15

Online

12.0k

Users

11.2k

Topics

113.4k

Posts