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!
  • ESP8266 WiFi settings in EEPROM

    wifi eeprom esp8266
    12
    0 Votes
    12 Posts
    18k Views
    A
    @Yveaux I have 34 of 80k RAM used for this sketch, so 128 bytes looks like "a bit more". You can not use progmem with ESP and mysensors now because PSTR redefined as PSTR(x) (x) so all strings are really in RAM :(
  • Low Power Servo Actuator

    servo arduino low power battery powered rf24
    8
    0 Votes
    8 Posts
    5k Views
    martinhjelmareM
    @hek Thanks for the comments. Sounds good. I'll report back when I have some progress.
  • ESP8266 to RFM69 gateway library?

    2
    0 Votes
    2 Posts
    2k Views
    mfalkviddM
    MySensors supports creating an esp8266-based gateway with a rfm69 radio. Seems like you need the latest development version. More information is available in http://forum.mysensors.org/topic/2278/esp8266-gateway-and-sensor-node-not-talking-noobie/
  • Motion based light control (Sketch/Example)

    1
    2 Votes
    1 Posts
    581 Views
    No one has replied
  • Can't get RFM69 working

    27
    0 Votes
    27 Posts
    10k Views
    SweebeeS
    I tried the samples from the RFM69 library and they all work fine on any arduino. Maybe someone can upload their library and some RFM69 mysensors samples that are working?
  • Serial Gateway on a Arduino Pro Mini

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • esp8266 wifi gateway used also as a node

    2
    0 Votes
    2 Posts
    882 Views
    sundberg84S
    Hi! Check dev. branch out. From 1.6 and forward I have seen in the code its possible to add nodes to the gateway.
  • Mini-controller using Arduino?

    3
    0 Votes
    3 Posts
    1k Views
    F
    I did exactly this: http://forum.mysensors.org/topic/1812/my-controller-less-mysensors-temperature-logger All the network-functions work without a controller. Only for the auto-node-id-feature a controller is needed.
  • Looking for acs712 example

    3
    0 Votes
    3 Posts
    2k Views
    ewaldsreefE
    Thank you . I will give those a try.
  • Child_ID

    2
    0 Votes
    2 Posts
    902 Views
    BartEB
    @lafleur You can use the 'sensor' member void incomingMessage(const MyMessage &message) { if (message.sensor == Child_ID && message.type==V_VAR1) { unsigned long gwPulseCount=message.getULong(); } }
  • Physically small Gateway (to fit inside Raspberry Pi case)

    9
    0 Votes
    9 Posts
    3k Views
    T
    I made a pull request. The sketch GatewaySerial.ino now sets the serial speed to 38400 if the Arduino is running on 8MHz clock speed. https://github.com/mysensors/Arduino/pull/391 EDIT: My pull request was accepted into the Domoticz master branch :)
  • [SOLVED] New MySensors appearing with random values

    7
    0 Votes
    7 Posts
    2k Views
    mfalkviddM
    Great that you got it working. Thanks for reporting back. If you don't already know, ctrl+t (or cmd+t) on the Arduino ide auto-indents the code. That can often make it easer to spot wrong brackets.
  • Send message to particular Node

    3
    0 Votes
    3 Posts
    2k Views
    iotcrazyI
    @hek Thanks for the quick replay. I will give a try .
  • MQTT gateway compiling error

    4
    0 Votes
    4 Posts
    1k Views
    G
    Thanks for that, I uploaded the sketch. It did note, "WARNING: Category '' in library UIPEthernet is not valid. Setting to 'Uncategorized'" Is this a problem? After uploading I am having trouble finding the MQTT broker. It does not seem to connect to the netgear router on the IP I set, 192, 168, 0, 100. The IP range is ok. I built it inline with the instructions and there are flashing lights on the W5100. Could someone point me in the right direction? Cheers, George
  • SerialGateway data from nodes

    1
    0 Votes
    1 Posts
    499 Views
    No one has replied
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • RF24 Audio Transmission

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Some simple asynchronous Arduino classes

    3
    3 Votes
    3 Posts
    2k Views
    scalzS
    @TD22057 : I will look at it too. I like asynchronous, often the best way ;) There is something I wanted to try but never had time yet! http://oosmos.com/intro Maybe you already know it ??? Interesting stuff too...
  • Issues reading from serial gateway

    14
    0 Votes
    14 Posts
    3k Views
    ElGuapoE
    Hi, mfalkvidd! Thanks for your fast replay. I'm new in Home automation. Actually I try to build my sample system, based on serial gateway. I have my gateway connected to Openhab as controller, and now started to works finally with a temperature sensor. I spent a lot of time trying to connect sensor to gateway, with no success. Just that piece of information needed to overcome. Thanks for all!
  • Longer sleep values for Watchdogtimer interrupt?

    2
    0 Votes
    2 Posts
    1k Views
    GertSandersG
    I had some time yesterday to experiment with the Lowpower library and answered my own question. Conclusion: you can set the divider to a higher value then 10 (10 is used to test on permanent deep sleep by the Lowpower lib, and Mysensors lib as well I think), but it does not matter, the atmega328 ignores any value above 9, so 8 seconds is the longest deep sleep you can get. Oh well, worth a try.

11

Online

11.7k

Users

11.2k

Topics

113.0k

Posts