Skip to content

General Discussion

A place to talk about whateeeever you want
1.5k Topics 14.2k Posts
  • Over the air updates

    87
    1 Votes
    87 Posts
    52k Views
    skywatchS
    I would really like to get OTA working here as it's freezing outside and I have to go there to update the software in the greenhouse control system. So please, can we have a 'how to' step-by-step guide to OTA? Please? S.
  • MySensor Github Contribution

    3
    0 Votes
    3 Posts
    1k Views
    funky81F
    @celonunes thanks
  • Actuators on the MQTT gateway digital pin arduino mega/Uno

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Just starting out have a question

    gateway newbie
    5
    0 Votes
    5 Posts
    3k Views
    ChaoticC
    slight bump to this topic rather than starting a new one since I have some more questions Are there any example sketches for setting variables on a node? Thinking I'd want at least 2 variables. Is there a proper way for a node to report time to the controller or other nodes? This one will be powered 100% of the time so responding to messages shouldn't be a problem. I'm pretty sure I know the answer to this one but best way to set up a sketch to report the temp every X when it isn't the main function of the node. Thanks in advance.
  • IoT starter kit unveiled by ARM and IBM

    iot internet of thi
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Ardunio SD Card data Store

    3
    0 Votes
    3 Posts
    1k Views
    S
    #include <SD.h> #include "DHT.h" #include <Wire.h> #include "RTClib.h" #include "DS1307.h" #define DHTPIN A0 #define DHTTYPE DHT22 DHT dht(DHTPIN, DHTTYPE); DS1307 clock; // declare object for DS3234 class const int chipSelect = 10; void setup() { // Open serial communications and wait for port to open: Serial.begin(9600); while (!Serial) { ; // wait for serial port to connect. Needed for Leonardo only } Serial.print("Initializing SD card..."); // make sure that the default chip select pin is set to // output, even if you don't use it: pinMode(10, OUTPUT); // see if the card is present and can be initialized: if (!SD.begin(chipSelect)) { Serial.println("Card failed, or not present"); // don't do anything more: return; } Serial.println("card initialized."); // create a new file char filename[] = "LOGGER00.txt"; for (uint8_t i = 0; i < 100; i++) { filename[6] = i/10 + '0'; filename[7] = i%10 + '0'; if (! SD.exists(filename)) { // only open a new file if it doesn't exist break; // leave the loop! } } Serial.print("Logging to: "); Serial.println(filename); // Enter the time and date when flashing the program clock.begin(); clock.fillByYMD(2015,2,15);//Feb 15,2015 clock.fillByHMS(22,55,30);//19:05 30" clock.fillDayOfWeek(SUN);//Sunday clock.setTime();//write time to the RTC chip } void loop() { // Reading temperature or humidity takes about 250 milliseconds! // Sensor readings may also be up to 2 seconds 'old' (its a very slow sensor) float h = dht.readHumidity(); float t = dht.readTemperature(); delay(60000); // wait one second (1000) before do it again (60 sec =1 min) 60 *1000 //Time stamp for your program printTime(); // check if returns are valid, if they are NaN (not a number) then something went wrong! if (isnan(t) || isnan(h)) { Serial.println("Failed to read from DHT"); } else { Serial.print("Humidity: "); Serial.print(h); Serial.print(" %\t"); Serial.print("Temperature: "); Serial.print(t); Serial.println(" *C"); } } void printTime() { clock.getTime(); Serial.print(clock.hour, DEC); Serial.print(":"); Serial.print(clock.minute, DEC); Serial.print(":"); Serial.print(clock.second, DEC); Serial.print(" "); Serial.print(clock.month, DEC); Serial.print("/"); Serial.print(clock.dayOfMonth, DEC); Serial.print("/"); Serial.print(clock.year+2000, DEC); Serial.print(" "); Serial.print(clock.dayOfMonth); Serial.print("*"); switch (clock.dayOfWeek)// Friendly printout the weekday { case MON: Serial.print("MON"); break; case TUE: Serial.print("TUE"); break; case WED: Serial.print("WED"); break; case THU: Serial.print("THU"); break; case FRI: Serial.print("FRI"); break; case SAT: Serial.print("SAT"); break; case SUN: Serial.print("SUN"); break; } Serial.println(" "); } list item
  • thethingbox

    nodered mqtt
    4
    0 Votes
    4 Posts
    3k Views
    M
    I have a project going with openhab and thethingbox. I only use Mqtt with a combination of nrf24l01 and esp8266 modules. thethingbox server is simply used as a catch all for all mqtt messages from sensors or openhab. i parse all the message coming into ththingbox and take action depending on the message. If my door or window sensor is tripped a message is sent to Twitter. I also send temp and humidity readings to thingspeak and my cell phone reports long and lat coordinates to thingspeak so that my lights can come on as I approach the house. My next project is to setup ip cameras and motion sensors and sent pics to drop box. Openhab is really not hard, you just have to keep at it, once you get it you will kick yourself for over complicating it Mike
  • I need some help regarding repeaters SOLVED!

    4
    0 Votes
    4 Posts
    2k Views
    5546dug5
    just needed to make the repeater node the mother( or reporting to node ) in the humidity parmeters . In my case, change the node from a 0 to a 2. simple!
  • mysensors.org website technology

    3
    0 Votes
    3 Posts
    1k Views
    TrixcompT
    Cool beans. thanks!
  • Gateware with nRF24L01+ and RFM69HW

    4
    0 Votes
    4 Posts
    2k Views
    axillentA
    @jesper I knew that vera can work with many ethernet gateway but this ability is a subject of the Mysensors plugin, not a subject of the gateway We need to call someone who is aware of the abilities of the Domotics and MQTT plugins
  • 3D pictures from EagleCAD files

    2
    6 Votes
    2 Posts
    2k Views
    SparkmanS
    @ceech Looks great, thanks for posting it. Cheers Al
  • Watermeter pulsesensor

    7
    0 Votes
    7 Posts
    2k Views
    E
    After testing some more i get better result with this setting: attachInterrupt(INTERRUPT, onPulse, LOW);
  • Raspberry Pi 2! $35!

    raspberry pi 2
    6
    0 Votes
    6 Posts
    2k Views
    epierreE
    Hmmm... I am away from raspi, I prefer cubieboard and Odroid-U3 for reliability and reactiveness....
  • Light motion sensor i "bedroom"

    1
    0 Votes
    1 Posts
    807 Views
    No one has replied
  • Car present detector needed

    7
    0 Votes
    7 Posts
    2k Views
    O
    I you plan to put a sensor in your car you should add proper protection on the power supply to protect against load dump. You can get peak voltage up to 100V for several of ms, that kill most unprotected Electronic.
  • resin.io

    3
    0 Votes
    3 Posts
    1k Views
    hekH
    Yeah.. this isn't primarily for sensor nodes. More suited for controllers or nodes needing a little more horse power (did I hear speech recognition?). Would be cool if one of the Controllers that supports MySensors could be distributed through resin.io. This would make installation a breeze.
  • combining sketches

    3
    0 Votes
    3 Posts
    3k Views
    B
    @5546dug Is this perhaps a starting point? multiple sensors and code. BR Boozz
  • clamp power meter

    clamp meter veralite efergy e2
    6
    0 Votes
    6 Posts
    7k Views
    brettzky84B
    i found some information here that may be of some use for others http://openenergymonitor.org/emon/node/58
  • 0 Votes
    4 Posts
    3k Views
    BulldogLowellB
    @brettzky84 there is TONS of this on the Vera website, and many many folks are connecting them with a (serial I think) interface that you may buy and the plugin @Dwalt mentioned.
  • Smallest sensor with greatest battery

    6
    0 Votes
    6 Posts
    2k Views
    D
    @Dirk_H I use LiFe batteries in my battery sensors. they are a bit oversized, but they work just fine. And because of the lower operating voltage I don´t need any type of voltage regulation :+1:

10

Online

11.7k

Users

11.2k

Topics

113.2k

Posts