Navigation

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

    DenisJ

    @DenisJ

    10
    Reputation
    63
    Posts
    16
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    DenisJ Follow

    Best posts made by DenisJ

    • RE: Battery life calculator

      @BearWithBeard said in Battery life calculator:

      Did you measure the wake time of 2s?

      No... I have inserted a wrong wake time,
      cause now I have misure the wake time using millis() from initial LOOP
      until before sleep command, and and I have only about 600 millis (sometime 300 sometime 900).

      Then I send the data only when the temp have a difference of 0.3°C.
      And the humidity only at 5% difference.
      Also I put 2 minutes (really 128 sec because of 8s X 16 in order to use only thw WDT of 8Sec)

      And now the tabel is like this:
      fb385738-4d2f-4592-9916-b045c04505d5-image.png

      But it give me only:
      c1e44958-5795-417d-b0c5-ca4650e70dc6-image.png

      Yes... I have blinking LEDs as RX/TX but now I'll take off it and I'll blink only one time at every 2 minutes.
      I'll see the measurements.

      I will not discharge the batts too much because I dont buster for the voltage.
      The 2 batts (3V) it's go directly to the Atmel and all the rest.
      But I use an internal clock of 4mHz and If I understand correctly this will discharge the batts. until 1.8V of total.

      Here I paste is the prototipe (cause I know you all like the pictures:-)
      4c290bae-0f33-49b6-b88b-5ff30673b478-image.png

      Thanks a lot
      Denis

      posted in Hardware
      DenisJ
      DenisJ
    • RE: GWT:TPC:CONNECTING

      @electrik said in GWT:TPC:CONNECTING:

      2.3.2 release

      I can't believe... IT'S WOOOOOOORK !!!
      Thanks a lot @electrik !!!

      I don't know why, and I don't understand... but with 2.3.2 release it's work if I make that modify in the MyGatewayTransportMQTTClient.cpp file.
      Also I don't like that I must modify that time... but for now it's ok.
      Also I don't understand why 2 days ago it's change same hardware and same soft,
      from work to no work (I don't know haw to tell this in english) šŸ™‚

      Thanks so much again šŸ™‚
      Denis

      posted in Troubleshooting
      DenisJ
      DenisJ
    • RE: šŸ’¬ Building a WiFi Gateway using ESP8266

      I finally understand with was the problem...
      My WiFi Mesh LAN accepted only 802.11.g+n radio... now that I have set 802.11.b+g+n it's ok
      Strange this think cause an all other WiFi Arduino schetch the 802.11.g+n radio was always accepted.

      Anyway... now it's work šŸ™‚
      Denis

      posted in Announcements
      DenisJ
      DenisJ
    • What really sleep() do please ?

      Hi there all,
      I just finish a simple node using a barebone Atmega328p.
      I program the bootloader MiniCore at 8Mhz internal clock.
      I use a BME280 for temp/humidity and RFM69HC for radio.
      All work great šŸ™‚
      78414ba3-313d-4fa0-bd9e-a77072b610d7-image.png

      Now I'm on the software part of sleep.
      I just use Sleep(30000) in order to test it.
      What I receive in the log(parser) is:

      Sleep node, duration 30000 ms, SmartSleep=0, Int1=255, Mode1=255, Int2=255, Mode2=255
      Set transport to sleep
      Node woke-up, reason/IRQ=-1 (-2=not possible, -1=timer, >=0 IRQ)
      Set transport to standby
      Sent Message ...etc...
      

      So I wonder what sleep() do please ? ...it use a watchdog internal timer in order to wake up ?
      I have try to use a "LowPower.h" lib but the compiler give me an error:

      multiple definition of `__vector_6'
      

      ...like already have this piece of code in the MySensor lib.

      So if I understand the watchdog internal timer is the best solution to make sleep all strange thinks inside Atmega328p.
      Is I still understand it can't do it more than 8sec.

      Can anyone please help me to understand ?

      Thanks a lot
      Denis

      posted in Development
      DenisJ
      DenisJ
    • RE: What I must buy in order to measure mAh please

      I just retry with the newone and it give me about 9,1 uAmp šŸ™‚
      f5f6aeb3-a73d-4b79-ae44-3ffd6f33d22b-image.png
      Thanks all

      posted in Hardware
      DenisJ
      DenisJ
    • RE: What I must buy in order to measure mAh please

      @Nca78 said in What I must buy in order to misure mAh please:

      you have to unplug/re-plug before the nodes gets out of sleep and obviously this will make measurement impossible.

      I use the multimeters in this mode:
      -first I musure the work mA in the work session, with the switch on mA... this give me about 19 mA
      -then I put the switch on uA but I also put a direct wire that is in paralel to the multimeters in order to have suficient current
      ...when the Arduino go in sleep mode, I take out the direct wire and the remained wire of multimeter will misure the uA šŸ™‚

      Thanks a lot for the answer.
      Denis

      posted in Hardware
      DenisJ
      DenisJ
    • RE: What I must buy in order to measure mAh please

      Yes now I know šŸ™‚
      But the tester that I had before this one,
      when it was switching from mA to uA, it was reseting the board.

      Now all is greate šŸ™‚
      Thanks a lot

      posted in Hardware
      DenisJ
      DenisJ
    • RE: New simply node sensor project - please some advise

      @skywatch said in New simply node sensor project - please some advise:

      Measure the current drawn by the radio module in transmit. Small batteries may not last long if it is too high (say more than 20-30mA).2,
      Do not use tantalum caps. They can have high ESR and have an ability to fail as a short circuit. Try ceramic SMD caps instead.

      I just misure the power consume of the RFM69 radio and it's around 15mA max:
      1e5d1c8c-e215-442a-9109-736ea5fb4f46-image.png
      So you think it's ok ?
      This is the develop project and here I use the 1000uF electrolytic capacitor (don't know if in this case help the radio power)

      So for the cap please tell me... I must put a ceramic with out polarization ?
      If yes, do you think this one it's ok please ? ...they have no disponibility for bigger than 220uF

      Thanks a lot for your help
      Denis

      p.s. in the mean time I found this one that have only 7 mΩ MSR
      Do you think it's ok please ?

      posted in Hardware
      DenisJ
      DenisJ

    Latest posts made by DenisJ

    • RE: Read the Digoo DG-R8H temp/humidity sensor

      @barrymoules Hi there,
      yes I still have about 8 of this sensors, but I don't use it anymore.
      It's not work with MySensors... only with OpenMqttGateway (or maybe else software)
      If you need it I can send you 8 of this sensors
      Obviously we make a less price then the official (and if you are in Europe for shipping cost).

      Denis

      posted in Hardware
      DenisJ
      DenisJ
    • RE: node-red-contrib-mysensors release thread

      @tbowmo said in node-red-contrib-mysensors release thread:

      e-assistant and their spe

      Thanks a lot @tbowmo

      Denis

      posted in Node-RED
      DenisJ
      DenisJ
    • RE: šŸ’¬ MYSController

      Sorry if I reopen this page... can I use MySController on e gateway with ESP32 please ?
      I can't find any installation doc.
      Thanks a lot
      Denis

      posted in Announcements
      DenisJ
      DenisJ
    • RE: node-red-contrib-mysensors release thread

      No problem @electrik I have already set the Node-Red to translate my node sensor in human leggibile data šŸ™‚
      d1a67cd0-fb8d-4e79-833f-a246ef208f5b-image.png

      And now I can see it like this:
      681efe88-e2e9-4ff8-8090-835fe1763a20-image.png

      All ok and thanks a lot for the help
      Denis

      posted in Node-RED
      DenisJ
      DenisJ
    • RE: node-red-contrib-mysensors release thread

      @electrik said in node-red-contrib-mysensors release thread:

      build-essentials

      I try it but it give me same errore.
      efe0a31c-b22f-4edb-b186-f4e0157e0eb4-image.png

      I think that that package must be here in this link like the error log tell
      Do you have Home Assistant installed ? if yes... do you have this "essentials" installed also ?
      Thanks again
      Denis

      posted in Node-RED
      DenisJ
      DenisJ
    • RE: node-red-contrib-mysensors release thread

      @electrik said in node-red-contrib-mysensors release thread:

      system_packages
      I have try to insert in the system_packages like this:

      86f16d43-4072-42b7-8a5b-a0eaf72ed908-image.png

      But it give me errore when start:
      cff61c5d-af7d-433f-b61b-4020f2bd7858-image.png

      I think I'll make some translate node by my self
      Thanks a lot again

      Denis

      posted in Node-RED
      DenisJ
      DenisJ
    • RE: node-red-contrib-mysensors release thread

      @tbowmo said in node-red-contrib-mysensors release thread:

      apt install build-essentials

      I think I have not the apt inside of Node_red docker.
      04b55f00-fe0e-4ab0-b0a3-a2e4762158f8-image.png

      Can I install it from outside in this case.
      Sorry but I'm very beginner so I need some basic info in this case.

      Thanks a lot again
      Denis

      posted in Node-RED
      DenisJ
      DenisJ
    • RE: node-red-contrib-mysensors release thread

      @tbowmo said in node-red-contrib-mysensors release thread:

      ed 1.1.2, without problem

      Thanks for the answer.
      I have now Node-Red 1.3.3 under Home Assistant installed.
      But I must search on net how can I install the build-essentials from the docker console.

      Do you know if is there some other node that I can install from the palette that maybe incluse the build-essentials please ?

      Thanks again
      Denis

      posted in Node-RED
      DenisJ
      DenisJ
    • RE: GWT:TPC:CONNECTING

      @smilvert said in GWT:TPC:CONNECTING:

      A ticket is raised quite long time ago

      Thanks a lot... I put my case there also, maybe can help.
      That gui use same ESP32 DevKit V1 like me.

      Strange that I didn't fount that page in this 2 days of research.

      Thanks a lot
      Denis

      posted in Troubleshooting
      DenisJ
      DenisJ
    • RE: node-red-contrib-mysensors release thread

      Hi there all,
      I just try to install the node in my Node-Red (Home Assistant)
      and I got error:

      -----------------------------------------------------------
      2021-04-30T07:18:09.293Z Install : node-red-contrib-mysensors 3.3.1
      
      2021-04-30T07:18:07.624Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-contrib-mysensors@3.3.1
      2021-04-30T07:18:11.638Z [err] npm WARN deprecated @types/moment-timezone@0.5.30: This is a stub types definition. moment-timezone provides its own type definitions, so you do not need this installed.
      2021-04-30T07:18:14.813Z [err] npm WARN
      2021-04-30T07:18:14.813Z [err]  deprecated node-pre-gyp@0.11.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
      2021-04-30T07:18:19.176Z [out] 
      2021-04-30T07:18:19.176Z [out] > sqlite3@4.2.0 install /config/node-red/node_modules/sqlite3
      2021-04-30T07:18:19.176Z [out] > node-pre-gyp install --fallback-to-build
      2021-04-30T07:18:19.176Z [out] 
      2021-04-30T07:18:19.551Z [err] node-pre-gyp
      2021-04-30T07:18:19.552Z [err]  WARN Using request for node-pre-gyp https download 
      2021-04-30T07:18:20.511Z [err] node-pre-gyp
      2021-04-30T07:18:20.512Z [err]  WARN Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/node-v83-linux-x64.tar.gz 
      2021-04-30T07:18:20.512Z [err] node-pre-gyp WARN Pre-built binaries not found for sqlite3@4.2.0 and node@14.16.1 (node-v83 ABI, musl) (falling back to source compile with node-gyp) 
      2021-04-30T07:18:21.714Z [err] gyp
      2021-04-30T07:18:21.715Z [err]  
      2021-04-30T07:18:21.715Z [err] ERR!
      2021-04-30T07:18:21.715Z [err]  
      2021-04-30T07:18:21.716Z [err] build error
      2021-04-30T07:18:21.716Z [err]  
      2021-04-30T07:18:21.716Z [err] gyp
      2021-04-30T07:18:21.717Z [err]  
      2021-04-30T07:18:21.717Z [err] ERR!
      2021-04-30T07:18:21.717Z [err]  
      2021-04-30T07:18:21.717Z [err] stack
      2021-04-30T07:18:21.717Z [err]  Error: not found: make
      2021-04-30T07:18:21.717Z [err] gyp
      2021-04-30T07:18:21.717Z [err]  
      2021-04-30T07:18:21.717Z [err] ERR!
      2021-04-30T07:18:21.717Z [err]  
      2021-04-30T07:18:21.717Z [err] stack
      2021-04-30T07:18:21.717Z [err]      at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12)
      2021-04-30T07:18:21.718Z [err] gyp
      2021-04-30T07:18:21.718Z [err]  
      2021-04-30T07:18:21.718Z [err] ERR!
      2021-04-30T07:18:21.718Z [err]  
      2021-04-30T07:18:21.718Z [err] stack
      2021-04-30T07:18:21.718Z [err]      at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19)
      2021-04-30T07:18:21.718Z [err] gyp
      2021-04-30T07:18:21.718Z [err]  
      2021-04-30T07:18:21.718Z [err] ERR!
      2021-04-30T07:18:21.718Z [err]  
      2021-04-30T07:18:21.718Z [err] stack
      2021-04-30T07:18:21.719Z [err]      at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)
      2021-04-30T07:18:21.719Z [err] gyp
      2021-04-30T07:18:21.719Z [err]  
      2021-04-30T07:18:21.719Z [err] ERR!
      2021-04-30T07:18:21.719Z [err]  
      2021-04-30T07:18:21.719Z [err] stack
      2021-04-30T07:18:21.719Z [err]      at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16
      2021-04-30T07:18:21.719Z [err] gyp
      2021-04-30T07:18:21.719Z [err]  
      2021-04-30T07:18:21.719Z [err] ERR!
      2021-04-30T07:18:21.720Z [err]  
      2021-04-30T07:18:21.720Z [err] stack
      2021-04-30T07:18:21.720Z [err]      at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5
      2021-04-30T07:18:21.720Z [err] gyp
      2021-04-30T07:18:21.720Z [err]  
      2021-04-30T07:18:21.720Z [err] ERR!
      2021-04-30T07:18:21.720Z [err]  
      2021-04-30T07:18:21.720Z [err] stack
      2021-04-30T07:18:21.720Z [err]      at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
      2021-04-30T07:18:21.720Z [err] gyp
      2021-04-30T07:18:21.720Z [err]  
      2021-04-30T07:18:21.721Z [err] ERR!
      2021-04-30T07:18:21.721Z [err]  
      2021-04-30T07:18:21.721Z [err] stack
      2021-04-30T07:18:21.721Z [err]      at FSReqCallback.oncomplete (fs.js:183:21)
      2021-04-30T07:18:21.721Z [err] gyp
      2021-04-30T07:18:21.721Z [err]  
      2021-04-30T07:18:21.721Z [err] ERR!
      2021-04-30T07:18:21.721Z [err]  
      2021-04-30T07:18:21.721Z [err] System
      2021-04-30T07:18:21.722Z [err]  Linux 5.0.0-27-generic
      2021-04-30T07:18:21.722Z [err] gyp
      2021-04-30T07:18:21.722Z [err]  
      2021-04-30T07:18:21.722Z [err] ERR!
      2021-04-30T07:18:21.722Z [err]  
      2021-04-30T07:18:21.722Z [err] command
      2021-04-30T07:18:21.722Z [err]  "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/config/node-red/node_modules/sqlite3/lib/binding/node-v83-linux-x64/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/config/node-red/node_modules/sqlite3/lib/binding/node-v83-linux-x64" "--napi_version=7" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v83"
      2021-04-30T07:18:21.722Z [err] gyp
      2021-04-30T07:18:21.722Z [err]  
      2021-04-30T07:18:21.722Z [err] ERR!
      2021-04-30T07:18:21.723Z [err]  
      2021-04-30T07:18:21.723Z [err] cwd
      2021-04-30T07:18:21.723Z [err]  /config/node-red/node_modules/sqlite3
      2021-04-30T07:18:21.723Z [err] gyp
      2021-04-30T07:18:21.723Z [err]  
      2021-04-30T07:18:21.723Z [err] ERR!
      2021-04-30T07:18:21.723Z [err]  
      2021-04-30T07:18:21.723Z [err] node -v
      2021-04-30T07:18:21.724Z [err]  v14.16.1
      2021-04-30T07:18:21.724Z [err] gyp
      2021-04-30T07:18:21.724Z [err]  
      2021-04-30T07:18:21.724Z [err] ERR!
      2021-04-30T07:18:21.724Z [err]  
      2021-04-30T07:18:21.724Z [err] node-gyp -v
      2021-04-30T07:18:21.725Z [err]  v5.1.0
      2021-04-30T07:18:21.725Z [err] gyp
      2021-04-30T07:18:21.725Z [err]  
      2021-04-30T07:18:21.725Z [err] ERR!
      2021-04-30T07:18:21.725Z [err]  
      2021-04-30T07:18:21.725Z [err] not ok
      2021-04-30T07:18:21.725Z [err]  
      2021-04-30T07:18:21.730Z [err] node-pre-gyp
      2021-04-30T07:18:21.730Z [err]  ERR! build error 
      2021-04-30T07:18:21.731Z [err] node-pre-gyp ERR! 
      2021-04-30T07:18:21.731Z [err] stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/config/node-red/node_modules/sqlite3/lib/binding/node-v83-linux-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/config/node-red/node_modules/sqlite3/lib/binding/node-v83-linux-x64 --napi_version=7 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1)
      2021-04-30T07:18:21.731Z [err] node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/config/node-red/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
      2021-04-30T07:18:21.731Z [err] node-pre-gyp 
      2021-04-30T07:18:21.731Z [err] ERR! stack     at ChildProcess.emit (events.js:315:20)
      2021-04-30T07:18:21.731Z [err] node-pre-gyp ERR! 
      2021-04-30T07:18:21.731Z [err] stack     at maybeClose (internal/child_process.js:1048:16)
      2021-04-30T07:18:21.731Z [err] node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
      2021-04-30T07:18:21.731Z [err] node-pre-gyp ERR! 
      2021-04-30T07:18:21.731Z [err] System Linux 5.0.0-27-generic
      2021-04-30T07:18:21.731Z [err] node-pre-gyp
      2021-04-30T07:18:21.731Z [err]  ERR! command "/usr/bin/node" "/config/node-red/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
      2021-04-30T07:18:21.731Z [err] node-pre-gyp
      2021-04-30T07:18:21.731Z [err]  ERR! cwd /config/node-red/node_modules/sqlite3
      2021-04-30T07:18:21.731Z [err] node-pre-gyp
      2021-04-30T07:18:21.731Z [err]  ERR! node -v v14.16.1
      2021-04-30T07:18:21.732Z [err] node-pre-gyp ERR! node-pre-gyp -v v0.11.0
      2021-04-30T07:18:21.732Z [err] node-pre-gyp ERR! not ok 
      2021-04-30T07:18:21.732Z [out] Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/config/node-red/node_modules/sqlite3/lib/binding/node-v83-linux-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/config/node-red/node_modules/sqlite3/lib/binding/node-v83-linux-x64 --napi_version=7 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1)
      2021-04-30T07:18:22.158Z [err] npm ERR!
      2021-04-30T07:18:22.158Z [err]  code ELIFECYCLE
      2021-04-30T07:18:22.158Z [err] npm ERR! errno 1
      2021-04-30T07:18:22.164Z [err] npm ERR!
      2021-04-30T07:18:22.164Z [err]  sqlite3@4.2.0 install: `node-pre-gyp install --fallback-to-build`
      2021-04-30T07:18:22.164Z [err] npm ERR! Exit status 1
      2021-04-30T07:18:22.164Z [err] npm ERR! 
      2021-04-30T07:18:22.164Z [err] npm 
      2021-04-30T07:18:22.164Z [err] ERR! Failed at the sqlite3@4.2.0 install script.
      2021-04-30T07:18:22.164Z [err] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      2021-04-30T07:18:22.178Z [err] 
      2021-04-30T07:18:22.178Z [err] npm ERR! A complete log of this run can be found in:
      2021-04-30T07:18:22.178Z [err] npm ERR!     /root/.npm/_logs/2021-04-30T07_18_22_169Z-debug.log
      2021-04-30T07:18:22.201Z rc=1
      

      Is there still possibility to install it please ?
      Thanks a lot
      Denis

      posted in Node-RED
      DenisJ
      DenisJ