Skip to content
  • 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
pit007P

pit007

@pit007
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store
About
Posts
25
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Health of mesh
    pit007P pit007

    Thx @Heinz !
    It was not planned to release it. I do this work to see the dynamic of mash functionality. To make it public the interest must be very high, I had to invest a lot of time, and I should not become in conflict with Myscontroller (best tool, I lerned a lot at the use). In general I hope it improves the quality of mysensors, because I have to deside to use it or not.

    Feature Requests

  • Health of mesh
    pit007P pit007

    @Heinz The GW is connected online to my webside and a php script collect all data and add it to a mysql database. From this DB the structure is rendered by an js library. The structure and the sensor values are updated frequently (not shown in this screenshot - take a look to ) ... in parallel I can connect the server with a controller or with MYSContoller via TCP.

    Feature Requests

  • Health of mesh
    pit007P pit007

    If I power up the GW as first ...

    canvas.png

    Feature Requests

  • Whats happen if an ; (semicolon) or /n (LF) is in the date send by a node ?
    pit007P pit007

    Multi messages like

    0;3;0;9;1;foo\n0;3;0;9;2;bar\n0;3;0;9;3;foo\n0;3;0;9;2;bar\n

    must be understand also. I got it from the tcp stream of the actual ether-gw.

    Development

  • Data type , Data unit , decade/exponent
    pit007P pit007

    Here is a screenshot of the visualizing of all node types (not all sensor types)

    index.png

    Development

  • Health of mesh
    pit007P pit007

    Hi, I build up DB entrys from the informations about the notes, repaters and the GW and create a live visualization in a browser. The goal was to see the structure of the mash and see the routing. If I power up the GW as first and then the nodes it will be worked very fine. In the other order there are missing things (i.e things the bootloader send). But the worst thing is that i'm not able to get a feedback from the node/mash about there presens (health) at a later time.

    So it would be great to have:

    -a function to scan the network (without to reset all nodes)(except sleeping nodes).

    • get information about battery powered (/sometime sleeping node) and full powered (every time responding) node.
    • In the case of a battery powered node - the info about the minimal notification time would be very interesting. So I would be able to say: "The minimal notification time is 1day, I didn't hear something from this node in the last 3 days, so I change the health state from green to yellow (warning) and again 3 days later to red (error).
    • Or, and this is my request in general for powered devices. Set the time of minimal keep_alive messages.

    A littel bit other topic:

    • OTA BL: To reduce the risk of a wrong firmware the configuration of the hardware is interesting. Means mainly running at 8 or 16Mhz. (( Maybe also the µC (future), the connection's schema of the nrf24 or in general the connected communication module - if you also plan to connect things like the rf69).

    Tell me if I overlook such features.
    -Pit

    Feature Requests

  • We are mostly using fake nRF24L01+'s, but worse fakes are emerging.
    pit007P pit007

    As I get my fakes I open a dispute and add this info - it war clear enough to get my money back ;-):
    UT84ELwXkXdXXcUQpbXV.png

    So, the chips differ in the register number 09 (CD/RPD).

    Hardware

  • We are mostly using fake nRF24L01+'s, but worse fakes are emerging.
    pit007P pit007

    @mainali The chips on your first picture I got also one time. IMO it is the nRF24L01 without the plus '+' - I detect it by comparing the register resonses with there datsheets.

    Hardware

  • Security for mySensors
    pit007P pit007

    @dzairo Late, but to answer your question: It's also XTEA with a compiled master-key and variations over node id and rf freq. And you are right, on repeated date without random input it's a bad solution... Thx for hint... -Pit

    Hardware xtea secure

  • MQTT ethernet gateway Works great for 3+ hours then stops
    pit007P pit007

    Yes - noooo :-) Right - you are able to detect the connection loss (good to know) but why do you not trigger the NE555, but to re-init the ENC28. Have you try if it response via SPI ?

    Troubleshooting

  • MySensors power consumption
    pit007P pit007

    Of cource it's powered down :-) - but is his done by a sw-command via SPI (and also the pwr-up) or by transistor ? I'm surprised about the quality of the rNF - the power down seems very good?

    Hardware battery powered

  • Security for mySensors
    pit007P pit007

    @dzairo This is also my prefered solution - perfect for cheap, small and battery powered devices. I don't can spent energie and space on the PCB for extra chips and overall - I don't can replace my hardware in some weeks. Not all nodes have there own designed PCB, some are based on original Arduino minis. Blockencryption can be done in a softwareupdate - individual for each node (exept routers and GW)!

    In general it's clear, that the 'integation' of an new, 'homeless' sensors in your private network needs a teach-in step. Something must be exchanged between the both sides and it must be keept a secret.

    In my case I encrypt the hole payload (and more) by a key in the node (actual the same in all nodes) - And I don't need extra bytes for the encryption in the telegram!?

    • Pit
    Hardware xtea secure

  • MQTT ethernet gateway Works great for 3+ hours then stops
    pit007P pit007

    Have you try to init the ENC all ~2 hours or by detecting the connection lost ? (brute force style, but better as powerdown all with a relais)

    Troubleshooting

  • MySensors power consumption
    pit007P pit007

    @daulagari and @dzairo
    You wrote about consumptions of 6uA and 10uA. I know that i can reach down to 1uA (or 10uA) with 3V, intRC, timer2 and ext 32kHz. Not clear for me is the consumption and the mode of the nrf24. Is this current included in your setup and do you disable the radio bei switching off the power of the module ? -Pit

    Hardware battery powered

  • Data type , Data unit , decade/exponent
    pit007P pit007

    @hek Hi, this sounds well. Waiting for 2.0! Is there a timeline ?

    On the controller side is enough power to make all conversations. Also, if a node send a non-si value. Normally needed is the type, the value, the unit and the possibility to readonly / readwrite (i.e. dimm level).

    Development

  • Windows GUI/Controller for MySensors
    pit007P pit007

    @tekka A further small bug or misunerstanding by us - the unix time:

    API:
    I_TIME 1 Sensors can request the current time from the Controller using this message. The time will be reported as the seconds since 1970 = unix time ?

    The MYSController send the local time, but not the unix time (the unix time is the same all over te world)

    Controllers myscontroller mysbootloader

  • Scene too fast for gateway?
    pit007P pit007

    I don't have vera but my 5 cent:

    If two or more commands send at the same time they can be packed in the same tcp package.

    with delay (4 tcp packages)
    12;6;0;0;x;1\n
    12;6;0;0;x;2\n
    12;6;0;0;x;3\n
    12;6;0;0;x;4\n

    without delay: (2 tpc packages - the first with 3 commands)
    12;6;0;0;x;1\n12;6;0;0;x;2\n12;6;0;0;x;3\n
    12;6;0;0;x;4\n

    During my walk throug the sources of different MYS impementations I didn't see code to parse the second case correctly - so with commands following in shoort time behind, the receiver see only the first command in a package:

    12;6;0;0;x;1\n
    12;6;0;0;x;4\n

    as I hint - I hope I'm wrong :)

    • Pit
    Vera

  • Windows GUI/Controller for MySensors
    pit007P pit007

    The included TimeReporter (I don't know where to find the sketch) has a small problem.
    In the minutes and the seconds the leading zero is missing - i.e. 11h 9 min 5 sevc is shown as: 11:9:5 instead of 11:09:05.

    -Pit

    Controllers myscontroller mysbootloader

  • Windows GUI/Controller for MySensors
    pit007P pit007

    @tekka very good job :+1: Thx !

    The ID change worked (but tried it only one time :-) A stesstest will follow ! )

    Next thing: Know how often a node send a package (or how long it like to sleep) and take this info to create a quality level and a warning if - i.e. after 3 times - there is no feedback from the node ?

    • Pit
    Controllers myscontroller mysbootloader

  • Data type , Data unit , decade/exponent
    pit007P pit007

    Hello !

    If I receive a MySensors telegram - how can I know the correct data unit (i.e. °C or F) and exponent (mV / V or cm/meter/km)?

    i.e I get :
    1)
    presentation sub-type: S_POWER
    set sub-type: V_VOLTAGE
    payload:4482
    -> OK, its Volt - but where I get the mili [mV] info?

    The S_POWER and the V_VOLTAGE are IMO redundant info !?
    Aside from S_ARDUINO_NODE and S_ARDUINO_RELAY all other types exists double.

    presentation sub-type: S_TEMP
    set sub-type: V_TEMP
    payload:4482
    -> Where can I get the info for the unit (°C or F) from the GW/Controler sight?

    Best thx, Pit !

    Development
  • Login

  • Don't have an account? Register

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