Skip to content

My Project

Show off and share your great projects here! We love pictures!
964 Topics 13.5k Posts
  • Another beginner project

    20
    0 Votes
    20 Posts
    9k Views
    AstrofotografA
    Hm, I installed OpenHAB now on my RasPi, also Mosquitto. I think I begin to understand this. So MQTT is just some kind of "forum", and when in the thread "livingroom/temperature" something changes, OpenHAB recognizes it. The sensor sends just its data to the gateway and the gateway writes the MQTT thread? Will the other way round work too, so OpenHAB writes data into a specific thread, the gateway recognizes it and sends a command so, say a servo node to move something? If that all is correct, I sould be able to connect the 433 MHz things just like a normal sensor node. The receiver acts as a normal sensor and the sender could use the servo sketch to send some commands via 433 MHz band?
  • Where next with making prototype more permanent?

    4
    0 Votes
    4 Posts
    2k Views
    HenryWhiteH
    @stubtoe said: I saw that the other day. It is pretty neat and given me a few ideas. I suppose I was also asking (although not very well worded!) where's a good resource when you want to design and manufacture your own bespoke PCB? Is there a good book anyone can recommend? For Designing a PCB, you can watch tutorials on YouTube (search e.g. for "eagle tutorial" if you want to design your board with eagle. I started two weeks ago and after one day of watching tutorials I built my own board in eagle ;) A good address for cheap pcb manufacturers is http://pcbshopper.com/
  • My first project, KAKU RF reciever/transmitter

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Weather station

    5
    0 Votes
    5 Posts
    3k Views
    A
    Hi Awi, thanks for your answer! As you can see on my previous photos I have already connected the reed switch to my arduino on pin 9 and gnd after that I have typed pinMode (REED, INPUT_PULLUP); on my skecth. Following one of the project i have found which says flipping the bucket a couple of times, I should see the counter in my serial monitor click-up, if not check the wiring. Therefore after following these instructions I can see no signs at all. I was wondering if my conexion to the reed switch is done correctly or it may be affected to my windows (Im working with windows 10) I see a clicking in my arduino board after uploading the sketch but I see nothing when flipping the bucket in order to track the movement of the tipping bucket.
  • Combining multiple sensors into one sketch

    3
    0 Votes
    3 Posts
    4k 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
    3k Views
    A
    @Wijbe.Fryslan so I guess you have already installation done?
  • 5v Battery level

    7
    0 Votes
    7 Posts
    3k 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
    25k 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
    7k 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 ;-)

10

Online

11.8k

Users

11.2k

Topics

113.2k

Posts