Skip to content
  • Supporting cover tilt position

    Home Assistant
    6
    3 Votes
    6 Posts
    866 Views
    H
    hey, sorry for late reply. PR for mysensors is ready to be merged: https://github.com/mysensors/MySensors/pull/1570 next step is create PR in mysensors integration for home assistant. Best regards Mariusz
  • CHATGPT My new best friend!

    General Discussion
    5
    3 Votes
    5 Posts
    632 Views
    OldSurferDudeO
    @Tmaster I think it writes better code than a lot of code I've seen, and the documentation is a lot better. The latter, of course, is because most coders don't document. :( some key elements: good statement of work -- Purpose of the Code is key (did you write that? Good job!). This will guide the AI to write what you want. descriptive variables good documentation code is independent of reading sensors up-to-down/down-to-up I spent a couple hours analyzing, researching and writing and re-writing this and all I can say is that the AI didn't catch is, as far as I can see, if your sensors are too far apart or your magnet is too weak, you could get false readings. You, being the author of AI directive, are responsible for for the code. The AI is just a tool. I started my coding with assembly language, though at that time we still had to enter the binary on some machines (set 16 switches, then press commit). ForTran and COBOL were the first real high level languages and subsequent languages, pascal, c, java, etc. were improvements. AI is a quantum step. It's still coding, but you have to learn how to talk to the AI to get what you want. Good project! Let us know how it turns out and if you had to tweak the code. -OSD
  • Raspberry Pi 5: invalid GPIO 9

    Troubleshooting
    4
    1 Votes
    4 Posts
    568 Views
    mfalkviddM
    https://github.com/mysensors/MySensors/pull/1562 switches to using libgpiod instead of the earlier interface. I have not tested it myself but it looks good.
  • constant PIR false alerts

    Troubleshooting
    12
    0 Votes
    12 Posts
    5k Views
    Dilshan DilshanD
    @mvader Turn the time delay adjustment preset on your PIR module to the minimum.. Now try it.. You will not get a continuous output..Also, prepare the circuit using a long wire from the back to the sensor of your module.
  • 0 Votes
    6 Posts
    662 Views
    M
    Gawd bless ya @OldSurferDude , that just about answered every question I have to date, I especially thank you for indicating whether the item named is a software or hardware product. On reading into the Cerbo GX capabilities I was very impressed with its sophistication and, just as you said, I will have to break the complicated parts down into bite-sized pieces and build from there. It started with an idea for a project, essentially to take data on battery state of charge (SoC) from the Cerbo GX and use an Arduino Nano or ESP8266 to build a strategy so that I would have sufficient hot water in the morning, consistent with having enough battery power left in the evening. Only on further inspection did it occur that the Node Red software built into the Cerbo GX could do this for me...and thus the possibility that a wireless hot water temperature sensor (transducer) could be fabricated to feed that data into the Cerbo GX; hence my path to here. I've dabbled in programming in C, mainly through the Arduino IDE, and in a previous life part of my work involved programming PLCs for industrial automation, so I am somewhat familiar with 'tech', but I lost interest once most systems seemed to go Windows based. In the intervening years the 'tech' has moved on apace and has left me behind, which is why I've struggled to follow the jargon, akin to trying to fit the second piece in a large jigsaw puzzle. Once the fundamentals are there I'll catch on. So please, kind contributors, be tolerant of the silly questions we newbies ask, we won't always be newbies, and I'll be back for sensors stuff once I've tamed the red-hot node and sorted out my LBQTTs Best wishes....MM
  • 0 Votes
    3 Posts
    587 Views
    OldSurferDudeO
    @nagelc said in New Setup for Home Environment Monitoring – Using NRF24L01+, Arduino Pro Mini, and BME280: bme280 I read somewhere that the temperature sensor on the BME280 is sort of an afterthought. I did a few experiments comparing them to the DHT11/12/22 and found them only a little better. (Take this with a grain of salt, maybe you'll want to do you're own experiments.) I did do a lot of experiments with the DHT's and they really suck. +/-2°C Which turns out to mean +/-2°C offset (component variation) and +/-2°C measurement: +/-4°C from what the temperature actually is. My experience, yours may be better. Please post your experience with OTA. I haven't tried it on Arduino's but it's awesome on ESP8266. I hesitate with Arduino's because I had some erratic behaviour running Arduino's when pushing the memory limit. I, too, use the MQTT data transport to Home Assistant (HA) and I find that excellent. Getting data from HA is a bit tricky, but do-able. I have a flow meter and use HA to store the last read; meaning, if there is a power failure, HA sends the last read on Arduino boot. I don't use the EEPROM because that has a spec of 100,000 writes which the meter would do in about a year, thus, necessitating a new Arduino. I truly appreciate you sharing. Thanks! -OSD
  • Newbie questions

    Hardware
    2
    0 Votes
    2 Posts
    344 Views
    A
    Great project! With some guidance, KiCad and AVR will click again!
  • 0 Votes
    5 Posts
    702 Views
    dirkcD
    @ZenBlizzard , yes thanks, thats the point. How to deal with smartSleep() and battery lifetime.
  • 1 Votes
    5 Posts
    1k Views
    CrankyCoderC
    @OldSurferDude I use this. https://www.homedepot.com/p/Orbit-Solenoid-for-Battery-Operated-Timer-57861/203151515 Instead of having to hold the valve open, i can just pulse it. I use a simple motor controller to pulse it and when i need to close it, pulse it in "reverse". That way I could use a battery and if it only opens once or twice a day it's only a half a second or so of draw off the battery.
  • What is actual status of MySensors?

    General Discussion
    6
    0 Votes
    6 Posts
    716 Views
    TheoLT
    @skywatch I don't like ESPs to be honest. Seems like a waste using a Wifi MCU for mysensors.
  • 1 Votes
    24 Posts
    5k Views
    OldSurferDudeO
    The author has done some good work ensuring good design practices; trace separation, fuses, etc. but I don't see any extra I/O brought out on this particularl switch. You would have to carefully solder to the chip itself, and modify the code a bit. You could use magnetic switches. Put a magnet on the blinds and the switch in window sill. The author notes that this is not an Arduino, but uses the same chip that the Arduino uses. The author doesn't explain how the chip is programmed. This method could have been used. It may be just as easy to use an RF Nano with a little power supply. This suggestion is not nearly as robust as the author's. For example, these power supplies have gotten bad reviews mainly because the mains power traces are too close together. I justify using them because in all likelihood a failure will pop the power supply and probably the Nano, too, noting that these are cheaper than the fuses you would put in to protect them. I am fully aware of the risks involved in doing this, and you should be, too (eg. burning down your house). -OSD
  • BT832X PA / LNA

    My Project
    1
    0 Votes
    1 Posts
    231 Views
    No one has replied
  • 💬 MySensors Library - v2.x

    Announcements
    38
    0 Votes
    38 Posts
    12k Views
    nagelcN
    : ) That looks right. I have not written a receiveTime function for years and have just been copying the one in MockMySensors over and over.
  • Interface-board-for-remote-control

    My Project
    2
    1 Votes
    2 Posts
    439 Views
    TheoLT
    That is a well documented project. Much appreciated
  • Status of my rv(camper) home automation system 2020-2025

    My Project
    11
    2 Votes
    11 Posts
    1k Views
    TheoLT
    @fsgraz Did some testing Today and my RFM range is over 80 meters node to node, with no long range antenna. That will be my next test, just waiting for a shipment from China to arrive. I did how ever notice an extreme improvement when I connected the gateway through a USB hub and then started to dig through the forum. @AWI once wrote about using an external PSU to power the long range NRF PA/LAN. I'll try that this weekend as connecting it to they USB port of my PI extended the range to 20 meters Node to Node.
  • 💬 MyGateway

    OpenHardware.io mysensors rfm69 gateway ethernet poe
    10
    0 Votes
    10 Posts
    1k Views
    E
    Oh, I never even thought of that as a possibility. I really like KiCad, and it's my preference. For a while I had Eagle for work, but even then I still preferred KiCad whenever I was given a choice. :)
  • 0 Votes
    1 Posts
    223 Views
    No one has replied
  • IKEA UTRUSTA remote control

    Controllers
    2
    2
    0 Votes
    2 Posts
    979 Views
    mfalkviddM
    @JanJaap-Jagtenberg according to https://www.reddit.com/r/tradfri/s/gvFcOmHe8h the ”best” solution is to replace the led driver (but keep the lights). An alternative might be to buy a used remote on ebay or a local equivalent. Do you know what is wrong with your current remote? Maybe it can be fixed?
  • DHT22 wrong sensor type in Home Assistant

    Troubleshooting
    7
    0 Votes
    7 Posts
    801 Views
    OldSurferDudeO
    I'm glad that worked!
  • Radar motion sensor

    My Project
    1
    1 Votes
    1 Posts
    216 Views
    No one has replied

18

Online

11.9k

Users

11.2k

Topics

113.3k

Posts