Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
nagelcN

nagelc

@nagelc
About
Posts
253
Topics
8
Shares
0
Groups
0
Followers
2
Following
2

Posts

Recent Best Controversial

  • Advice on how to start my IOT project
    nagelcN nagelc

    I'm not sure about Tart, but Grove is an interface for I2C that is used by Seeed studio. With the right connector, it should be easy to make a Grove compatible MySensors node. Adafruit has Stemma and Sparkfun has Qwiic. These are all similar ways to make I2C sensors more plug and play (at least from a hardware perspective).

    General Discussion

  • Wio-E5 (STM32 and SX1262)
    nagelcN nagelc

    Thanks @Sasquatch. I did some testing also. The values below seem to be the correct ones. I had similar -100 RSSI at all power settings when using the opposite settings. When I use these, I got reasonable RSSI's that changed approximately linearly with the power setting. I got at least 500m range with an E5-LE in a quick test. That's a 5x improvement and there were many obstacles and buildings in the path. I look forward to trying it somewhere where I have more line of sight. I made an update to my code on github.

    {STM32WLx::MODE_TX_LP, {HIGH,  HIGH}},  // For the E5-LE
    {STM32WLx::MODE_TX_HP, {LOW,  HIGH}},  // For the regular E5
    
    My Project

  • Home Assistant Serial Gateway with Supply rail monitoring
    nagelcN nagelc

    If you haven't used it, the log parser is really helpful: https://www.mysensors.org/build/parser
    Makes it easy to see you are sending 0.00 for V_VOLTAGE.

    Troubleshooting

  • Home Assistant Serial Gateway with Supply rail monitoring
    nagelcN nagelc

    That None 0 Battery is the battery percentage from sendBatteryLevel(), which you aren't using in your sketch. You should be seeing an entry for the voltage you are sending besides that one.
    Your message output indicates you are sending 0.00 for the voltage. Check the output of float batteryV = sensorValue * (4 / 1023) * 2; with a printf. If it comes out as zero, double check the sensorValue. Also check 4/1023. It would be zero if processed as an int. try 4.0/1023.0 and see if that helps. Even as a float it is a very small number. sensorValue would need to be about 128 for it to register as a 1.
    I've had some challenges with floats and ints in the past -- admittedly not an expert. I should actually learn how arduino handles them : )

    Update: Duh I see it. 20 0V. So ignore what I said about None 0 Battery. You are sending 0V however. See below.
    PS. I like HA for all the other stuff it can do besides MySensors, but I sometimes do miss Domoticz.

    Troubleshooting

  • Home Assistant Serial Gateway with Supply rail monitoring
    nagelcN nagelc

    Update. Duh. I see you are getting the voltage to HA (20 0V ). So maybe ignore my original post.


    In your presentation function, you present CHILD_ID twice. I think you just want to present it as S_MULTIMETER. Delete the V_VOLTAGE from presentation. Your MyMessage msgVolt declaration tells it that it is a V_VOLTAGE.
    Not sure if this is the fix, but it is probably not correct as is.

    Troubleshooting

  • A year has passed...
    nagelcN nagelc

    STM32 Core support was added to the dev branch this year. That adds a bunch of processors that can be used with MySensors. It also looks like @tekka is working on a 2.4.0 release. I see some updates from him in the dev branch.

    General Discussion

  • Wio-E5 (STM32 and SX1262)
    nagelcN nagelc

    @Sasquatch I have not found a good schematic of what is happening inside the WIO E5 Module. My only references were here from the wiki here:
    https://wiki.seeedstudio.com/LoRa-E5_STM32WLE5JC_Module/
    https://wiki.seeedstudio.com/LoRa_E5_Dev_Board/
    These only address the high power WIO-E5, not the LE. They a reference to the WL55jc dev board. I found a document for that with this table:
    image.png
    So, Maybe it should be HIGH, HIGH for the low power mode. I'm traveling now, but will do some experimenting when I get home.

    My Project

  • Setting parameters before system load
    nagelcN nagelc

    @OldSurferDude Thanks!

    General Discussion

  • Wio-E5 (STM32 and SX1262)
    nagelcN nagelc

    Interesting. I hadn't thought about the antenna insulation. I usually grab the nearest hookup wire on my workbench. Will have to pay more attention to that. It easily reaches my basement and backyard, so I haven't been pushing for the most range.

    I would love to find an OTA solution. Even if I had to solder on some external memory, it would be worth it.

    My Project

  • Setting parameters before system load
    nagelcN nagelc

    @OldSurferDude can you post your code to set MY_NODE_ID? I've been doing it in the sketch, and have recently messed up some of my existing data by forgetting to change the node number before uploading to the new node. Your method seems better than what I am doing now.
    Looking forward to see what @mariusl comes up with.

    General Discussion

  • Pjon Script
    nagelcN nagelc

    Cool. I'll have to get smarter about it

    General Discussion

  • Pjon Script
    nagelcN nagelc

    It's in the development branch.
    How do you plan to use it? Sounds fascinating, but I haven't quite been able to wrap my head around it.

    General Discussion

  • Sketch Names in Home Assistant - Resolved
    nagelcN nagelc

    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.

    Home Assistant

  • Sketch Names in Home Assistant - Resolved
    nagelcN nagelc

    I moved my MySensors nodes from Domoticz to Home Assistant. Domoticz didn't really do anything with the sketch name. Home Assistant uses it in the device names.
    I had named my sketches by processor and function, BT8_BME280 for example. This makes sense when programming, but makes the device names in Home Assistant seem rather random.
    I can have the sketch present anything want for a sketch name. Maybe using just the node function would be better?
    Anyone have a naming system that makes sense in Home Assistant?

    Update. There is a lot of thinking about this online. For example: https://github.com/Trikos/Home-Assistant-Naming-Convention
    But also, I can rename in home assistant, so doing it in the sketch isn't that important.

    Home Assistant

  • MySensors Gateway Controller Failed to ACK I_FIND_PARENT Request from Node
    nagelcN nagelc

    Your analysis of the problem seems correct.
    This sounds very frustrating, and I am afraid I can't help much.

    From your earlier post, the transport is just shutting down because it had too many failed attempts to find a parent. That is normal operation. My memory is that it will just try again after a while.

    Troubleshooting

  • Support for CC1101 radios
    nagelcN nagelc

    Nice. I know there are RFM69's, but I've seen quite a few requests for the CC1101. Always good to have options.
    I did something similar with the WIO-E5 chips in my repo. The E5 is not quite ready for prime time, but the basics are working.
    I have many MySensors nodes, and still adding more. Good to see some new code for it.

    Hardware

  • Newbie: confused by the jargon, needing simple guidance...
    nagelcN nagelc

    @Meldrew-s-mate Hi. This site is about building sensors using Arduino that report data back wirelessly to a gateway. There may be some useful information here, but it doesn't sound like what you are really looking for. Try searching on the web for Cerbo GX and Home Assistant. Home Assistant is a popular home control program. Someone may have already figured out how to connect to it, or you might get a link to something helpful.

    Hardware newbie

  • New Setup for Home Environment Monitoring – Using NRF24L01+, Arduino Pro Mini, and BME280
    nagelcN nagelc

    @lostintheethes Sounds like a nice set up. I have had good luck with bme280's without doing anything special. I usually get about a year out of a coin cell battery. I check the temperature every 3 minutes, but I don't send unless it changes more than .1 I haven't really tested accuracy, but it seems about right.

    My Project mysensors nrf24l01+ home environment monitoring

  • BT832X PA / LNA
    nagelcN nagelc

    Has anyone developed a PA LNA driver for the BT832X (Fanstell NRF5 module)? Works quite well without it, but wondering if could be even better.
    @NeverDie , you had a remote control using PA. Was there any additional code for that from stock MySensors NRF5? Did you ever do anything with the LNA part?

    My Project

  • 💬 MySensors Library - v2.x
    nagelcN nagelc

    : ) That looks right. I have not written a receiveTime function for years and have just been copying the one in MockMySensors over and over.

    Announcements
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular