Skip to content

General Discussion

A place to talk about whateeeever you want
1.5k Topics 14.2k Posts
  • Security

    89
    0 Votes
    89 Posts
    55k Views
    AnticimexA
    @Avamander "MySensors" has had support for this for quite some time yes. As you can read in the topic post of this thread. Encryption is discussed elsewhere on the forum.
  • Silly question regarding highlited sites in posts

    4
    0 Votes
    4 Posts
    2k Views
    mfalkviddM
    @m26872 I like the ad/info box. It gives convenient access to a picture of the item and a price. And if people click it, they support the project since a fraction of the price will go to the project. However, if you want to avoid the box you can create a link using bit.ly (or goo.gl or any other url shortener). This works for codebender links as well. Like this: http://goo.gl/E9Gy6X
  • Serial Gateway as Controller

    serialgateway serial protocol controller
    8
    0 Votes
    8 Posts
    4k Views
    D
    Hi. It's long time .. but standard function is : gw.processRadioMessage(); and I make changes in source code in MyGateway.cpp to this : char MyGateway::processRadioMessage() { char isMessage=0; if (process()) { // A new message was received from one of the sensors isMessage=1; MyMessage message = getLastMessage(); if (mGetCommand(message) == C_PRESENTATION && inclusionMode) { rxBlink(3); } else { rxBlink(1); } // Pass along the message from sensors to serial line serial(message); } checkButtonTriggeredInclusion(); checkInclusionFinished(); return isMessage; } But in new library is not file MyGateway.cpp .. then I don't now .. using is : if (gw.processRadioMessage()==1) {..} regards.. there is possible make easy gateway .. controler .. to control only light for example.. then we don't need external controller .. etc..
  • Home Link to MySensors

    7
    0 Votes
    7 Posts
    4k Views
    SparkmanS
    @csa02221862 The easiest may be to use something like this and connect to an Arduino: http://www.ebay.com/itm/321816823725 and use the remote to program your HomeLink buttons. Not sure how secure it would be though. Cheers Al
  • German speaking members

    15
    1 Votes
    15 Posts
    4k Views
    Frank HerrmannF
    :+1: Ex Berliner in Baden Würtenberg
  • Need Advice on Sizing a 5V DC Motor

    3
    0 Votes
    3 Posts
    1k Views
    Z
    @hek : Many thanks! I can do the math to do a pulley system, but that is dependent on the size of the motor, yes? What would you think the minimum size of motor I should start with? Do I need to go to a 24VDC motor, or can I do something with 5VDC motor? Regards..
  • Breakout boards - a plea for consistency!

    5
    0 Votes
    5 Posts
    2k Views
    mfalkviddM
    https://xkcd.com/927/
  • Will the Arduino mini 3.3v give enough stable power for nRF ?

    4
    0 Votes
    4 Posts
    2k Views
    L
    @rvendrame Does the mysensors library use high power modes on the nrf? As far as I remember these can use much more power.
  • Sketch for powerconsumption

    2
    0 Votes
    2 Posts
    894 Views
    SparkmanS
    @Cliff-Karlsson Here's a good example as to how to use them: http://openenergymonitor.org/emon/node/58. You'd have to combine their sketch with a MS sketch, but that shouldn't be too difficult. Note that a clamp on current transformer can produce high voltages without a burden resistor and should never be used without being connected. See the Safety section on this page for more info: http://openenergymonitor.org/emon/buildingblocks/ct-sensors-introduction. Cheers Al
  • A super easy MQTT getting starting guide?

    9
    0 Votes
    9 Posts
    4k Views
    T
    I had to restart this night which was the first restart since months. Tonight the clocks were changed (Daylight Savings Time). I suspect that this was the reason. Apart from that it is absolutely stable.
  • Many nodes with simple sketches or less nodes with complex sketches?

    6
    1 Votes
    6 Posts
    2k Views
    G
    Yes depending on the controller (Arduino) you choose will determine the number of sensors or actions a node may support. I will take into consideration if the node can be hidden, or it needs to be small and/or presentable where it is going to be located. This may effect your choices for the controller. I will also look at the tasks I'm trying to accomplish for a given objective. Some tasks like knowing if a door or window is open or closed and a motion sensor may not play well with each other in a node. Determine if it is going to be using batteries or get power from my house curcit (for example via a wall wart). When determining the power source I will look at the tasks I have defined. One of the tasks could determine if you are able to resonable use batteries to power it. For example a task like knowing if a door or window is open or closed most likely will not be run on batteries. If using a battery you should put your controller and radio to sleep as long and often as you can. If you have to use a small controller then the number of interrupts available will be limited and most likely be one. Some tasks will use an interrupt to override the sleep timer, for example a motion sensor. If more then one task (like a motion sensor) needs an interrupt and you are using a small controller you will need to split it up to more then one node or redefine your objective. These are just some thoughts I have been running with for now. Any other persectives are greatly appreciated. There are several of you that have a lot more experience with this adventure then I do.
  • 0 Votes
    4 Posts
    3k Views
    HenryWhiteH
    @tomkxy @Dwalt thank you for your answers! I read that it's better to use the MQTT than the serial gateway - is that the case? and when yes, why? thanks!
  • Halloween display

    1
    0 Votes
    1 Posts
    765 Views
    No one has replied
  • Interrupt, Perform a specific function, not the loop

    14
    0 Votes
    14 Posts
    5k Views
    V
    @AWI This code runs continuously for 5 seconds in order to get a stable reading of light using LDR, which is used to set night mode on and off.
  • Help programing Pro Mini 5v clone

    3
    0 Votes
    3 Posts
    1k Views
    TheoLT
    I use an ftdi cable https://www.sparkfun.com/products/9873 Be sure to use one that can be switched to 5v. I have one that supports both 3.3V an 5.5V. Once you've hooked up the ftdi to the arduino and your make book, you're good to go
  • combine repeater and sensor type

    5
    0 Votes
    5 Posts
    2k Views
    J
    @hek said: @joshmosh said: Would gw.begin(incomingMsg, MY_NODEID, true) turn this node into a working repeater ? Yes, this enables the repeater feature. OK,thank you. This will save me an additional node.. Cheers Josh
  • What wire to use when soldering semi-permanent sensors?

    4
    0 Votes
    4 Posts
    1k Views
    A
    Hi, why dont you design your own pcbs? Its quite easy... Greetings Andreas
  • Protocol question

    2
    0 Votes
    2 Posts
    777 Views
    hekH
    What does you sketch look like? Do you listen for incoming messages and answer the request when it arrives? The node does not keep any state by itself of the last sent message etc. So you have to save these values yourself and send them upon request.
  • Time without data reading

    5
    0 Votes
    5 Posts
    2k Views
    AWIA
    @raulandresmoch Intresting reading on accuracy & lifetime! of temp sensors. Conclusion: The SHT71 does seem to be generally superior to the DHT22. It is better made, at least as accurate, more precise and responds more quickly to change. It does of course also cost ten times as much. Reliability may justify the higher cost, but I have to be cautious because I have not had the Sensirion device as long as the others. Two of my six DH22 / AM2303 devices have failed. Life expectancy is around one to two years. After 18 months of continuous operation only one of my six DH22 / AM2303 devices (device E) is able to match the performance of my one SHT71. Of course it is possible that I got the one good SHT71, but I do not consider that likely. The DHT22 cer list itemtainly is better than DHT11 and easily justifies its``` extra cost. list item
  • Repeater not working - How to?

    8
    0 Votes
    8 Posts
    3k Views
    hekH
    You cannot leave out any parameters in the middle.

16

Online

11.7k

Users

11.2k

Topics

113.0k

Posts