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
narfN

narf

@narf
About
Posts
22
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Raspberry gateway: small range
    narfN narf

    so i took a good look but mostly i found your recommendation for the ebyte modules.
    are we talking about this one? https://it.aliexpress.com/item/CDEBYTE-2PCS-Lot-E01-ML01D-Wireless-Transceiver-For-Arduino-nRF24L01-2-4GHz-Antenna-Module-For-Microcontroll/32803704874.html?aff_platform=aaf&cpt=1542663609771&sk=cMM8rUbm&aff_trace_key=1fc52e06d7a94d0096aabebefb8bb607-1542663609771-06798-cMM8rUbm&terminal_id=f538d8e92d1f481098e725b32d788ce6

    cd-ebyte?
    i won't need a stabiliser for the Sensebender Micro board, right? on every build i found a radio connected directly mounted on the board...

    Sorry for the bis confusion...

    Hardware

  • Raspberry gateway: small range
    narfN narf

    thanks @alowhum !
    so i'll just need 1 (one) like this for my gateway http://s.click.aliexpress.com/e/c4CU7enO ?
    could you post (pm) me an example for a "red eByte module" (your link for "nano wireless board" leads to searchpage for "nrf24l01 ebyte" - but they are all green...)? i usually have to wait ~60 days until i get my aliexpress orderer items, so i really would like to get the "right one" with my first order...

    and what's up with the nano wireless board?

    Hardware

  • Raspberry gateway: small range
    narfN narf

    Hello!
    i was finally able to set up the gateway and some Sensebender Micro. But as i moved the nodes to different rooms i noticed that the gateway has very poor coverage :(
    i used a Raspberry (1) with these components:
    https://it.gearbest.com/transmitters-receivers-module/pp_453011.html
    https://www.amazon.it/dp/B016BAPC0K/ref=pe_386201_41597321_TE_item

    The Sensebender Micro is equipped with only NRF24L01 Radio.

    What could i do to improve the gateways range? would NRF24L01 modules with antennas (f.e.: these) perform better or should i go with RFM69?

    cheers!
    Peter

    Hardware

  • [solved] raspberry gateway - installation problems (and more)
    narfN narf

    alright! now with new programmer a was able to upload the "standard" sketch to my sensebender micro and the gateway even gets "something":

    Nov 14 20:11:52 DEBUG TSF:MSG:READ,3-3-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    Nov 14 20:11:52 DEBUG TSF:MSG:BC
    Nov 14 20:11:52 DEBUG TSF:MSG:FPAR REQ,ID=3
    Nov 14 20:11:52 DEBUG TSF:PNG:SEND,TO=0
    Nov 14 20:11:52 DEBUG TSF:CKU:OK
    Nov 14 20:11:52 DEBUG TSF:MSG:GWL OK
    Nov 14 20:11:52 DEBUG TSF:MSG:SEND,0-0-3-3,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=O                                                                                                                                                             K:0
    Nov 14 20:11:54 DEBUG TSF:MSG:READ,3-3-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1
    Nov 14 20:11:54 DEBUG TSF:MSG:PINGED,ID=3,HP=1
    Nov 14 20:11:54 DEBUG TSF:MSG:SEND,0-0-3-3,s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=                                                                                                                                                             OK:1
    Nov 14 20:11:54 DEBUG TSF:MSG:READ,3-3-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFF                                                                                                                                                             FFFFFF0300
    Nov 14 20:11:54 DEBUG GWT:TPS:TOPIC=mysensors-out/3/255/4/0/0,MSG SENT
    Nov 14 20:11:54 DEBUG TSF:MSG:READ,3-3-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100
    Nov 14 20:11:54 DEBUG TSF:MSG:SEND,0-0-3-3,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=                                                                                                                                                             OK:0100
    Nov 14 20:11:54 DEBUG TSF:MSG:READ,3-3-0,s=255,c=0,t=17,pt=0,l=5,sg=0:2.1.1
    Nov 14 20:11:54 DEBUG GWT:TPS:TOPIC=mysensors-out/3/255/0/0/17,MSG SENT
    Nov 14 20:11:54 DEBUG TSF:MSG:READ,3-3-0,s=255,c=3,t=6,pt=1,l=1,sg=0:0
    Nov 14 20:11:54 DEBUG GWT:TPS:TOPIC=mysensors-out/3/255/3/0/6,MSG SENT
    Nov 14 20:11:56 DEBUG TSF:MSG:READ,3-3-0,s=255,c=3,t=11,pt=0,l=17,sg=0:Sensebend                                                                                                                                                             er Micro
    Nov 14 20:11:56 DEBUG GWT:TPS:TOPIC=mysensors-out/3/255/3/0/11,MSG SENT
    Nov 14 20:11:56 DEBUG TSF:MSG:READ,3-3-0,s=255,c=3,t=12,pt=0,l=3,sg=0:1.4
    Nov 14 20:11:56 DEBUG GWT:TPS:TOPIC=mysensors-out/3/255/3/0/12,MSG SENT
    Nov 14 20:11:56 DEBUG TSF:MSG:READ,3-3-0,s=1,c=0,t=6,pt=0,l=0,sg=0:
    Nov 14 20:11:56 DEBUG GWT:TPS:TOPIC=mysensors-out/3/1/0/0/6,MSG SENT
    Nov 14 20:11:56 DEBUG TSF:MSG:READ,3-3-0,s=2,c=0,t=7,pt=0,l=0,sg=0:
    Nov 14 20:11:56 DEBUG GWT:TPS:TOPIC=mysensors-out/3/2/0/0/7,MSG SENT
    Nov 14 20:11:56 DEBUG TSF:MSG:READ,3-3-0,s=255,c=3,t=26,pt=1,l=1,sg=0:2
    Nov 14 20:11:56 DEBUG TSF:MSG:SEND,0-0-3-3,s=255,c=3,t=27,pt=1,l=1,sg=0,ft=0,st=                                                                                                                                                             OK:1
    Nov 14 20:11:56 DEBUG TSF:MSG:READ,3-3-0,s=1,c=1,t=0,pt=7,l=5,sg=0:24.7
    Nov 14 20:11:56 DEBUG GWT:TPS:TOPIC=mysensors-out/3/1/1/0/0,MSG SENT
    Nov 14 20:11:56 DEBUG TSF:MSG:READ,3-3-0,s=2,c=1,t=1,pt=2,l=2,sg=0:55
    Nov 14 20:11:56 DEBUG GWT:TPS:TOPIC=mysensors-out/3/2/1/0/1,MSG SENT
    Nov 14 20:11:56 DEBUG TSF:MSG:READ,3-3-0,s=255,c=3,t=0,pt=1,l=1,sg=0:88
    Nov 14 20:11:56 DEBUG GWT:TPS:TOPIC=mysensors-out/3/255/3/0/0,MSG SENT
    

    is this right? and if so, how can i translate all this stuff? :eye:

    ohhhhhhh. this makes sense:

    [20:17:18] openhabian@openHABianPi:~$ mosquitto_sub -t mysensors-out/#
    22.3
    61
    

    cool cool. now i just have to figure out how to define my items on the openhab part!
    cheers

    Troubleshooting

  • [solved] raspberry gateway - installation problems (and more)
    narfN narf

    oh boi. had to connect the radio to the board mentioned in the opening post:
    alt text
    and connect the other boards to my raspberry... now it seems to work! unfortunately i can't test it because i'm not able to upload anything to my Sensebender Micro boards. now i'm waiting for my new ftdi programmer :rage:

    Troubleshooting

  • [solved] raspberry gateway - installation problems (and more)
    narfN narf

    here's the wiring. i checked 3 times and now i rewired again with another nrf24 module - error remains the same:

    3_1541951033116_IMG_20181111_163508.jpg 2_1541951033116_IMG_20181111_163457.jpg 1_1541951033116_IMG_20181111_163438.jpg 0_1541951033116_IMG_20181111_163421.jpg

    Troubleshooting

  • [solved] raspberry gateway - installation problems (and more)
    narfN narf

    Hello!
    I just tried to set up a raspberry gateway according to this https://www.mysensors.org/build/raspberry .
    (on raspberry1). everything went smooth, but somehow it's not working:

    pi@MysensorPi:~/MySensors $ ./configure --my-gateway=mqtt --my-controller-ip-address=127.0.0.1 --my-mqtt-publish-topic-prefix=mysensors-out --my-mqtt-subscribe-topic-prefix=mysensors-in --my-mqtt-client-id=mygateway1
    
    pi@MysensorPi:~/MySensors $ sudo ./bin/mysgw
    Nov 10 22:35:30 INFO  Config file /etc/mysensors.conf does not exist, creating new file.
    Nov 10 22:35:30 INFO  Starting gateway...
    Nov 10 22:35:30 INFO  Protocol version - 2.3.0
    Nov 10 22:35:30 INFO  EEPROM file /etc/mysensors.eeprom does not exist, creating new file.
    Nov 10 22:35:30 DEBUG MCO:BGN:INIT GW,CP=RNNGL---,VER=2.3.0
    Nov 10 22:35:30 DEBUG TSF:LRT:OK
    Nov 10 22:35:30 DEBUG TSM:INIT
    Nov 10 22:35:30 DEBUG TSF:WUR:MS=0
    Nov 10 22:35:30 DEBUG !TSM:INIT:TSP FAIL
    Nov 10 22:35:30 DEBUG TSM:FAIL:CNT=1
    Nov 10 22:35:30 DEBUG TSM:FAIL:DIS
    Nov 10 22:35:30 DEBUG TSF:TDI:TSL
    

    so now on i should ask here =)
    i used one of these radios (recomendation from @gohan in 2017 :)): https://gearbest.com/transmitters-receivers-module/pp_453011.html and connected it accordingly (except i used 5v pin for VCC)
    first of all i don't understand why it's not working when there were just top c&p a few lines?

    an then i'm not really sure in general what i need to do. what i WANT to do:
    sensors > raspberry pi gateway > openhab controller
    mosquitto is running on my openhab installation, so mqtt would be ok. i searched for a while, but i couldn't find anything noob-proved...

    Troubleshooting

  • [SOLVED] OH2 - Mosquito - Raspi Mysensors Gateway
    narfN narf

    okay :(
    i'll take a look around, hopefully i can get a few somewhere.
    does the log indicate that there's a problem with radio? (length?)

    Troubleshooting

  • [SOLVED] OH2 - Mosquito - Raspi Mysensors Gateway
    narfN narf

    the gateway "log" is some posts above.

    pi@raspgateway:~/MySensors $ sudo ./bin/mysgw -d                                                                                  mysgw: Starting gateway...
    mysgw: Protocol version - 2.1.1
    mysgw: MCO:BGN:INIT GW,CP=RNNG---,VER=2.1.1
    mysgw: TSF:LRT:OK
    mysgw: TSM:INIT
    mysgw: TSF:WUR:MS=0
    mysgw: TSM:INIT:TSP OK
    mysgw: TSM:INIT:GW MODE
    mysgw: TSM:READY:ID=0,PAR=0,DIS=0
    mysgw: MCO:REG:NOT NEEDED
    mysgw: MCO:BGN:STP
    mysgw: MCO:BGN:INIT OK,TSP=1
    mysgw: Attempting MQTT connection...
    mysgw: connected to 192.168.178.183
    mysgw: MQTT connected
    mysgw: Sending message on topic: mysensors-out/0/255/0/0/18
    mysgw: TSF:MSG:READ,255-255-255,s=255,c=7,t=255,pt=7,l=25,sg=1: 0
    mysgw: !TSF:MSG:LEN,7!=32
    mysgw: TSF:MSG:READ,255-255-0,s=255,c=3,t=3,pt=0,l=0,sg=0:
    mysgw: Sending message on topic: mysensors-out/255/255/3/0/3
    mysgw: TSF:MSG:READ,255-255-0,s=255,c=3,t=3,pt=0,l=0,sg=0:
    mysgw: !TSF:MSG:LEN,0!=7
    mysgw: TSF:MSG:READ,255-255-255,s=255,c=7,t=255,pt=7,l=25,sg=1: 0
    

    should i provide another log?

    i didn't use any capacitors, neither gateway, nor node.
    here isn't anything regarding capacitors.
    and [here](lhttps://www.mysensors.org/build/raspberry under section "NRF24L01+ Radio" it only says "If you are using the nrf24 PA/LNA version you need to use a 5V->3.3V regulator.", but i'm using these so i thought it's ok without using regulators.
    or is a regulator something different than a capacitor?

    Troubleshooting

  • [SOLVED] OH2 - Mosquito - Raspi Mysensors Gateway
    narfN narf

    ok, thought this would be auto assigned: "Define a static node address, remove if you want auto address assignment"
    new debug: everything ok with this sensor?
    debug

    Next Stop Gateway? Should i just try another radio?

    Troubleshooting

  • [SOLVED] OH2 - Mosquito - Raspi Mysensors Gateway
    narfN narf

    @gohan said in [SOLVED] OH2 - Mosquito - Raspi Mysensors Gateway:

    you need to install library for SI7021

    took libraries from here: https://github.com/mysensors/MySensorsArduinoExamples
    will investigate further.

    i think i got the sensor up and running and it can't find a gateway?

    debug

    Troubleshooting

  • [SOLVED] OH2 - Mosquito - Raspi Mysensors Gateway
    narfN narf

    i found the board but i don't get how to load the sketch ON the board :/
    first thought was to c&p the code from https://github.com/mysensors/SensebenderMicro/tree/master/Arduino/SensebenderMicro

    fatal error: SI7021.h: No such file or directory
    

    second thought was to look for an example sketch. no luck.

    i have other radios. but i'd really love to upload the (right) sketch first... just... how?

    @hek said in [SOLVED] OH2 - Mosquito - Raspi Mysensors Gateway:

    Did you decoupling capacitor on gateway? Do you have more radios to test with in the case one is broken?

    did i what exactly?
    all i can say that i wired the gateway with one of the specified NRF24L01+ Radios.
    Same radio on sensebender.

    Troubleshooting

  • [SOLVED] OH2 - Mosquito - Raspi Mysensors Gateway
    narfN narf

    what's next? i tried to upload the sensebender micro sketch (couldn't find it in the lib) but had several errors. couldn't find a beginner-beginner tutorial on how to upload a first sketch.
    Generally this output points to an error with gateway or with sensor?

    Troubleshooting

  • [SOLVED] OH2 - Mosquito - Raspi Mysensors Gateway
    narfN narf

    alright! today (finally!) i got my sensebender micro. they should send something right away, right?
    so i plugged one in and got this on the gateway:

    pi@raspgateway:~/MySensors $ sudo ./bin/mysgw -d                                                                                  mysgw: Starting gateway...
    mysgw: Protocol version - 2.1.1
    mysgw: MCO:BGN:INIT GW,CP=RNNG---,VER=2.1.1
    mysgw: TSF:LRT:OK
    mysgw: TSM:INIT
    mysgw: TSF:WUR:MS=0
    mysgw: TSM:INIT:TSP OK
    mysgw: TSM:INIT:GW MODE
    mysgw: TSM:READY:ID=0,PAR=0,DIS=0
    mysgw: MCO:REG:NOT NEEDED
    mysgw: MCO:BGN:STP
    mysgw: MCO:BGN:INIT OK,TSP=1
    mysgw: Attempting MQTT connection...
    mysgw: connected to 192.168.178.183
    mysgw: MQTT connected
    mysgw: Sending message on topic: mysensors-out/0/255/0/0/18
    mysgw: TSF:MSG:READ,255-255-255,s=255,c=7,t=255,pt=7,l=25,sg=1: 0
    mysgw: !TSF:MSG:LEN,7!=32
    mysgw: TSF:MSG:READ,255-255-0,s=255,c=3,t=3,pt=0,l=0,sg=0:
    mysgw: Sending message on topic: mysensors-out/255/255/3/0/3
    mysgw: TSF:MSG:READ,255-255-0,s=255,c=3,t=3,pt=0,l=0,sg=0:
    mysgw: !TSF:MSG:LEN,0!=7
    mysgw: TSF:MSG:READ,255-255-255,s=255,c=7,t=255,pt=7,l=25,sg=1: 0
    mysgw: !TSF:MSG:LEN,7!=32
    

    does this mean anything? i don't get it at all...

    Troubleshooting

  • [SOLVED] OH2 - Mosquito - Raspi Mysensors Gateway
    narfN narf

    i'm a simple man, i do what the tutorials says =)
    Thank you very much!

    Troubleshooting

  • [SOLVED] OH2 - Mosquito - Raspi Mysensors Gateway
    narfN narf

    recompiling did the trick:

    pi@raspgateway:~/MySensors $ sudo ./bin/mysgw -d
    mysgw: Starting gateway...
    mysgw: Protocol version - 2.1.1
    mysgw: MCO:BGN:INIT GW,CP=RNNG---,VER=2.1.1
    mysgw: TSF:LRT:OK
    mysgw: TSM:INIT
    mysgw: TSF:WUR:MS=0
    mysgw: TSM:INIT:TSP OK
    mysgw: TSM:INIT:GW MODE
    mysgw: TSM:READY:ID=0,PAR=0,DIS=0
    mysgw: MCO:REG:NOT NEEDED
    mysgw: MCO:BGN:STP
    mysgw: MCO:BGN:INIT OK,TSP=1
    mysgw: Attempting MQTT connection...
    mysgw: connected to 192.168.178.160
    mysgw: MQTT connected
    mysgw: Sending message on topic: mysensors-out/0/255/0/0/18
    
    Troubleshooting

  • [SOLVED] OH2 - Mosquito - Raspi Mysensors Gateway
    narfN narf

    no - but i can try!
    i'll just have to run

    make
    

    and

    sudo make install
    

    again, right?

    Troubleshooting

  • [SOLVED] OH2 - Mosquito - Raspi Mysensors Gateway
    narfN narf

    anybody? :(

    Troubleshooting

  • [SOLVED] OH2 - Mosquito - Raspi Mysensors Gateway
    narfN narf

    Hello!
    While i'm waiting for my hardware (ordered a couple Sensebender Micro) i tried to set up Controller and Gateway.
    I followed the instructions from here here and configured with

    ./configure --my-gateway=mqtt --my-controller-ip-address=192.168.178.160 --my-mqtt-publish-topic-prefix=mysensors-out --my-mqtt-subscribe-topic-prefix=mysensors-in --my-mqtt-client-id=mygateway1
    

    But the Gateway doesn't connect to the controller:

    pi@raspgateway:~/MySensors $ sudo mysgw -d
    mysgw: Starting gateway...
    mysgw: Protocol version - 2.1.1
    mysgw: MCO:BGN:INIT GW,CP=RNNG---,VER=2.1.1
    mysgw: TSF:LRT:OK
    mysgw: TSM:INIT
    mysgw: TSF:WUR:MS=0
    mysgw: TSM:INIT:TSP OK
    mysgw: TSM:INIT:GW MODE
    mysgw: TSM:READY:ID=0,PAR=0,DIS=0
    mysgw: MCO:REG:NOT NEEDED
    mysgw: Listening for connections on 0.0.0.0:5003
    mysgw: MCO:BGN:STP
    mysgw: MCO:BGN:INIT OK,TSP=1
    ...
    

    Then nothing more follows...

    On openhabian (Raspberry) i installed the MQTT Binding (via OH2 paperUI) and Mosquitto (via openhabian config tool).
    What am i missing? :/

    Thanks in advance!
    Narf!

    Troubleshooting

  • 433 Mhz Sender / Transmitter
    narfN narf

    your link to "this article" seems to be broken?
    Opening the gate's hardware isn't really a option, BUT! there is the possibilty to give a open/close command via "potential free contact" (atleast my gate-guy says so :no_mouth: ).
    there are 2 inputs, 1 for "open", 1 for "close". Would it be easier to control the gate with those contacts?

    Troubleshooting
  • Login

  • Don't have an account? Register

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