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
TigroenotT

Tigroenot

@Tigroenot
About
Posts
41
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Sensebender Micro Battery Code
    TigroenotT Tigroenot

    @rozpruwacz said in Sensebender Micro Battery Code:

    @Tigroenot said in Sensebender Micro Battery Code:

    consumption

    OK, i upload my code to github and share it with all, but I must warn that it is work in progress and it will change a lot and is not tested very well (just on my 3 different sensors).
    @Tigroenot 3uA ? hehe :P my multimeter showed 4uA on 2000uA range (the lowest i have) for a door/window sensor (atmega + nrf24 + battery voltage divider + pull up resistor on one of the gpios + all powered with directly from cr2032 battery), but probably the measurement error is significant ...

    No error, it's just a matter of faith :)

    Development

  • Sensebender Micro Battery Code
    TigroenotT Tigroenot

    @rozpruwacz Sure, please share. It will all help a lot to see from the other perspective all the smart lifehucks and to finally get to desirable 3uA sleep consumption :)

    Development

  • 💬 RFM69 Livolo 2 channels 1 way EU switch(VL-C700X-1_Ver_C2)
    TigroenotT Tigroenot

    @tonnerre33 well, the reason for that is that livolo switch power circuit board contains two power circuits :)
    One is a standby power which feeds the MC while all lamps are off and another one is the circuit that powers the whole system while at least one of the lamps is on (for two lamps switch).

    OpenHardware.io mysensors livolo

  • Sensebender Micro Battery Code
    TigroenotT Tigroenot

    Here it is. link

    Hope it will help.

    Development

  • Sensebender Micro Battery Code
    TigroenotT Tigroenot

    @meddie As far as I'm concerned you should use the sleep() function. Also it's a good idea to use internal oscillator down to 1mhz and set the BOD to 1,8v. Also I think reading the temperature and humidity once in 5-10 minutes is enough,and transmit if it changes. There is a thread of the forum about cr2032 temperature node.

    Development

  • Node doesn't work without repeater
    TigroenotT Tigroenot

    Well, what I did is swaped the radio on the gateway, added capacitors (10-200uf), swaped the nrf chip on the nodes (nrf+ and nrf), added 1M resistor to the node for radio back compatibility, moved nodes closer to the gateway and further from it, flashed the repeater node (now it's node 10 again) with repeater function disabled.

    In the end, I've got three new nodes that talk to controller ONLY through repeater node (the repeater node is further from the gateway then the new nodes). Clearing the routing table on the repeater node doesn't help, erasing eeprom of the repeater node makes it change the node ID and after restarting the other nodes they bind to the repeater again.
    Strange thing is that the node 10 is with MYSBootloader (which has nrf chanel 76 set) and it talks straight to the gateway. The nodes (8,12,13) have the same bootloader and nrf chanel set to 76 and are not recognised by the gateway as soon as there is no repeater node 10.

    Troubleshooting

  • Node doesn't work without repeater
    TigroenotT Tigroenot

    @gohan said in Node doesn't work without repeater:

    Did you restarted the gateway so that all nodes presented again? It is actually kind of weird since quite some people had issues about the nodes trying to connect to low signal gateway even if repeater had better signal.

    Not only have I restarted the gateway, I have reinstalled it, now it's latest development branch.
    Now I have built one more node, burned the same 1.3 MYSBootloader, and it doesn't show up on the network at all. Static parent ID and set node ID don't do a thing.

    314689 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    316700 !TSM:FPAR:NO REPLY
    316702 TSM:FPAR
    

    The gateway works normally, it gets the data from similar nodes that are further that this new one... I'm very confused...

    Maybe it's somethig to do with the nrf chanels? MYSBootloader? All my nodes are the same...

    Troubleshooting

  • Node doesn't work without repeater
    TigroenotT Tigroenot

    The range is not the issue because I tried to move it closer to the gateway, but untill I power on the repeater node it didn't work.

    I sent C_INTERNAL, I_DEBUG, E to node 10, is has reset it's ID and became no 11, and after that nodes 2 and 12 starter to work through node 11. Damn it. I reset the ID of node 2, it became node 8 and continued to work through node 11. Sh*t!
    Now I've got two nodes that just want that bloody repeater node 11 and don't want to deal with the filthy gateway :)

    Troubleshooting

  • Node doesn't work without repeater
    TigroenotT Tigroenot

    0_1493559720612_Screen.png

    Troubleshooting

  • Node doesn't work without repeater
    TigroenotT Tigroenot

    @sundberg84 said in Node doesn't work without repeater:

    @Tigroenot said in Node doesn't work without repeater:

    Please, explain it to me, shouldn't the node find another parent if the repeater is offline?

    It should - and I think the limit (was before atleast) is 6 failed messages and the it should search a new way/route.

    It looks like it does try to find a new way (2-2-255 instead of 2-2-10) but doesnt get a reply. Maybe the routing table in the GW still is going trhough the repeater?

    The repeater is fisically off. I can see the routing table through the MYSController. Tried to clear it - doesn't seem to work.

    Here is another attempt. I downloaded the latest stable 2.1.1 and here is the output:

    0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.1
    4 TSM:INIT
    4 TSF:WUR:MS=0
    12 TSM:INIT:TSP OK
    14 TSF:SID:OK,ID=2
    16 TSM:FPAR
    16 TSM:FPAR:STATP=0
    18 TSM:ID
    20 TSM:ID:OK
    20 TSM:UPL
    59 !TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=NACK:1
    2066 TSM:UPL
    2103 !TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=1,st=NACK:1
    4112 TSM:UPL
    4149 !TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=2,st=NACK:1
    6158 TSM:UPL
    6195 !TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=3,st=NACK:1
    8204 !TSM:UPL:FAIL
    
    475289 TSM:FPAR
    475291 TSM:FPAR:STATP=0
    475293 TSM:ID
    475295 TSM:ID:OK
    475297 TSM:UPL
    475334 !TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=8,st=NACK:1
    475770 TSF:MSG:READ,12-12-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    475779 TSF:MSG:BC
    477343 TSM:UPL
    477380 !TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=9,st=NACK:1
    477872 TSF:MSG:READ,12-12-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    477878 TSF:MSG:BC
    479389 TSM:UPL
    479426 !TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=10,st=NACK:1
    479977 TSF:MSG:READ,12-12-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    479983 TSF:MSG:BC
    481435 TSM:UPL
    481472 !TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=11,st=NACK:1
    483481 !TSM:UPL:FAIL```
    Troubleshooting

  • Node doesn't work without repeater
    TigroenotT Tigroenot

    Please, explain it to me, shouldn't the node find another parent if the repeater is offline? Shouldn't the gateway reply to FPAR request? The range is really not the issue because I've got a PA+LNA nrf module on the gateway, and it is 4 meters away from the node 2.
    Maybe I should move to the stable branch? :)

    Troubleshooting

  • Node doesn't work without repeater
    TigroenotT Tigroenot

    @sundberg84 Adn here is the serial output of the node 2 when the repeater node 10 is off:

    Here is the serial output of the node 2 when the repeater node 10 is off:

    0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.0-beta
    4 TSM:INIT
    4 TSF:WUR:MS=0
    12 TSM:INIT:TSP OK
    14 TSF:SID:OK,ID=2
    16 TSM:FPAR
    53 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    2060 !TSM:FPAR:NO REPLY
    2062 TSM:FPAR
    2099 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    4108 !TSM:FPAR:NO REPLY
    4110 TSM:FPAR
    4147 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    6156 !TSM:FPAR:NO REPLY
    6158 TSM:FPAR
    6195 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    8204 !TSM:FPAR:FAIL
    8206 TSM:FAIL:CNT=1
    8208 TSM:FAIL:PDT
    18212 TSM:FAIL:RE-INIT
    18214 TSM:INIT
    18221 TSM:INIT:TSP OK
    18225 TSF:SID:OK,ID=2
    18227 TSM:FPAR
    18264 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    20273 !TSM:FPAR:NO REPLY
    20275 TSM:FPAR
    20312 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    22321 !TSM:FPAR:NO REPLY
    22323 TSM:FPAR
    22360 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    24369 !TSM:FPAR:NO REPLY
    24371 TSM:FPAR
    24408 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    26417 !TSM:FPAR:FAIL
    26419 TSM:FAIL:CNT=2
    26421 TSM:FAIL:PDT
    36425 TSM:FAIL:RE-INIT```
    Troubleshooting

  • Node doesn't work without repeater
    TigroenotT Tigroenot

    @sundberg84 thanks for quick response.
    Here is the serial output of the node when the repeater node 10 is on:

    0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.0-beta
    4 TSM:INIT
    4 TSF:WUR:MS=0
    12 TSM:INIT:TSP OK
    14 TSF:SID:OK,ID=2
    16 TSM:FPAR
    53 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1507 TSF:MSG:READ,10-10-2,s=255,c=3,t=8,pt=1,l=1,sg=0:1
    1513 TSF:MSG:FPAR OK,ID=10,D=2
    2060 TSM:FPAR:OK
    2060 TSM:ID
    2062 TSM:ID:OK
    2064 TSM:UPL
    2068 TSF:MSG:SEND,2-2-10-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
    2125 TSF:MSG:READ,0-10-2,s=255,c=3,t=25,pt=1,l=1,sg=0:2
    2131 TSF:MSG:PONG RECV,HP=2
    2136 TSM:UPL:OK
    2136 TSM:READY:ID=2,PAR=10,DIS=2
    2142 TSF:MSG:SEND,2-2-10-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100
    2191 TSF:MSG:READ,0-10-2,s=255,c=3,t=15,pt=6,l=2,sg=0:0100
    2199 TSF:MSG:SEND,2-2-10-0,s=255,c=0,t=17,pt=0,l=10,sg=0,ft=0,st=OK:2.1.0-beta
    2209 TSF:MSG:SEND,2-2-10-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:10
    2342 TSF:MSG:READ,0-10-2,s=255,c=3,t=6,pt=0,l=1,sg=0:M
    2351 TSF:MSG:SEND,2-2-10-0,s=255,c=3,t=11,pt=0,l=13,sg=0,ft=0,st=OK:Binary Sensor
    2361 TSF:MSG:SEND,2-2-10-0,s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=OK:1.1
    2371 TSF:MSG:SEND,2-2-10-0,s=3,c=0,t=0,pt=0,l=0,sg=0,ft=0,st=OK:
    2377 MCO:REG:REQ
    2396 TSF:MSG:SEND,2-2-10-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=OK:2
    2500 TSF:MSG:READ,0-10-2,s=255,c=3,t=27,pt=1,l=1,sg=0:1
    2506 MCO:PIM:NODE REG=1
    2508 MCO:BGN:STP
    2510 MCO:BGN:INIT OK,TSP=1
    2514 MCO:SLP:MS=5,SMS=0,I1=255,M1=255,I2=255,M2=255
    2519 MCO:SLP:TPD
    2521 MCO:SLP:WUP=-1
    2525 TSF:MSG:SEND,2-2-10-0,s=3,c=1,t=16,pt=1,l=1,sg=0,ft=0,st=OK:1
    2533 MCO:SLP:MS=5,SMS=0,I1=255,M1=255,I2=255,M2=255
    2539 MCO:SLP:TPD
    2539 MCO:SLP:WUP=-1
    2545 TSF:MSG:SEND,2-2-10-0,s=255,c=3,t=0,pt=1,l=1,sg=0,ft=0,st=OK:100
    2553 MCO:SLP:MS=0,SMS=0,I1=1,M1=1,I2=255,M2=255
    2557 MCO:SLP:TPD
    2560 MCO:SLP:WUP=1
    2562 MCO:SLP:MS=5,SMS=0,I1=255,M1=255,I2=255,M2=255
    2568 MCO:SLP:TPD
    2570 MCO:SLP:WUP=-1
    2572 MCO:SLP:MS=5,SMS=0,I1=255,M1=255,I2=255,M2=255
    2578 MCO:SLP:TPD
    2578 MCO:SLP:WUP=-1
    2582 MCO:SLP:MS=0,SMS=0,I1=1,M1=1,I2=255,M2=255
    2586 MCO:SLP:TPD```
    Troubleshooting

  • Node doesn't work without repeater
    TigroenotT Tigroenot

    Hello everybody!

    Please, I need an inspiration!
    I've got several nodes around my appartment: three temp/humidity sensors, double relay, door.
    I have built another relay node to hack my ikea floor lamp. It's working fine, and it has a default repeater feature. Now I have built another door sensor. It is a MySensors Stable node with MYS 1.3 bootloader. It's working through the node 10 (floor lamp). When I turn the lamp off to get rid of the repeater node the new door sensor (node 2) stops working. If I reboot it manually it doesn't find parent (I want it to be the gateway). I tried to assign manual parent ID 0 but it doesn't help.
    How do I make it work without the repeater? I want it to work in another room.

    P.S. I tried to clear eeprom, then flash the firmware, assign parent ID manually, rebooting it without repeater turned on, rebooted it near another repeater (double relay). Oh, I forgot to tell, the gateway is closer to the node then the repeater node 10.

    Troubleshooting

  • !TSM:FPAR:FAIL node and gateway communication problems?
    TigroenotT Tigroenot

    I experience a very strange behavior of couple of sensors. They don't find parent if no repeater nodes are present. As soon as I power on a repeater node they work fine. Why don't they get gateway as parent node? I tried to manually assign parent but no luck. I also tried to change their parent id through the myscontroller. They don't obey :)
    What did I miss?

    Troubleshooting

  • 💬 Building a Raspberry Pi Gateway
    TigroenotT Tigroenot

    @Flor-Sanders I think you maybe should choose not USB but Ethernet gateway in domoticz.

    Announcements

  • 💬 MySensors Stable Node
    TigroenotT Tigroenot

    Allright, I have replaced the nrf chips to those with + and... that was it, everything is working very well now :)
    Here they are, freshly handmade :)
    0_1482501760704_IMG_20161223_58958.jpg

    OpenHardware.io mysensors contest2016

  • livolo Glass Panel Touch Light Wall Switch + arduino 433Mhz
    TigroenotT Tigroenot

    @Nca78
    Well, now it's working fine for almost two weeks, no issues. I'm always trying to modify the sketch to work even better but it ends up that "the best is an enemy of the good" :)

    As for connections: as you can see on the photo of upper board I have connected 5 wires (actually later I added sixth). They are ground, two wires to leds for reading status (through 4k7 to pin 5 and 6), and wires to touch sensor pads (through optocoupler to pins 3 and 4, the other side of coupler to ground through 5nF cap) . I showed schematics earlier. With the sixth wire I took 3v from the drilled holes at the bottom of the board, as I remember the central hole. You can make sure with the multimeter.

    My Project

  • livolo Glass Panel Touch Light Wall Switch + arduino 433Mhz
    TigroenotT Tigroenot

    0_1482390326320_IMG_20161222_30763.jpg 0_1482390399345_IMG_20161222_2453.jpg
    0_1482392829327_IMG_20161222_30300.jpg

    My Project

  • livolo Glass Panel Touch Light Wall Switch + arduino 433Mhz
    TigroenotT Tigroenot

    And yes, I have a 47uF cap for radio and 100uF aluminum electrolytic cap for power input on the mcu.

    My Project
  • Login

  • Don't have an account? Register

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