Skip to content

General Discussion

1.5k Topics 14.2k Posts

A place to talk about whateeeever you want

  • New house - help me getting started!

    12
    0 Votes
    12 Posts
    6k Views
    E
    Hi, I'm in the same situation as you, designing future house electric system. Routing all the wires to the main cabinet (fuse box) is overkill since you can not wire a two position switch (in the room) and automation (at the panel) in such a way that they can work together, you either wire them in parallel and then the automation can not turn the light off if the room switch is on, or in series in which case the switch can not turn on the light if the automation failed. The only way to use it would be by using Push-Button like switches (doorbell switches) in parallel with the automation, commanding some type of step relays, but in that case the price is way high for wires and relays. My approach is to take both light leads to a larger light switch box in the room, plus some 12V rails, there I have some 12v-5v dc-dc reg, Arduino, relay board, pushbuttons and confirmation leds, plus radio. The system's top priority it turning lights on/off, I'm also considering adding another Arduino in ther for the radio communication, just to be sure the main Arduino does not crash and leave me in the dark. As relays for lights I use the aliexpress cheap relay boards with Songle 220V 10A rated relays, my CFL and LED lights take 200W max, which is under 1A, so the relays should last a long time. I've chosen the 12V low power buss for the cheap and reliable 12v-5V DC-DC step converters. You may go with 24V if you find the right voltage converters for a good price. For the sensors I leave the cable tubing out of the wall a few inches, and after painting I cut to the surface level and glue (silicone) a small box that sticks out with holes on top and bottom for better airflow. Heck I even have some dead end cable tubes in the walls for some DS18b20 in wall temperature probes, useful on exterior walls to prevent dew knowing the inside temperature and humidity. PS. Add some tube to the radiators if you use such things for heating, might be useful for monitoring in/out temps, and correlated to some electric motor ball valves you can have heating zones in your system. Regards, Mircea.
  • Mark Zuckerberg joins MySensors soon?

    5
    1 Votes
    5 Posts
    2k Views
    barduinoB
    probably not :smirk:
  • How to see the sensors registered on gateway

    3
    0 Votes
    3 Posts
    1k Views
    M
    hi @Sparkman I use Openhab. But "presentation" function is used for what ? Is it just for the gateway sends the correct type ID ?
  • Wifi gateway is it working?

    6
    0 Votes
    6 Posts
    2k Views
    H
    Try adding a cap on between GND/VCC to stabilise the power supply.
  • MySensors network static or dinamic?

    5
    0 Votes
    5 Posts
    2k Views
    M
    Ok, thank you.
  • Not Too Techy windows controller

    1
    0 Votes
    1 Posts
    799 Views
    No one has replied
  • Eeprom usage

    7
    0 Votes
    7 Posts
    7k Views
    B
    Hi All, Resolved this with a simple funtion splitting the value in byte long parts. Bit shifting and OR are a perfect fit for this :-). The code: void storeEeprom(int pos, int value) { // function for saving the values to the internal EEPROM // value = the value to be stored (as int) // pos = the first byte position to store the value in // only two bytes can be stored with this function (max 32.767) gw.saveState(pos, ((unsigned int)value >> 8 )); pos++; gw.saveState(pos, (value & 0xff)); } int readEeprom(int pos) { // function for reading the values from the internal EEPROM // pos = the first byte position to read the value from int hiByte; int loByte; hiByte = gw.loadState(pos) << 8; pos++; loByte = gw.loadState(pos); return (hiByte | loByte); }
  • Serial Gateway

    9
    0 Votes
    9 Posts
    3k Views
    T
    @skatun As I said, there are not that much documentation on running without radio :) If I remember right, you could take the basic DHT11 example, remove radio stuff, and add a MY_SERIAL_GATEWAY define (look in the code to see the right names of the defines). However, one thing regarding your setup, what is the distance from the arduino mega, to your DHT11 sensors? I don't think they are meant to be used with long cable runs. Also the LED strips, are they PWM controlled? How about RF noise emiting from those wire runs? You could probably use rs485 as protocol for mysensors (does require arduino at each node).
  • Gateway as Node?

    2
    0 Votes
    2 Posts
    983 Views
    Michel - ItM
    http://forum.mysensors.org/search/Ethernet Gateway?in=titlesposts
  • Updating to 1.5 and question about RFM69HW

    7
    0 Votes
    7 Posts
    4k Views
    FrancoisF
    @riteshpatel I upgrade to version 1.6 beta as this have an must better integration with the RFM69 radios. Now you only have to configure your device in the MyConfig.h file. Also if you look at the sketch you will see you only have to #define MY_REPEATER_FEATURE to have the repeater. // Enable debug prints to serial monitor #define MY_DEBUG // Enable and select radio type attached /m#define MY_RADIO_NRF24 #define MY_RADIO_RFM69 // Enable repeater functionality for this node #define MY_REPEATER_FEATURE
  • OTA sending updates ?

    2
    1 Votes
    2 Posts
    2k Views
    mfalkviddM
    I understand that this answer is a bit late, but for future reference if someone finds this thread, I think the best answer is at http://forum.mysensors.org/topic/838/windows-gui-controller-for-mysensors/73
  • Getting data from an RPI to Vera?

    1
    0 Votes
    1 Posts
    746 Views
    No one has replied
  • Merry Christmas MySensorers

    2
    3 Votes
    2 Posts
    1k Views
    S
    Merry Christmas to all of you
  • Interesting IoT development from Huawei

    1
    0 Votes
    1 Posts
    918 Views
    No one has replied
  • Atmega Chip Programmer

    3
    0 Votes
    3 Posts
    2k Views
    L
    Ah that makes sense! Sometimes you forget the easiest parts^^ I guess I will try the nano first, the other one is quite expensive (>= 30€)
  • outdoor keypad or keyfob for alarm system

    10
    0 Votes
    10 Posts
    6k Views
    martinhjelmareM
    I'm planning to use my Yubikey Neo as key to the alarm system. It has NFC and it's more secure than just an RFID tag. It can do SHA1-HMAC among other things. You can combine that with a passcode and have 2FA. Only downside: 50$ a piece. But it's a very versatile security gadget, and for me, it's worth it.
  • Change power output?

    9
    0 Votes
    9 Posts
    3k Views
    O
    @Cliff-Karlsson said: thanks for the answer, I don't really know what a fly-back diode is or have any non-light diodes at home right now. I have a couple of optocouplers, mosfets and transistors lying around. Can I use any combination of those components to control the pump? At this small pump a mosfet will probably also work yes. To the fly-back diode: As you may already know a diode only conducts in one direction. And you may also know that a electric motor can also be used as an generator. When powering off the motor the motor will be act for a short time as "generator" due to the momentum and the stored energy in the magnetic field. The diode will be connected between the mosfet and the motor to prevent flow of current back to the mosfet in this event.
  • PINE A64, First $15 64-Bit Single Board Super Computer

    3
    1 Votes
    3 Posts
    2k Views
    P
    Hi, I think that board is bad air now, the board in hardware is well, but in software not, no linux suport now, this company is asking to community to provide a linux support, because they cannot do this work. and only a sdk from allwinner with android is provided. this board with linux won't work with accelerated gpu only headless and doesn't have any sata. more info https://groups.google.com/forum/#!topic/linux-sunxi/Ze_UhiO00t8 there are boards with a soc allwinner A20 that have sata port and works well with mainline linux only headless mode and basic graphics. or kernel 3.4 for graphics support. and has a community effort with distribution like armbian.com check these site for headless debian, works well. more info at linux-sunxi.org or http://linux-sunxi.org/Linux_mainlining_effort for check new features and new boards support.
  • Need idea for turn off speakers when tv is off

    7
    0 Votes
    7 Posts
    3k Views
    Tomasz PazioT
    Ok solution is now live :) PowerNode from GreenWave with power monitoring. I'm monitoring power consumption on DVBT reciever. When it goes up from idle, tv and speakers turn on, when goes to idle consumption it turn off all :)
  • Visual studio dev essentials

    1
    1 Votes
    1 Posts
    965 Views
    No one has replied

8

Online

12.0k

Users

11.2k

Topics

113.4k

Posts