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
M

Maschler

@Maschler
About
Posts
15
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Simple deep discharge protection for battery operated sensors?
    M Maschler

    Hello everybody,

    I have a few mobile battery powered Ardruinos to measure the temperature. These are powered by 3 AA batteries. But always one of the three batteries is deeply discharged (0V!). To avoid this in the future, I wanted to ask if someone knows a simple circuit that prevents this? If it is possible, this circuit should not require much power.

    Hope I am here in the right area of the forum :)

    Hardware

  • 💬 Battery Powered Sensors
    M Maschler

    Hello together,

    I'm just trying to get the voltage measurement to work. But there is something wrong. I built everything as shown above and uploaded the program to the Arduino pro mini. The only thing I changed is the sensing Pin A0 -> A3
    In debug mode I see the following (the supply voltage is constant 3.3V):

    Battery Voltage: 3.12 V
    Battery percent: 92 %
    
    Battery Voltage: 2.40 V
    Battery percent: 71 %
    
    Battery Voltage: 2.32 V
    Battery percent: 69 %
    
    Battery Voltage: 2.31 V
    Battery percent: 68 %
    
    Battery Voltage: 2.29 V
    Battery percent: 68 %
    
    Battery Voltage: 2.30 V
    Battery percent: 68 %
    
    Battery Voltage: 2.33 V
    Battery percent: 69 %
    

    What could be the reason? That doesn't make sense to me.

    Announcements battery

  • node-red-contrib-mysensors release thread
    M Maschler

    hey @tbowmo

    I found my mistake in /home/openhabian/.npm/_logs
    I had to use sudo ....

    But I have another Question. Do I need an Arduino in-between or can I connect the modul directly to the Raspberry pi like it is done here.

    Thank you very much for your help!! :)

    Node-RED

  • How to connect RFM69 to Raspberry (Mqtt + Openhab2.0)
    M Maschler

    Hey @rozpruwacz

    there is no binding for mysensor in openhab 2.3 available at the moment (my 3. post). Or am I wrong?

    Sorry can you please give me a smal step by step introduction? Where do i have to install what?

    OpenHAB

  • How to connect RFM69 to Raspberry (Mqtt + Openhab2.0)
    M Maschler

    Thanks. But the installation does not work. Firstly, I installed Node-Red and then the npm. Afterwards I tried to install node-red-contrib-mysensors.

    OpenHAB

  • node-red-contrib-mysensors release thread
    M Maschler

    Hi,
    great work. I tried to install it, without success. First I installed node-red und npm. As operation system I use openHABian v1.4.1.

    This is the output:

    npm install node-red-contrib-mysensors
    (node:4359) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
    npm WARN package.json node-red-project@0.0.1 No repository field.
    npm WARN package.json node-red-project@0.0.1 No README data
    npm WARN package.json node-red-project@0.0.1 No license field.
    npm WARN package.json copy-descriptor@0.1.1 No README data
    npm WARN package.json log-ok@0.1.1 No README data
    npm WARN package.json log-utils@0.2.1 No README data
    npm WARN package.json object-copy@0.1.0 No README data
    npm WARN package.json static-extend@0.1.2 No README data
    npm WARN package.json ansi-wrap@0.1.0 license should be a valid SPDX license expression
    npm WARN package.json events@1.1.1 events is also the name of a node core module.
    npm WARN package.json format@0.2.2 No license field.
    npm WARN package.json jsonify@0.0.0 license should be a valid SPDX license expression
    npm WARN package.json string_decoder@1.1.1 string_decoder is also the name of a node core module.
    npm ERR! Error: Method Not Allowed
    npm ERR!     at errorResponse (/usr/share/npm/lib/cache/add-named.js:260:10)
    npm ERR!     at /usr/share/npm/lib/cache/add-named.js:203:12
    npm ERR!     at saved (/usr/share/npm/node_modules/npm-registry-client/lib/get.js:167:7)
    npm ERR!     at FSReqWrap.oncomplete (fs.js:135:15)
    npm ERR! If you need help, you may report this *entire* log,
    npm ERR! including the npm and node versions, at:
    npm ERR!     <http://github.com/npm/npm/issues>
    
    npm ERR! System Linux 4.14.52+
    npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "node-red-contrib-mysensors"
    npm ERR! cwd /home/openhabian/.node-red
    npm ERR! node -v v8.11.1
    npm ERR! npm -v 1.4.21
    npm ERR! code E405
    npm ERR!
    npm ERR! Additional logging details can be found in:
    npm ERR!     /home/openhabian/.node-red/npm-debug.log
    npm ERR! not ok code 0
    
    
    Node-RED

  • How to connect RFM69 to Raspberry (Mqtt + Openhab2.0)
    M Maschler

    Hey,
    I am a little bit helpless. I installed Openhab 2.3 and there is no Binding for mySensors. After some research I found out, that this Binding is still in progress.

    There is still another possibility by using the W5100 MQTT gateway. Do I have to use a ESP or Arduino for this? I connected the RFM69 modul directly to the raspberry pi to avoid this aditional step. How can I use the MQTT Gateway?

    OpenHAB

  • How to connect RFM69 to Raspberry (Mqtt + Openhab2.0)
    M Maschler

    @mfalkvidd Okay thanks!

    OpenHAB

  • How to connect RFM69 to Raspberry (Mqtt + Openhab2.0)
    M Maschler

    Hello everyone,
    I want to build up a sensor network basing on mySensor. The good thing at the beginning: I am able to send sensor data from one to another Arduino and can read the Data via Serial port. So far so good :)

    Now I want to integrate the sensors to openhab2 by using mqtt. I have a simple (maybe silly) question about this. How do I have to connect my RFM 69 modul to my Raspberry pi? Do I need an Arduino in-between or can I connect the modul directly to the Raspberry pi like it is done here (wiring Mqtt rfm69)?

    Tanks for Helping ! :)

    OpenHAB

  • 💬 Air Humidity Sensor - DHT
    M Maschler

    @bgunnarb
    You are right. I had to define a sensor id and now it works perfectly :) Thank you very much!

    Announcements

  • 💬 Air Humidity Sensor - DHT
    M Maschler

    Oh. I am using the sketch in from above and only changed the radio module.

    Announcements

  • 💬 Air Humidity Sensor - DHT
    M Maschler

    Hi
    thanks for reply. I am using this sketch: https://github.com/mysensors/MySensors/blob/development/examples/GatewaySerial/GatewaySerial.ino
    The only thing I changed is the radio type and I disabled the inclusion mode.

    Announcements

  • 💬 Air Humidity Sensor - DHT
    M Maschler

    Hi
    this program doesn’t work with my setup. For the Gateway I am using a Ardunio nano as a serial Gateway. Thus, I am using the GatewaySerial.ino. Even the Node is based on an Arduino nano with a DHT22 connected. The general communication between both seems to work. But I do not receive any sensor data. When testing the setup with another library for the dht sensor, it works fine (without sending to the gateway, only serial Monitor). Because I am new in the mysensors community there is perhaps a simple mistake which I don’t see… I hope you can help me finding my mistake.
    Here is a short extract of the Debugging Information’s. As far as I see there are no data transferred.
    Gateway:

    0;255;3;0;9;0 MCO:BGN:INIT GW,CP=RRNGA---,VER=2.3.0
    0;255;3;0;9;4 TSM:INIT
    0;255;3;0;9;6 TSF:WUR:MS=0
    0;255;3;0;9;9 TSM:INIT:TSP OK
    0;255;3;0;9;12 TSM:INIT:GW MODE
    0;255;3;0;9;15 TSM:READY:ID=0,PAR=0,DIS=0
    0;255;3;0;9;19 MCO:REG:NOT NEEDED
    0;255;3;0;14;Gateway startup complete.
    0;255;0;0;18;2.3.0
    0;255;3;0;9;23 MCO:BGN:STP
    0;255;3;0;9;29 MCO:BGN:INIT OK,TSP=1
    0;255;3;0;9;1907 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    0;255;3;0;9;1913 TSF:MSG:BC
    0;255;3;0;9;1916 TSF:MSG:FPAR REQ,ID=255
    0;255;3;0;9;1920 TSF:CKU:OK,FCTRL
    0;255;3;0;9;1923 TSF:MSG:GWL OK
    0;255;3;0;9;4047 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    0;255;3;0;9;5136 TSF:MSG:READ,255-255-0,s=187,c=3,t=3,pt=0,l=0,sg=0:
    255;187;3;0;3;
    0;255;3;0;9;7150 TSF:MSG:READ,255-255-0,s=155,c=3,t=3,pt=0,l=0,sg=0:
    255;155;3;0;3;
    0;255;3;0;9;9164 TSF:MSG:READ,255-255-0,s=123,c=3,t=3,pt=0,l=0,sg=0:
    255;123;3;0;3;
    0;255;3;0;9;11179 TSF:MSG:READ,255-255-0,s=91,c=3,t=3,pt=0,l=0,sg=0:
    255;91;3;0;3;
    Sensor:
    16 MCO:BGN:INIT NODE,CP=RRNNA---,VER=2.3.0
    25 TSM:INIT
    26 TSF:WUR:MS=0
    29 TSM:INIT:TSP OK
    30 TSM:FPAR
    1250 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1368 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0
    1373 TSF:MSG:FPAR OK,ID=0,D=1
    1571 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0
    1774 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0
    1977 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0
    3257 TSM:FPAR:OK
    3258 TSM:ID
    3259 TSM:ID:REQ
    3267 TSF:MSG:SEND,255-255-0-0,s=187,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    5274 TSM:ID
    5275 TSM:ID:REQ
    5283 TSF:MSG:SEND,255-255-0-0,s=155,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    7290 TSM:ID
    7291 TSM:ID:REQ
    7299 TSF:MSG:SEND,255-255-0-0,s=123,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    9306 TSM:ID
    9307 TSM:ID:REQ
    9315 TSF:MSG:SEND,255-255-0-0,s=91,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    11322 !TSM:ID:FAIL
    11323 TSM:FAIL:CNT=1
    11325 TSM:FAIL:DIS
    11327 TSF:TDI:TSL
    21330 TSM:FAIL:RE-INIT
    21332 TSM:INIT
    21335 TSM:INIT:TSP OK
    21337 TSM:FPAR

    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