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
A

aliasdoc

@aliasdoc
About
Posts
18
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Port of MySensors Library 1.4 to Raspberry
    A aliasdoc

    Ok, post an issue in github repo. Try to compile using this command "make clean all"

    Development raspberry 1.4

  • Port of MySensors Library 1.4 to Raspberry
    A aliasdoc

    @b0rmann HI, there are no problem with this line, can you post build output.

    Development raspberry 1.4

  • Port of MySensors Library 1.4 to Raspberry
    A aliasdoc

    @busa hi, https://github.com/aliasdoc/Raspberry

    Development raspberry 1.4

  • 2.0 Discussion: Units, sensor types and protocol
    A aliasdoc

    @hek said:

    What do you mean the random number should be used for?

    I am currently trying to develop a bridge between mysensors and home kit managed with RPi and for this purpose I need an uuid different of the id used in the my sensors library and I thought the above library is a good start for the generation of a uuid (almost unique).

    Announcements

  • 2.0 Discussion: Units, sensor types and protocol
    A aliasdoc

    Hi, I think we could integrate an uuid system in protocol, like this one https://code.google.com/p/tinkerit/wiki/TrueRandom .

    Announcements

  • Port of MySensors Library 1.4 to Raspberry
    A aliasdoc

    Hi all, I port 1.4 library to Raspberry, it's not complete but is functional, check raspberry repo in github

    Development raspberry 1.4

  • good karma
    A aliasdoc

    Hi @hek, i check crc8message() function and it appears that thje result is not the same in RPi and arduino ( ?? ) and there are another problem with RF24 drivers, RPi version in the development repo is not the same as arduino version but very similar. The write() function always return false with unicast, I need help with driver, any volunteers ?? :)

    Controllers

  • good karma
    A aliasdoc

    yes I use the same, this one https://github.com/mysensors/Arduino/tree/development/libraries/RF24/RPi for RPI and this https://github.com/mysensors/Arduino/tree/development/libraries/RF24 for arduino node. In the first call, all is ok but after the I_PING all calls fails :s

    Controllers

  • good karma
    A aliasdoc

    Ok, now I ported the library to RPI and make tests but the first send command from node is ok, but after it fails
    RPI debug:

    0;0;4;9;Device startup complete.
    0;0;4;8;read: 255-255-255 s=255,c=4,t=7,cr=ec:
    0;0;4;8;read: 255-255-255 s=255,c=4,t=7,cr=ec:
    0;0;4;8;read: 255-255-0 s=255,c=4,t=3,cr=ec:
    0;0;4;8;read: 255-255-0 s=255,c=4,t=3,cr=ec:
    0;0;4;8;read: 255-255-0 s=255,c=4,t=3,cr=ec:
    0;0;4;8;read: 255-255-0 s=255,c=4,t=3,cr=ec:
    0;0;4;8;read: 255-255-0 s=255,c=4,t=3,cr=ec:
    0;0;4;8;read: 255-255-0 s=255,c=4,t=3,cr=ec:
    0;0;4;8;read: 255-255-0 s=255,c=4,t=3,cr=ec:
    0;0;4;8;read: 255-255-0 s=255,c=4,t=3,cr=ec:
    0;0;4;8;read: 255-255-0 s=255,c=4,t=3,cr=ec:
    0;0;4;8;read: 255-255-0 s=255,c=4,t=3,cr=ec:

    and arduino node debug:

    send: 255-255-255-255 s=255,c=4,t=7, st=ok:
    req node id
    send: 255-255-255-0 s=255,c=4,t=3, st=fail:
    sensor started, id 255
    req node id
    send: 255-255-255-0 s=255,c=4,t=3, st=fail:
    req node id
    send: 255-255-255-0 s=255,c=4,t=3, st=fail:
    req node id
    send: 255-255-255-0 s=255,c=4,t=3, st=fail:
    req node id
    send: 255-255-255-0 s=255,c=4,t=3, st=fail:
    req node id
    send: 255-255-255-0 s=255,c=4,t=3, st=fail:

    any idea ?

    Controllers

  • good karma
    A aliasdoc

    @hek any idea to port eeprom routing table to raspberry, I think I can use a binary file to this and redefine eeprom_*() functions. What do you think about it ?

    Controllers

  • good karma
    A aliasdoc

    Thanks Hek, I'll try to port the new development version to RPi and create pull request soon ;).

    Controllers

  • good karma
    A aliasdoc

    Hi Hek :), thanks for your reply, my RPi is my gateway, i try to make my own "cloud support", for testing, I have 1 RPi running as gateway (with example on github) and 1 sensor running BatteryPowerSensor sketch (original) like this:

    (my cloud system) <-------- RPi (as gateway) <------------ arduino sensor (with BatteryPowersensor sketch)

    Do I need to start inclusion mode ?? If I understand well, this mode is for automatic ID attribution, is correct ?

    And I don't see any EEPROM routing table in serial ethernet examples.

    Sorry if my questions are stupid, I try to understand how it works.

    Controllers

  • good karma
    A aliasdoc

    thanks jendrush, i'm so stupid :-1:

    Controllers

  • good karma
    A aliasdoc

    Sorry Yveaux but I don't understand "Hek", what is this ?? thanks :)

    Controllers

  • good karma
    A aliasdoc

    Hi Yveaux and thanks, effectively, config of my arduino is 2MBPS and RPi is 1MBPS, now it communicate but in RPI, I had "Unknown route from GW" error :

    Dynamic payload size=7
    Received: from=255, to=255, childId=79, mtype=9, type=0, crc=184, ''
    Message crc ok.
    header.type=0, header.to=255, radioId=0
    Unknown route from GW

    and from arduino:

    Tx: fr=255,to=255,la=255,ne=255,ci=255,mt=4,ty=9,cr=184:
    No relay nodes was found. Trying again in 10 seconds.

    Controllers

  • good karma
    A aliasdoc

    I have one arduino uno loaded with DallasTemperatureSensor sketch and on rPi running PiGateway example

    Controllers

  • good karma
    A aliasdoc

    Hi jendrush, yes I have a capacitor of 10uF, transmission is ok with another framework (RF24network).

    Controllers

  • good karma
    A aliasdoc

    Hi all, i try to use your library in my project with Raspberry Pi as Gateway, I start with your example "piGateway", all starting is done, here debug lines:

    Starting Gateway...
    Sensor-1Gateway created...
    Hej-begin-SPI device = /dev/spidev0.0
    SPI speed = 8000000
    CE GPIO = 25
    STATUS = 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0
    RX_ADDR_P0-1 = 0x7365727631 0xabcdabc000
    RX_ADDR_P2-5 = 0xff 0xe3 0xe4 0xe5
    TX_ADDR = 0x7365727631
    RX_PW_P0-6 = 0x20 0x20 0x20 0x20 0x20 0x20
    EN_AA = 0x3f
    EN_RXADDR = 0x3f
    RF_CH = 0x4c
    RF_SETUP = 0x07
    CONFIG = 0x0f
    DYNPD/FEATURE = 0x3f 0x04
    Data Rate = 1MBPS
    Model = nRF24L01+
    CRC Length = 16 bits
    PA Power = PA_MAX
    Radio setup complete-After setupRadio-After openReadingPipe-After startListening-After serial-Begin called

    but if I run my arduino with any examples (HumiditySensor, BatteryPoweredSensor, ...) They don't communicate. I double checked wiring, all is OK. Need help thanks.

    Controllers
  • Login

  • Don't have an account? Register

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