Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Nuubi
    3. Posts
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by Nuubi

    • RE: Mysensors 2.0 + Relay, DHT, and PIR - No Relay

      Isn't it so, that this code block makes the node unresponsive for UPDATE_INTERVAL 60 s? The only exception would be the digital input 3 (PIR pin).

      // Sleep for a while to save energy
        sleep(digitalPinToInterrupt(DIGITAL_INPUT_SENSOR), CHANGE, UPDATE_INTERVAL); nsert Code Here
      
      posted in Hardware
      Nuubi
      Nuubi
    • RE: 9+A 5V power supply?

      @hek said:

      Hard to say anything about quality, but the following is at least in proper casing.

      https://www.aliexpress.com/item/AC-DC-LED-Switching-Power-Supply-5V-10A-Adapter-AC100-240V-to-DC5V-50W-Transformer-for/32754255352.html?spm=2114.30010308.3.25.I0CMK2&s=p&ws_ab_test=searchweb0_0,searchweb201602_2_10091_10090_10088_10089,searchweb201603_1&btsid=c1de7d92-589e-459d-8ef8-7be21d5efe40

      Have bought couple of similar ones. They are veeery noisy.... just something (depending on the use case) that might require extra components to compensate.

      posted in Hardware
      Nuubi
      Nuubi
    • RE: 💬 Insulated Whole House Fan

      Excellent project. However, have you considered any possibility of condensation of humid air in the attic? At least where I live, that would become a problem.

      posted in OpenHardware.io
      Nuubi
      Nuubi
    • RE: mysensors relay stops working after few hours

      To give a definite answer would require investigating the signals with an oscilloscope! Noisy signals can be seen quite easily, and also the effects of adding caps.

      Note, that often a combination of a larger and smaller cap is needed to solve these issues. Think that larger one smooths out the slower changes (in the power line) while smaller ones smooth out higher frequency components.

      I've ended up in some cases, depending on the power supply and the rest of the circuit, having a number of caps all over the circuit. Not pretty, not pro, but needed to stabilize the node sometimes..

      posted in Troubleshooting
      Nuubi
      Nuubi
    • RE: mysensors relay stops working after few hours

      These are most often related to noise of the power supply or other transient noise/spikes in the circuit (due to a relay for example).

      To be more specific, I'd first remove the relay from the circuit and just use a led instead. If the node works then without problems for longer time, the reason indicates it's a noise issue from the relay section.

      Similar examples can be found, e.g. http://forum.arduino.cc/index.php?topic=186879.15

      Generally these are solved by separating the power supplies, or 'de-coupling'. A good read illustrating the situation, please read it through: http://www.thebox.myzen.co.uk/Tutorial/De-coupling.html

      I have bunch of nodes that are troublesome. So fat it's been due to noisy somewhere in the circuit. Also, noticed that some nodes start to malfunction after few years due to low quality capacitors. And that is painful to cure...

      posted in Troubleshooting
      Nuubi
      Nuubi
    • RE: Repeaters and Fixed Parents on sensors... [SOLVED]

      In some cases it is also useful to force the NodeId of the repeater to be the parent (obvious, still took some time to understand it)

      posted in Troubleshooting
      Nuubi
      Nuubi
    • RE: Reporting Battery Level

      @Fat-Fly Nice, interested to try this also.
      Any idea how long the batteries will last? Electricity meters tend to blink quite often, so not that much sleep..

      posted in General Discussion
      Nuubi
      Nuubi
    • RE: Example of V_CUSTOM

      Out of curiosity....what is your use case for this? [just thinking new ways to expand my system]

      posted in Troubleshooting
      Nuubi
      Nuubi
    • RE: [v1.5 API] parentNodeId AUTO?

      Ahh, thanks!

      I have ack set to false (the last installed sensor version), so this rules out the search function, I assume!

      posted in Development
      Nuubi
      Nuubi
    • [v1.5 API] parentNodeId AUTO?

      Hi there!

      Been struggling with my mailbox sensor radio coverage for a while (tried various radios, antenna modifications etc the normal route to insanity while having lots of fun).

      Now wondering how the radio initialization routine works: if parentNodeId setting is AUTO (the default), does the node find the 'best' parent every time the node is reset/rebooted, or is it merely a one time process?

      posted in Development
      Nuubi
      Nuubi
    • RE: mysensors relay stops working after few hours

      "Classic" way to rule out the power source + relay related issues is to replace the relay with a led.
      Noise in power lines may stop the NRF module, but also Arduino can get messed up due to spikes in power supply.

      posted in Troubleshooting
      Nuubi
      Nuubi
    • RE: Relay Node: radio init failure

      You could try connecting all the ground pins of the Arduino together -- this helped me with one clone board.

      posted in Troubleshooting
      Nuubi
      Nuubi
    • Flickering problem with RGB leds and a simple solution

      I've noticed with some of the RGB nodes around the house an annoying flickering problem. It occurs when none of the R G B channels is driven at full brightness. This is especially disturbing when a lower light level is desired.

      Tried to find out a reason for this. It was not related to the Arduino used, whether it being a Nano, Uno, official or not. Also not related to using gw.wait or delay in the main loop. Or adding resistors to the fet data pins.

      Turns out it is related to the Arduino PWM not being very optimal. Tried to solve the problem by using a different approach, softPWM [e.g. https://github.com/Palatis/arduino-softpwm] but they conflicted with servo library (that uses various timers also, as soft pwms do).

      Jeelabs brought a solution; tweaking the frequency of some timers. Just tested it, and seems that the flickering is totally gone AND still the servos AND the MySensor communication works. Very happy with the result.

      This is the blog post describing the issue, the solution I used is in the comments http://jeelabs.org/wp-content/uploads/2011/11/8/fixing-the-arduinos-pwm/index.html.

      So, flickering fixed by adding TCCR2A = _BV(COM2A1) | _BV(COM2B1) | _BV(WGM21) | _BV(WGM20) to the setup. Will need to update a few nodes now!

      posted in Troubleshooting
      Nuubi
      Nuubi
    • RE: DHT11 and a RELAY combinaison problem

      I think this is the way to go and learn:
      http://forum.mysensors.org/topic/2597/combining-mysensors-examples

      posted in Troubleshooting
      Nuubi
      Nuubi
    • RE: Microwave Radar Module as PIR replacement.

      Very interesting module indeed. Not only decrease the profile but more importantly, it could be behind the wall(!). Have to place an order right away, thanks.

      posted in Hardware
      Nuubi
      Nuubi
    • RE: Has anyone made a 2 or 4 channel relay , and is that worked correct ?

      Maybe using increment operator causes your problem [https://www.arduino.cc/en/Reference/Increment]
      Replacing pin++ with pin=pin+1 in your code should fix it.

      posted in Troubleshooting
      Nuubi
      Nuubi
    • RE: NRF24L01+ range of only few meters

      It would be so useful to be able to measure the supply voltages with an oscilloscope. So far all my transmission problems have been related to the power supplies. Only after using a scope I fully realized that. No more freezing or poor function of the nodes.

      Also, using a brand supply doesn't necessarily mean a clean signal. This (again) is an illustrative post about USB supplies, worth to take a look at:
      http://www.righto.com/2012/10/a-dozen-usb-chargers-in-lab-apple-is.html

      posted in Hardware
      Nuubi
      Nuubi
    • RE: Sending Variables to a arduino switch

      @patrick-schaerer said:

      It should work. The variable1 appears in vera after the sensor had requested var1. (But Im not completely shure about that ... )

      Oh yeah, works as you suggested. Thanks!
      First I didn't get it to work, but re-reading your answer solved it. One really needs to request the variable to make it appear in the controller (Vera, that is in this case).

      posted in Vera
      Nuubi
      Nuubi
    • RE: Relay Help - Nothing Happens

      Where did you buy the relay -- any documentation for that?
      Looks like it has options for isolating the power source from the arduino power, see e.g. http://www.forward.com.au/pfod/HomeAutomation/OnOffAddRelay/index.html
      (Can't see the markings really on the module to see what each pin refers to)

      posted in Troubleshooting
      Nuubi
      Nuubi
    • RE: Sending Variables to a arduino switch

      @patrick-schaerer said:

      in the advanced tab all the way down at the bottom there are should be Variable1. Put a value in the field and save.
      the next time your device requests the variable, the new value will be sent.

      Thanks, though so, too.
      So the next question is, is it possible to add variables to sensor types that don't have those to begin with? In my case I'd like to add few variables to window covers (S_COVER in http://www.mysensors.org/download/serial_api_15). Can't test now, but would this gw.present(CHILD_ID_OF_BLINDS, V_VAR1) work in adding this property to the blinds?

      posted in Vera
      Nuubi
      Nuubi
    • RE: Sending Variables to a arduino switch

      Eh, how do you define or set a value for, let's say, V_VAR1 in Vera?

      posted in Vera
      Nuubi
      Nuubi
    • RE: Compact and low cost MySensors + NRF24L01 Board Project

      *The *board that should be implemented is just arduino nano connections to NRF module. Very simple, yet, haven't gotten to do it.. anyone?

      posted in Hardware
      Nuubi
      Nuubi
    • RE: Plotting graphs with plot.ly service with luup scene using REST API

      @samppa Yeah, one another, again. Personally, started with Pachube a few years ago. Gone, a long time ago.

      posted in My Project
      Nuubi
      Nuubi
    • RE: [contest] Yet another servo blind control project

      It was, in the end and again, a power issue. I didn't mention that I included an RGB control to the node, so I'm feeding the whole nest with a 12v low grade supply. And the servo gets its power via Nano -- no external regulator for that.

      All in all, caps in the power supply, radio, nano 5V and 3.3V, aaaallll works now 🙂

      BTW, now that you've had your blinds automated, have you been happy with them? All blinds MySensorised yet?

      posted in My Project
      Nuubi
      Nuubi
    • RE: Strange problem with relay board

      Oh well, it can be actually extremely complicated. But, basically, add a larger cap + a small one together. Larger one acts as a power reservoir and smaller one filters high voltage spikes. Basically like that, as I understand the situation. Large ones are in the range of micro Fs, smaller ones nano Fs.

      posted in Hardware
      Nuubi
      Nuubi
    • RE: Strange problem with relay board

      Adding some cap to the arduino itself could help, i.e. between 5V and gnd. I've been able to get rid of some reboots by doing that. Power supplies can output rather noisy outputs.

      posted in Hardware
      Nuubi
      Nuubi
    • RE: [contest] Yet another servo blind control project

      Darn. When I connect the servo to the setup the Arduino loses it. Any idea how to tackle this? I've tried various capacitors all over the places😑

      posted in My Project
      Nuubi
      Nuubi
    • RE: gw.process -- how often this should be run?

      How do you use gw.wait(ms) with the library version 1.4? [http://www.mysensors.org/download/sensor_api_14]
      Is it implemented at all in this version? Switching to 1.5 at this point (of miserable HW development) is not appealing at all😑

      posted in Development
      Nuubi
      Nuubi
    • RE: nRF24L01+PA+LNA capacitor is used at the power antenna

      Just in case...make sure you use capacitors to stabilize the power to the nRF circuit , not the actual antenna connection.

      posted in Troubleshooting
      Nuubi
      Nuubi
    • gw.process -- how often this should be run?

      [http://www.mysensors.org/download/sensor_api_15] 'Nodes that expects incoming messages, such as an actuator or repeating nodes, must check for new messages frequently'.

      Any idea how often gw.process() should be called to not miss any messages?

      posted in Development
      Nuubi
      Nuubi
    • RE: Node freezing up

      Any update on this?
      Asking since I also have a multisensor that locks up every now and then. Thinking of some way to reset the radio a couple of times per day.
      Any suggestions how to implement this?

      posted in Troubleshooting
      Nuubi
      Nuubi
    • RE: Talk to 20k sensors?

      Why do you want to measure that many...just curious 😑

      posted in Hardware
      Nuubi
      Nuubi
    • RE: Relay sensors stop communicating with gateway after a few minutes

      Exactly that is the reason. Yep.

      posted in Troubleshooting
      Nuubi
      Nuubi
    • RE: AliExpress Arduino Nano NOT Vera Compatible

      You can still use it without problems for sensors.

      posted in Hardware
      Nuubi
      Nuubi
    • RE: Relay sensors stop communicating with gateway after a few minutes

      You should probably draw a circuit diagram about your connections?

      posted in Troubleshooting
      Nuubi
      Nuubi
    • RE: [contest] Yet another servo blind control project

      Excellent project report, Thanks!
      It made soo easy to order the required parts 🙂
      I suppose I should post my project, once it's been done, too... these things just tend to take their time (ofter years---to infinity).

      posted in My Project
      Nuubi
      Nuubi
    • RE: Plotting graphs with plot.ly service with luup scene using REST API

      @samppa Yep, works now, thanks!
      The problem turned out to be the actual value I wanted to send. Need to figure out how to read MySensors based values in LUA...

      posted in My Project
      Nuubi
      Nuubi
    • RE: Plotting graphs with plot.ly service with luup scene using REST API

      Uh...oh...still.. do you need to initialize the graph or what? Still not getting this to work, sorry for being such a dummie :-E

      posted in My Project
      Nuubi
      Nuubi
    • RE: Plotting graphs with plot.ly service with luup scene using REST API

      Excellent, thanks! This is much needed.
      For some reason, can't get this to work...LUA error.
      I'm trying to send MySensors data to Plotly...
      Anyway, does e.g. <username> mean that you write username, or <username> to the script? (Oh yeah, username referring to the actual username 🙂 )

      posted in My Project
      Nuubi
      Nuubi
    • RE: Donations (Lets help keep the lights on)

      only two more needed 🙂

      posted in General Discussion
      Nuubi
      Nuubi
    • RE: Donations (Lets help keep the lights on)

      It could also be a better time now for the T-shirt campaign! Combine donating and getting a cool t-shirt..

      posted in General Discussion
      Nuubi
      Nuubi
    • RE: 3-in-1 Humidity Temp and Motion

      @Konrad-Walsh said:

      I am currently finalising a 5 in 1 sensor... just testing and so far its working fantastic

      Hum-temp-motion-light-???

      posted in My Project
      Nuubi
      Nuubi
    • RE: Freedomotic

      (might be a silly question..) How do you clean the eeprom? Is it not enought to write another sketch to the chip?

      posted in Freedomotic
      Nuubi
      Nuubi
    • RE: 3-in-1 Humidity Temp and Motion

      Upper picture: a repurposed old movement alarm unit, was on sale for 2€ several years ago on a local store.
      Lower one: from dx.com (http://www.dx.com/p/wall-mount-pir-motion-detector-with-80db-alarm-siren-7-10-meter-110-degrees-15278), just swapped the internals. A bit small for my spider net constructions, though.

      posted in My Project
      Nuubi
      Nuubi
    • RE: 3-in-1 Humidity Temp and Motion

      I found out quite marked difference between different setups! On the surface of the enclosure there's >3C warmer than few centimeters further from the enclosure, see pictures 🙂

      First picture: temp, light level, door sensor, movement, patio PWM led lightning. DS sensor on the bottom of the enclosure
      WP_20141024_14_37_41_Pro.jpg (temp, light level, movement)

      Second: temp, light, movement
      WP_20141024_14_37_58_Pro.jpg

      posted in My Project
      Nuubi
      Nuubi
    • RE: Ethernet Gateway problem

      How often your sketch is sending? Just thinking that if it send continuously, things get piled up.

      posted in Troubleshooting
      Nuubi
      Nuubi
    • RE: General advice

      Not bad for that much of goodies.

      Soldering iron, it's a bit tricky. The price range is from couple of bucks to ... alot. I got a used Weller, which is great. Genarally, I'd look for something that had at least a stand integrated and possibility to replace tips. Over the years I bought something like 5 cheapos before settled with used Weller...

      posted in General Discussion
      Nuubi
      Nuubi
    • RE: General advice

      This is a lot of fun diy home automation.
      Out of curiosity, what was the total for all the fun stuff? Did you forget temp (+hum) sensors from the list..

      posted in General Discussion
      Nuubi
      Nuubi
    • RE: Scene Controller

      @korttoma Hey, that looks good! Where did you get the enclosure?

      posted in Development
      Nuubi
      Nuubi
    • RE: MySensors 1.4 Released

      @TroyF I've noticed that plugging/unplugging a sensor quite often changes the units between Metric and Imperial. Wonder why?

      posted in Announcements
      Nuubi
      Nuubi
    • RE: Issue with temperature units

      Hmmm... how can one override this statement to be METRIC?
      float temperature = static_cast<float>(static_cast<int>((gw.getConfig().isMetric?TemperatureSensors.getTempCByIndex(CHILD_ID_TEMPERATURE_FIRST+i):TemperatureSensors.getTempFByIndex(CHILD_ID_TEMPERATURE_FIRST+i)) * 10.)) / 10.;

      posted in Vera
      Nuubi
      Nuubi
    • RE: Iboard - Cheap Single board Ethernet Arduino with Radio

      @soward Nice one. What sort of range you get? Just thinking the wires around the radio antenna. And myself having short range probably partly due to wire mess..

      posted in Hardware
      Nuubi
      Nuubi
    • RE: SceneController

      Hey! Any pictures of scene controller installations? I'm planning on DIY'ing some "aesthetically pleasing" ones 🙂

      posted in Development
      Nuubi
      Nuubi
    • RE: Wiring a separate power supply for the radio

      (Haven't used the particular component, yet) Did you connect the grounds of different power sources together?

      posted in Troubleshooting
      Nuubi
      Nuubi
    • RE: Dimmabe LED Actuator

      Hi, on to-do-list here, too..
      Please check this thread http://forum.mysensors.org/topic/115/implementing-multiple-sensors/27 'wannabee' shares a link to his RGB+RFID code!

      posted in Troubleshooting
      Nuubi
      Nuubi
    • RE: good and safe AC/DC adapter?

      Cell phone chargers in use here...
      This is an interesting read, commenting also the output quality (spikes etc):
      http://www.righto.com/2012/10/a-dozen-usb-chargers-in-lab-apple-is.html

      posted in Hardware
      Nuubi
      Nuubi
    • RE: Get a MySensors T-Shirt!

      Might require some sort of advertising, at least I decided to get one (max size :-)) now that this topic was poked.

      posted in Announcements
      Nuubi
      Nuubi
    • RE: implementing multiple sensors

      @egbertje Good Question 🙂 It would be nice to learn from existing working sketches..

      posted in Development
      Nuubi
      Nuubi
    • RE: Motion sensor withput the interrupt

      Out of curiosity...how did you solve this?

      posted in Hardware
      Nuubi
      Nuubi
    • RE: My Bad (solved): Temperature sketch MySensors 1.3 under Arduino 1.0.5 -- not compiling?

      Thanks!

      Got some extra energy to continue wondering why oh WHY... turned out that my own 1-wire library from 2010 conflicted with the official onewire library! Different directory name, but the same filename... Go figure!

      Hope someone learns from this 🙂

      posted in Troubleshooting
      Nuubi
      Nuubi
    • My Bad (solved): Temperature sketch MySensors 1.3 under Arduino 1.0.5 -- not compiling?

      Hi,
      could anybody confirm that DallasTemperatureSensor is compiling under Arduino 1.0.5 using MySensors v1.3?
      I'm getting this error, cannot understand how to overcome it:

      In file included from C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/Arduino.h:192,
      from C:\Users\Documents\Arduino\libraries\DallasTemperature\DallasTemperature.cpp:9:
      C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/WString.h:116: error: declaration of C function 'StringSumHelper& operator+(const StringSumHelper&, const char*)' conflicts with
      C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/WString.h:115: error: previous declaration 'StringSumHelper& operator+(const StringSumHelper&, const String&)' here
      C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/WString.h:117: error: declaration of C function 'StringSumHelper& operator+(const StringSumHelper&, char)' conflicts with.....
      **
      and so on and so on!

      posted in Troubleshooting
      Nuubi
      Nuubi