Skip to content

Development

Discuss Arduino programming, library tips, share example sketches and post your general programming questions.
1.5k Topics 13.5k Posts

Subcategories


  • 56 578
    56 Topics
    578 Posts
    HJ_SKH
    Hi2All! Surprising is here. After about 24hours I refresh HA and suddenly my motion sensor was integrated. There is also second entity > battery : 0 , have to look deeper into that for understanding. Need to change little in the sketch, because don't want every short time 'no movement' so only when there is motion and maybe once a hour indication sensor is alive. Meantime I found 3 other good threats: https://forum.mysensors.org/topic/11200/finally-progress-evidence-based-radio-testing-method-and-capacitors https://forum.mysensors.org/topic/1664/which-are-the-best-nrf24l01-modules/27 https://forum.mysensors.org/topic/9550/build-a-reliable-power-supply-chain Very usefull for me also finally progress because of lacking time in the past. Great jobs are done here! Thanks for this all of you guys or girls!
  • Ethernet gateway example in DEV branch

    19
    0 Votes
    19 Posts
    5k Views
    C
    I'm testing the DEV branch with MQTT and W5100, I use a shield with an included SD-CARD. I had trouble sending messages using MQTT so I tried to debug using plain Ethernet gateway w5100, the same problem seems to occur. Everything seems to work normal in debug log, but I noticed that I never get a "gateway ready" command. Please note that radio init is good, and I get an IP adress that is reachable. I tried to enable SOFTSPI and UDP ethernet, but no dice. Really looking forward to the new w5100 MQTT client gateway! Any advice appreciated. (trying with a w5100 without SD CARD did not change anything)
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    13 Views
    No one has replied
  • Use of ack sending messages

    5
    0 Votes
    5 Posts
    6k Views
    hekH
    The "payoff" is that you know if you need to resend value or not. I would only use it for important values, like when you turn on/off a light or something. Asking for ack on sensor values doesn't give much benefit.
  • Not save ID

    12
    0 Votes
    12 Posts
    3k Views
    A
    Yeah. I know that, but if you insert the old node, it would have the old ID stored. So, it would be an ID conflict. I don't have my controller yet. I am actually creating my own and getting some ideas.
  • How to know bootloader in production

    3
    0 Votes
    3 Posts
    1k Views
    A
    Really nice @hek ! Thanks! :smiley:
  • NRF24L01 library

    2
    0 Votes
    2 Posts
    973 Views
    mfalkviddM
    Not blocking while waiting for ack is hard. See this discussion: http://forum.mysensors.org/topic/2189/serial-api-noack-when-sending-with-ack-failed/2
  • Delete sensor property

    2
    0 Votes
    2 Posts
    835 Views
    hekH
    No, I haven't seen any api call to remove variables from a device. You can always remove/re-include device.
  • Battery Attiny85 Door/Window wireless Sensor

    2
    0 Votes
    2 Posts
    3k Views
    alexsh1A
    Did you try changing nrf24l01+? There is a problem with a few fake ones
  • Where can I find information about over-the-air updates?

    3
    0 Votes
    3 Posts
    1k Views
    Dave DanD
    Thank you @diamantmatch, That's exactly what I was looking for. Some pre-steps in order to get there (modify the GW from Serial to Ethernet, etc.) but I think makes sense as you mention for nodes embedded in wall, etc. or simply when you move to 10+ and you need to update something ... just too much time (and effort) to just update 1 item. thanks!!
  • GatewayESP8266MQTTClient in Development Branch

    13
    0 Votes
    13 Posts
    5k Views
    ahmedadelhosniA
    @hek Thanks. I am sure you will come up with a better general solution :D
  • Control lights and intencidad with Vera and arduino

    16
    0 Votes
    16 Posts
    7k Views
    mntlvrM
    @ted said: @mntlvr I'm excited to see that mysensors is working with attiny. However, when I compile your code for UNO (can't compile for attiny85 on my IDE), I see the code is about 16kb, much larger than the size of the available memory in attiny85. Did you use a different library? Yes a mysensor library written for the Attiny85 chip. And also remember you need to either make a Attiny85 programmer or buy one. I think the 1st choice is the best. There are many articles on the Web that will guide you on how to build your own peogrammer. So do a little research and you will be greatly rewarded. Patience and perseverance will get you what you need and want.
  • Mysensors Thermostat

    5
    0 Votes
    5 Posts
    6k Views
    korttomaK
    I don't know about domoticz but I reacently put together a Thermostat device that I use with Vera UI5. I posted about it here and here
  • Led dimmer board / openmili integration?

    1
    0 Votes
    1 Posts
    872 Views
    No one has replied
  • Gateway *and* sensor node on same Arduino - is it possible ?

    6
    0 Votes
    6 Posts
    4k Views
    hekH
    This is working in the development branch now.
  • Find parent - hardware or software issue?

    7
    0 Votes
    7 Posts
    3k Views
    rvendrameR
    The controller is responsible to handle NodeIDs. If you don't have a controller, you must hardcode sensorIDs at the gw.begin, like you did. Gateway is node 0 and nodes should have different IDs ranging from 1 to 254. Once you do like that, you should see your gateway receiving data from nodes.
  • Leds always on with Ethernet gateway

    4
    0 Votes
    4 Posts
    1k Views
    carlierdC
    Sorry !! I was probably very tired as I not connected LED correctly ;)
  • Execute function in sensor

    3
    0 Votes
    3 Posts
    1k Views
    A
    Thank you hek! I actually got it to work exactly the way I want. =)
  • Multiple sensors One Arduino

    1
    0 Votes
    1 Posts
    859 Views
    No one has replied
  • Vera + MQTT Gateway?

    2
    0 Votes
    2 Posts
    2k Views
    T
    Thought I'd try this again. Perhaps this would be better in another section of the forum?
  • gw.process -- how often this should be run?

    5
    0 Votes
    5 Posts
    2k Views
    hekH
    Yes, you should ;)

15

Online

11.7k

Users

11.2k

Topics

113.0k

Posts