Skip to content
  • mysensors on rpi with NRF2401 with Domoticz

    Domoticz raspberry pi
    18
    0 Votes
    18 Posts
    541 Views
    dirkjuD
    @goblin feel free to share concrete error messages or questions. We might be able to help on well-described problems. Otherwise - hope ChatGPT can help you ;-)
  • Keen to build again

    General Discussion
    9
    0 Votes
    9 Posts
    1k Views
    S
    MySensors is an EXCELLENT project. It allows for complete control over the various sensors. It's extremely simple. Its drawback is that it's open source, so it's unfunded and development is slow, but I don't think there are any better projects than this at the moment.
  • Cannot compile sketch with STM32F1 BluePill board

    Troubleshooting
    5
    0 Votes
    5 Posts
    140 Views
    dirkjuD
    @tnick I know this is an old post, but if it helps you - I've created support for STM32 based on latest STM32duino here. It's currently made to be backward compatible for the existing STM32F1 support, which is what you are struggling. But with a small change you can use the new STM32 HAL support. Let me know if you are interested to give it a try. The longer term plan is to remove the existing (old) STM32F1 support in favor of the new and more general STM32 support. (If @mfalkvidd agrees ;-))
  • 0 Votes
    34 Posts
    9k Views
    skywatchS
    Did it work before or is it a new build?
  • 0 Votes
    8 Posts
    2k Views
    E
    @Vuinne-Ryvmar You seem to be confused about what this forum is. Maybe you just ended up here on a random Google search? But in our case on an Arduino, D3 is literally the name for one of the metal legs coming off of the little controller, and we call it a pin sometimes. @tbowmo was looking for how to send the command to turn the power on or off to that part of the board, not a code to enable connecting up a controller to their phone. I see that a D3 game controller is a thing, but I doubt you will have any luck getting help with that here. It's not what this site is about. This is what we work with: [image: ArduinoUnoFront.jpg]
  • LGT8F328P and MySensors

    Hardware
    6
    0 Votes
    6 Posts
    186 Views
    Boštjan FerličB
    Hello I still didn't figure it out exactly, what is the issue with LGT8F328P and arduino, but for start, it can work, if you define 4x faster baud rate. So I define MY_BAUD_RATE 76800 and connect terminal with 19200, and it works. LGT is started in 8 MHz by default, and it looks like this is not corrected with mysensors. But this only helped for serial port, because later I had issues with DHT library timings. If I later change speed to 16 MHz and start serial port again, it works as expected: noInterrupts(); CLKPR = 0x80; CLKPR = 0x01; interrupts(); Serial.begin(19200);
  • 0 Votes
    2 Posts
    118 Views
    epierreE
    as I experienced, MQ sensors are not really gaz sensitive, they are more particle size sensitive when hot enough and when not totally scrap. I would not rely my life on them, if you have an alcool spray use it around and any MQ will to go the sky...
  • Sketch Names in Home Assistant - Resolved

    Home Assistant
    3
    0 Votes
    3 Posts
    162 Views
    nagelcN
    I like the joke : ) I'll try to keep it simple. Most of my sensors are just reporting temperature and humidity. Since I can assign them to a room in home assistant. They don't need anything fancy.
  • RS485 transmit errors

    Troubleshooting
    4
    0 Votes
    4 Posts
    138 Views
    OldSurferDudeO
    @sebastieng Thanks for letting us and future readers know. -OSD
  • Getting Better Range with NRF24L01 Modules

    My Project
    6
    0 Votes
    6 Posts
    210 Views
    S
    Thank you so much for your support
  • HW-488 infrared sensor not detecting properly

    Troubleshooting
    2
    0 Votes
    2 Posts
    122 Views
    OldSurferDudeO
    @jaydenlord Probably you do. If you leave the EN floating, electrical noise could cause it to enable or disable randomly. Some enable pin require a HIGH, some LOW. Connect it to VCC to see if it works more consistently. If it doesn't detect, connect it to GND. If one of these works, then the part wasn't designed to be in a default state of enable. Let us know your results (I found this video OSD
  • Which are the *best* NRF24L01+ modules?

    Hardware
    310
    1 Votes
    310 Posts
    269k Views
    C
    Hi everyone, bumping this thread because I could read some of you were interested in packet loss (@NeverDie and someone else) and my findings could help fix it partially or completely via software. It's certainly a hardware problem, though I can't figure out if it's due to the components physical positioning, the power supply, or both (and/or more issues like wiring, proper PCB traces, etc). Also, even the same modules from the same manufacturer, say EByte E01 PA+LNA modules in my case, have shown different performances, so it might be something bound to the variability of the SMD components used as well. Let's get straight to the point. I am the developer of rf24tunlink, a radio network bridge which uses primarily nRF24 modules. During R&D, I found that around 30% of packets from my modules were dropped due to a couple corrupted bytes, which was constant even in close range. That does indicate a hardware problem already, but the distribution of the bit flips is an even stronger indicator. [image: eb505750-d741-45b2-aba1-57d26913c786] All flips are in the first bytes! You might be getting at least one flip in most packets, resulting in ALL of them being dropped automatically because this invalidates the CRC. In this scenario ShockBurst can fail, or you might get duplicates, might not get ACK payloads or simply get a slow link because the same packet can be sent up to 15 times with a wait between each retry. Not coming here unarmed: how to fix it? Easy in principle, you: Disable CRC -> ShockBurst off, no ACK payloads, essentially your module will be RX only. Implement RS ECC: sacrifice just enough bytes to fix all the corrupted bytes. (in my case, 2/32 was enough!) That's how I turned a 30% packet loss into a 100% flawless reception, see this result: [image: 43bcccb9-9b9d-4ae8-ac4b-c9ed1f8fc320] There is more to it, as the link gets worse, of course this situation also gets worse. Finding out how many errors are in a packet can help you estimate signal quality and potentially take preventive measures. Now, if you only care about sending a specific packet, you either receive it or not at all and that's it. But if you want more like I did, then things get more complicated. In this case I wanted a full duplex link -> a second pair of nRF24 modules was mandatory I also wanted to send network data (iperf, ping, ssh, realtime video, audio, telemetry, control, anything really) -> frames needed to be split into radio packets, sent, corrected and stitched back into a frame. That is a HARQ algorithm. After all of this, I could get a usable network speed of 1.2Mbps (determined via iperf). Used a Pi 4, Pi zero 2 W and 4 nRF24 PA+LNA modules. You could use this same metric to evaluate your components, some modules could do better and some could do worse. Would be cool to fix this hardware for all and get closer to that 2Mbps max speed. Some people declared a speed of 1.7Mbps and I have seen a 1.5Mbps peak during development, so there is definitely room for improvement. [image: 1bd38d37-7a09-49e1-b92b-7d0838d1c436]
  • Windows GUI/Controller for MySensors

    Pinned Controllers myscontroller mysbootloader
    486
    17 Votes
    486 Posts
    361k Views
    S
    https://drive.google.com/file/d/14h8-8UccetEXxKET6ylry5_OcifdcJPz/view?usp=sharing
  • IP phone and beacon

    General Discussion
    4
    1 Votes
    4 Posts
    167 Views
    E
    Are you still able to use the same analog phone plugged into the back of your modem? If so then it has to still use the same protocol, and I don't understand why the analog beacon wouldn't still work. It would just have to be on that same wire, not on the internet side of the modem. The modem is doing all of the translation in that case. Or am I missing something? Did you have to get a new phone to use the new service?
  • Forum User Guidelines

    Pinned Announcements code of conduct forum rules
    6
    3 Votes
    6 Posts
    11k Views
    T
    @hek Hi! Thank you for the informative post)
  • 💬 What's all the fuss about?

    Announcements
    34
    0 Votes
    34 Posts
    6k Views
    skywatchS
    Welcome - I hope you find it inspiring, educational and practical. There is lots to learn and more to achieve.
  • Some questions on how gateway works

    Home Assistant
    14
    0 Votes
    14 Posts
    325 Views
    F
    @mfalkvidd I got what you mean. Yes, I am using the tcp connection using the mySensors serial API, not the USB<>UART serial interface ;-) I am running a gateway with the nRF24 at 1Mpbs for the fast & furious sensors (mainly energy meters); another at 250kbps for the battery supplied nodes (temp/hum and door sensors); another one at 1Mbps dedicated to the actuators / mission critical. 60 nodes running Another on is a BLE<>Mysensors bridge between the Mopeka Tank Pro (2) and the TPMS (4) Another one is a fauxmo<>Mysensors bridge. A few esp32 based displays (round oled, 3.5", 7") :-)
  • 0 Votes
    9 Posts
    253 Views
    OldSurferDudeO
    @Eme Thank you for coming back to report how you solved your problem! Your comments will help other people. I am a big fan of Frugal Tech and I think MySensors is great for that. Alas, MySensors is not well supported anymore. Right now I'm having problems linking to the home page :( It's people like you and me that will keep MySensors going. Thanks for your help. OSD
  • Cannot find the board: "Arduino Mini pro MYSBootloader"

    Hardware
    3
    0 Votes
    3 Posts
    113 Views
    J
    @OldSurferDude Thanks! I didn't touch the Arduino IDE for a while and forgot that the MYSBootloader doesn't come included in the Mysensor's library... My bad. Thanks for the link! I should had searched first... I use the OTA feature since 2017... It works well. So well that I forgot how to load the bootloader... Regards!
  • Hey I am new here

    Hardware
    3
    0 Votes
    3 Posts
    103 Views
    OldSurferDudeO
    Check out My Projects to see what can be done. Then decide what you want to do. Come back here for help -OSD

11

Online

11.7k

Users

11.2k

Topics

113.2k

Posts