Navigation

    • Register
    • Login
    • Search
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Sergio Rius
    3. Topics
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Topics created by Sergio Rius

    • Sergio Rius

      Understanding, c++ & MySensors lib
      Development • • Sergio Rius  

      1
      0
      Votes
      1
      Posts
      216
      Views

      No one has replied

    • Sergio Rius

      ENC28J60 Ethernet gateway
      Troubleshooting • • Sergio Rius  

      14
      0
      Votes
      14
      Posts
      578
      Views

      Sergio Rius

      I've been fiddling with the radio alone (serial gw), softspi and changing pins, and I think there's something else here. Well those are my findings: With this base definition and without the module wired: #define MY_RADIO_RFM69 #define MY_RFM69_NEW_DRIVER #define MY_IS_RFM69HW #define MY_DEBUG_VERBOSE_RFM69 #define MY_GATEWAY_ENC28J60 It works as expected. 0 MCO:BGN:INIT GW,CP=RPNGA---,REL=255,VER=2.3.1 4 TSM:INIT 5 TSF:WUR:MS=0 6 RFM69:INIT 7 RFM69:INIT:PIN,CS=10,IQP=2,IQN=0 11 RFM69:PTX:LEVEL=5 dBm 13 TSM:INIT:TSP OK 15 TSM:INIT:GW MODE 16 TSM:READY:ID=0,PAR=0,DIS=0 19 MCO:REG:NOT NEEDED 72 GWT:TIN:IP=192.168.50.211 1075 MCO:BGN:STP 1077 MCO:BGN:INIT OK,TSP=1 1081 TSM:READY:NWD REQ 1083 RFM69:SWR:SEND,TO=255,SEQ=0,RETRY=0 1088 RFM69:CSMA:RSSI=-98 1090 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK: If I try to change CS pin to any other with #define MY_RFM69_CS_PIN 4 for example, I always get: 0 MCO:BGN:INIT GW,CP=RPNGA---,REL=255,VER=2.3.1 4 TSM:INIT 5 TSF:WUR:MS=0 6 RFM69:INIT 7 RFM69:INIT:PIN,CS=4,IQP=2,IQN=0 11 RFM69:PTX:LEVEL=5 dBm 13 TSM:INIT:TSP OK 14 TSM:INIT:GW MODE 16 TSM:READY:ID=0,PAR=0,DIS=0 19 MCO:REG:NOT NEEDED So I revert the CS pin change and activate softspi and change irq #define MY_SOFTSPI and #define MY_RFM69_IRQ_PIN 3 And it works well: 0 MCO:BGN:INIT GW,CP=RPNGA---,REL=255,VER=2.3.1 4 TSM:INIT 5 TSF:WUR:MS=0 6 RFM69:INIT 7 RFM69:INIT:PIN,CS=10,IQP=3,IQN=1 11 RFM69:PTX:LEVEL=5 dBm 13 TSM:INIT:TSP OK 15 TSM:INIT:GW MODE 16 TSM:READY:ID=0,PAR=0,DIS=0 19 MCO:REG:NOT NEEDED 72 GWT:TIN:IP=192.168.50.211 1075 MCO:BGN:STP 1077 MCO:BGN:INIT OK,TSP=1 1079 TSM:READY:NWD REQ 1081 RFM69:SWR:SEND,TO=255,SEQ=0,RETRY=0 1086 RFM69:CSMA:RSSI=-98 1091 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK: Then I add the eth module and I get: 0 MCO:BGN:INIT GW,CP=RPNGA---,REL=255,VER=2.3.1 4 TSM:INIT 5 TSF:WUR:MS=0 6 RFM69:INIT 7 RFM69:INIT:PIN,CS=10,IQP=3,IQN=1 11 RFM69:PTX:LEVEL=5 dBm 13 TSM:INIT:TSP OK 15 TSM:INIT:GW MODE 16 TSM:READY:ID=0,PAR=0,DIS=0 19 MCO:REG:NOT NEEDED And stays here forever. Of course all those test are made using a double (5v+3v3) good power source, a level shifter... and changing the wires accordingly. I have some questions: Its normal MY_RFM69_CS_PIN not having effect and breaking the radion connection? Without being able to change this, I don't know if it's spi interference. In the last test, it seems to halt when initialising the network. Doesn't it? Is there a way I can further know if the problem is with the eth module? I've tried it alone with the nano and it works. I would thank guidance for debugging this.
    • Sergio Rius

      Wifi GW gets sluggish after a while
      Troubleshooting • • Sergio Rius  

      2
      1
      Votes
      2
      Posts
      183
      Views

      Sergio Rius

      Seems that I may have been hit again by the radio sync problem: 613757 RF24:RBR:REG=23,VAL=17 613788 RF24:RBR:REG=23,VAL=17 613820 RF24:RBR:REG=23,VAL=17 613851 RF24:RBR:REG=23,VAL=17 613883 RF24:RBR:REG=23,VAL=17 613914 RF24:RBR:REG=23,VAL=17 613946 RF24:RBR:REG=23,VAL=17 613977 RF24:RBR:REG=23,VAL=17 614009 RF24:RBR:REG=23,VAL=17 614040 RF24:RBR:REG=23,VAL=17 614072 RF24:RBR:REG=23,VAL=17 614103 RF24:RBR:REG=23,VAL=17 614135 RF24:RBR:REG=23,VAL=17 614166 RF24:RBR:REG=23,VAL=17 @tekka I've conducted a debug test with the radio timing code and the results can be found there: GW_DEBUG: https://drive.google.com/open?id=1Ji-6E_iAcE86gTzxSTjOihVlQREHjwLN NODE_DEBUG: https://drive.google.com/open?id=1skaAWlYWqjNRqAjcTAVudw0DAZiAFEqs
    • Sergio Rius

      Boolean switch, setting, requesting and storing in eeprom.
      General Discussion • • Sergio Rius  

      4
      0
      Votes
      4
      Posts
      211
      Views

      Sergio Rius

      @mfalkvidd If you look close, I'm only sending as a response to a request from the "controller". But I'm still wrong for insist getting the received value from the property bValue. Seems logical to me that it would contain the boolean value instead of a byte size or whatever. If I had used the method ".getBool()" I would had the boolean value. Although, if the controller sets a boolean, the node still gets wrong values, so you still have to transmit an integer 0/1. I don't like it, because it forces processing all the values as integers in node-red, for example. As usual, I'll leave this, my stupidity, behind in the hopes it serves to anyone else.
    • Sergio Rius

      A stupid question...
      Development • • Sergio Rius  

      3
      0
      Votes
      3
      Posts
      369
      Views

      Sergio Rius

      I was not sure about it, and the paranoia took control.
    • Sergio Rius

      [Solved] problems trying to save on two measurements
      Node-RED • • Sergio Rius  

      2
      0
      Votes
      2
      Posts
      517
      Views

      Sergio Rius

      Seems that the problem was that influxdb always configures the field type the first time a series is accessed. I thought that the value was something like a "variant" and would eat anything I throw at it. So when I altered the data types in the flow, the db refused to save. A drop and re create solved the problem.
    • Sergio Rius

      [How to] create a MQTT Docker container
      General Discussion • • Sergio Rius  

      1
      3
      Votes
      1
      Posts
      945
      Views

      No one has replied

    • Sergio Rius

      MY_RF24_IRQ_PIN on ESP8266 GW
      General Discussion • • Sergio Rius  

      9
      0
      Votes
      9
      Posts
      724
      Views

      Sergio Rius

      @yveaux said in MY_RF24_IRQ_PIN on ESP8266 GW: True, and next it doesn't use it? This could be reformulated as an affirmative sentence. I cut the bridge wiring and continued working as nothing happened.
    • Sergio Rius

      RPI GW as computer/server sensors node.
      Development • • Sergio Rius  

      4
      0
      Votes
      4
      Posts
      770
      Views

      Sergio Rius

      I was thinking more on a service that also could monitor temperatures and control power. But for being able to do that, it must be running while the computer is down. And also, should be impossible to use the existing networking. So a complete node would be preferred. I guess the nrf52 dongle could be a nice candidate for this. Inserted on an internal USB port and perhaps also connected to the MB switches and LEDs port.
    • Sergio Rius

      Messages drop, messed topology?
      Troubleshooting • • Sergio Rius  

      4
      0
      Votes
      4
      Posts
      588
      Views

      Sergio Rius

      If anyone is interested, that was my channel scan when I decided to migrate to 108 Starting Poor Man's Wireless 2.4GHz Scanner ... Channel Layout |0 1 2 3 4 5 6 7 8 9 10 11 12 | |012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345| | +RRWRRWRWRWRWWWWWW+. .... | 27 | WWWWRWWWWRWRWWRWWW .. ......... | 26 | .RWWWRWWWWWWRWRWWRW* . ....... | 26 | +RRWWWRWWWWWWRWWWW*. ....... | 27 | ...RWRWRaRRWRWRRWRRRR.. ... | 29 | aWWRWRWRRWRWRWWWWR- ..... | 26 | =WWWWWWRWWWWRWRWRWR ...... | 26 | RWRWRWWWWRWRWWWWRW. . ...... | 27 | *aRRRWRWRWRRWRWRWW-. .... | 28 |...RWWRWRWRRWRWRWRRWRW.. . ..... | 29 | WWRWRWWWWRWRWWRWRWW ......... | 26 | WRWWWWRWRWWRWRWRRRa . ..... | 27 | RWRRWRWRWWWWRWWWWRW . ..... | 27 | RWRWRWRRWRWRWRRWRWR.. . . | 27 |0 1 2 3 4 5 6 7 8 9 10 11 12 | |012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345| |...WRWWRWRWRWWRWRWRWRR... ......... | 29 | RWRRRRWRWRRWRWRWRWW ... | 27 | WRWWRWRWRRRRWRWRRWR ....... | 28 | RWWRWRWRRWRWRWRRWRW .. .... | 27 | RRRWRWRRWRWRWRRWRWR ......... | 28 |...*aWaWRWWRWaWRWWRWaa.. . .... | 31 | aWRWRRRRWRWRRWRWRWa .. .......... | 27 | WRWRWWRWRWRRWRWRWRR .......... | 27 | RWRRRRWaWRRRaWaWRRR ...... . | 28 | WRWWRWRWWWWRWRWWRWR. .. .... | 27 |...RWRRWaWRWRRWRWWWWRW... .. .... .. | 30 | WRRRRWRWRRWRWRWWRWR ......... | 27 | RWWRWRWRRWaWRWRRWRW .. .... | 27 | WWRWRWRRWRWRWRRRaWa ......... | 28 |0 1 2 3 4 5 6 7 8 9 10 11 12 | |012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345| | ..RRWRWRRWRRaRaaWRRRR . . .. .. .. ... ... . . .. ... .. ... | 29 | ..RRaRRWRRRaWRWRaRaWa.. . .. . . . . .. ......... . | 33 | aRRRWRWRRWRWRWWRWRW . ..... .. | 28 | .RRaRaWaRRaWRWRRWRWR ... | 28 | RRWRWRWRaWRWRWWRWRW ..... | 27 | WWRWRWRRRRWRWRRWRWR ... | 27 | RRWRWRWRRWRWRRRaWRW ...... | 28 | WRRWRWRWRRWRWRWWRWR ...... | 27 | . RRRaWaWRRRaWRWRRWRW | 28 | WWRWRWRWRRWRWRWWRW* .. ....... | 27 | RWRRWRWRRRRWRWRRRR- . .. ... | 28 | WRRWRWRWRRWRWRRRaR ...... | 28 | +RRRWaWRRRRWRWRRRa- . . ........ | 28 | +RWRRWRWRRWRWRWWaa. .. | 28 |0 1 2 3 4 5 6 7 8 9 10 11 12 | |012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345| | aaRaWRWRaWRWRWRRWRW. .... .... | 28 | aRRWaWRWRRWaWRWWRWa .. . .. | 29 | .RWRRWRWRWRRWRWRWWRW .. ....... | 26 | .WRWRRWRWRWRRWRWRRWaa . ... | 28 | aWRWRRWRWRWRRWaWRRRa . .... | 28 | RRWaWRRRRWRWRRWRWRRW ..... | 28 | RRaWRWRaRaWRWRRWRWRW . ...... | 28 | RWWRWRWRRWRWRWRRWRWR. .. | 27 | .WRWRRWRWRRWRWRWaaWaW... .. .. ... | 28 | ..RWRWRRWRWRWRRWRWRRWR . . ..... | 28 | RaWaWRaWRWRWRRWaWRR*. ..... | 29 | RRRWRWaaRaWRWRRWRWRa . . ......... | 28 | RRWRWRWRRRaWRRRaWRW. ...... | 27 |.. WRRWRWRWRaWaWRRRaWa. | 28 |0 1 2 3 4 5 6 7 8 9 10 11 12 | |012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345| | RRWRWRWWRWRWRRWRWR . .... | 27 | RWRWRWRRRaWRRRaRaW. ....... | 28 | aRRRWRWRRWRWRWWRWRa.. ....... | 28 | aaaRaWRRRRWRWWWWaW=. .. ...... .. | 29 | aWWRWRWRRRaWRWRRWa=. . .. | 30 | WRWWRWRWRRRaWRWRRWR . ... .. ... | 27 | RWWRWRWRWRaRaWRRRaR . . . . .... | 28 | WRWRRWRWRWWRWRWRRRa . ...... | 29 | aWaRRaRRWRRRRWRWRRW . .. | 28 | WRWRRRaRaWRRWRWRWRR ......... | 28 | RWRWRRRRWaWRRWRWRWR . . ..... | 27 | WRWRWRRWRWRRRaWRWRR . ......... | 28 | RWRWRWWRWRWRRRRWaWR . .... | 28 | RRWRWRRWRWRWWRWRWR+ ...... | 27 |0 1 2 3 4 5 6 7 8 9 10 11 12 | |012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345| | *WRWRRWaWRWRRWRRRR+. . ....... | 29 | .aaRaRaRRRWaWWaWWWaW. . . ... . . .. .. .. . . .. .. . ... | 31 | . WRRRaWaRaaWRWaWRaWR . . . . .. .. . .. .. . .. . .... | 30 | RWRRWRWRWRRWRWRRWRW .. ... | 26 | WRRWRWRWRRRaWRRRaWa. ..... | 29 | .aWRRWRWRWRRWRWRWWRW+ .. . .. | 27 | .*aa*a*a**a*a*aaaaaaa . ...........::-++WWWWRaa=:. .. .... ...... ... ....... | 37 |. .*a*aa*a*aaaaaRaaa*Ra ..............:-*RWWR*=:.. .. .........:-:::.. | 33 | .RWRWWRWRRRRRRWRWWRWR . ..............::-+aRWW*+--::. ... . ........... | 27 | .WRWRWRaRaWRRaaRaRaRR | 29 | -RWRWRWWRWRWRRWRWRWRR . ... | 27 | -RWWWWRWRWWWWWWRWWRWW.......:.::........-++a+=-:.... ...... ..... ..::=*+-. | 27 | :****a*a*a*aa*aaaa*Ra ..............::=+aRWWa*=:... .. .... ....... | 35 | :RWRWWRWRWRWWRWRWRRWR..... .......:....::--:=----::... . ...........::::-..:....::. | 27 |0 1 2 3 4 5 6 7 8 9 10 11 12 | |012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345| | .-WaWRWRaWRWRWWaWRWRRW . .... | 28 | -WWRWRWRRWRWRRWRWRWRR | 27 | RRWRWRRWRWRWWRWRWRR. ..... | 27 | ..RRaWRWRRWRWWWWRWRWR-. ... | 30 | .aaWaWRRRRWRWWWWRWRW-... | 30 | RRaRaRaRRaWaRRRRRWRa ...... | 29 | ..*WWRWRWRRWRWRWWRWRW. . | 27 | .=RRWaWRRRaWaRRRRRWa .. | 28 | -RWRWRWRRWRWRRRaWRR .... | 28 | aRaRaWaaRaWRWRaWRWR.. ............. . . .... | 29 | RaRaWRRRaWRWRRWRWRW: . .. .. | 28 | aWRWRWRRRRWRWRRWRWW+.. . ..... | 27 | . aWWRWRWWRWRWRRRRWRW- . ...... | 27 | RRRWRWRWWRWRWRRRaWa= . . | 28 |0 1 2 3 4 5 6 7 8 9 10 11 12 | |012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345| | =RWRWRWWRWRWRRRRWRR:... . ... | 28 | RRRWRWWRWRWRWRRWaWR- . ...... | 28 | aRRRWRWRRWRWRWWRWRW . . . . | 27 | aRaRaWRRRaWRWRRWRWR. ..... | 28 | *WWRWRWRRWRWRWWRWRW. . | 26 | .*RRWRWWRRRWRWRRWaWR*. . . | 28 | =WWRWRWRWWRWRWRRWRW. .. | 27 | .*aaRaWaRRaRaWRRRRWR.. ..... | 29 | .aWRRRaWRWRRWRWRWWRWR . | 28 | .aRWWRWRWRWRRWRWRRWa= . .... | 27 | .-RRWWRWRWWWWRWRWR==: | 27 | .RaWRRRaWRWRaRaWRRR*- .... | 29 | RWRWRRWRWWWWRWRWWWW: .... | 27 | :RaRaWRaWaWRRRaWRWRRa ..... | 28 |0 1 2 3 4 5 6 7 8 9 10 11 12 | |012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345| |..RaWRWRRRaWRRRaWaWRRRa .... | 29 | .aRRWaWRWRRWaWRRRRWRWa.. . . | 27 | ..WRRRaWRWRaRaRaRRaRaW . . . . .. .. .. . . .. . . .. ..... . | 29 | .:aWRWRaRRWRWaaWRRRRRR. . . .. .. .. .. .. .. : .. .. .. .. . | 30 | +RaWRWRWRRWRWRRWRWRWR .. ...... | 28 | ..WRRWaWRWRRWRWRWWRWRW ..... | 28 | .RWRRRRWRWRRWRWRWWRWa . . | 27 | .WRWRWRRWRWRRWRWWWRR+ . . .. .. . | 27 | -aWRWRWRaWRWRRRRWRRa+ ..... | 28 | -RRWRWRWWRWRWRWRRWaWR .. | 28 |..-WRWWRWRWRRRRWRWRRWRR .... | 28 | -RWRWRaWRWRWRRWRWRWWR . . | 27 | =RRWRWRRRRWRWRRRRWRWR .... | 27 | -WRRWRWRRRRWRWRaWaWRR . ... ..... | 28 |0 1 2 3 4 5 6 7 8 9 10 11 12 | |012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345| | :RRWRWRWRaRaWRWRRWRWR ........ | 28 |. .WRRWRWRWRRWRWRWRaWaW ...... | 28 | -RWRWWRWRWRWWRWRWRaWa. ........ | 28 | .RaWaWRaRaWRWRRWRWRRR. ......... | 28 | .:WRaWaWRRRaWRWRRWRWRW .. . | 28 | -RWRRWRWRRRRWRWRRWRWR . . ....... | 27 |...WRWRRWRWRWaaWaRaRRaR.. .. | 31 | :aWRWRWRRWRWRRRRWRWRa . .. | 28 | :aaRaWaWRaWRWRWRRWRWR. . . . . ..... . | 29 | .:WaWRaRaRaWRRWRWRRWRW .. ... | 28 | ..RWRWRRWRWRWRaWRWRWR= .. .. | 27 |...WRWRWRWRaWaRaaRaRaR .. ... .... | 30 | :WRRWRWRWRRWaWRRRaWa: ... ........ | 28 | .:RWRRRRWRWRRWRWRWRRWa. .. ...... | 28 |0 1 2 3 4 5 6 7 8 9 10 11 12 | |012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345| | ..WRWRRRRWRWRRWaWRRRa* ... .. . ....... | 28 | RWRWRRRRWRWWRWRWRWW: . .. ... ...... | 27 | -RaWaWWRRRWRWRRWRWRWR ... ...... | 30 | =WWRWRWRWRRWaWRRRRWRW ... ... | 27 | -*RRWRWRWWRWRWRRRa=. ....... | 27 | .RRWRRWRWRWWRWRWRRWa- ... ... | 28 | .aRaWRaWaWRRRRWRWRRR* ... . .... | 29 |..*RRWRWaaRRWRWRaWRWRWR ... .. . | 28 | aWRRWRWRWRaWRWRRWRWRW .. . .. | 27 |..=aWWRaaRRWWWWRWRWWRWa...... ..... .. . ............. . | 32 | aaWRWRWRaWRWRRRaWaR. ... ......... | 29 | .aRaRaWRRRRWRWRRWRWR- ... .... .. | 28 |...RWaRRRWRWRRWRWRWRaW= .. . . ... ... | 30 | WaWRRRaWaWRRRaWRWRR= ... .. .. | 28 |0 1 2 3 4 5 6 7 8 9 10 11 12 | |012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345| | :aWRWRaWaRRWRRWRWRWW* . .. .. .. | 28 | :WRWRWWRRaWRWRRWRWRWW .. | 27 | *WRRWRWRWRRWRWRRWRWRR | 28 | .+aWaRRRWRWaaWaWRWRaR*. . . . . . . . . .. .. .. ... . | 31 |. -*a**R*Ra*RRWRWRaWaR*....... .... . . . .. .. .. .. .. .. .......... . | 36 | -*RaWRRaaWRWRRRaWRWWR....:...:::.:::-::::::.:::...::::::.::::::............... ...... .......... ........ ...... . . .| 30 |. =aWRRRRWRWRRWRWRRRWWR... .::..:............. . ...... ......... | 30 |..-aRWRWaWRRWRWRRRRWaWW.. . ... | 33 |..:aRWWWWWRRWWWRRWRWRRa.....:.::....:::...::::..::::::...:::.............. | 34 | ..RWWWWRWRWRRWRWWWWRWa....................... .. ... .. ... ..... | 29 |...RaWRWWWRRWRWRRWaWRW+... ............ ... .. .... .. ... | 31 |.. WRWRaWRWRRWRWRWRRWR. .... | 28 | ..RRRWWWWWWWWRWRWWWWR....::::...:----:...::::................ ....... ........ | 30 | ..RWRWRRRaWaWRRRaWaRR. . ...... | 28 |0 1 2 3 4 5 6 7 8 9 10 11 12 | And that's the worse I get today: |012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345| | . aRaRRRWRWaa .. | 28 | .RRaRWWWWRRR | 26 | WRWWWWWRWWW . | 25 | RRWWWWRRRWR | 24 | :WWWWRRRWWW | 25 | ....WWWRWRRWWa . | 25 | :WWWWRWWWW- | 27 | +WWWRWWWWWR | 25 | WWRRRWWWWRR . .. | 25 | ....aWRWRWRRRRR.... | 26 | ..:.RWRRWWWWRRW.:.. | 30 | ... . ... ..... :...+WRRRRaRWWW.... ... .. .. .. .. | 29 | :...WWWWRaaRRaW-:.. .. | 32 | RWWRRRRRWWR | 27 I'm using a new device so still I may have something to adjust in the scanner as I don't get the band being so clean. I've changed the old wifi AP for an ubiquity thou.
    • Sergio Rius

      FTDI No more?
      General Discussion • • Sergio Rius  

      13
      0
      Votes
      13
      Posts
      2297
      Views

      dbemowsk

      @sergio-rius If you go to the Device Manager in Windows, right click on the device and select update driver. From there select "Browse my computer for driver software". Next you can "Browse for driver software on your computer" to find the driver if you have downloaded it and install it that way. I have had issues with my Prolific driver though after I have installed it where if I plug the adapter into different USB ports, Windows will get confused and revert back to the broken driver. If you have that issue after you already have the working driver installed, you can select "Let me pick from a list of device drivers on my computer". You should see 2 prolific drivers. Select the 3.3.2.102 driver and you should be good to go.
    • Sergio Rius

      Aggregating data from multiple arduinos into one sensor
      General Discussion • • Sergio Rius  

      10
      0
      Votes
      10
      Posts
      1553
      Views

      rejoe2

      Perhaps using a different microcontroller could also be an option? I'm personally not to deep in these things, so this might be completely wrong, but at first sight I'd try to get this working with a STM32F1 board. Seems that using them in conjunction with direct access to the ADC might speed up things, see http://wiki.stm32duino.com/index.php?title=API#Reading_from_.26_Writing_to_pins as a short reference. And using MySensors with STM32F1 seems to be used by several users here.
    • Sergio Rius

      What do you use for burn bootloader on 3v boards?
      General Discussion • • Sergio Rius  

      25
      0
      Votes
      25
      Posts
      2128
      Views

      Sergio Rius

      @gohan What do you mean? The rPi or the Esp? For the rPi I first used a NRF24 pa lna getting power from the 5v line with a voltage regulator (ams1117 based) Then I thought could be problems with this radio or supply and ditched it for a normal NRF24. With identical behavior. Sometimes works for a week or a couple of them or I have to restart the whole Pi several times a day only for being able to go out of home. When I first implemented the rPiGw worked for weeks. Then the problem appeared. then vanished and was working for months until some point that became worse. I even thought that my wifi hotspot could be dying and changed it for a unify-pro (nice gadget) I live in a house far from others, so wifi interference seems not an issue. I run the Pi from a readonly sd for boot partition and then uses an usb drive for the system+controller. logs on tmpfs. I was fastly implementing it in my home, but as this problems arose, I only have the power monitor node, the garaje door node and a doorbell that is offline because suspiciously started to eat batteries two months ago. I'm in Domoticz beta. For the esp gw it's just a nodemcu board on a breadboard paired to a normal nrf24. Edit: Ups! mysensors versions are all 2.2.0. The arduinos are all 3v3 8mhz boards and one 5v (power)
    • Sergio Rius

      RFM69 frequency compatibility
      Hardware • • Sergio Rius  

      3
      0
      Votes
      3
      Posts
      1149
      Views

      Sergio Rius

      @mfalkvidd Oh! Yes thank you very much. The fact is that a typo in the description of the product I bought (838 != 868) is what confused me. Now thanks to you I realized it. I'll stick with 868 and see if I can work with it. I live near a frontier with Portugal and those guys here doesn't care about pirate radio emissions and I get strong interferences in radio, wifi and over all 2.4ghz. 433mhz even doesn't have more than 2-3mt of range for me. 2.4ghz only around 7mt @ sight. Bluetooth headphones have dropouts even carrying the phone with you. All of this living in the country. It's very annoying.
    • Sergio Rius

      MyS not working on solar sensor board
      Troubleshooting • • Sergio Rius  

      23
      0
      Votes
      23
      Posts
      2855
      Views

      Sergio Rius

      @ramwal I'm sorry for my late response. And I'm glad you solved your problem. In my case, the board just kept giving problems and problems. It started with aberrant readings from the sensors. I sent it back only to be told that the board was perfect. When it came back I had a condenser failure and after the fix, intermittent serial bus fail (all leds on and hangs at simple debug prints)... ...until one day, it mysteriously jumped into a rain puddle (while still connected to the battery pack, from a considerable height). So I said bye and never look back.
    • Sergio Rius

      Let me understand signing/whitelisting
      Troubleshooting • • Sergio Rius  

      8
      0
      Votes
      8
      Posts
      1875
      Views

      Sergio Rius

      Does anyone sees why my gateway doesn't function properly? It keeps failing to transmit the seed: 0;255;3;0;9;TSF:MSG:READ,7-7-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSF:MSG:BC 0;255;3;0;9;TSF:MSG:FPAR REQ,ID=7 0;255;3;0;9;TSF:PNG:SEND,TO=0 0;255;3;0;9;TSF:CKU:OK 0;255;3;0;9;TSF:MSG:GWL OK 0;255;3;0;9;Skipping security for command 3 type 8 0;255;3;0;9;TSF:MSG:SEND,0-0-7-7,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 0;255;3;0;9;TSF:MSG:READ,7-7-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1 0;255;3;0;9;Skipping security for command 3 type 24 0;255;3;0;9;TSF:MSG:PINGED,ID=7,HP=1 0;255;3;0;9;Skipping security for command 3 type 25 0;255;3;0;9;TSF:MSG:SEND,0-0-7-7,s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=OK:1 0;255;3;0;9;TSF:MSG:READ,7-7-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0101 0;255;3;0;9;Skipping security for command 3 type 15 0;255;3;0;9;Mark node 7 as one that require signed messages 0;255;3;0;9;Mark node 7 as one that do not require whitelisting 0;255;3;0;9;Informing node 7 that we require signatures 0;255;3;0;9;Informing node 7 that we do not require whitelisting 0;255;3;0;9;Skipping security for command 3 type 15 0;255;3;0;9;TSF:MSG:SEND,0-0-7-7,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0101 0;255;3;0;9;TSF:MSG:READ,7-7-0,s=255,c=3,t=16,pt=0,l=0,sg=0: 0;255;3;0;9;Skipping security for command 3 type 16 0;255;3;0;9;SHA256: DDE48447F85461704772199A57475584FDB67E10E89A40151000000000000000 0;255;3;0;9;Skipping security for command 3 type 17 0;255;3;0;9;!TSF:MSG:SEND,0-0-7-7,s=255,c=3,t=17,pt=6,l=25,sg=0,ft=0,st=NACK:DDE48447F85461704772199A57475584FDB67E10E89A401510 0;255;3;0;9;Failed to transmit nonce! 0;255;3;0;9;Client 0: 0;0;3;0;18;PING 0;255;3;0;9;TSF:MSG:READ,7-7-0,s=255,c=3,t=16,pt=0,l=0,sg=0: 0;255;3;0;9;Skipping security for command 3 type 16 0;255;3;0;9;SHA256: EABBA58AB60786BAE905D7A4F62D02CAF144C0234A88446D82AAAAAAAAAAAAAA 0;255;3;0;9;Skipping security for command 3 type 17 0;255;3;0;9;!TSF:MSG:SEND,0-0-7-7,s=255,c=3,t=17,pt=6,l=25,sg=0,ft=0,st=NACK:EABBA58AB60786BAE905D7A4F62D02CAF144C0234A88446D82 0;255;3;0;9;Failed to transmit nonce! 0;255;3;0;9;TSF:MSG:READ,7-7-0,s=255,c=3,t=16,pt=0,l=0,sg=0: 0;255;3;0;9;Skipping security for command 3 type 16 0;255;3;0;9;SHA256: 778653D94C9D64F9F85EB510EC9E26B6C708C214099BEF13A7AAAAAAAAAAAAAA 0;255;3;0;9;Skipping security for command 3 type 17 0;255;3;0;9;!TSF:MSG:SEND,0-0-7-7,s=255,c=3,t=17,pt=6,l=25,sg=0,ft=0,st=NACK:778653D94C9D64F9F85EB510EC9E26B6C708C214099BEF13A7 0;255;3;0;9;Failed to transmit nonce! 0;255;3;0;9;Client 0: 0;0;3;0;18;PING 0;255;3;0;9;TSF:MSG:READ,7-7-0,s=255,c=3,t=16,pt=0,l=0,sg=0: 0;255;3;0;9;Skipping security for command 3 type 16 0;255;3;0;9;SHA256: BB8C5D2E6B5F76AAF8F8C5FA8FACB5D476C01E066B41CBF410AAAAAAAAAAAAAA 0;255;3;0;9;Skipping security for command 3 type 17 0;255;3;0;9;!TSF:MSG:SEND,0-0-7-7,s=255,c=3,t=17,pt=6,l=25,sg=0,ft=0,st=NACK:BB8C5D2E6B5F76AAF8F8C5FA8FACB5D476C01E066B41CBF410 0;255;3;0;9;Failed to transmit nonce! 0;255;3;0;9;TSF:MSG:READ,7-7-0,s=1,c=3,t=16,pt=0,l=0,sg=0: 0;255;3;0;9;Skipping security for command 3 type 16 0;255;3;0;9;SHA256: BDEC409E8ACE05F8C8800ABED429388DD768D02C5C7A66BB4EAAAAAAAAAAAAAA 0;255;3;0;9;Skipping security for command 3 type 17 0;255;3;0;9;!TSF:MSG:SEND,0-0-7-7,s=255,c=3,t=17,pt=6,l=25,sg=0,ft=0,st=NACK:BDEC409E8ACE05F8C8800ABED429388DD768D02C5C7A66BB4E 0;255;3;0;9;Failed to transmit nonce! 0;255;3;0;9;Client 0: 0;0;3;0;18;PING 0;255;3;0;9;TSF:MSG:READ,7-7-0,s=255,c=3,t=26,pt=1,l=1,sg=0:2 0;255;3;0;9;Skipping security for command 3 type 26 0;255;3;0;9;Skipping security for command 3 type 16 0;255;3;0;9;TSF:MSG:SEND,0-0-7-7,s=255,c=3,t=16,pt=0,l=0,sg=0,ft=0,st=OK: 0;255;3;0;9;Nonce requested from 7. Waiting... 0;255;3;0;9;TSF:MSG:READ,7-7-0,s=255,c=3,t=17,pt=6,l=25,sg=0:D9F847698C6AC2DAC797F13667B764C90209D0987DD21A6ACA 0;255;3;0;9;Skipping security for command 3 type 17 0;255;3;0;9;Nonce received from 7. 0;255;3;0;9;Proceeding with signing... 0;255;3;0;9;Message to process: 00070E231BFF01 0;255;3;0;9;Current nonce: D9F847698C6AC2DAC797F13667B764C90209D0987DD21A6ACAAAAAAAAAAAAAAA 0;255;3;0;9;HMAC: 4DF46234B56C540677AEF39E1D7D68D959E5D955CD18CA5DBAC09C985A6049C8 0;255;3;0;9;Signature in message: 01F46234B56C540677AEF39E1D7D68D959E5D955CD18CA5D 0;255;3;0;9;Message signed 0;255;3;0;9;Message to send has been signed 0;255;3;0;9;!TSF:MSG:SEND,0-0-7-7,s=255,c=3,t=27,pt=1,l=1,sg=1,ft=0,st=NACK:1 0;255;3;0;9;TSF:MSG:READ,7-7-0,s=255,c=3,t=26,pt=1,l=1,sg=0:2 0;255;3;0;9;Skipping security for command 3 type 26 0;255;3;0;9;Skipping security for command 3 type 16 0;255;3;0;9;!TSF:MSG:SEND,0-0-7-7,s=255,c=3,t=16,pt=0,l=0,sg=1,ft=0,st=NACK: 0;255;3;0;9;Failed to transmit nonce request! 0;255;3;0;9;!TSF:MSG:SIGN FAIL 0;255;3;0;9;TSF:MSG:READ,7-7-0,s=255,c=3,t=26,pt=1,l=1,sg=0:2 0;255;3;0;9;Skipping security for command 3 type 26 0;255;3;0;9;Skipping security for command 3 type 16 0;255;3;0;9;!TSF:MSG:SEND,0-0-7-7,s=255,c=3,t=16,pt=0,l=0,sg=1,ft=0,st=NACK: 0;255;3;0;9;Failed to transmit nonce request! 0;255;3;0;9;!TSF:MSG:SIGN FAIL 0;255;3;0;9;TSF:MSG:READ,7-7-0,s=255,c=3,t=26,pt=1,l=1,sg=0:2 0;255;3;0;9;Skipping security for command 3 type 26 0;255;3;0;9;Skipping security for command 3 type 16 0;255;3;0;9;!TSF:MSG:SEND,0-0-7-7,s=255,c=3,t=16,pt=0,l=0,sg=1,ft=0,st=NACK: 0;255;3;0;9;Failed to transmit nonce request! 0;255;3;0;9;!TSF:MSG:SIGN FAIL 0;255;3;0;9;Client 0: 0;0;3;0;18;PING 0;255;3;0;9;TSF:MSG:READ,7-7-0,s=1,c=3,t=16,pt=0,l=0,sg=0: 0;255;3;0;9;Skipping security for command 3 type 16 0;255;3;0;9;SHA256: 3781530A27CEB098525F98B1D335AA07A5A9E17EEB71770681AAAAAAAAAAAAAA 0;255;3;0;9;Skipping security for command 3 type 17 0;255;3;0;9;!TSF:MSG:SEND,0-0-7-7,s=255,c=3,t=17,pt=6,l=25,sg=0,ft=0,st=NACK:3781530A27CEB098525F98B1D335AA07A5A9E17EEB71770681 0;255;3;0;9;Failed to transmit nonce! 0;255;3;0;9;TSF:MSG:READ,7-7-0,s=255,c=3,t=16,pt=0,l=0,sg=0: 0;255;3;0;9;Skipping security for command 3 type 16 0;255;3;0;9;SHA256: 89CAAF6D9B47E4C84E55DC405D7E7E57E9E2A8C3B483B1FE62AAAAAAAAAAAAAA 0;255;3;0;9;Skipping security for command 3 type 17 0;255;3;0;9;!TSF:MSG:SEND,0-0-7-7,s=255,c=3,t=17,pt=6,l=25,sg=0,ft=0,st=NACK:89CAAF6D9B47E4C84E55DC405D7E7E57E9E2A8C3B483B1FE62 0;255;3;0;9;Failed to transmit nonce! 0;255;3;0;9;Client 0: 0;0;3;0;18;PING 0;255;3;0;9;Client 0: 0;0;3;0;18;PING 0;255;3;0;9;TSF:MSG:READ,7-7-0,s=1,c=3,t=16,pt=0,l=0,sg=0: 0;255;3;0;9;Skipping security for command 3 type 16 0;255;3;0;9;SHA256: 4851FEF7C8A1FA983D55A4D4D0E8C37E60BBE59CA382A4D282AAAAAAAAAAAAAA 0;255;3;0;9;Skipping security for command 3 type 17 0;255;3;0;9;!TSF:MSG:SEND,0-0-7-7,s=255,c=3,t=17,pt=6,l=25,sg=0,ft=0,st=NACK:4851FEF7C8A1FA983D55A4D4D0E8C37E60BBE59CA382A4D282 0;255;3;0;9;Failed to transmit nonce! 0;255;3;0;9;Client 0: 0;0;3;0;18;PING 0;255;3;0;9;TSF:MSG:READ,7-7-0,s=255,c=3,t=16,pt=0,l=0,sg=0: 0;255;3;0;9;Skipping security for command 3 type 16 0;255;3;0;9;SHA256: CE5CF85311A7C044A51B534C672804C80C2BED02670BF52ABAAAAAAAAAAAAAAA 0;255;3;0;9;Skipping security for command 3 type 17 0;255;3;0;9;!TSF:MSG:SEND,0-0-7-7,s=255,c=3,t=17,pt=6,l=25,sg=0,ft=0,st=NACK:CE5CF85311A7C044A51B534C672804C80C2BED02670BF52ABA 0;255;3;0;9;Failed to transmit nonce! 0;255;3;0;9;Client 0: 0;0;3;0;18;PING I'm sure that that antenna connections are well, just made a new board, and it has a good 47uF cap on it.
    • Sergio Rius

      Using Sleep RISING mode with momentary switch?
      Development • sleep • • Sergio Rius  

      2
      0
      Votes
      2
      Posts
      988
      Views

      mfalkvidd

      @Sergio-Rius delay is actually the easiest way to do it Either that, or build a hardware debouncer. See also https://www.mysensors.org/build/binary for how to use the bounce2 library to handle debouncing. That solution doesn't support interrupts though, so delay is probably a better solution for your node.
    • Sergio Rius

      On the go timer interrupts?
      Development • • Sergio Rius  

      3
      0
      Votes
      3
      Posts
      955
      Views

      Sergio Rius

      @TheoL Hi. I think that a higher level of abstraction from the controller, and giving the node more personality suits better for me. Also I like reducing the unnecessary radio traffic. Let me explain something more my node. The node I'm working on it's basically a multiple actuator that abstracts from the code things like the number of relays or their behaviour. At the moment, you are forced to populate a collection for it to discover and work with a variable number of elements, but as soon as I can I'll find a way to inject that info and avoid altering the code. Perhaps something like espeasy does, rflink activates it's rf modules, or even through a variable from the controller (worst of cases) Now it does all those things but the timer shutdown. I'm a good C# programmer, but I admit that it'll be difficult for me to adapt to C++. I still do all the things as I was doing in C# I don't know anything about the scope or the behaviour of instantiated objects. I would like to tie a timer object to one element's property in the collection and let it run, but I don't know how, or if it will stay "alive" after the procedure ends
    • Sergio Rius

      Sensor presentation failure
      Bug Reports • presentation • • Sergio Rius  

      11
      0
      Votes
      11
      Posts
      4133
      Views

      TheoL

      @Yveaux I also add the delay to not ddos the gateway. When I did the MySensors workshop, 20 people started to connect to the gateway almost at the same time. And they got Funky messages. Since then I do a delay. But it would probably be better to add a random time to the delay. Something like 20ms + random( 0 - 30 ) ms. That way you don't get the ddos effect. Sonoff had the same problems with their solution a couple of years ago, when the servers went down. All Sonoff devices tried to reconnect almost the at the same time. Which caused a ddos xd