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!
  • if `MY_NODE_ID` is not AUTO

    6
    0 Votes
    6 Posts
    2k Views
    magicwM
    @magicw ok,thanks!
  • Software

    19
    0 Votes
    19 Posts
    4k Views
    V
    @gohan Really i don't know those links ..that's why asking help to you
  • MySensors controller with Rasberry Pi 3 & Windows IoT

    15
    1 Votes
    15 Posts
    4k Views
    C
    Thank you for sharing the details.
  • 0 Votes
    4 Posts
    2k Views
    gohanG
    I'd say it is the same but it would you will need to do more coding I guess. There is a node-red Google group if you want to ask there also.
  • RFM95 support

    7
    0 Votes
    7 Posts
    2k Views
    ?
    Yes, in agriculture. Much like the Vinduino project.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    6 Views
    No one has replied
  • Answering request command

    15
    1 Votes
    15 Posts
    3k Views
    Boots33B
    @bilbolodz said in Answering request command: "ack - Set this to true if you want destination node to send ack back to this node. Default is not to request any ack" Does it mean "ask Domoticz to confirm that received my presentation message"? I have not used an ack in presentation but yes i think you are correct. Not sure if the ack would be from domoticz or just from the gateway though. Great that you also found the problem for the ack flag in domoticz
  • MQTT GW and ACK

    1
    0 Votes
    1 Posts
    536 Views
    No one has replied
  • Please share your raingauge sketch that works with Domoticz

    8
    0 Votes
    8 Posts
    3k Views
    E
    @sundberg84 Thanks, tried but I keep getting false rain tips.
  • Sensor sleep causing problems

    4
    0 Votes
    4 Posts
    1k Views
    Nca78N
    Hello, I would do something much more simple At the beginning of the sketch : bool buzzerState = false; Then at the end of your sketch where you currently have the sleep() : if (AlarmModeIsActive) { buzzerState = not(buzzerState); // invert state of buzzer digitalWrite(BUZZERPIN, buzzerState); sleep(BUZZER_PIN, CHANGE, 2000); // Sleep but put interrupt on the button so we don't have to wait for a reaction when pushing the button } else { // here do normal sleep for your node sleep(30000); } Of course don't forget to reset buzzer state and set buzzer pin to low when button is pressed.
  • Concept: Proxy Node: multi protocol proxy

    12
    2
    0 Votes
    12 Posts
    3k Views
    gohanG
    Let's see what @hek might have to say about this :D
  • MH-Z19 with Arduino R3 0 outputValue

    5
    0 Votes
    5 Posts
    2k Views
    E
    @douma-rahma yes, I am using determining the Pulsewidth. can use TTLUART (like you) and analog I think but I found measuring pulsewidth easiest
  • Freezer temp monitor with buzzer, can I set the high temp limit via Vera?

    4
    0 Votes
    4 Posts
    1k Views
    blaceyB
    @signal15 Sorry for your significant meat loss. You might want to take a look at the TempLeakSensor device luup files on the Vera for ideas. They declare a security device that can be armed/disarmed and associated temp and water events used to detect a freeze or leak respectively. In your case, you would create a TempSensor device that could be armed and disarmed and define a custom variable for that device that defines the trip temperature. Whenever the luup temp variable for that device is modified using the vera UI, you would send the updated trigger temp to the sensor node. The advantage of this approach is that you can use your TempSensor to trigger scenes when armed (e.g. freezer door is closed) and the current temp exceeds the trigger temp akin to how motion sensors are used. In addition, it would act as a normal temp sensor reporting the current temperature to your vera that you could plot over time to check your freezer performance/efficiency.
  • Sensor not sleeping properly when Gateway is down?

    6
    0 Votes
    6 Posts
    2k Views
    T
    Oh yeah... Read the docs.. Yes, I probably should do that too :) Thanks!
  • Booting sensors without Gateway connection?

    16
    0 Votes
    16 Posts
    5k Views
    T
    Yes, you're right. Considering how I kind of hijacked this thread anyway :) I will run some more tests and start a new thread if I can't find a solution
  • Doubling amount of soil sensors using transistors?

    6
    0 Votes
    6 Posts
    1k Views
    K
    Ah, I did have mixed feelings about the alternating. I also don't know what happens with ions when water moves down after watering some plants. I did came across this page (in Dutch, but code in English) which kind of shows a very simple example of using the CD74H4067 multiplexer: http://12volt.kloppenburgweb.nl/een-garduino/. It might be a good thing to see how it performs and come up with something alternative if really needed. I was also thinking of adding some glue to the parts exposed to air. Thanks again!
  • Sensebender Micro Battery Code

    10
    0 Votes
    10 Posts
    2k Views
    rozpruwaczR
    The lib for handling sensors values (sending them to GW when needed and resending on filures) is here https://github.com/mczerski/MyMySensors and the example that uses it is here https://github.com/mczerski/DHTSensor. It probably have bugs :) so any suggestions will be appreciated.
  • [SOLVED] very wierd sleep behaviour

    9
    0 Votes
    9 Posts
    2k Views
    YveauxY
    @rozpruwacz great to hear! Now continue the fun :laughing:
  • Help for a newbie.

    2
    0 Votes
    2 Posts
    660 Views
    gohanG
    @Spencer-Cook I think you need a controller with a rule creator to make it simple to edit those rules. Start looking at the supported controllers (domoticz, home assistant, etc) and see if you like their rule editors.
  • Flame/Fire Detection with MySensors

    4
    0 Votes
    4 Posts
    1k Views
    Boots33B
    @iamtheghost I have not used one but yes that is my understanding of how they work. You would need to experiment with it to find it's effective range etc.

16

Online

11.7k

Users

11.2k

Topics

113.0k

Posts