Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. grumpazoid
    3. Best
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Best posts made by grumpazoid

    • RE: [Solved] Repeater node causing Problems

      So after some considerable time and loss of sanity I now appear to have a stable setup. I'd like to share what I have done in the hope it may save others a lot of time and frustration.

      By enabling debug in the sketches, I eventually realised that I could not get any node to communicate reliably with the gateway. I was getting lots of NACKS even at short distances.

      I was sure that the problems were radio related but after trying many NRF24 modules I was about to give up.

      Then I read a post somewhere about ground planes.

      As a last resort I added a piece of aluminium between my gateway antenna and the radio. (PA/LNA Version). Eureka!! This has pretty much solved the NACK issues.
      alt text

      Following this one or two nodes still intermittently lost contact after a few hours or days. What is strange is that even if moved close to the gateway, errors continue until the gateway is power cycled? I still don't know why this is.

      I solved this problem by converting the Node PCB antennas into a dipole antenna as detailed at https://www.instructables.com/id/Enhanced-NRF24L01/.
      Now all nodes stay connected.
      Now after a couple more weeks of testing all is still good.

      I am using Domoticz with the MQTT output passed onto Node Red and now have some really cool things going on.

      A big thanks to all that replied and pointed me in the right direction.

      posted in Troubleshooting
      grumpazoid
      grumpazoid
    • RE: Where do i start?

      @reindier I discovered mysensors while also looking if it was possible to build my own alarm system.
      I am pleased to report that it is quite possible if you don't mind the fun of building and fault finding.
      I started a few months ago by building some PIR sensors and a serial gateway on a raspberry pi running Domoticz.
      From there on I'm slowly adding to the system. I now have notifications for doorbell, outside temperature, solar panel voltage, sensor battery voltages, Sonoff light running Tasmota..... just this week I've swapped over to an ethernet gateway.

      All the information is available if you take the time to browse the site. Lots of help on the forum as well.

      posted in My Project
      grumpazoid
      grumpazoid
    • RE: Resettable fuses.

      @skywatch Appreciate the reply. I have made up some 500mA quick blow fuses that I already have from a trusted source.

      posted in Hardware
      grumpazoid
      grumpazoid
    • RE: Get last update notification of Relay node within Domoticz

      I have found a workaround by sending the heartbeat message as a separate V_MULTIMETER child. This then gives me a voltage reading of 0V every 30 seconds that I can use with the Domoticz last update feature 😀

      Would like to hear any better ways of doing this.

      posted in Domoticz
      grumpazoid
      grumpazoid
    • RE: Advice for Newbie trying to get started

      Thanks Omemanti

      I will check out myscontroller...looks useful.
      Ive been playing with openHAB today, and after a bit of a struggle, I've managed to create a virtual switch that sends me an email. This gives me hope that a mysensors PIR node will be able to do the same.
      Certainly a great way to learn about many new things!

      posted in General Discussion
      grumpazoid
      grumpazoid
    • Getting Alexa to speak sensor values.

      Here's a quick vid of this morning's project. Getting Alexa to speak the values from the node in my garden.
      Alexa speaks arduino mysensors readings – 00:25
      — Grumpazoid

      Credit goes to those who made the node red nodes to make it work!

      posted in My Project
      grumpazoid
      grumpazoid
    • RE: Erratic battery reading when powering via RAW pin

      Thanks to all your replies I think I've got it fixed.

      I tried another pro mini....still eratic.
      I then used that second pro mini and built an identical node on another breadboard. Result was perfect readings.
      I then rewired the problematic one and gave it another battery for good measure. It is now more than acceptable although still not as smooth a graph as the second node.
      At the moment, running direct from 18650 and not boosting to 5V does not seem to be an issue for the HC-SR501's.
      Maybe I will run into problems as the battery voltage lowers.
      Node2
      alt text
      Node1
      alt text

      posted in Hardware
      grumpazoid
      grumpazoid
    • RE: diagram of MQTT Gateway and MQTT Broker in the overall scheme of things ?

      @guillermo-schimmel I have had a look at openHAB but it took me half a day to work out how to get it to send an email. Domoticz seems somewhat easier for a beginner like me. I also like the way it has user accounts built in.

      I must say I like the idea of communication with a vacuum cleaner. Maybe I need to get that dust sensor ordered?

      posted in General Discussion
      grumpazoid
      grumpazoid
    • RE: Wipe/Change serial gateway arduino

      @mfalkvidd Thanks for that clarification. I am also thinking of swapping from serial to ethernet when I have time so I can use MQTT.

      posted in Troubleshooting
      grumpazoid
      grumpazoid
    • RE: Siren build

      @mfalkvidd Sounds reasonable. I am thinking a small UPS would be a good idea so I could keep my raspberry pi's, router, switch etc going as well.
      Time to look at that relay node then!

      posted in Hardware
      grumpazoid
      grumpazoid
    • RE: Combined motion sensor with battery monitor sketch

      @mfalkvidd Good point. You are right I can see a value relating to the battery being sent in the serial monitor.

      It is domoticz not updating "last seen" until it sees a "1" from the sensor.

      posted in Development
      grumpazoid
      grumpazoid
    • RE: Wipe/Change serial gateway arduino

      I have my ethernet gateway up and running on a breadboard. It worked first time 😎

      If this is of use to anyone, all I did in Domoticz was go into Setup/Hardware and change the existing serial gateway to "Mysensors Gateway with LAN interface" and press update. All the sensors are then remembered as the Gateway IDX stays the same.

      posted in Troubleshooting
      grumpazoid
      grumpazoid
    • RE: Siren build

      Parts arrived.
      Used the default relay sketch. Works great. Nice and loud.
      alt text

      posted in Hardware
      grumpazoid
      grumpazoid
    • RE: Combined motion sensor with battery monitor sketch

      @mfalkvidd That looks just what I'm after...Thanks

      posted in Development
      grumpazoid
      grumpazoid
    • RE: [Solved] Repeater node causing Problems

      I am pleased to say that I have finally got all my sensors and repeater up and running without errors - All battery reports are coming in every 1 or 2 minutes as per my sketch.

      The problems were definitely radio related.
      Here is what I have done to get it running error free.

      1. Start with all the sensors close to the gateway and see if there are any errors.
      2. I had one node that was powered with an LM2596 and dropped out after a few hours. Adding in a LC filter has fixed it. Strangely my ethernet gateway is also powered by a LM2596 but is running quite happily. That does however use an amplified NRF24 module on a breakout board.
      3. I powered up my repeater again and repositioned the sensors to where I wanted them. I have told the sensors closest to the repeater that they should use that as their parent node.
      4. It was unclear on MYSCONTROLLER, if the repeater was being used, but as soon as the repeater is powered down, sensors loose contact so I know it is working.
      5. My repeater radio is NRF24L01 with added wire antenna. Much improved range.
      posted in Troubleshooting
      grumpazoid
      grumpazoid
    • RE: Easy PCB Question

      @mfalkvidd Thanks for that. Not sure if I worded my question well but I am more concerned that the PCB will take the required components such as 662K so I can still run 3.3 arduino with a LIPO battery. I didn't want to order a stack of them only to find I have missed something!

      posted in Hardware
      grumpazoid
      grumpazoid
    • RE: WS2812B neopixel sketch help

      @mfalkvidd
      Thanks that was useful and I went ahead with the sketch shown here: https://www.domoticz.com/forum/viewtopic.php?f=42&t=8039&start=40#p

      It works !! 😀

      posted in Development
      grumpazoid
      grumpazoid
    • RE: [Solved] Nodes having trouble reconnecting to gateway

      @mfalkvidd Thanks for that.

      F11 showed that the page was failing to resolve cdnjs.cloudflare.com
      I run a pihole so just needed to add to my whitelist.

      Fixed. Thanks.

      Now back to the node/gateway communication problem!

      posted in Troubleshooting
      grumpazoid
      grumpazoid
    • Easy PCB Question

      I've only build build nodes so far using prototype board.

      Mostly powered with 18650 lithium and 662K regulator for pro mini 3.3 with regulator and LED removed.
      Voltage is measured with resistor divider.
      I get great battery life - probably around 2 years.
      Simply, will the easy PCB allow my to build this setup?? Looking to save some time.
      Thanks

      posted in Hardware
      grumpazoid
      grumpazoid
    • RE: [SOLVED] 2.3.1 TO 2.3.2 MyConfig.h got changed

      @Yveaux Yes I had manually changed MyConfig.h to reflect the channel number I use. I thought I had read that was the way to do it. Okay thanks for putting me straight. Good to know it was just normal behaviour. I'll add it to each of my sketches in future.
      Thanks.

      posted in Development
      grumpazoid
      grumpazoid
    • RE: [Solved] Nodes having trouble reconnecting to gateway

      @mfalkvidd No I only use one at any time.
      I started with serial and then built the ethernet gateway. To eliminate the ethernet gateway hardware I just reverted back to serial to test.

      posted in Troubleshooting
      grumpazoid
      grumpazoid
    • RE: Easy PCB Question

      @TRS-80 Those cases look good value. I have a quite a few PIRs. Luckily I have access to a 3D printer so printed off a few boxes for them with the appropriate hole cut out for the sensor. I've started addding temp sensors to them now as well. I don't actually need the regulators to be so small at all but I think price took over.
      Think I'll get some PCBs ordered so I am ready next time I get the urge to build some more. I see latest version supports signing as well so that could be interested. I have tried to read the docs in the past on signing / encryption but still can't work out if it is easy or not. Thanks to @sundberg84 for all the hard work.

      posted in Hardware
      grumpazoid
      grumpazoid
    • RE: Sample sketch for test node including hardware and software acknowledgement

      @mfalkvidd said in Sample sketch for test node including hardware and software acknowledgement:

      char messagestring[100];
      message.getString(messagestring);
      Serial.println(messagestring);

      @mfalkvidd Fantasic. Thank you. That is what I was looking for . It works now !!!

      posted in Development
      grumpazoid
      grumpazoid
    • RE: [Solved] Repeater node causing Problems

      @electrik Yes, I drilled a 6.5mm hole, just big enough for the SMA connector to fit through and then screwed the antenna back on. Because the plate sits inbetween the radio and antenna, and touches the outside of the SMA, it is connected to ground.

      posted in Troubleshooting
      grumpazoid
      grumpazoid
    • RE: 💬 Atmospheric Pressure Sensor

      @mfalkvidd I've just started to look into this sensor and the main page is still quite confusing as already stated by @skywatch

      It seems the choice at present is between the BMP280 or BME280. the latter also includes humidity.
      Maybe the title could say Temperature/Pressure/Humidity? I just ordered a replacement Si7021, not realising there was another all in one sensor available.
      It is clear that most ebay sellers are also confused and are wrongly listing BMP devices as BME.
      I found a good summary to the confusion here https://goughlui.com/2018/08/05/note-bosch-sensortec-bmp280-vs-bme280-sensor-confusion/
      Hope this helps someone - Think I'll be going for a BME280 here as it as some positive reviews https://www.ebay.co.uk/itm/Breakout-Temperature-Humidity-Barometric-Pressure-BME280-Digital-Sensor-Module/401513062540

      posted in Announcements
      grumpazoid
      grumpazoid
    • RE: Easy PCB Question

      @sundberg84 Thanks for those regulator pics. Great service there - I don't even have to look up the pinouts.
      @TRS-80 Totally agree what you say there - I've switched to open source solutions wherever able.

      posted in Hardware
      grumpazoid
      grumpazoid
    • RE: What happens exactly after NRF24 gives up retrying and goes to sleep 2.3.x?

      @mfalkvidd Thanks. Yes that is indeed what I mean. I just wanted to make sure my understanding was correct before going any further. I am over obsessing really but it is now a bit of a challenge. I went about 24hrs without a a single missed message then just a couple of hours ago started getting lots. I am of course guessing as some local interference being the most likely. Will try another channel number when I can. I have however found a couple of errors in my sketches that need changing - I have been using delay instead of wait and also I have been pointlessly sending some serial prints.

      posted in Troubleshooting
      grumpazoid
      grumpazoid
    • RE: 💬 Atmospheric Pressure Sensor

      I have now had my delivery of the above ebay sensor. Everything looks good. It is a BME280 and reports temp, humidity and pressure.

      I have used the sketch on the build page and it has worked without any editing. I just had to install the BME280 library as given in the example sketch. Everything is shown nicely in Domoticz.

      Interesting to note that when compiling in arduino IDE I get the following error : Low memory available, stability problems may occur.

      Wonder if there will be enough room to add my battery level monitoring code?

      posted in Announcements
      grumpazoid
      grumpazoid
    • RE: 💬 Atmospheric Pressure Sensor

      @mfalkvidd I've got it up and running now on the bench complete with measuring voltage. I found that removing all the serial print statements also free up a lot of memory. Thanks to all those involved for the provided code.

      posted in Announcements
      grumpazoid
      grumpazoid