Navigation

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

    Posts made by HJ_SK

    • RE: 2x BME 280 on 2x arduino nano hangs in HomeAssistant

      And now again on USB port of PC sending its info, but no response in HA

      10:51:58.958 -> 149738851 NM:LOOP:BME280(1):SET t=0 v=23.70
      10:51:58.993 -> 149738898 NM:LOOP:BME280(2):SET t=1 v=43.47
      10:51:59.062 -> 149738947 NM:LOOP:BME280(3):SET t=4 v=972.44
      10:51:59.098 -> 149738996 NM:LOOP:BME280(4):SET t=5 v=stable
      10:51:59.133 -> 149739044 NM:LOOP:BME280(1):SET t=0 v=23.70
      10:51:59.202 -> 149739092 NM:LOOP:BME280(2):SET t=1 v=43.46
      10:51:59.238 -> 149739141 NM:LOOP:BME280(3):SET t=4 v=972.45
      10:51:59.273 -> 149739190 NM:LOOP:BME280(4):SET t=5 v=stable

      HA:
      entity_id,state,last_changed
      sensor.none_67_battery,0,2024-07-31T07:00:00.000Z
      sensor.none_67_battery,0,2024-07-31T07:00:19.035Z
      sensor.bme280_5,23.41,2024-07-31T07:00:00.000Z
      sensor.bme280_6,44.89,2024-07-31T07:00:00.000Z
      sensor.bme280_7,975.22,2024-07-31T07:00:00.000Z
      sensor.bme280_8,stable,2024-07-31T07:00:00.000Z

      posted in Home Assistant
      HJ_SK
      HJ_SK
    • RE: 2x BME 280 on 2x arduino nano hangs in HomeAssistant

      without debug is now hangs on here :
      17:16:19.825 -> 0 NM:INIT:INO=BME280_Hof67 v1.0
      17:16:19.871 -> 0 NM:INIT:LIB VER=2.3.2 CP=RNNNA---
      17:16:19.908 ->
      17:16:19.908 -> __ __ ____
      17:16:19.908 -> | / |_ / | ___ _ __ ___ ___ _ __ ___
      17:16:19.941 -> | |/| | | | _
      \ / _ \ _ \/ __|/ _ \|
      _/ __|
      17:16:20.008 -> | | | | |
      | || | / | | _ \ _ | | _
      17:16:20.074 -> |
      | |
      |_
      , |/ ___|| ||/_/|| |/
      17:16:20.108 -> |
      __/ 2.3.2
      17:16:20.174 ->
      17:16:20.174 -> 209 NM:INIT:RBT p=255
      17:16:20.174 -> 300 NM:BFR:INIT

      But last time upload after several hours it suddenly came up in HA

      posted in Home Assistant
      HJ_SK
      HJ_SK
    • RE: 2x BME 280 on 2x arduino nano hangs in HomeAssistant

      After activate MY-DEBUG I got this error :
      Sketch too big; see https://support.arduino.cc/hc/en-us/articles/360013825179 for tips on reducing it.
      text section exceeds available space in board

      Compilation error: text section exceeds available space in board

      I understand because of using NodeManager the file is bigger.
      Can I remove all // xxxsensors?

      posted in Home Assistant
      HJ_SK
      HJ_SK
    • RE: 2x BME 280 on 2x arduino nano hangs in HomeAssistant

      thx Eiten,
      Thx so much for your reaction.
      With 1 BME 280 it is stable within HomeAssistant.
      My_Debug later today is the plan

      Below ino file

      Regards,
      Harm

      [0_1722262405764_BME280_Hof67.ino](Uploading 100%)

      posted in Home Assistant
      HJ_SK
      HJ_SK
    • 2x BME 280 on 2x arduino nano hangs in HomeAssistant

      Just restarting to use my arduino's with MySensors (+ NodeManager) .....

      I'm using NodeManager for this :

      I added a BME280 on a Arduino Nano with
      // General settings
      #define SKETCH_NAME "BME280_Test"
      #define SKETCH_VERSION "1.0"
      //#define MY_DEBUG
      #define MY_NODE_ID 98
      // NRF24 radio settings
      #define MY_RADIO_NRF24

      • Add your sensors
        // BME_Specific
        #include <Adafruit_BME280.h>
        // End BME_Specific
        It was picked up by homeassistant perfectly

      Then I added second BME280 on another Nano
      // General settings
      #define SKETCH_NAME "BME280_Hof67"
      #define SKETCH_VERSION "1.0"
      //#define MY_DEBUG
      #define MY_NODE_ID 67
      // NRF24 radio settings
      #define MY_RADIO_NRF24

      It first hangs but after hours HomeAssistant did pick it up, but ......
      Both are now 'dead' (Not refereshing data) but still visiable in HomeAssistant.

      Any one an idea what is going wrong here?
      Help much preciated!

      Thx in advantage!
      Harm Jeurink

      posted in Home Assistant
      HJ_SK
      HJ_SK
    • RE: Help needed with connecting MySensors node to Home Assistant

      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!

      posted in NodeManager
      HJ_SK
      HJ_SK
    • RE: Help needed with connecting MySensors node to Home Assistant

      Thanks cabat, will try it out this weekend.

      posted in NodeManager
      HJ_SK
      HJ_SK
    • RE: What's a good power bank for use with IoT?

      @OldSurferDude Thanks a very valued to know. I was wondering today why my (big) powerbanks fall down after short time. I have small 1 & 2-pieces powerbanks, they work very well. I use also BSM hw-168 or hw-107 for charging single 18650. Will try to use them outside also with small solarpanels.

      posted in General Discussion
      HJ_SK
      HJ_SK
    • Help needed with connecting MySensors node to Home Assistant

      Re: Help needed with connecting MySensors node to Home Assistant
      I got a lookalike problem. I see the serial GW (on UNO) in HA (homeassistant) on an RPi4.
      I needed to connect it to ttyUSB0, not ttyMCA what seems to be standard?
      Also 1 entity a battery comes up in HA.
      I have 1 motion sensor connected to a NANO and loaded with standard MySensors example.
      This gives on serial monitor output :
      1:56:16.173 -> 56224 MCO:SLP:WUP=-1
      11:56:16.173 -> 56226 TSF:TRI:TSB
      11:56:16.173 -> 0
      11:56:16.211 -> 56268 !TSF:MSG:SEND,5-5-0-0,s=1,c=1,t=16,pt=0,l=1,sg=0,ft=0,st=NACK:0
      11:56:16.248 -> 56274 MCO:SLP:MS=120000,SMS=0,I1=1,M1=1,I2=255,M2=255
      11:56:16.248 -> 56280 TSF:TDI:TSL
      So seems to be okay to me.
      When I connect both to my win 10 pc every motion is picked up by the GW.
      But in HA it does not come up as entity.

      Anyone can give me some help please?

      posted in NodeManager
      HJ_SK
      HJ_SK
    • MySensors external examples (Zip file contains No valid library)

      This example uses a modified version of the external DHT library, which is included in the MySensors external examples. Please install it and restart the Arduino IDE before trying to compile.
      I did the download from the github link. After add ZIP library I get the "Zip file contains No valid library" message. Has there been some changes?
      Thanks in advantage for your reply!

      posted in Troubleshooting
      HJ_SK
      HJ_SK
    • be aware of previous used arduino as serial gateway

      Re: [Getting !TSF:ASID:FAIL]
      As Tekka (thanks so much for this hint!!!) refers before the clear EEprom from Arduino.cc is not properly working in all situations. As you try your Arduino in an serial gateway and after that try to use it as an other sensor or whatever in MySensors it will fail.
      This because Arduino clear sketch write 0's instead of 0xff. And that's the case why you can after the original sketch still cannot use it normally as 'new'.
      So use for clearing the EEProm always the MySensors clearEEprom!
      You can find it here : https://www.mysensors.org/build/debug#clearing-eeprom
      It has cost me very long long times to just find out why my other sensors would not properly work with MySensors, SerialGateway and Domoticz.
      So good luck with this info. as it helps you as good as it helped me youre a very happy person. Thanks a lot to Tekka. He's the one to get the honers of this solution!

      posted in Troubleshooting
      HJ_SK
      HJ_SK
    • RE: Hard-coding Node IDs vs. Using Controller-Assigned

      @sundberg84 I'm looking to hard coded as well. To much problems with automatic created nodes. Especially when testing with the same Arduino Nano. Full of fail when reconnect an node with other sketch and eeprom_clear does not solve that problem. 'Still using after all these years'? Thanks anyway for the hint!!

      posted in Controllers
      HJ_SK
      HJ_SK
    • RE: Sensor advice

      @noclue Put your concrete idea here, what do you want to control?

      posted in General Discussion
      HJ_SK
      HJ_SK
    • RE: Advise - Building air quality sensors/network

      @sebex No not stay away from HA. First only 1 gateway with HA. When you got that 'in your fingers' it's time to look at more kinds of gateways. Just my opinion 😉

      posted in General Discussion
      HJ_SK
      HJ_SK
    • RE: Advise - Building air quality sensors/network

      @sebex :
      I'm using MQ2 for Co2, LPG and Smoke. On MySensors is with radio good example.
      More complex (including calibrating is to find here : sandboxelectronics.com)
      I always start with testing new items without radio to better understand it's working.
      The I switch (with more knowledge) to MySensors including Radio.

      If your new (as I am) I should suggest to first try only 1 gateway. There is enough to learn by doing so.
      About battery : I use 1 or 2 x 18650 in housing with USB connection to Nano or Uno or whatever else Arduino. That powers a 'set of 3' weeks to months of enough power. You can also use or choose for example LiPo. Much smaller, less in capacity but in my opinion better then AA or AAA.
      And they're all rechargeable of course, what's far better for the environment!

      posted in General Discussion
      HJ_SK
      HJ_SK