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
kalliiK

kallii

@kallii
About
Posts
4
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Sensor cannot find Gateway
    kalliiK kallii

    Hello, im using a Rock-Pi 4b (Like Raspberry Pi 3+) i got the gateway working and connected the NRF Antenna the right way. On The Sensor Side im using the Motion Sensor Sketch to just test if the connection between sensor and gateway will be established. I also ran the Clear Eprom Example Script before i reloaded the Motion Sensor Sketch onto the Arduino.

    My Actual Situation: I ran MYSGW on my Raspberry and i used this configuration string:
    ./configure --my-gateway=ethernet --my-port=5003 --spi-spidev-device=/dev/spidev1.0 --my-transport=rf24
    And then i connected to the gateway via MysController - i dont use any other Controller right now as i just wanted to see if its working. Maybe this is the error?!

    The Console Shows:

    Apr 18 03:49:05 INFO  Starting gateway...
    Apr 18 03:49:05 INFO  Protocol version - 2.3.2
    Apr 18 03:49:05 DEBUG MCO:BGN:INIT GW,CP=RNNGL---,FQ=NA,REL=255,VER=2.3.2
    Apr 18 03:49:05 DEBUG TSF:LRT:OK
    Apr 18 03:49:05 DEBUG TSM:INIT
    Apr 18 03:49:05 DEBUG TSF:WUR:MS=0
    Apr 18 03:49:05 DEBUG TSM:INIT:TSP OK
    Apr 18 03:49:05 DEBUG TSM:INIT:GW MODE
    Apr 18 03:49:05 DEBUG TSM:READY:ID=0,PAR=0,DIS=0
    Apr 18 03:49:05 DEBUG MCO:REG:NOT NEEDED
    Apr 18 03:49:05 DEBUG Listening for connections on @����:5003
    Apr 18 03:49:05 DEBUG MCO:BGN:STP
    Apr 18 03:49:05 DEBUG MCO:BGN:INIT OK,TSP=1
    Apr 18 03:49:05 DEBUG TSM:READY:NWD REQ
    Apr 18 03:49:18 DEBUG ?TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
    

    The Sensor (based on a Arduino Nano) latest Library Files Shows

    16 MCO:BGN:INIT NODE,CP=RNNNA---,FQ=16,REL=255,VER=2.3.2
    26 TSM:INIT
    28 TSF:WUR:MS=0
    34 TSM:INIT:TSP OK
    36 TSM:FPAR
    38 ?TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    2048 !TSM:FPAR:NO REPLY
    2050 TSM:FPAR
    2052 ?TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    4060 !TSM:FPAR:NO REPLY
    4062 TSM:FPAR
    4064 ?TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    6072 !TSM:FPAR:NO REPLY
    6074 TSM:FPAR
    6076 ?TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    8084 !TSM:FPAR:FAIL
    8085 TSM:FAIL:CNT=1
    8087 TSM:FAIL:DIS
    8089 TSF:TDI:TSL
    18091 TSM:FAIL:RE-INIT
    

    Both sides, gateway and sensor have a 10uf capacitor connected to its vcc and gnd. I also brought the Sensor very close to the gateway (10centimeters...)

    (by the way when i was using the same hardware 2 years ago but not with an Raspberry as gateway but an arduino Uno it was working fine)

    Here a Screenshot of my MYSController
    2020-04-18 04_00_12-Window.png

    Troubleshooting

  • Status Display Based on WS2812b LEDS
    kalliiK kallii

    Am i able to link FastLED Commands to a switch that i will present to mysensors? Maybe a simple binary 1/0 for on/off (static colour) for a single led of a multiple LED Strip. So that i can present multiple switches (one for each led on the ws2812 module, e.x. 8)

    Development

  • Status Display Based on WS2812b LEDS
    kalliiK kallii

    Im still at the beginning. Im only getting buttons work i never started linking up the ws2812leds. It shall be very simple, 4 buttons 4 ws2812leds (no rgb leds with 4 pins each..). I found a simple code with webserver where i can control 16 ws2812leds (brightness, color, blinkmode) for each led so i can use each one to representate a status. This webserver does not include the buttons and im not very firm in programming. :(. Is mysensors able to control single ws2812 leds? i only need to turn one led on and off and set a colour like red blue green, (not too many colours).

    Development

  • Status Display Based on WS2812b LEDS
    kalliiK kallii

    Hello, i want to build a little Box with 4 ws2812b leds and 4 buttons.

    I need the possibility to turn each led on and off and to set a colour.

    The 4 buttons shall be detected as pushbuttons and the leds should be controlled manually, to indicate a status of an actor/light boolean variable.

    Development
  • Login

  • Don't have an account? Register

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